lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47D18D9B.9080907@tmr.com>
Date:	Fri, 07 Mar 2008 13:46:51 -0500
From:	Bill Davidsen <davidsen@....com>
To:	Matthew Hodgson <matthew@...elecom.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: Toggling preemption on a running kernel

Matthew Hodgson wrote:
> Hi,
> 
> I'm trying to compare the performance of some networking code 
> (throughput and latency when receiving various volumes of UDP streams) 
> between a preemptible and non-preemptible 2.6.24 kernel, and was 
> wondering if it is possible to temporarily disable preemption on a 
> running preemptible kernel.  Is it just a matter of loading a module 
> which calls preempt_enable() at load and preempt_disable() at unload - 
> or is that too naive?  Is there an existing way of doing this?
> 
That wouldn't get rid of all the code to support preempt, so it wouldn't 
be useful for comparing much of anything. I think you need to build two 
identical kernels here, with only one difference.

-- 
Bill Davidsen <davidsen@....com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