[opensuse] changing load balancing of dual core processor
Is there a way to change the load balancing of an AMD Athlon64 dual core processor? I have a process (which is in my case a simulation launched in matlab) and I want to fully load (or to increase the load of) the two cores of my processor in order to speed up the simulation. I have already try to renice the process, but there is no visible result: only one core is 100% loaded. -- Cristea Bogdan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 04 June 2007 09:54, Cristea Bogdan wrote:
Is there a way to change the load balancing of an AMD Athlon64 dual core processor? I have a process (which is in my case a simulation launched in matlab) and I want to fully load (or to increase the load of) the two cores of my processor in order to speed up the simulation. I have already try to renice the process, but there is no visible result: only one core is 100% loaded. --
You cannot force a single-threaded process to use more than one CPU or core. If on an otherwise idle system that simulation only uses only one CPU worth of available processing bandwidth, only rewriting it (or the system in which it runs—in this case Matlab) to be multithreaded will change that. In any event, you might want to know about "taskset" ("man taskset"). If it's not present on your system, install the "util-linux" package. This will allow you to control the affinity of a process w.r.t. a given CPU or core.
Cristea Bogdan
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Cristea Bogdan
-
Randall R Schulz