Hi,pls post your experiences with ext4, include the mount options (cat /proc/mounts), pverperf results and details about the hardware.
# Debian 6 "standard-mount" but noatime
root@powerbox:/pve/usr/lib/perl5# mount /dev/sde1 -o defaults,noatime /mnt
root@powerbox:/pve/usr/lib/perl5# /pve/usr/bin/pveperf /mnt
CPU BOGOMIPS: 24082.55
REGEX/SECOND: 1137502
HD SIZE: 110.00 GB (/dev/sde1)
BUFFERED READS: 361.39 MB/sec
AVERAGE SEEK TIME: 0.30 ms
FSYNCS/SECOND: 333.46
root@powerbox:/pve/usr/lib/perl5# grep sde /proc/mounts
/dev/sde1 /mnt ext4 rw,noatime,user_xattr,acl,barrier=1,data=ordered 0 0
# Flag nodelalloc
root@powerbox:/pve/usr/lib/perl5# mount /dev/sde1 -o defaults,noatime,nodelalloc /mnt
root@powerbox:/pve/usr/lib/perl5# /pve/usr/bin/pveperf /mnt
CPU BOGOMIPS: 24082.55
REGEX/SECOND: 1206731
HD SIZE: 110.00 GB (/dev/sde1)
BUFFERED READS: 355.66 MB/sec
AVERAGE SEEK TIME: 0.29 ms
FSYNCS/SECOND: 2828.53
root@powerbox:/pve/usr/lib/perl5# grep sde /proc/mounts
/dev/sde1 /mnt ext4 rw,noatime,user_xattr,acl,barrier=1,nodelalloc,data=ordered 0 0
root@pve2-hp4:~# cat /proc/mounts | grep sdb1
/dev/sdb1 /mnt/sdb1 ext4 rw,relatime,barrier=1,data=ordered 0 0
root@pve2-hp4:~# pveperf /mnt/sdb1/
CPU BOGOMIPS: 5191.49
REGEX/SECOND: 487698
HD SIZE: 18.34 GB (/dev/sdb1)
BUFFERED READS: 107.77 MB/sec
AVERAGE SEEK TIME: 8.10 ms
FSYNCS/SECOND: 202.03
root@pve2-hp4:~# cat /proc/mounts | grep sdb1
/dev/sdb1 /mnt/sdb1 ext4 rw,relatime,barrier=1,nodelalloc,data=ordered 0 0
root@pve2-hp4:~# pveperf /mnt/sdb1/
CPU BOGOMIPS: 5191.49
REGEX/SECOND: 491106
HD SIZE: 18.34 GB (/dev/sdb1)
BUFFERED READS: 107.52 MB/sec
AVERAGE SEEK TIME: 8.14 ms
FSYNCS/SECOND: 1102.18
root@pve2-hp1:~# cat /proc/mounts | grep sdb1
/dev/sdb1 /mnt/sdb1 ext4 rw,relatime,barrier=1,data=ordered 0 0
root@pve2-hp1:~# pveperf /mnt/sdb1/
CPU BOGOMIPS: 5191.50
REGEX/SECOND: 491593
HD SIZE: 18.34 GB (/dev/sdb1)
BUFFERED READS: 107.91 MB/sec
AVERAGE SEEK TIME: 6.84 ms
FSYNCS/SECOND: 58.61
root@pve2-hp1:~# cat /proc/mounts | grep sdb1
/dev/sdb1 /mnt/sdb1 ext4 rw,relatime,barrier=1,nodelalloc,data=ordered 0 0
root@pve2-hp1:~# pveperf /mnt/sdb1/
CPU BOGOMIPS: 5191.50
REGEX/SECOND: 483994
HD SIZE: 18.34 GB (/dev/sdb1)
BUFFERED READS: 108.26 MB/sec
AVERAGE SEEK TIME: 6.78 ms
FSYNCS/SECOND: 37.32
root@pve2-hp1:~# cat /proc/mounts | grep sdb1
/dev/sdb1 /mnt/sdb1 ext3 rw,relatime,errors=continue,barrier=0,data=ordered 0 0
root@pve2-hp1:~# pveperf /mnt/sdb1/
CPU BOGOMIPS: 5191.50
REGEX/SECOND: 482971
HD SIZE: 18.34 GB (/dev/sdb1)
BUFFERED READS: 108.02 MB/sec
AVERAGE SEEK TIME: 7.09 ms
FSYNCS/SECOND: 543.20
Hi,...
Summary: the flag nodelalloc does not improve fsync/sec for single disks, this ext4 partition is quite slow compared to a ext3 formatted disk.
...
CPU BOGOMIPS: 24082.43
REGEX/SECOND: 958219
HD SIZE: 110.03 GB (/dev/sdb1)
BUFFERED READS: 186.18 MB/sec
AVERAGE SEEK TIME: 0.17 ms
FSYNCS/SECOND: 2953.01
/dev/sdb1 /mnt ext4 rw,noatime,barrier=1,data=ordered 0 0
# with nodelalloc:
CPU BOGOMIPS: 24082.43
REGEX/SECOND: 994188
HD SIZE: 110.03 GB (/dev/sdb1)
BUFFERED READS: 185.78 MB/sec
AVERAGE SEEK TIME: 0.17 ms
FSYNCS/SECOND: 3352.52
/dev/sdb1 /mnt ext4 rw,noatime,barrier=1,nodelalloc,data=ordered 0 0
CPU BOGOMIPS: 24082.43
REGEX/SECOND: 985176
HD SIZE: 1833.78 GB (/dev/sdb1)
BUFFERED READS: 130.92 MB/sec
AVERAGE SEEK TIME: 12.83 ms
FSYNCS/SECOND: 45.86
/dev/sdb1 /mnt ext4 rw,relatime,barrier=1,data=ordered 0 0
# same with nodelalloc and noatime
CPU BOGOMIPS: 24082.43
REGEX/SECOND: 1005079
HD SIZE: 1833.78 GB (/dev/sdb1)
BUFFERED READS: 130.76 MB/sec
AVERAGE SEEK TIME: 12.85 ms
FSYNCS/SECOND: 30.80
/dev/sdb1 /mnt ext4 rw,noatime,barrier=1,nodelalloc,data=ordered 0 0
Hi Tom,looks like the results are highly dependent on the cache size. single SSD drives also got big caches instead of single standard drives.!? I assume this explains the smaller difference here.
two issues/questions for me:
1. single drive results shows bad performance in these basic tests so I do not see a reason to go for ext4 for my default Proxmox VE installations. ext3 is well known and works reliable and fast for me. sometimes fsck takes some time, but this acceptable for me.
2. Using raid controller with big cache shows good results, but what happens if the cache is full? I mean if the system is under very high load for a longer period, accessing a lot of files - just think of big OpenVZ servers. does this means the file performance of ext4 is behind ext3? I do not have any real live experience here so I fear changing a winning team.
Udo, what filesystem (ext3 or ext4) would you use in the following situation:
A: for single standard drives?
B: for traditional raid10 with 4 SAS/SATA HDD´s?
C: single SSD?
D: raid controller with SSD?
Hi,pls post your experiences with ext4, include the mount options (cat /proc/mounts), pverperf results and details about the hardware.
/dev/sdb1 /mnt ext4 rw,relatime,barrier=1,nodelalloc,data=ordered 0 0
# pveperf /mnt
CPU BOGOMIPS: 24079.90
REGEX/SECOND: 972595
HD SIZE: 110.03 GB (/dev/sdb1)
BUFFERED READS: [B]380.55 MB/sec[/B]
AVERAGE SEEK TIME: 0.05 ms
FSYNCS/SECOND: [B]505.89[/B]
DNS EXT: 55.57 ms
DNS INT: 1.25 ms
####################################################
/dev/sdb1 /mnt ext4 rw,relatime,barrier=1,data=ordered 0 0
# pveperf /mnt
CPU BOGOMIPS: 24079.90
REGEX/SECOND: 981150
HD SIZE: 110.03 GB (/dev/sdb1)
BUFFERED READS: [B]380.78 MB/sec[/B]
AVERAGE SEEK TIME: 0.04 ms
FSYNCS/SECOND: [B]974.59[/B]
DNS EXT: 62.87 ms
DNS INT: 1.25 ms
####################################################
/dev/sdb1 /mnt ext3 rw,relatime,data=ordered 0 0
pveperf /mnt
CPU BOGOMIPS: 24079.90
REGEX/SECOND: 997141
HD SIZE: 110.03 GB (/dev/sdb1)
BUFFERED READS: [B]381.25 MB/sec[/B]
AVERAGE SEEK TIME: 0.05 ms
FSYNCS/SECOND: [B]5433.00[/B]
DNS EXT: 65.58 ms
DNS INT: 1.26 ms
We use essential cookies to make this site work, and optional cookies to enhance your experience.