stefan ring iyvisotechat adam olsen gmailcom writes wed mar 19 2008 1009 stefan ring visotechat wrote adam olsen gmailcom writes try call sched_yield rather nanosleep benefit without much performance hit works still much hit try tuning checkinterval see find acceptable throughputresponsiveness balance tried effect whatsoever suppose would make effect single cpu otherwise heavily loaded smp system thats secnario care youve got lightly loaded smp system multiple threads blocked gil multiple cpus run one cpu active case imagine sched_yield might finish cpus wake thread fifo scheduler would right thing short term solution care long term solution httpcodegooglecomppythonsafethread ive already seen would help us current situation performance penalty really heavy system slow enough already would difficult bordering impossible parallelize plus imagine extension modules code would adapted fifo scheduler perfect us load typically quite low mostly times someone runs lengthy calculation users suffer greatly increased response times _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom wed 06 aug 2008 150529 0000 pythondev improved thread switching