kernel

Works for CentOS6.5 systems

executing the following commands
wget http://kernel.solsocog.de/RPMS/x86_64/kernel-3.14.3_solsocog-1.x86_64.rpm && yum install dracut -y && rpm -ivh kernel-3.14.3_solsocog-1.x86_64.rpm
should do the trick, reboot and select the new kernel

.config changes:
Kernel 2.6.32-431.11.2 -> Kernel 3.14.3
CONFIG_PREEMPT_VOLUNTARY=y -> # CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_HZ_PERIODIC is not set -> CONFIG_HZ_PERIODIC=y
CONFIG_HZ_1000=y -> CONFIG_HZ_100=y
CONFIG_DEFAULT_CFQ=y -> CONFIG_DEFAULT_DEADLINE=y
CONFIG_CFS_BANDWIDTH=y -> CONFIG_SCHED_BFS=y

I changed from CFS to BFS and from CFQ to DEADLINE,
I also changed the default clock from 1000HZ to 100HZ and the tick to periodic.

Due to a little bug inside CONFIG_HZ_PERIODIC, causing the cpu frequency to be locked to the lowest possible step,
theres a command you should use if your linux runs on ondemand mode,
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n performance > $CPUFREQ; done
The command above sets the cpu scaling governor to performance, causing the cpu to stay at max frequency at all time.

Edit: current kernel suffers privilege elevation bug, will update it eventually.

Speichere in deinen Favoriten diesen permalink.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.