Page 1 of 1
Be able to choose amount of threads run at start up
Posted: Thu Sep 22, 2011 11:41 pm
by Jonathan
I didn't know what section to put this in, so put it here.
Name says it all, when fah6.exe is run why not ask teh user to input the amount of threads to be used?
Would be much more efficient (for me at least) to do that rather than keep on editing the client.cfg file.
Re: Be able to choose amount of threads run at start up
Posted: Fri Sep 23, 2011 12:21 am
by Jesse_V
Jonathan wrote:I didn't know what section to put this in, so put it here.
Name says it all, when fah6.exe is run why not ask teh user to input the amount of threads to be used?
Would be much more efficient (for me at least) to do that rather than keep on editing the client.cfg file.
Yes. If indeed you are talking about the SMP client, you can try running it with the -smp X flag, where X is the number of threads to use. I'll repeat what one of the admins told me: it is never a good idea to edit the client.cfg file.
EDIT: See this page:
http://fahwiki.net/index.php/How_do_I_k ... (-switches)_are_and_what_they_do%3F#-smp_x
Also, this page might be helpful
http://fahwiki.net/index.php/How_do_I_a ... _client%3F
Re: Be able to choose amount of threads run at start up
Posted: Fri Sep 23, 2011 12:23 am
by M-x
As stated, it's never a good idea to edit the client.cfg file because it's not a straight text file. Also, if you want to change the thread number for the SMP client, just use:
Where # is your number of threads
Re: Be able to choose amount of threads run at start up
Posted: Fri Sep 23, 2011 12:25 am
by P5-133XL
Have multiple shortcuts each with a different -smp x appended to the target field.
Re: Be able to choose amount of threads run at start up
Posted: Fri Sep 23, 2011 12:57 am
by Jesse_V
P5-133XL wrote:Have multiple shortcuts each with a different -smp x appended to the target field.
I agree that is a possibility. It would make things very easy if switching threads was a common thing. If not, it might just be easier to change the -smp X in the Shortcut Properties. Oh, I've heard that a few people have had issues using a prime number of threads. It seems pretty rare, so this may or may not be an issue for you, but if something weird happens, try a non-prime value for -smp X first. I don't think its been firmly established why that problem occurs. Just wanted to let you know.
Re: Be able to choose amount of threads run at start up
Posted: Sun Sep 25, 2011 4:24 pm
by Napoleon
Changing SMP thread count mid-WU isn't recommended, if that was the OP's intention. It could cause data corruption, in which case the WU needs to be rerun from scratch, or something to that effect. Better to finish currently running WU first before making the change.