Steve Frank, dando pulos de alegria, escreveu :
> Is it possible to somehow processor limit how much CPU coLinux gets? On
> my Athlon64 box, it gobbles up all it can. On my P4 desktop with
> Hyperthreading, it's getting 50% cpu which I guess is a byproduct of the
> hyperthreading enabled.
Colinux runs as a normal windows application, so it uses what it can as
any other windows application, unless it is idle.
Right now, it is coded to use only one of the cpu's, so on HT machines,
it seems to use just 50% CPU. This number is not very reliable, as HT
machines are not true SMP computers.
This is because there were some reports of colinux not doing well with
HT machines. It seems to be fixed now, but I don't think it was tested
yet.
If you want to limit CPU usage for colinux, you can do the same as for
other windows applications: use the task manager and decrease it's
priority. But note that you probably will not gain anything with it.
If you decide you want to test if the HT code is working now, define a
global environment variable COLINUX_NO_SMP_WORKAROUND as "Y", i.e.,
"COLINUX_NO_SMP_WORKAROUND=Y".
Regards,
~Nuno Lucas
|