public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Hodgson <matthew@mxtelecom.com>
To: linux-kernel@vger.kernel.org
Subject: Toggling preemption on a running kernel
Date: Fri, 07 Mar 2008 00:04:52 +0000	[thread overview]
Message-ID: <47D086A4.6090103@mxtelecom.com> (raw)

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

             reply	other threads:[~2008-03-07  0:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-07  0:04 Matthew Hodgson [this message]
2008-03-07 18:46 ` Toggling preemption on a running kernel Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47D086A4.6090103@mxtelecom.com \
    --to=matthew@mxtelecom.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox