The cache capacity of the Linux server can be adjusted. Enlarge the cache capacity to delay the exhaustion of the cache space by the dirty data and to enable the system to aggregate the discrete I/O requests, reducing the pressure of the S5000 to process the discrete I/O requests and improving read/write efficiency. The procedure is as follows:
Step 1 Run the cat /proc/sys/vm/dirty_background_ratio command to check the percentage of the resources occupied by the current dirty data of the OS to the memory capacity. The default value is 10, which indicates that the dirty data cache occupies 10% of memory capacity by default.
Step 2 Change the value as required. Run the vi /proc/sys/vm/dirty_background_ratio command to enlarge the current value. Usually, the maximum value is 50 which indicates that the dirty data occupies up to 50% of the memory capacity.