Tag Archives: performance

Home »  Tag: performance

Just found this on the Proxmox Wiki https://pve.proxmox.com/wiki/Performance_Tweaks#VZdump stating that the default value for vzdump is limited to 10000 Kbps (10 Mbps). This might explain even my misunderstanding why backups to my NAS are pretty “slow” sudo  vi /etc/vzdump.conf showed that the original line in Proxmox 3.2 is #bwlimit: KBPS which I changed for now without notable issues to bwlimit: 40000  However James Coyle mentioned running into another issue with a too high value on undersized servers. http://www.jamescoyle.net/how-to/290-limit-backup-io-bandwidth You should keep that in mind if you are about to bring your server down while running vzdump backups. Related posts: Proxmox: Getting some performance data from a Proxmox server Proxmox: OpenVZ (OVZ) and Turnkey Appliances root password Linux: Install Proxmox Virtual Environment on Debian 6.0 Squeeze Distro (Kanopix) Debian 7.0 Wheezy / Proxmox 3.x: Install ZFS Native Proxmox: Rename a standalone node (hostname) Debian / Proxmox – Install Docker with Rancher and DockerUI webgui on […]

For the Records, in order to get performance data from a proxmox server you can use: pveperf root@proxmox1:~# pveperf CPU BOGOMIPS: 21281.44 REGEX/SECOND: 1039338 HD SIZE: 28.05 GB (/dev/mapper/pve-root) BUFFERED READS: 11.60 MB/sec AVERAGE SEEK TIME: 26.35 ms FSYNCS/SECOND: 28.37 DNS EXT: 70.92 ms DNS INT: 64.58 ms (Cloud7-ITConsult.com) Related posts: Proxmox : vzdump performance optimization Linux: Install Proxmox Virtual Environment on Debian 6.0 Squeeze Distro (Kanopix) Debian / Kanotix / Proxmox: Install ZFS Native Debian 7.0 Wheezy / Proxmox 3.x: Install ZFS Native Proxmox: OpenVZ (OVZ) and Turnkey Appliances root password Proxmox: Rename a standalone node (hostname)

There is more than one way to check the performance available on a VPS Server but I go for a 1st quick shot to test if something is falling over. All I one Script: The Guys @ freevps.us offer a script that does it all or you. Host info , Download Speed Test , and disk IO. Give it a try, it does help you quick and dirty to get some results. wget freevps.us/downloads/bench.sh -O – -o /dev/null | bash VPS Upload and Download Speed: Quick check to see your up and downstream speed for the VPS. wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest_cli.py speedtest_cli.py –share IO (also covered by the all in one script): To get a brief feeling about IO capabilities of a VPS you could use dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync;rm test 16384+0 records in 16384+0 records out 1073741824 bytes (1.1 GB) copied, 9.91105 s, 108 MB/s Some com­monly accepted aver­ages […]

Talking about ZFS and ARC CACHE Generally ZFS is designed for servers and as such its default settings are to allocate: – 75% of memory on systems with less than 4 GB of memory – physmem minus 1 GB on systems with greater than 4 GB of memory (Info is from Oracle but I expect the same values for ZFS native on Linux) That might be too much if you intent to run anything else like virtualisation or applications on the server and while ZFS returns cached memory when a memory intensive application asks for it, there might be a delay to do so causing some waits. We want to limit the memory ZFS can allocate to give some air to breath for the applications. However this won’t make any significant performance improvement to the filesystem itself. It’s just to free memory for other application which might have started to […]

My Ubuntu Netbook Is So Damn SLOW !!! Since Ubuntu 10.11 I spotted that Ubuntu is sometimes getting extreme sluggish on my Atom Netbook and starts to swap even though I have plenty of free memory. as per http://www.ubuntuvibes.com/2010/08/ubuntu-why-my-netbook-is-so-damn-slow.html Swap memory is used as an alternative to RAM. It is a small partition in the hard disk, that is used to give your system extra memory when your RAM is full. However, it is not as efficient as RAM and quite slow. By default the swappiness is set to 60 for Ubuntu. The swappiness parameter controls the tendency of the kernel to move processes out of physical memory and onto the swap disk. Because disks are much slower than RAM, this can lead to slower response times for system and applications if processes are too aggressively moved out of memory.  Swappiness have values between 0 to 100. If it is zero it […]

Ubuntu: Howto drastically speed up Firefox Make firefox store its cache in the /tmp directory — which when we have moved it to a tmpfs according to this wiki is *fast*. Firefox 3.x uses a sqlite db that creates many write accesses, so this can reduce it: In Firefox go to (type as url) “about:config”, right click, add new string „browser.cache.disk.parent_directory“ with value “/tmp/firefox” In Firefox change options/security/ and disable phishing if you dare. – Your firefox will run even faster then but won’t warn you about phishing any more so take care! Alternatively, to speed up Firefox further, enter “about:config” (without the quotes) as an url in Firefox, then change the following settings: // disable disk and offline cache set browser.cache.disk.enabled: false set browser.cache.disk.capacity: 0 set browser.cache.offline.enable: false set browser.cache.offline.capacity: 0 // just as a precaution add browser.cache.disk.parent_directory: /tmp // apparently safebrowsing slows things down – disable at your […]

Ubuntu: Howto reduce the SSD wear Open fstab, and add the following lines: # sudo gedit /etc/fstab tmpfs /var/log tmpfs defaults 0 0 tmpfs /tmp tmpfs defaults 0 0 tmpfs /var/tmp tmpfs defaults 0 0 There is currently a bug in sysklogd where it cannot handle booting with an empty /var/log directory (bug #290127). This can be fixed by modifying /etc/init.d/sysklogd: Find this function: fix_log_ownership() for l in `syslogd-listfiles -a` do chown ${USER}:adm $l done } ..and replace it with this: fix_log_ownership() { for l in `syslogd-listfiles -a –news` do # Create directory for logfile if required ldir=$(echo ${l} | sed ‘s/[^/]*$//g’) if [ ! -e $ldir ] ; then mkdir -p $ldir fi # Touch logfile and chown touch $l && chown ${USER}:adm $l done } Warning: this will cause some packages to fail mysteriously when they cannot access the log directories that were installed with the packages and […]

%d bloggers like this: