Re: [patch 0/5] Support for sanitization flag in low-level page allocator

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: pageexec
Date: Thursday, May 28, 2009 - 11:48 am

On 28 May 2009 at 11:08, Ingo Molnar wrote:


last year while developing/debugging something else i also ran some kernel
compilation tests and managed to dig out this one for you ('all' refers to
all of PaX):

------------------------------------------------------------------------------------------
make -j4 2.6.24-rc7-i386-pax compiling 2.6.24-rc7-i386-pax (all with SANITIZE, no PARAVIRT)
565.63user 68.52system 5:25.52elapsed 194%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1major+12486066minor)pagefaults 0swaps

565.10user 68.28system 5:24.72elapsed 195%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+12485742minor)pagefaults 0swaps
------------------------------------------------------------------------------------------
make -j4 2.6.24-rc5-i386-pax compiling 2.6.24-rc5-i386-pax (all but SANITIZE, no PARAVIRT)
559.74user 50.29system 5:12.79elapsed 195%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+12397482minor)pagefaults 0swaps

561.41user 51.91system 5:14.55elapsed 194%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+12396877minor)pagefaults 0swaps
------------------------------------------------------------------------------------------

for the kernel times the overhead is about 68s vs. 51s, or 40% in this particular case.
while i don't know where this workload (the kernel part) falls in the spectrum of real
life workloads, it definitely shows that if you're kernel bound, you should think twice
before using this in production (and there's the real-time latency issue too).

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Support for unconditional page sanitization, Larry H., (Sat May 23, 11:21 am)
Re: [PATCH] Support for unconditional page sanitization, Arjan van de Ven, (Sat May 23, 2:05 pm)
Re: [PATCH] Support for unconditional page sanitization, Arjan van de Ven, (Sun May 24, 9:38 am)
Re: [patch 0/5] Support for sanitization flag in low-level ..., pageexec, (Thu May 28, 11:48 am)