1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

BFS Scheduler Benchmarks

Michael Larabel

Published on 14 September 2009
Written by Michael Larabel
Page 1 of 4 - 105 Comments

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.

The FAQ page for BFS describes this open-source scheduler as:

"BFS is the Brain Fuck Scheduler. It was designed to be forward looking only, make the most of lower spec machines, and not scale to massive hardware. Ie it is a desktop orientated scheduler, with extremely low latencies for excellent interactivity by design rather than "calculated", with rigid fairness, nice priority distribution and extreme scalability within normal load levels."

Additionally, Con goes on to note that its design is "ridiculously simple" and "throws out everything about what we know is good about how to design a modern scheduler in scalability", but unless you are running a system with many processing cores (16+ cores), the Brain Fuck Scheduler should be ideal. Con Kolivas has expressed no intentions of trying to get the BFS scheduler introduced into the mainline Linux kernel tree, so right now all patches need to be applied manually. In the BFS patches directory is BFS version 211 for the Linux 2.6.31 kernel.

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.

We compared these two 64-bit kernels with the Brain Fuck Scheduler and then the Completely Fair Scheduler on an ASRock NetTop ION 330 system. This NVIDIA ION system has a dual-core Intel Atom 330 CPU with Hyper-Threading clocked at 2.10GHz, an ASRock AMCP7A-ION motherboard (NVIDIA MCP79 Chipset), and GeForce 9400M 512MB graphics. This lower-end hardware was tested since the only other large performance comparison of BFS comes from Ingo Molnar with his benchmarks and measurements where a sixteen-core system was used. Outside of our custom built kernels we were using an Ubuntu 9.10 daily snapshot from 2009-09-10 with the GNOME 2.27.91 desktop, X Server 1.6.3, NVIDIA 190.32 display driver, GCC 4.4.1, and an EXT4 file-system.

When running the Phoronix Test Suite on both kernels, we ran a number of different tests (particularly those that were multi-threaded) to look for performance differences between BFS and the Completely Fair Scheduler. In the end we ended up eliminating most of the tests that showed little difference between the two. The test results that we ended up going with for this article are from World of Padman, timed Apache compilation, timed PHP compilation, 7-Zip compression, GraphicsMagick, Apache, Threaded I/O Tester, and PostMark. On the following pages are our first BFS scheduler benchmarks from this Intel Atom system.

<< Previous Page
1
Latest Linux Hardware Reviews
  1. AMD Radeon R9 290: Gallium3D vs. Catalyst Drivers
  2. AMD Radeon R9 290 Open-Source Driver Works, But Has A Ways To Go
  3. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  4. Sumo's Omni Gets Reloaded
Latest Linux Articles
  1. 20-Way Radeon Comparison With Open-Source Graphics For Steam On Linux Gaming
  2. Preview: OS X 10.10 Yosemite vs. Ubuntu Linux GPU Performance
  3. Radeon Graphics Yield Mixed Results With Linux 3.17 Kernel
  4. AMD's RadeonSI Driver Sped Up A Lot This Summer
Latest Linux News
  1. Nouveau On Oibaf PPA Is Back To Running Well
  2. Metro 2033 Redux Will Hopefully Hit Linux Real Soon
  3. New Virtual Monitor Software Might End Up On Linux
  4. Company of Heroes 2 Might Be Coming Out For Linux
  5. NIR Still Being Discussed For Mesa, LLVM Gets Brought Up Again
  6. Plasma Active Is Mostly Ported To KDE Frameworks 5
  7. Google Chrome 37 Brings Many Security Fixes
  8. MenuetOS Updated With SMP Threads & Onscreen Keyboard
  9. Mesa Has A New Release Manager
  10. Enlightenment E19 Lands Its New Wayland Compositor Code
Latest Forum Discussions
  1. Canonical Joined The Khronos Group To Help Mir/Wayland Drivers
  2. AMD Releases UVD Video Decode Support For R600 GPUs
  3. Announcing radeontop, a tool for viewing the GPU usage
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. [DB] BIOS - ACPI - data collecting
  6. It's Now Possible To Play Netflix Natively On Linux Without Wine Plug-Ins
  7. Users defect to Linux as OpenBSD removes Lynx from base system
  8. Chinese People Try To Patent Wine On ARM