Page 3 of 3

Re: C++11 threads seem to get shafted for cycles

Posted: Mon Mar 31, 2014 4:00 am
by hyatt
When you over-subscribe CPU cycles, anything can happen. Who knows what C11 does regarding thread priority or anything else. For linux, for example, you could use nice +1 to nice+19 and vary a processes time quantum by a factor of 20 or so. That has unpredictable effect when there is competition (or not) for CPU cycles.

You are running an eclectic group of processes. I have seen some VM packages that use cpu cycles when doing nothing. Just to keep the O/S up to snuff regarding time and such. Not my cup of tea for chess, obviously.

Re: C++11 threads seem to get shafted for cycles

Posted: Mon Apr 14, 2014 9:41 pm
by kiroje
hyatt wrote:Task Manager is not exactly a useful tool, unfortunately. For windows I can't recommend anything.
I found this http://processhacker.sourceforge.net/ to be extremely usefull and very capable in windows enviroments to inspect threads and processes.