Re: dual core and c
- From: roberson@xxxxxxxxxxxxxxxxxx (Walter Roberson)
- Date: Fri, 29 Feb 2008 15:51:00 +0000 (UTC)
In article <fc3a1730-b0c1-47d7-b592-3d64c037d837@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
kerravon <kerravon@xxxxx> wrote:
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,
Quite possibly true that it would only run on one of the CPUs
(or cores), but you might be interested to know that several
standard compression algorithms turn out to be ameniable to
"divide and conquer" strategies using multiple CPUs or multiple
cores. For some of the algorithms, there would be no loss of
compression ability at all (e.g., there are parallel sorting
algorithms for the block sort phase); for others of the algorithms,
(including standard LZW type of algorithms), there would be a minor
loss of compression efficiency but a fair reduction in CPU time.
--
"The slogans of an inadequate criticism peddle ideas to fashion"
-- Walter Benjamin
.
- References:
- dual core and c
- From: kerravon
- dual core and c
- Prev by Date: Re: Variable-sized lines of text in linked list
- Next by Date: Re: Is there stack associated when a executing an inline function?
- Previous by thread: dual core and c
- Next by thread: Re: dual core and c
- Index(es):
Relevant Pages
|