From: davidsen@tmr.com (bill davidsen)
To: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test4 shocking (HT) benchmarking (wrong logic./phys. HT CPU distinction?)
Date: 26 Aug 2003 19:20:20 GMT [thread overview]
Message-ID: <bigbtk$i7v$1@gatekeeper.tmr.com> (raw)
In-Reply-To: 200308261552.44541.max@vortex.physik.uni-konstanz.de
In article <200308261552.44541.max@vortex.physik.uni-konstanz.de>,
<max@vortex.physik.uni-konstanz.de> wrote:
| The next strange thing is that using FFTW (in a single program) with two or
| four simulataneous FFT-threads on 2.6.0-test4 is significantly *slower* than
| in 2.4, where the hyperthreading/SMP is said to be inferior to 2.6. The
| simulation took almost 50% longer on 2.6, all other things being equal.
| Unfortunately, these results made me go back to 2.4 for the time being.
You may want to run w/o HT at all for your particular problem, or limit
threads to the number of physical CPUs. Having multiple threads trying
to do ffts is likely to thrash the cache, and will result in contention
for the (single) FPU.
The schedular would seem to lack the information to make a determination
of the magnitude of the fpu contention, and by making better use of HT
it makes the contention worse.
Perhaps there should be a "don't hyperthread" attribute one could set to
hint that running multiple threads in a single CPU is unlikely to work
well. Since there isn't, I don't know a way to avoid the problem unless
you can set maxthreads to Ncpu.
--
bill davidsen <davidsen@tmr.com>
CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.
prev parent reply other threads:[~2003-08-26 19:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-26 13:52 2.6.0-test4 shocking (HT) benchmarking (wrong logic./phys. HT CPU distinction?) max
2003-08-26 16:36 ` Stan Bubrouski
2003-08-26 18:50 ` Andy Isaacson
2003-08-26 19:12 ` Richard B. Johnson
2003-08-27 13:40 ` Andrew Theurer
2003-08-26 19:20 ` bill davidsen [this message]
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='bigbtk$i7v$1@gatekeeper.tmr.com' \
--to=davidsen@tmr.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