2.6.32-7-pve still very slow writess... very slow fsyncs/sec

  • Thread starter Thread starter frantisek.sobota
  • Start date Start date
F

frantisek.sobota

Guest
In this kernel i still have problem with very slow fsync/sec. And the virtual machine write speed is horibble

root@prox-test:~# pveperf
CPU BOGOMIPS: 7599.66
REGEX/SECOND: 425773
HD SIZE: 457.43 GB (/dev/mapper/prox--test-root)
BUFFERED READS: 108.58 MB/sec
AVERAGE SEEK TIME: 13.15 ms
FSYNCS/SECOND: 58.25
DNS EXT: 830.41 ms
DNS INT: 1.21 ms (wg)
root@prox-test:~# uname -a
Linux prox-test 2.6.32-7-pve #1 SMP Mon Feb 13 07:33:21 CET 2012 x86_64 GNU/Linux

vs

root@prox-test:~# pveperf
CPU BOGOMIPS: 7599.52
REGEX/SECOND: 407166
HD SIZE: 457.43 GB (/dev/mapper/prox--test-root)
BUFFERED READS: 123.10 MB/sec
AVERAGE SEEK TIME: 13.42 ms
FSYNCS/SECOND: 966.31
DNS EXT: 274.72 ms
DNS INT: 1.18 ms (wg)
root@prox-test:~# uname -a
Linux prox-test 2.6.18-6-pve #1 SMP Mon Feb 13 07:33:21 CET 2012 x86_64 GNU/Linux
 
details about your mounted filesystems? post cat /proc/mounts

do you have a raid controller or single disk?
 
Sure, its test installation for this purpose, software RAID 0 two 250GB disk

root@prox-test:~# cat /proc/mounts
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
none /dev devtmpfs rw,relatime,size=1979836k,nr_inodes=494959,mode=755 0 0
none /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
/dev/mapper/prox--test-root / ext4 rw,relatime,errors=remount-ro,barrier=1,stripe=256,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
/dev/md0 /boot ext2 rw,noatime,errors=continue 0 0
beancounter /proc/vz/beancounter cgroup rw,relatime,blkio,name=beancounter 0 0
container /proc/vz/container cgroup rw,relatime,freezer,devices,name=container 0 0
fairsched /proc/vz/fairsched cgroup rw,relatime,cpuacct,cpu,cpuset,name=fairsched 0 0
 
Also Debian orig kernel is OK

root@prox-test:~# pveperf
CPU BOGOMIPS: 7600.86
REGEX/SECOND: 430735
HD SIZE: 457.43 GB (/dev/mapper/prox--test-root)
BUFFERED READS: 106.38 MB/sec
AVERAGE SEEK TIME: 13.32 ms
FSYNCS/SECOND: 1170.95
DNS EXT: 189.89 ms
DNS INT: 1.14 ms (wg)
root@prox-test:~# uname -a
Linux prox-test 2.6.32-5-amd64 #1 SMP Mon Jan 16 16:22:28 UTC 2012 x86_64 GNU/Linux

Also im going to test with sysbench
 
we do not test or support softraid on Proxmox VE, so we have no experience with it.
 
OK I will test this shortly with DELL 410 with HW RAID and ext3, and let you know the results.
Thanx for answer
 
Also Debian orig kernel is OK

Different kernels use different mount options by default. So please make sure that you mount the filesystem with exactly the same options before you do any benchmarks (and document what options you use).
 
OK so ext3 is OK with all my possible setup. Even software raids performance is gooood.
But its weird that with debian orig kernel its OK and with proxmox 2.6.32 not so :(
 
performance with ext3 is fine. but if you do benchmarks you always need to make sure what you benchmark exactly.

see different default mount options for ext4 on different distributions.