April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Tweak EXT4 mount options for performance

Need to change default EXT4 mount options to tweek performance

DEFAULT EXT4 mount options (Centos 6.3):

… meaning …

CHANGE it (/etc/fstab) to:

EXPLANATION:

  • noatime – don’t modify last access time on folders and files (not needed)
  • nouser_xattr – don’t write extended user atributes (not needed)
  • barrier=0  – turn off write barriers, improved write speed on CloudSigma SSD storage by 300% !!!
  • data=ordered – default, no change really
  • errors=remount-ro – if errors, remount FS in read only mode (not performance,  but very important)

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>