Development for dual core machine

Willi Richert spam at gibtsnicht.com
Mon Aug 20 16:58:37 EDT 2007


Andy wrote:

> Thanks guys for the suggestions.
> 
> Andy

It might be that you have to set the CPU affinity for your python process so
that it works at all. I had that problem on a dual core machine with
hyperthread enabled. Using taskset
(http://www.linuxcommand.org/man_pages/taskset1.html) helped solving the
problem:

taskset -c <CPU#> python ...

Best regards,
wr


-- 
pinkrose.dhis.org,



More information about the Python-list mailing list