Language Selection

English French German Italian Portuguese Spanish

BFS Scheduler Benchmarks

Filed under
Linux

A few weeks back Con Kolivas returned to the Linux kernel scene after parting ways with kernel development for two years. Con, who has contributed a great deal to the Linux kernel in the past particularly with CPU schedulers, returned and introduced BFS. BFS (not to be confused with the file-system of the same name) is a new scheduler for the Linux kernel that's designed for optimal performance on hardware that's more common with a majority of Linux desktop users, not massive data centers running dozens (and in some cases, hundreds) of CPUs. The BFS scheduler is designed to offer "extremely low latencies for excellent interactivity", according to Con Kolivas. In this article we have a set of benchmarks comparing BFS and the current default scheduler within the Linux kernel, the Completely Fair Scheduler.

While we are not kernel scheduler experts, for our testing we simply built a Linux 2.6.31 (final) kernel from source using a stock configuration with the 1000Hz timer, preempt enabled, and dynamic ticks disabled, per the BFS scheduler recommendations. When building the kernel one time we built it with the Brain Fuck Scheduler built-in and then again, we built the 2.6.31 kernel with the same configuration but without BFS and instead using the Completely Fair Scheduler. The Completely Fair Scheduler has been used in the Linux kernel since version 2.6.23 and was created by Ingo Molnar but Con Kolivas inspired its fair scheduling design.

rest here




More in Tux Machines

PfSense 2.2 Open Source Firewall Receives Important Security Update

PfSense is a free, open source customized distribution of FreeBSD that has been built to be used as a firewall and router. A new iteration has been released and the distro now sports the 2.2 version number. Read more

Linux-Powered Librem 15 Laptop Crowdfunding Campaign Is a Major Success

Librem 15 is a new Linux-powered laptop that will ship with completely free applications, drivers, and kernel. The crowdfunding campaign for this laptop is almost over and it has been a resounding success. Read more

Black Swift, the tiny wireless computer is on Kickstarter

Another beautiful board is coming to kickstarter: it’s tiny and powerful. Black Swift runs on OpenWRT Linux, and it can be programmed in a bunch of languages, ranging from C/C++ to PHP, Python, Perl, and Bash scripting (there’s also a Node.js port). Read more

Intel Broadwell: GCC 4.9 vs. LLVM Clang 3.5 Compiler Benchmarks

GCC 4.9.2 and LLVM Clang 3.5.0 were benchmarked using the packages provided on Fedora 21 x86_64. The same Lenovo ThinkPad X1 Carbon was used for all of the benchmarks, the first Broadwell laptop/ultrabook at Phoronix and it features the Core i7 5600U that's dual-core with Hyper Threading and tops out at 3.20GHz. Fedora 21 was running with the Linux 3.17.8 kernel while testing each of the provided compilers. Read more