Mailinglist Archive: opensuse (1523 mails)
| < Previous | Next > |
Re: [opensuse] systemload / cpu's
- From: "Jeffrey L. Taylor" <jeff@xxxxxxxxxxxxxxxx>
- Date: Sat, 20 Mar 2010 12:11:43 -0500
- Message-id: <20100320171143.GD24000@xxxxxxxxxxxxxxxxxxxxxx>
Quoting Hans Witvliet <hwit@xxxxxxxxxxx>:
These programs, as are most programs (still), are single process/thread. They
do not take advantage of multiple cores. Parallel programming is even more
difficult than single process/thread programming to get right.
If you have a tool that shows which CPU is busy, you may see them occasionally
switch CPUs.
It is a matter of tradeoffs, correctness should always be valued over speed
and a programmer's time is always a limited resource.
Just my $0.02USD,
Jeffrey
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Perhaps a silly question...
I noticed on one of my machines, one of the cores was permanently 100%
busy, while others were stile idle. (two dual-cores)
This i noticed both for openvpn and rsync. For both my cpu is apperently
the bottleneck, not my network.
Aren't the processes supposed to be spread even on the different core's?
These programs, as are most programs (still), are single process/thread. They
do not take advantage of multiple cores. Parallel programming is even more
difficult than single process/thread programming to get right.
If you have a tool that shows which CPU is busy, you may see them occasionally
switch CPUs.
It is a matter of tradeoffs, correctness should always be valued over speed
and a programmer's time is always a limited resource.
Just my $0.02USD,
Jeffrey
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |