Re: Does hyper-threading = dual cpu
From: John-Paul Stewart (jpstewart_at_sympatico.ca)
Date: 12/26/03
- Next message: Michael Heiming: "Re: Does hyper-threading = dual cpu"
- Previous message: Thomas Reat: "dropping TCP packets with ECN on"
- In reply to: Jean-David Beyer: "Re: Does hyper-threading = dual cpu"
- Next in thread: Michael Heiming: "Re: Does hyper-threading = dual cpu"
- Reply: Michael Heiming: "Re: Does hyper-threading = dual cpu"
- Reply: Jim Richardson: "Re: Does hyper-threading = dual cpu"
- Reply: Leon.: "Re: Does hyper-threading = dual cpu"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Dec 2003 15:45:43 -0500
Jean-David Beyer wrote:
>
> John-Paul Stewart wrote:
> > chuck wrote:
> >
> >>I just loaded Fedora 1. Didn't pay attention when it booted
> >>up the last time and had a question about a program that was
> >>running so I ran top ... and got:
> >>
> >>CPU states: cpu user nice system irq softirq iowait idle
> >> total 12.4% 69.4% 9.6% 0.0% 0.0% 0.0% 108.0%
> >> cpu00 8.3% 33.7% 4.1% 0.0% 0.0% 0.0% 53.6%
> >> cpu01 4.1% 35.7% 5.5% 0.0% 0.0% 0.0% 54.4%
> >>
> >>or is the system just confused?
> >
> >
> > With hyperthreading enabled and an SMP kernel the OS will see a single
> > hyperthreaded CPU as two CPUs. It won't perform like two physical CPUs
> > but the two logical CPUs will show up seperately in top, xosview,
> > /proc/cpuinfo, and other places.
>
> It may not perform exactly like two CPUs, but the total system
> throughput should be higher than with hyperthreading disabled. It would
> depend on the workload.
Quite true. For example, compiling lots of source files I see a 5%
improvement with hyperthreading. According to benchmarks on an IBM
website they've seen 40% improvement on multi-threaded server tasks.
(I've lost the URL but can probably find it if necessary.) This is
certainly a case of "Your mileage *will* vary".
> Now when I get my dual XEON machine running, it will have two
> hyperthreaded CPUs in it. That should be interesting.
You'll love it, I'm sure. My dual hyperthreaded Xeon box is a
screamer. It's kind of fun to see that it thinks there are four CPUs
and reports over 24000 bogomips.
- Next message: Michael Heiming: "Re: Does hyper-threading = dual cpu"
- Previous message: Thomas Reat: "dropping TCP packets with ECN on"
- In reply to: Jean-David Beyer: "Re: Does hyper-threading = dual cpu"
- Next in thread: Michael Heiming: "Re: Does hyper-threading = dual cpu"
- Reply: Michael Heiming: "Re: Does hyper-threading = dual cpu"
- Reply: Jim Richardson: "Re: Does hyper-threading = dual cpu"
- Reply: Leon.: "Re: Does hyper-threading = dual cpu"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|