Symmetric Multiprocessing (SMP) development
 help / color / mirror / Atom feed
From: Simon Oliver <simon.oliver@umist.ac.uk>
To: SuSE Linux List <suse-linux-e@suse.com>, linux-smp@vger.kernel.org
Subject: Process binding on Dual P4 Xeon
Date: Tue, 23 Jul 2002 14:19:14 +0100	[thread overview]
Message-ID: <3D3D57D2.776C6482@umist.ac.uk> (raw)

I have recently installed a new dual P4 Xeon system.

For a particularly computeintensive program I have been advised to turn of
hyperthreading in the BIOS, so now Linux sees two CPUs instead of four
logical CPUs - makes sense :-)

I know that the binding of a process to a cpu is "loose" under linux (as
apposed to Irix say) and one expects jobs to hop between CPUs every now
and then.

But I have been monitoring (via top) a simple perl script (no forks or
threading involved) and not only does it switch CPU, sometimes it seems to
split accross the CPUs with 50% utilization on each CPU, or even a 25/75
split.  I have never noticed this before on dual CPU machines (I have a
few dual PIIIs).

The machine is still running the SuSE supplied SMP kernel:

Linux version 2.4.18-64GB-SMP (root@SMP_X86.suse.de) (gcc version 2.95.3
20010315 (SuSE)) #1 SMP Wed Mar 27 13:58:12 UTC 2002

Please enlighten me.

-- 
  Simon Oliver

             reply	other threads:[~2002-07-23 13:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-23 13:19 Simon Oliver [this message]
2002-07-23 19:26 ` [SLE] Process binding on Dual P4 Xeon Peter B Van Campen
     [not found] ` <irhsju8jtif8pbrmb4d2pd9g7vnrvmbu5n@4ax.com>
2002-07-24  7:42   ` Simon Oliver

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=3D3D57D2.776C6482@umist.ac.uk \
    --to=simon.oliver@umist.ac.uk \
    --cc=linux-smp@vger.kernel.org \
    --cc=suse-linux-e@suse.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