Patrick Connolly
2010-10-03 09:03:34 UTC
My installation of Kubuntu 10.4 on a dual quad-core machine has the
impression it has 16 processors. When the same machine had Kubuntu
9.10, it did accurately detect that there were 8 processors.
When I run gkrellm, it dutifully draws 16 krells and when I get some
parallel work happening, say running 6 parallel tasks, 6 krells light
up for a time, then processing is rotated to another processor and a
different processor lights up.
It's a bit annoying cluttering up the screen with 16 krells when only
8 of them do anything, and I can't work out which 8 that is. (It's
definitely not simply the first 8, and I'm not sure it's always the
same 8). But what is more inconvenient, it seems as though the OS
passes the task on to another processor which it thinks is there and
while a non-existent processer has the task, nothing happens. So on
average, that's about half the time. The net effect is that unless
the task can be divided into more than 4 parallel tasks, there's no
advantage of the multiple processors at all. Even using 6 tasks, it's
only marginally faster than doing them all in sequence.
My guess is that if I could find a configuration file that I could
directly edit, I might be able to tell Kubuntu how to count.
Is that likely, or is there a more intelligent way to go about it?
(More details as to just what I'm parallelizing can be supplied if
it's needed.)
TIA
--
___ Patrick Connolly
{~._.~}
_( Y )_ Good judgment comes from experience
(:_~*~_:) Experience comes from bad judgment
(_)-(_)
_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
impression it has 16 processors. When the same machine had Kubuntu
9.10, it did accurately detect that there were 8 processors.
When I run gkrellm, it dutifully draws 16 krells and when I get some
parallel work happening, say running 6 parallel tasks, 6 krells light
up for a time, then processing is rotated to another processor and a
different processor lights up.
It's a bit annoying cluttering up the screen with 16 krells when only
8 of them do anything, and I can't work out which 8 that is. (It's
definitely not simply the first 8, and I'm not sure it's always the
same 8). But what is more inconvenient, it seems as though the OS
passes the task on to another processor which it thinks is there and
while a non-existent processer has the task, nothing happens. So on
average, that's about half the time. The net effect is that unless
the task can be divided into more than 4 parallel tasks, there's no
advantage of the multiple processors at all. Even using 6 tasks, it's
only marginally faster than doing them all in sequence.
My guess is that if I could find a configuration file that I could
directly edit, I might be able to tell Kubuntu how to count.
Is that likely, or is there a more intelligent way to go about it?
(More details as to just what I'm parallelizing can be supplied if
it's needed.)
TIA
--
___ Patrick Connolly
{~._.~}
_( Y )_ Good judgment comes from experience
(:_~*~_:) Experience comes from bad judgment
(_)-(_)
_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug