Be able to choose amount of threads run at start up

Moderators: Site Moderators, FAHC Science Team

Post Reply
Jonathan
Posts: 23
Joined: Fri Jul 08, 2011 4:52 pm

Be able to choose amount of threads run at start up

Post 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.
Jesse_V
Site Moderator
Posts: 2850
Joined: Mon Jul 18, 2011 4:44 am
Hardware configuration: OS: Windows 10, Kubuntu 19.04
CPU: i7-6700k
GPU: GTX 970, GTX 1080 TI
RAM: 24 GB DDR4
Location: Western Washington

Re: Be able to choose amount of threads run at start up

Post 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
Last edited by Jesse_V on Fri Sep 23, 2011 12:23 am, edited 1 time in total.
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
M-x
Posts: 1
Joined: Fri Aug 15, 2008 7:05 pm
Hardware configuration: Intel Q6600 @ 2.4GHz
6GB DDR2 RAM
MSI P6N SLI-Platinum
nVidia 8800GTS 640MB
SeaSonic 620W 80+ Bronze PSU
Hitachi 320GB 7200RPM SATA 3Gbps
Antec P180B case

Re: Be able to choose amount of threads run at start up

Post 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:

Code: Select all

fah6 -smp #
Where # is your number of threads
Corsair Hydro H80 CPU Cooler
Corsair White 600T Case
MSI Z68A-GD65 (G3) Z68
Corsair TX650 V2 650W
Intel Core i7-2600K (@ 4.2GHz)
Corsair Vengeance 8GB
Seagate 1TB HDD
Image
P5-133XL
Posts: 2948
Joined: Sun Dec 02, 2007 4:36 am
Hardware configuration: Machine #1:

Intel Q9450; 2x2GB=8GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460; Windows Server 2008 X64 (SP1).

Machine #2:

Intel Q6600; 2x2GB=4GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460 video card; Windows 7 X64.

Machine 3:

Dell Dimension 8400, 3.2GHz P4 4x512GB Ram, Video card GTX 460, Windows 7 X32

I am currently folding just on the 5x GTX 460's for aprox. 70K PPD
Location: Salem. OR USA

Re: Be able to choose amount of threads run at start up

Post by P5-133XL »

Have multiple shortcuts each with a different -smp x appended to the target field.
Image
Jesse_V
Site Moderator
Posts: 2850
Joined: Mon Jul 18, 2011 4:44 am
Hardware configuration: OS: Windows 10, Kubuntu 19.04
CPU: i7-6700k
GPU: GTX 970, GTX 1080 TI
RAM: 24 GB DDR4
Location: Western Washington

Re: Be able to choose amount of threads run at start up

Post 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.
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
Napoleon
Posts: 887
Joined: Wed May 26, 2010 2:31 pm
Hardware configuration: Atom330 (overclocked):
Windows 7 Ultimate 64bit
Intel Atom330 dualcore (4 HyperThreads)
NVidia GT430, core_15 work
2x2GB Kingston KVR1333D3N9K2/4G 1333MHz memory kit
Asus AT3IONT-I Deluxe motherboard
Location: Finland

Re: Be able to choose amount of threads run at start up

Post 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.
Win7 64bit, FAH v7, OC'd
2C/4T Atom330 3x667MHz - GT430 2x832.5MHz - ION iGPU 3x466.7MHz
NaCl - Core_15 - display
Post Reply