On August 12, 2011 01:48:57 am Daniel wrote:
> Just wanted to add that setting the CPU affinity worked around the problem
> for me. Hope that helps some people out.
Thank you! Yes this helps a lot. It confirms that the issue is one of
threading, probably expiring cache. And there are ways for the program itself
to request affinity.
I suspect that somebody at Apple though about this and affinity is ON by
default - would explain why Apple is so unaffected. I did not research links
to substantiate my hypothesis. Windows systems tend to have more threads
running around (antivirus!) which would explain why the cache expires/corrupts
more often.
On August 12, 2011 01:48:57 am Daniel wrote:
> Just wanted to add that setting the CPU affinity worked around the problem
> for me. Hope that helps some people out.
Thank you! Yes this helps a lot. It confirms that the issue is one of
threading, probably expiring cache. And there are ways for the program itself
to request affinity.
I suspect that somebody at Apple though about this and affinity is ON by
default - would explain why Apple is so unaffected. I did not research links
to substantiate my hypothesis. Windows systems tend to have more threads
running around (antivirus!) which would explain why the cache expires/corrupts
more often.
On Linux we can use something like www.ibm. com/developerwo rks/linux/ library/ l-affinity/ index.html www.linuxjourna l.com/article/ 6799
* http://
* http://
And on Windows something like msdn.microsoft. com/en- us/library/ ms686223% 28v=vs. 85%29.aspx
* http://
For the short term: www.linuxcomman d.org/man_ pages/taskset1. html www.addictiveti ps.com/ windows- tips/how- to-set- processor- to-an-applicati on-in-windows/
* Linux http://
* Windows http://
affinity-
Performance trade-off: /lanvu. wordpress. com/tag/ setprocessaffin itymask/
* https:/
Now it is a matter of time to implement and test...