8–iSER Configuration
Optimizing Linux Performance
111
AH0054601-00 B
Login to [iface: default, target:
iqn.2004-01.com.qlogic.iSERPort1.Target1, portal:
192.168.10.5,3260] successful.
4.
Verify that the LUNs are visible by issuing the following commands:
#
sudo apt-get install lsscsi
#
lsscsi
[1:0:0:0] cd/dvd hp DVD D DS8D9SH JHJ4 /dev/sr0
[2:0:0:0] disk HP LOGICAL VOLUME 4.68 /dev/sda
[2:0:0:1] disk HP LOGICAL VOLUME 4.68 -
[2:3:0:0] storage HP P420i 4.68 -
[3:0:0:0] disk LIO-ORG RAMDISK-MCP 4.0 /dev/sdb
Optimizing Linux Performance
Consider the following Linux performance configuration enhancements described
in this section.
Configuring CPUs to Maximum Performance Mode
Configuring Kernel sysctl Settings
Configuring IRQ Affinity Settings
Configuring Block Device Staging
Configuring CPUs to Maximum Performance Mode
Configure the CPU scaling governor to performance by using the following script
to set all CPUs to maximum performance mode:
for CPUFREQ in
/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f
$CPUFREQ ] || continue; echo -n performance > $CPUFREQ; done
Verify that all CPU cores are set to maximum performance mode by issuing the
following command:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor