I didn't disable or set any of them.jK wrote:Then you disabled threadpool (configtag is WorkerThreadCount) and neither used SetCoreAffinity.dansan wrote:I always get "[Threading] Main thread CPU affinity not set" (on a i5) in the infolog. Doesn't that mean exactly what I wrote, that my sim thread is scheduled "slowly", but "fixed" only inside a certain set of cores?
Code: Select all
$ egrep -ic 'thread|affini' .config/spring/springsettings.cfg .springrc
.config/spring/springsettings.cfg:0
.springrc:0
Code: Select all
rts/System/Platform/Threading.cpp:39:CONFIG(int, WorkerThreadCount).defaultValue(-1).safemodeValue(0).minimumValue(-1).description("Count of worker threads (including mainthread!) used in parallel sections.");
rts/System/SpringApp.cpp:87:CONFIG(unsigned, SetCoreAffinity).defaultValue(0).safemodeValue(1).description("Defines a bitmask indicating which CPU cores the main-thread should use.");
rts/System/SpringApp.cpp:88:CONFIG(unsigned, SetCoreAffinitySim).defaultValue(0).safemodeValue(1).description("Defines a bitmask indicating which CPU cores the sim-thread should use.");