one process on 2 cpu's: need info

Martin Krzywinski (martink@physics.ubc.ca)
Thu, 5 Aug 1999 12:52:57 -0700 (PDT)


I just want to clarify something for myself. I have a bunch of dual
processor machines. Any one process can occupy only one CPU (the kernel
does not use two cpus to double the speed...I suppose for a good reason,
as parallizing would be difficult). However, the usage of the cpu's
switches back and forth between them. CPU#0 is 100% one second and then 0%
another, while CPU#1 picks up the task. Why is this shuffling?

Thanks,

mk

--------------------------------------------------------
...skimming the scummy surface of our effervescent
present in preference to plumbing the adumbrate depths
of the underlying past.
Iain Banks (The Crow Road)
-------------------------------------------- 1170/1424 -

Martin Krzywinski
System Administrator
Center for Integrated Genomics
BC Cancer Agency
600 West 10th Avenue
Vancouver, BC V5Z 4E6
tel: (604) 877-6086
fax: (604) 877-6085
http://www.cigenomics.bc.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/