Is your multicore webserver embedded? If not, I'm not sure this is for you.
The embedded processor chip in mobile phones is small and
not very powerful, so machine learning is more applicable
to use in these devices in order to make the chip more
energy efficient and powerful. (http://www.milepost.eu/resources.html)
More explanation is available here:
http://ctuning.org/wiki/index.php/CTools:MilepostFramework. The chart should give you a basic idea of their architecture: they dynamically instrument runs of your programs under different optimization to find optimal settings for your release build.