$ getconf _NPROCESSORS_ONLN returns the number of CPUs online Internally it is parsing /sys/devices/system/cpu/online, which can have the contents: 0-3,5,7-9. Better let getconf do all the counting for you. This is very useful, if you want to optimize the number of threads.
This article shows how to reduce boot time for Fedora 17, but the recipe can also be applied to 18, 19 and 20. The target is to get a fast booting system with NetworkManager running and gdm displaying the login screen as fast as possible. The system I use here […]