ext4, fstab, io wait

tom

Proxmox Staff Member
Staff member
Aug 29, 2006
14,626
638
133
as long as you do not have a real reason for changes, use defaults.

if you change defaults, you need to sure that the settings are suitable for your hardware and needs.
 

camaran

Member
Jul 14, 2013
52
0
6
CPU BOGOMIPS: 38398.64
REGEX/SECOND: 2087224
HD SIZE: 19.10 GB (/dev/md2)
BUFFERED READS: 90.90 MB/sec
AVERAGE SEEK TIME: 13.46 ms
FSYNCS/SECOND: 16.16
DNS EXT: 21.89 ms
DNS INT: 7.68 ms
 

LnxBil

Famous Member
Feb 21, 2015
5,482
597
133
Germany
Wow ... that is terribly slow.

I see you're using software raid, that could be one of the problems. Please check the io response times on each disk individually.

Besides: You're running Proxmox VE in an unsupported environment if you use software raid.
 

mmenaz

Active Member
Jun 25, 2009
769
9
38
Northern east Italy
Try to mount the file system with "nobarrier" option, a bit more risky (search about the implications) but definetely your fsync numbers will increase a lot
 

camaran

Member
Jul 14, 2013
52
0
6
i have this
Code:
/dev/pve/data   /var/lib/vz     ext4    defaults,nobarrier      1       2
it's ok? or i must use only
Code:
/dev/pve/data   /var/lib/vz     ext4    nobarrier      1       2
 

mmenaz

Active Member
Jun 25, 2009
769
9
38
Northern east Italy
i have this
Code:
/dev/pve/data   /var/lib/vz     ext4    defaults,nobarrier      1       2
it's ok?
Seems so, I've also noatime, i.e. my config is usually like that
Code:
/dev/pve/data /var/lib/vz ext4 defaults,noatime,nobarrier 0 1
of course after changes in fstab you have to remount or better reboot :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!