PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : Project Staging Area : Number of WWWWCL instances to run per GPU

Author Message
Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 766
ID: 55391
Credit: 690,318,569
RAC: 75,222
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Sapphire: Earned 20,000,000 credits (20,153,231)PSP LLR Turquoise: Earned 5,000,000 credits (5,027,818)SoB LLR Sapphire: Earned 20,000,000 credits (24,738,142)SR5 LLR Turquoise: Earned 5,000,000 credits (6,110,877)SGS LLR Ruby: Earned 2,000,000 credits (3,477,744)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve (suspended) Emerald: Earned 50,000,000 credits (50,256,050)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (312,333,884)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,616,128)WW Silver: Earned 100,000 credits (128,000)GFN Emerald: Earned 50,000,000 credits (52,755,348)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 75244 - Posted: 7 Apr 2014 | 6:39:34 UTC

On a 5-year-old system with new GTX 760 GPU, running 7 instances of WWWWCL produces the highest throughput.
- example with Linux and X Windows desktop; BOINC client not running
- each WWWWCL instance has CPU affinity set to a distinct core or hyperthread
- 8 instances uses a total of 670 MB of GPU memory

Number of ... Total Instances ... Kp/sec ....... 4 ... 2000 ....... 5 ... 2517 <- highest average throughput per instance ....... 6 ... 2898 ....... 7 ... 3057 <- highest total throughput ....... 8 ... 3047

CPU core usage per instance increases from .32 to .70 as number of instances increases.

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13441
ID: 53948
Credit: 232,919,590
RAC: 163,097
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,822,730)Cullen LLR Ruby: Earned 2,000,000 credits (3,624,591)ESP LLR Turquoise: Earned 5,000,000 credits (5,021,269)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Jade: Earned 10,000,000 credits (16,008,485)PSP LLR Turquoise: Earned 5,000,000 credits (5,197,957)SoB LLR Sapphire: Earned 20,000,000 credits (34,291,181)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (2,432,911)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)Woodall LLR Ruby: Earned 2,000,000 credits (2,911,985)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,118,303)WW Silver: Earned 100,000 credits (440,000)GFN Emerald: Earned 50,000,000 credits (75,106,275)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 75247 - Posted: 7 Apr 2014 | 10:17:02 UTC - in response to Message 75244.

What are your config file (wwww.ini) settings?
____________
My lucky number is 75898524288+1

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 766
ID: 55391
Credit: 690,318,569
RAC: 75,222
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Sapphire: Earned 20,000,000 credits (20,153,231)PSP LLR Turquoise: Earned 5,000,000 credits (5,027,818)SoB LLR Sapphire: Earned 20,000,000 credits (24,738,142)SR5 LLR Turquoise: Earned 5,000,000 credits (6,110,877)SGS LLR Ruby: Earned 2,000,000 credits (3,477,744)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve (suspended) Emerald: Earned 50,000,000 credits (50,256,050)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (312,333,884)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,616,128)WW Silver: Earned 100,000 credits (128,000)GFN Emerald: Earned 50,000,000 credits (52,755,348)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 75257 - Posted: 7 Apr 2014 | 12:42:02 UTC - in response to Message 75247.

What are your config file (wwww.ini) settings?


the defaults

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13441
ID: 53948
Credit: 232,919,590
RAC: 163,097
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,822,730)Cullen LLR Ruby: Earned 2,000,000 credits (3,624,591)ESP LLR Turquoise: Earned 5,000,000 credits (5,021,269)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Jade: Earned 10,000,000 credits (16,008,485)PSP LLR Turquoise: Earned 5,000,000 credits (5,197,957)SoB LLR Sapphire: Earned 20,000,000 credits (34,291,181)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (2,432,911)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)Woodall LLR Ruby: Earned 2,000,000 credits (2,911,985)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,118,303)WW Silver: Earned 100,000 credits (440,000)GFN Emerald: Earned 50,000,000 credits (75,106,275)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 75258 - Posted: 7 Apr 2014 | 13:02:02 UTC - in response to Message 75257.

What are your config file (wwww.ini) settings?


the defaults


It's much simpler to use an ini file than to run 7 instances of the program. The defaults are very inefficient. This is what I use with a GTX 580 and also with a GTX 460. I'd recommend running two instances if you use this ini file:

platform=0
threads=4
blocks=3000

Even just one instance is pretty good, but you'll get better throughput with two.
____________
My lucky number is 75898524288+1

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 766
ID: 55391
Credit: 690,318,569
RAC: 75,222
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Sapphire: Earned 20,000,000 credits (20,153,231)PSP LLR Turquoise: Earned 5,000,000 credits (5,027,818)SoB LLR Sapphire: Earned 20,000,000 credits (24,738,142)SR5 LLR Turquoise: Earned 5,000,000 credits (6,110,877)SGS LLR Ruby: Earned 2,000,000 credits (3,477,744)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve (suspended) Emerald: Earned 50,000,000 credits (50,256,050)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (312,333,884)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,616,128)WW Silver: Earned 100,000 credits (128,000)GFN Emerald: Earned 50,000,000 credits (52,755,348)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 75261 - Posted: 7 Apr 2014 | 13:53:25 UTC - in response to Message 75258.

Interesting, those are a lot better.
What's the chance that most users new to PRPNet are using the defaults.
I'll write a bash script that optimizes wwww.ini.
What does blocks do?

