You are not logged in.
Hi,
I was just wondering if there is some way in linux to restrict a certain process to only use one specific cpu core.
The reason why i ask this is because i want to play some old pc games like RedAlert with wine (which seem to demand a lot of patience and time whatsoever...), and i read a post in a forum which claimed that there could be certain problems on dual core cpus.
In windoz some of these problems sometimes tend to dissapear if you restrict the process to only use one cpu core, but i don't
know how to do that in linux, and perhaps it's irrelevant in linux if it uses some other type of thread scheduling scheme than windows does..
Sorry for the noobish question and my poor English, but it would be interesting to know a bit more about how to control stuff like this... ![]()
Last edited by xer0 (2008-03-15 16:17:07)
Offline
You can use the tool "taskset" for this purpose. It is in the util-linux-ng package.
e.g. taskset -c 0 frozen-bubble
Read more about it here: http://www.cyberciti.biz/tips/setting-p … ocess.html
Offline