Home >Operation and Maintenance >Linux Operation and Maintenance >Example tutorial on optimizing SSD hard disk in Linux system
Noop ; /sys/block/sdb/queue/scheduler
3, echo 4096 > read_ahead_kb Indicates the number of Kb of pre-read data, the default is 1284, echo 4096 > nr_requests The default queue length is 1285. Check the IO scheduling algorithm supported by the current system demesg | grep -i scheduler 6. Check the I/O scheduling algorithm of the current system cat /sys/block/sdb/queue/scheduler7. Clear the cache a), release the linux cache Echo 3 > /proc/sys/vm/drop_caches Default is 0 mem used = free + buffers + cached b), release page cache Echo 1 > /proc/sys/vm/drop_caches c), release dentries and inodes cache echo 2 > /proc/sys/vm/drop_cachesThe above is the detailed content of Example tutorial on optimizing SSD hard disk in Linux system. For more information, please follow other related articles on the PHP Chinese website!