The system setup scripts can be separated to setup/*
+intrrupt_nic_binding() +{
- local core_ranges='55-79 93-95'
- ethtool -L $nic combined 28
- for core_range in $core_ranges
- do
$LKP_SRC/bin/set_nic_irq_affinity $core_range $nic
- done
- ethtool -l $nic
+}
+net_io_cache_setting() +{
- echo deadline > /sys/block/"$device"/queue/scheduler
- echo 2048 > /sys/block/"$device"/queue/nr_requests
+}
+getcpu_process_bind_core() +{
- cd /getcpu || exit
- insmod getcpu-hi.ko
- numactl -C 0-92 -i 0-3 "$mysqld" --defaults-file=/etc/my.cnf --port="$mysql_port" &
- sleep 20
+}