Rate This Document
Findability
Accuracy
Completeness
Readability

Tuning Process Flow

  1. Modify the dirty page refresh parameter (change the value of dirty_background_ratio from 10 to 5 and the value of dirty_expire_centisecs from 3000 to 2000) to increase the background refresh frequency of dirty pages, increasing the import rate.
    1
    2
    echo 5 > /proc/sys/vm/dirty_background_ratio
    echo 2000 > /proc/sys/vm/dirty_expire_centisecs
    

    or

    1
    2
    sysctl -w vm.dirty_background_ratio = 5
    sysctl -w vm.dirty_expire_centisecs=2000
    
  2. Create RAID 5, so that the drive I/O is not the bottleneck of data import and search. Therefore, the multi-thread feature of the service model is fully utilized on the Kunpeng servers.