Tag Archives: Performance

Performance increase through bigger readahead buffers

You can get the current settings of your harddrives with:
blockdev --report.
This will report all settings of all your currently attached harddrives.
The default value for the readahead buffer in linux 256, so by increasing this to 1024 we can get a better read performance in sequential reads from the disks.
To set this you need to do this for each disk (not partition) of your system. eg.:
blockdev --setra 1024 /dev/sda

Performance tuning in fs

Small hack, but gives the CPU and I/O systems less work. If you disable the updating of the access timestamp, you will gain some performance increase.
mount -o remount,noatime,nodiratime