lkml.org 
[lkml]   [2008]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectToggling preemption on a running kernel
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?

thanks,

Matthew.


--
Matthew Hodgson <matthew@mxtelecom.com>
Media & Systems Project Manager
Tel: +44 (0) 845 666 7778
http://www.mxtelecom.com


\
 
 \ /
  Last update: 2008-03-07 01:31    [W:0.120 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site