Tuning The Kernel With A Genetic Algorithm
fsck! writes "Jake Moilanen provided a series of four patches against the 2.6.9 Linux kernel that introduce a simple genetic algorithm used for automatic tuning. The patches update the anticipatory IO scheduler and the zaphod CPU scheduler to both use the new in-kernel library, theoretically allowing them to automatically tune themselves for the best possible performance for any given workload. Jake says, 'using these patches, there are small gains (1-3%) in Unixbench & SpecJBB. I am hoping a scheduler guru will able to rework them to give higher gains.'"
fp
-A
moo
i win, you flaming bitches.
Just wait till some of our beloved gentoo ricers hear about it. I mean, imagine something like this with these highly optimized C-Flags:
o n, --allow-multiple-definition,--allow-multiple-defin ition,--relax -z combreloc -z muldefs -s'
A CCEPT_KEYWORDS="~x86 x86" /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"t c/gconf"
g nu- gnu
LDFLAGS='-Wl,-O1,--enable-new-dtags,--sort-comm
CFLAGS="-g0 -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -pipe -O3 -march=pentium4 -fweb -funswitch-loops -funroll-all-loops -funit-at-a-time -fsched2-use-traces -fsched2-use-superblocks -fsched-stalled-insns=12 -frename-registers -fprefetch-loop-arrays -fpeel-loops -fomit-frame-pointer -fmerge-all-constants -finline-limit=32768 -finline-functions -ffunction-sections -ffast-math -fdata-sections -fbranch-target-load-optimize2"
CXXFLAGS="-g0 -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -pipe -O3 -march=pentium4 -fweb -funswitch-loops -funroll-all-loops -funit-at-a-time -fsched2-use-traces -fsched2-use-superblocks -fsched-stalled-insns=12 -frename-registers -fprefetch-loop-arrays -fpeel-loops -fomit-frame-pointer -fmerge-all-constants -finline-limit=32768 -finline-functions -ffunction-sections -ffast-math -fdata-sections -fbranch-target-load-optimize2 -fvisibility-inlines-hidden -fabi-version=0 -fpermissive -fno-enforce-eh-specs"
FEATURES="-ccache buildpkg -sandbox"
MAKEOPTS="-j1"
PORTAGE_NICENESS='0'
CLEAN_DELAY="7"
CONFIG_PROTECT="/etc
CONFIG_PROTECT_MASK="/e
CBUILD=i686-pc-linux-gnu
CCHOST=i686-pc-linux-
CCHOST=i686-pc-linux-gnu
CHOST=i686-pc-linux
CTARGET=i686-pc-linux-gnu
http://bugs.gentoo.org/show_bug.cgi?id=74072
This is a joke, btw., I'm using gentoo myself and love it.
Yeah, this means a lot to corporations. Linux will be used a lot more on corporate desktops now. You can read about it here.