public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Mateusz Berezecki <mateuszb@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.6 context switching and posix threads performance question
Date: Sat, 27 Aug 2005 14:38:02 +0200	[thread overview]
Message-ID: <1125146282.20161.69.camel@twins> (raw)
In-Reply-To: <aec8d6fc050827053047b1b667@mail.gmail.com>

Group replies work best with mailing lists.

On Sat, 2005-08-27 at 14:30 +0200, Mateusz Berezecki wrote:
> On 8/27/05, Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:
> 
> > Well the obvious question is: what kernel version and which thread
> > library?
> 
>   Ah, sorry I just forgot to put this info 
> 
> Linux blade1 2.6.12 #1 SMP Tue Jul 26 08:43:57 GMT 2005 i686 Intel(R)
> Xeon(TM) CPU 3.06GHz GenuineIntel GNU/Linux
> 
> the cpu is with HT so Linux thinks there are 4 cpus on board
>   
> > 
> > 2.4 with LinuxThreads might have severe problems. However 2.6 with NPTL
> > should be able to handle it, IIRC Igno once did a million threads with
_Ingo_ Molnar that is; I really should have gotten those 4 letters in
the right order by now, humble appologies.

> > that combination just to show that it worked ;-).
> 
>   Yes, but how about switching contexts and the performance impact?
> Will it slowdown the whole system or just result in low or medium
> overhead?.
> These threads are meant to be running an intensive network connection
> and possibly analysing the dataflow and maybe filtering some stuff.
> Each thread doing the same task.

I think it should work; however I'm not the most qualified to answer
this.



-- 
Peter Zijlstra <a.p.zijlstra@chello.nl>


  parent reply	other threads:[~2005-08-27 12:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-27 12:11 Linux 2.6 context switching and posix threads performance question Mateusz Berezecki
2005-08-27 12:26 ` Peter Zijlstra
     [not found]   ` <aec8d6fc050827053047b1b667@mail.gmail.com>
2005-08-27 12:38     ` Peter Zijlstra [this message]
2005-08-27 12:58 ` Arjan van de Ven
2005-08-27 13:09   ` Con Kolivas
2005-08-27 14:43 ` Alan Cox
2005-08-28 23:20 ` James Courtier-Dutton
2005-08-30 17:46 ` Christoph Lameter

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=1125146282.20161.69.camel@twins \
    --to=a.p.zijlstra@chello.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mateuszb@gmail.com \
    /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