Page 1 of 1

Setting thread count is ignored

Posted: Thu Oct 14, 2010 4:27 pm
by gbrandt
TwineCompile 3.2.0.213

When setting the thread count manually, it is ignored. The thread count is always equal to the processor count.

Gregor

Re: Setting thread count is ignored

Posted: Mon Oct 18, 2010 7:35 am
by jomitech
Is the right thread count passed to mtbcc32? It should appear on the command line as -threadsX where X is the number of threads.

Re: Setting thread count is ignored

Posted: Mon Oct 18, 2010 11:03 am
by gbrandt
Yes the command line has -threads4, but the compile listbox shows only two items compiling at one time. If I switch my Virtual Machine to use 4 CPU's, I get four items compiling at one time.

C++ Builder XE, Window 7 32 bit , VMware Fusion

Gregor

Re: Setting thread count is ignored

Posted: Tue Oct 19, 2010 8:42 am
by jomitech
How many mtbcc32CompileExecutor processes are running in the background when you have 4 threads with only 2 CPUs?

Re: Setting thread count is ignored

Posted: Wed Oct 20, 2010 3:07 pm
by gbrandt
There are only two running

Gregor

Re: Setting thread count is ignored

Posted: Wed Oct 20, 2010 4:16 pm
by jomitech
Try closing them (TwineCompile -> Close Executors) and see how many you get on the next compile.

Re: Setting thread count is ignored

Posted: Thu Oct 21, 2010 3:46 pm
by gbrandt
I get two back.

Re: Setting thread count is ignored

Posted: Mon Oct 25, 2010 7:34 am
by jomitech
Can you copy and paste the command-line from the console window into here?