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 Benchmarking Platform
Phoromatic Test Orchestration

Proposed: A Tainted Performance State For The Linux Kernel

Linux Kernel

Published on 20 August 2014 03:55 AM EDT
Written by Michael Larabel in Linux Kernel
11 Comments

Similar to the kernel states of having a tainted kernel for using binary blob kernel modules or unsigned modules, a new tainting method has been proposed for warning the user about potentially adverse kernel performance.

Dave Hansen of Intel has proposed a new "TAINT_PERFORMANCE" for the kernel that would proactively print a warning message about not using the kernel for any performance measurements. Dave explained in his RFC announcement, "I have more than once myself been the victim of an accidentally-enabled kernel configuration option being mistaken for a true performance problem. I'm sure I've also taken profiles or performance measurements and assumed they were real-world when really I was measuring the performance with an option that nobody turns on in production. A warning like this late in boot will help remind folks when these kinds of things are enabled."

The "Do not use this kernel for performance measurement" message can be found via the kernel's message log if a variety of kernel config options are set that are known to be used just for debugging and could hamper the kernel's stable performance potential. Among the covered Kconfig options at this time include:

- LOCKDEP
- LOCK_STAT
- DEBUG_VM
- DEBUG_VM_VMACACHE
- DEBUG_VM_RB
- DEBUG_SLAB
- DEBUG_OBJECTS_FREE
- DEBUG_KMEMLEAK
- SCHEDSTATS


By other kernel developers looking at the patch, it's also been proposed to add the CONFIG_DEBUG_PAGEALLOC and CONFIG_SLUB_DEBUG_ON Kconfig options too. We'll see if this patch to check if the kernel performance is potentially tainted will get picked up for the Linux 3.18 kernel cycle.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. GLAMOR + RadeonSI 2D Acceleration Is Quite Good For Open-Source AMD 2D Performance
  2. AMD Radeon R9 290 OpenGL On Ubuntu 15.04: Catalyst vs. RadeonSI Gallium3D
  3. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  4. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  5. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  6. The Lenovo T450s Is Working Beautifully With Linux
Latest Linux News
  1. Linux 4.1-RC2 Kernel Released
  2. GNOME 3.17.1 Released
  3. A Lot Of Improvements Are Coming For Mir 0.13, Including Work Towards Libinput
  4. Mobile Optimizations Coming For Phoronix
  5. Wayland 1.8 Alpha Release Delayed
  6. Godot Game Engine 1.1 Up To RC State
  7. ATI Rage128 Driver Now Has RandR Support
  8. Microsoft's Visual C++ Team Is Improving Clang For Windows
  9. Kodi 15.0 Beta 1 Released
  10. Lucid Sleep Support Is Being Worked On For The Upstream Linux Kernel
Most Viewed News This Week
  1. It Doesn't Look Like KDBUS Will Make It For Linux 4.1
  2. Trying Out Microsoft Visual Studio Code On Linux
  3. The Many Features Of The Linux 4.1 Kernel
  4. Microsoft Releases New Code IDE For Linux!
  5. Linux 4.1-rc1 Kernel Released, Packs In Several New Features
  6. GCC 4.9.2 vs. GCC 5 Benchmarks On An Intel Xeon Haswell
  7. Improvements On The Way For GNOME's Nautilus File Manager
  8. QEMU 2.3 Officially Released