lkml.org 
[lkml]   [2004]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mention that DEBUG_SLAB can slow down machine quite a bit
Date
Hi,

I experienced x3 slowdown due to this option being set.

Please add this small warning to DEBUG_SLAB help text.
--
vda
diff -urN linux-2.6.9-rc2hz.src/lib/Kconfig.debug linux-2.6.9-rc2hz.helptext/lib/Kconfig.debug
--- linux-2.6.9-rc2hz.src/lib/Kconfig.debug Mon Sep 13 22:33:37 2004
+++ linux-2.6.9-rc2hz.helptext/lib/Kconfig.debug Thu Sep 16 11:19:28 2004
@@ -34,7 +34,7 @@
help
Say Y here to have the kernel do limited verification on memory
allocation as well as poisoning memory on free to catch use of freed
- memory.
+ memory. This can make kmalloc/kfree-intensive workloads much slower.

config DEBUG_SPINLOCK
bool "Spinlock debugging"
\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.058 / U:1.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site