Profile Rick Reynolds
Avatar
Send message
Joined: 13 Aug 10
Posts: 7844
ID: 65483
Credit: 5,211,754,109
RAC: 1,969,377
Discovered 2 mega primesFound 2 primes in the 2018 Tour de PrimesFound 2 primes in the 2019 Tour de PrimesFound 12 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (10,244,909)Cullen LLR Turquoise: Earned 5,000,000 credits (8,729,791)ESP LLR Turquoise: Earned 5,000,000 credits (5,174,327)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,028,260)PPS LLR Emerald: Earned 50,000,000 credits (59,236,744)PSP LLR Turquoise: Earned 5,000,000 credits (5,151,448)SoB LLR Turquoise: Earned 5,000,000 credits (5,014,268)SR5 LLR Jade: Earned 10,000,000 credits (14,871,275)SGS LLR Turquoise: Earned 5,000,000 credits (7,860,522)TRP LLR Jade: Earned 10,000,000 credits (11,130,742)Woodall LLR Turquoise: Earned 5,000,000 credits (5,419,909)321 Sieve (suspended) Double Bronze: Earned 100,000,000 credits (101,538,236)Cullen/Woodall Sieve (suspended) Double Bronze: Earned 100,000,000 credits (127,922,665)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (30,984,158)PPS Sieve Double Ruby: Earned 2,000,000,000 credits (2,840,173,136)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,134,964)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (7,013,696)AP 26/27 Double Silver: Earned 200,000,000 credits (276,723,135)WW Jade: Earned 10,000,000 credits (17,620,000)GFN Double Silver: Earned 200,000,000 credits (293,129,439)PSA Double Amethyst: Earned 1,000,000,000 credits (1,370,700,486)
Message 75266 - Posted: 7 Apr 2014 | 15:57:27 UTC - in response to Message 75258.

It's much simpler to use an ini file than to run 7 instances of the program. The defaults are very inefficient. This is what I use with a GTX 580 and also with a GTX 460. I'd recommend running two instances if you use this ini file:

platform=0
threads=4
blocks=3000

Even just one instance is pretty good, but you'll get better throughput with two.


I guess I'm out in the cold. You can use some .ini file to create multiple instances and if so could you explain? Like I said, apparently I've been lost in the woods somewhere.

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13441
ID: 53948
Credit: 232,919,590
RAC: 163,097
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,822,730)Cullen LLR Ruby: Earned 2,000,000 credits (3,624,591)ESP LLR Turquoise: Earned 5,000,000 credits (5,021,269)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Jade: Earned 10,000,000 credits (16,008,485)PSP LLR Turquoise: Earned 5,000,000 credits (5,197,957)SoB LLR Sapphire: Earned 20,000,000 credits (34,291,181)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (2,432,911)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)Woodall LLR Ruby: Earned 2,000,000 credits (2,911,985)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,118,303)WW Silver: Earned 100,000 credits (440,000)GFN Emerald: Earned 50,000,000 credits (75,106,275)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 75269 - Posted: 7 Apr 2014 | 18:03:03 UTC - in response to Message 75266.

It's much simpler to use an ini file than to run 7 instances of the program. The defaults are very inefficient. This is what I use with a GTX 580 and also with a GTX 460. I'd recommend running two instances if you use this ini file:

platform=0
threads=4
blocks=3000

Even just one instance is pretty good, but you'll get better throughput with two.


I guess I'm out in the cold. You can use some .ini file to create multiple instances and if so could you explain? Like I said, apparently I've been lost in the woods somewhere.


No. The wwww.ini file is just tuning parameters for the wwwwcl app. If you wish to run multiple instances, you start one instance in the prpclient-1 directory, a second instance in the prpclient-2 directory, etc.
____________
My lucky number is 75898524288+1

rogue
Volunteer developer
Avatar
Send message
Joined: 8 Sep 07
Posts: 1200
ID: 12001
Credit: 18,565,548
RAC: 0
PPS LLR Bronze: Earned 10,000 credits (31,229)PSA Jade: Earned 10,000,000 credits (18,533,435)
Message 75277 - Posted: 7 Apr 2014 | 22:46:41 UTC - in response to Message 75261.

Interesting, those are a lot better.
What's the chance that most users new to PRPNet are using the defaults.
I'll write a bash script that optimizes wwww.ini.
What does blocks do?


blocks controls the size of the workunits sent to the GPU. If the number of blocks is too high you will have degraded system performance as the CPU will be waiting for the GPU to finish its task.

As for tuning, there is no script to do it. I suggest taking a range of about 1e9, e.g. 10000e9 to 10001e9, with different values for threads and blocks to find what works best for you.

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 766
ID: 55391
Credit: 690,318,569
RAC: 75,222
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Sapphire: Earned 20,000,000 credits (20,153,231)PSP LLR Turquoise: Earned 5,000,000 credits (5,027,818)SoB LLR Sapphire: Earned 20,000,000 credits (24,738,142)SR5 LLR Turquoise: Earned 5,000,000 credits (6,110,877)SGS LLR Ruby: Earned 2,000,000 credits (3,477,744)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve (suspended) Emerald: Earned 50,000,000 credits (50,256,050)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (312,333,884)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,616,128)WW Silver: Earned 100,000 credits (128,000)GFN Emerald: Earned 50,000,000 credits (52,755,348)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 75655 - Posted: 19 Apr 2014 | 16:53:37 UTC - in response to Message 75277.

Thanks for your help. After manual tuning of tasks, threads, and blocks, the GTX 760 cranks out about 40Mp/sec. Is default blocksize tuned for any particular card and subproject, or is it just an arbitary value chosen by the programmer?

Message boards : Project Staging Area : Number of WWWWCL instances to run per GPU

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 5.42, 4.74, 4.27
Generated 3 Dec 2020 | 17:26:01 UTC