dual core and c



Assuming I am running a C program that is doing some cpu-intensive
work
such as zip -9, I can understand:

If I have 8 CPUs, then it will make no difference at all to the zip
program,
it will only run on one of the CPUs, although this does allow me to
run 8
separate zips simultaneously, which would be cool on a large site.

But what I don't understand is the concept of a "core", as in "dual
core".
What implications does that have for a C program like zip? Does it
have the ability to look at the instructions ahead of time and
pipeline
them or something? Pipelining is something that has been around for
a long time. Did someone just get the bright idea to call it dual
core
instead or what?

Assume the zip in question is written in C89, no fancy parallelism -
at
least not inherent in the language itself.

Thanks. Paul.
.



Relevant Pages

  • Re: Deep Fritz for Core2 Duo?
    ... You can switch the free Crafty engine into running on multiple cores and it will give a fair benchmark of how system would behave with other chess engines. ... CPUs 6403 kN/s ... Only in a badly designed parallel search strategy. ... Two cores on a slow multicore against one core on a nominally twice as fast machine with the same engine would be an interesting test. ...
    (rec.games.chess.computer)
  • Re: Beyond multicore
    ... Using 200-odd pins to support a DDR-III ... device between this DRAM and the on-die Memory Controller. ... linear scaling) current 3 GHz CPUs need about 10 GBytes/sec of DRAM BW/ ... In order that each CPU core has about the same L-big ...
    (comp.arch)
  • Re: Beyond multicore
    ... Using 200-odd pins to support a DDR-III ... device between this DRAM and the on-die Memory Controller. ... linear scaling) current 3 GHz CPUs need about 10 GBytes/sec of DRAM BW/ ... In order that each CPU core has about the same L-big ...
    (comp.arch)
  • Re: dual core and c
    ... If I have 8 CPUs, then it will make no difference at all to the zip ... But what I don't understand is the concept of a "core", ... You should minimize the use of membars and interlocked RMW instructions. ... Think of a chip with many very many cores which run under a low clock speed such that a single-thread program could end up running on a core that is most likely slower than a single-chip/core system... ...
    (comp.lang.c)
  • Re: Advice on a multithreaded netisr patch?
    ... using the core? ... CPUs 4-7 for only network processing". ... Be careful not to migrate threads that hold locks the ... Be careful not to migrate the main boot thread. ...
    (freebsd-net)