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 : Sieving : TPS Sieve testing

Author Message
JohnProject donor
Honorary cruncher
Avatar
Send message
Joined: 21 Feb 06
Posts: 2875
ID: 2449
Credit: 2,681,934
RAC: 0
321 LLR Bronze: Earned 10,000 credits (11,773)Cullen LLR Bronze: Earned 10,000 credits (14,945)ESP LLR Bronze: Earned 10,000 credits (26,855)PPS LLR Bronze: Earned 10,000 credits (84,876)PSP LLR Bronze: Earned 10,000 credits (15,311)SoB LLR Bronze: Earned 10,000 credits (21,440)SR5 LLR Bronze: Earned 10,000 credits (29,270)SGS LLR Bronze: Earned 10,000 credits (26,616)TPS LLR (retired) Bronze: Earned 10,000 credits (36,288)TRP LLR Bronze: Earned 10,000 credits (41,655)Woodall LLR Bronze: Earned 10,000 credits (15,807)321 Sieve (suspended) Bronze: Earned 10,000 credits (20,014)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (23,405)PPS Sieve Bronze: Earned 10,000 credits (36,192)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (20,306)TRP Sieve (suspended) Bronze: Earned 10,000 credits (21,738)GFN Bronze: Earned 10,000 credits (86,217)PSA Ruby: Earned 2,000,000 credits (2,143,756)
Message 15495 - Posted: 9 May 2009 | 0:59:42 UTC
Last modified: 9 May 2009 | 19:17:09 UTC

The Twin Prime Search remains suspended due to lack of sieving. With NewPGen, the removal rate is about 3 candidates to 1 LLR test. This warrants more sieving.

However, we have decided to test a new twin prime sieve software developed by Geoff Reynolds. It may be faster than NewPGen. If so, we'll start a sieving reservation thread and hopefully attract users who wish to see the search continued.

But first, we must test. We need to make the following timing comparisons:

1. 32 bit NewPGen vs. 32 bit tpsieve (windows)
2. 32 bit NewPGen vs. 32 bit tpsieve (linux)
3. 32 bit NewPGen vs. 64 bit tpsieve (windows)
4. 32 bit NewPGen vs. 64 bit tpsieve (linux)
5. 32 bit tpsieve 1 instance vs. 32 bit tpsieve 2 instances (-t2)
6. 64 bit tpsieve 1 instance vs. 64 bit tpsieve 2 instances (-t2)

We already know that -t4 is slower than running 2 -t2's so no need to test that. We also know that tpsieve needs a lot of RAM so at least 1GB is recommended.

We need the following test results:

OS, CPU, RAM, time NewPGen ??bit, time tpsieve ??bit

The Software and Sieve file

NewPGen can be downloaded here (only 32 bit available):
- Windows
- Linux - dynamic
- Linux - static

tpsieve can be downloaded here (32 & 64 bit available):
- tpsieve-0.2.1-bin (Windows and Linux)

The test sieve file can be downloaded here:
- tps-8500T-test

Using the software

Our test range will be 100G. The sieve file is already set up for p=8500T. Therefore, our end depth P will be 8500100000000000 (8,500,100,000,000,000 or 85001e11). This should take 20-30 minutes to test.

NOTE: NewPGen removes the factors from the sieve file. Therefore, please make a copy from the original sieve file so that you can start your next test with an original file. OR, you could do the tpsieve test first then do the NewPGen test since tpsieve does not alter the sieve file.

We are comparing two things, testing time and factors. We want to know which program was faster and if the factors found match up in both tests.

To run tpsieve (command line):

single instance: tpsieve -i tps-8500T-test.out -p 85000e11 -P 85001e11
two instances: tpsieve -i tps-8500T-test.out -p 85000e11 -P 85001e11 -t2
(linux use ./tpsieve)

Factors will be written to tpfactors.txt

To run NewPGen (Windows):

Start at #4 on this instructional page. At step #7, paste the following end depth: 8500100000000000

You can stop at #10. Factors will be written to NewPGen.del.

To run NewPGen (Linux):

NewPGen 2.82 - Use Control-C to manually stop the current sieving.

What do you want to do now ?
0 : To create a new file.
1 : To continue sieving an old file.
2 : To change one or several option(s).
3 : To get a service.
4 : To get some help.
5 : To exit from this program.
Please, enter your choice (0) : 2

What option do you want to change ?
0 : Worker thread priority
1 : Automatically continue sieving the last file on startup
2 : Sieve until...
3 : Set max Mb RAM to store values...
4 : Minutes between automatic saves...
5 : Log the numbers removed
6 : Use two save files
Please, enter your choice (0) : 2

Sieve until :
0 : Sieve until manually stopped
1 : Sieve up to p = (1000)
2 : Sieve until there are (1000) k's or n's remaining
3 : Sieve for (24) hours
4 : Sieve until the rate is (0.1) seconds per k or n
Please, enter your choice (0) : 1

Sieve up to p = (1000) 8500100000000000

Automatically increment n or k when complete ? (n) : n

Pass the file to PFGW for PRP testing when complete ? (n) : n

Would you change any more option ? (n) : n

What do you want to do now ?
0 : To create a new file.
1 : To continue sieving an old file.
2 : To change one or several option(s).
3 : To get a service.
4 : To get some help.
5 : To exit from this program.
Please, enter your choice (0) : 1
Verify results ? (n) : n
Sieving an old file ; Input file name = tps-8500T-test.out
Output file name = tps-8500T-testa.out
Opened the input file - counting the number of k's and finding the range of k...
The file contains 12789270 k's - using array: allocating 97.6Mb of RAM...
...succeeded
base = 2, n = 333333, kmin =60000003135, kmax = 99999999879
Type : Twin: k.b^n±1
Use normal mode
There is a stop criterion for this sieve:

Sieve up to p = 8500100000000000.

Do you want to continue? (y) : y
Are you ready to start sieving ? (y) : y

NOTE: Both tpsieve and newpgen take some time initializing the sieve...which means there's a delay before actual sieving starts.

Please report back your observations. Remember, we're looking for the following information:

OS, CPU, RAM, time NewPGen ??bit, time tpsieve ??bit and whether or not the factor files matched.

We very much appreciate your help. Hopefully, this new sieve software will show promise and then we can move forward with the Twin Prime Search.
____________

JohnProject donor
Honorary cruncher
Avatar
Send message
Joined: 21 Feb 06
Posts: 2875
ID: 2449
Credit: 2,681,934
RAC: 0
321 LLR Bronze: Earned 10,000 credits (11,773)Cullen LLR Bronze: Earned 10,000 credits (14,945)ESP LLR Bronze: Earned 10,000 credits (26,855)PPS LLR Bronze: Earned 10,000 credits (84,876)PSP LLR Bronze: Earned 10,000 credits (15,311)SoB LLR Bronze: Earned 10,000 credits (21,440)SR5 LLR Bronze: Earned 10,000 credits (29,270)SGS LLR Bronze: Earned 10,000 credits (26,616)TPS LLR (retired) Bronze: Earned 10,000 credits (36,288)TRP LLR Bronze: Earned 10,000 credits (41,655)Woodall LLR Bronze: Earned 10,000 credits (15,807)321 Sieve (suspended) Bronze: Earned 10,000 credits (20,014)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (23,405)PPS Sieve Bronze: Earned 10,000 credits (36,192)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (20,306)TRP Sieve (suspended) Bronze: Earned 10,000 credits (21,738)GFN Bronze: Earned 10,000 credits (86,217)PSA Ruby: Earned 2,000,000 credits (2,143,756)
Message 15498 - Posted: 9 May 2009 | 6:44:14 UTC
Last modified: 9 May 2009 | 13:56:39 UTC

As seen below, 64 bit Linux is by far the fastest. Also, in general, it looks like Linux has an advantage over Windows.

NewPGen - Windows XP 32 bit, Athlon64 @2.2GHz, 2G RAM
took ~40 secs to initialize
28:25 (1705 sec)
29:05 total
14 Factors

used ~402MB RAM

tpsieve - Windows XP 32 bit, Athlon64 @2.2GHz, 2G RAM
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 2055.77 sec. (346.86 init + 1708.91 sieve) at 58517003 p/sec.
Processor time: 1716.41 sec. (53.23 init + 1663.17 sieve) at 60126120 p/sec.
Average processor utilization: 0.15 (init), 0.97 (sieve)

used ~600MB RAM

tpsieve - Ubuntu 32 bit, Athlon64 @2.2GHz, 2G RAM
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 1516.47 sec. (39.89 init + 1476.58 sieve) at 67724284 p/sec.
Processor time: 1385.13 sec. (20.65 init + 1364.47 sieve) at 73288406 p/sec.
Average processor utilization: 0.52 (init), 0.92 (sieve)

used ~800MB RAM

tpsieve - Ubuntu 64 bit, Athlon64 @2.2GHz, 2G RAM
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 1000.83 sec. (25.88 init + 974.95 sieve) at 102569310 p/sec.
Processor time: 983.37 sec. (16.20 init + 967.17 sieve) at 103394252 p/sec.

Average processor utilization: 0.63 (init), 0.99 (sieve)

used ~800MB RAM
____________

Profile VatoProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Feb 08
Posts: 851
ID: 18447
Credit: 713,994,799
RAC: 1,643,598
Discovered 2 mega primesFound 1 prime in the 2020 Tour de PrimesFound 1 prime in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 prime in the 2022 Tour de Primes Mountain StageFound 2 primes in the 2023 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (10,084,881)Cullen LLR Jade: Earned 10,000,000 credits (10,104,039)ESP LLR Jade: Earned 10,000,000 credits (10,037,413)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (10,050,904)PPS LLR Sapphire: Earned 20,000,000 credits (33,277,644)PSP LLR Jade: Earned 10,000,000 credits (16,557,088)SoB LLR Jade: Earned 10,000,000 credits (10,445,481)SR5 LLR Jade: Earned 10,000,000 credits (10,029,053)SGS LLR Jade: Earned 10,000,000 credits (11,656,435)TPS LLR (retired) Silver: Earned 100,000 credits (103,523)TRP LLR Jade: Earned 10,000,000 credits (10,926,354)Woodall LLR Jade: Earned 10,000,000 credits (10,097,895)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (26,923,188)Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (38,761,295)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,278,995)PPS Sieve Emerald: Earned 50,000,000 credits (67,920,526)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (4,080,177)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,221,054)AP 26/27 Emerald: Earned 50,000,000 credits (55,704,262)GFN Double Silver: Earned 200,000,000 credits (222,480,189)WW (retired) Double Bronze: Earned 100,000,000 credits (105,088,000)PSA Sapphire: Earned 20,000,000 credits (34,214,582)
Message 15513 - Posted: 9 May 2009 | 12:12:24 UTC

When/Where/How? :-)

____________

Profile pschoeferProject donor
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 20 Sep 05
Posts: 686
ID: 845
Credit: 2,910,184,413
RAC: 268,519
Discovered 1 mega primeFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 2 primes in the 2020 Tour de PrimesFound 1 prime in the 2020 Tour de Primes Mountain StageFound 2 primes in the 2021 Tour de PrimesFound 1 prime in the 2022 Tour de PrimesFound 4 primes in the 2023 Tour de PrimesFound 2 primes in the 2023 Tour de Primes Mountain Stage321 LLR Turquoise: Earned 5,000,000 credits (8,210,672)Cullen LLR Jade: Earned 10,000,000 credits (10,017,177)ESP LLR Jade: Earned 10,000,000 credits (15,505,816)Generalized Cullen/Woodall LLR Sapphire: Earned 20,000,000 credits (21,844,941)PPS LLR Sapphire: Earned 20,000,000 credits (26,776,022)PSP LLR Jade: Earned 10,000,000 credits (15,424,893)SoB LLR Sapphire: Earned 20,000,000 credits (32,550,307)SR5 LLR Sapphire: Earned 20,000,000 credits (25,191,523)SGS LLR Turquoise: Earned 5,000,000 credits (9,366,270)TPS LLR (retired) Bronze: Earned 10,000 credits (76,372)TRP LLR Sapphire: Earned 20,000,000 credits (31,679,964)Woodall LLR Jade: Earned 10,000,000 credits (12,256,870)321 Sieve (suspended) Jade: Earned 10,000,000 credits (11,111,528)Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (20,000,264)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (11,111,347)PPS Sieve Double Gold: Earned 500,000,000 credits (502,653,246)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (3,177,104)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,556,644)AP 26/27 Double Bronze: Earned 100,000,000 credits (167,836,939)GFN Double Gold: Earned 500,000,000 credits (566,637,101)WW (retired) Double Silver: Earned 200,000,000 credits (333,336,000)PSA Double Amethyst: Earned 1,000,000,000 credits (1,079,860,880)
Message 15526 - Posted: 9 May 2009 | 21:55:42 UTC - in response to Message 15498.

NewPGen - Windows XP 64 bit, C2Q9450 @3.2GHz, 6G RAM
took ~20 secs to initialize
8:29 (509 sec)
8:49 total
14 Factors

used 110MB RAM

tpsieve - Windows XP 64 bit, C2Q9450 @3.2GHz, 6G RAM
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 531.66 sec. (15.58 init + 516.08 sieve) at 193769251 p/sec.
Processor time: 527.75 sec. (15.47 init + 512.28 sieve) at 195205410 p/sec.
Average processor utilization: 0.99 (init), 0.99 (sieve)

used 824MB RAM

tpsieve - Windows XP 64 bit, C2Q9450 @3.2GHz, 6G RAM, -t2 switch
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 279.05 sec. (15.53 init + 263.52 sieve) at 379484411 p/sec.
Processor time: 532.38 sec. (15.64 init + 516.73 sieve) at 193523165 p/sec.
Average processor utilization: 1.01 (init), 1.96 (sieve)

used 824MB RAM

Profile pschoeferProject donor
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 20 Sep 05
Posts: 686
ID: 845
Credit: 2,910,184,413
RAC: 268,519
Discovered 1 mega primeFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 2 primes in the 2020 Tour de PrimesFound 1 prime in the 2020 Tour de Primes Mountain StageFound 2 primes in the 2021 Tour de PrimesFound 1 prime in the 2022 Tour de PrimesFound 4 primes in the 2023 Tour de PrimesFound 2 primes in the 2023 Tour de Primes Mountain Stage321 LLR Turquoise: Earned 5,000,000 credits (8,210,672)Cullen LLR Jade: Earned 10,000,000 credits (10,017,177)ESP LLR Jade: Earned 10,000,000 credits (15,505,816)Generalized Cullen/Woodall LLR Sapphire: Earned 20,000,000 credits (21,844,941)PPS LLR Sapphire: Earned 20,000,000 credits (26,776,022)PSP LLR Jade: Earned 10,000,000 credits (15,424,893)SoB LLR Sapphire: Earned 20,000,000 credits (32,550,307)SR5 LLR Sapphire: Earned 20,000,000 credits (25,191,523)SGS LLR Turquoise: Earned 5,000,000 credits (9,366,270)TPS LLR (retired) Bronze: Earned 10,000 credits (76,372)TRP LLR Sapphire: Earned 20,000,000 credits (31,679,964)Woodall LLR Jade: Earned 10,000,000 credits (12,256,870)321 Sieve (suspended) Jade: Earned 10,000,000 credits (11,111,528)Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (20,000,264)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (11,111,347)PPS Sieve Double Gold: Earned 500,000,000 credits (502,653,246)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (3,177,104)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,556,644)AP 26/27 Double Bronze: Earned 100,000,000 credits (167,836,939)GFN Double Gold: Earned 500,000,000 credits (566,637,101)WW (retired) Double Silver: Earned 200,000,000 credits (333,336,000)PSA Double Amethyst: Earned 1,000,000,000 credits (1,079,860,880)
Message 15532 - Posted: 10 May 2009 | 6:56:09 UTC

Second test run on the quad, using blocksize=1024 instead of 512:

tpsieve - Windows XP 64 bit, C2Q9450 @3.2GHz, 6G RAM
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 523.02 sec. (16.14 init + 506.88 sieve) at 197287441 p/sec.
Processor time: 518.09 sec. (15.84 init + 502.25 sieve) at 199104175 p/sec.
Average processor utilization: 0.98 (init), 0.99 (sieve)

used 825MB RAM

tpsieve - Windows XP 64 bit, C2Q9450 @3.2GHz, 6G RAM, -t2 switch
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 262.83 sec. (15.52 init + 247.31 sieve) at 404347017 p/sec.
Processor time: 509.05 sec. (15.44 init + 493.61 sieve) at 202589490 p/sec.
Average processor utilization: 0.99 (init), 2.00 (sieve)

used 825MB RAM

Now it's at least faster than NewPGen, but the difference is not that big...

Profile [SG]Puzzle-PeterProject donor
Volunteer tester
Avatar
Send message
Joined: 14 Jun 08
Posts: 374
ID: 24128
Credit: 92,652,187
RAC: 0
Discovered the World's First base 68 Generalized Cullen prime!!!Eliminated 4 conjecture "k"s321 LLR Gold: Earned 500,000 credits (517,694)Cullen LLR Bronze: Earned 10,000 credits (22,649)PPS LLR Ruby: Earned 2,000,000 credits (3,716,757)PSP LLR Amethyst: Earned 1,000,000 credits (1,255,162)SoB LLR Amethyst: Earned 1,000,000 credits (1,529,355)SGS LLR Bronze: Earned 10,000 credits (79,385)TRP LLR Bronze: Earned 10,000 credits (42,673)Woodall LLR Silver: Earned 100,000 credits (360,820)321 Sieve (suspended) Bronze: Earned 10,000 credits (21,641)Cullen/Woodall Sieve Ruby: Earned 2,000,000 credits (2,449,647)PPS Sieve Ruby: Earned 2,000,000 credits (4,110,585)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (75,714)TRP Sieve (suspended) Bronze: Earned 10,000 credits (54,880)AP 26/27 Bronze: Earned 10,000 credits (42,894)PSA Emerald: Earned 50,000,000 credits (78,365,420)
Message 15533 - Posted: 10 May 2009 | 7:36:08 UTC
Last modified: 10 May 2009 | 8:22:30 UTC

All tests done on a Q9300@2.5MHz 4GB RAM.

NewPGen Windows XP 32 bit
took ~20 secs to initialize
10:58 (658 sec)
11:18 total
14 Factors

used ~107MB RAM


tpsieve Windows XP 32 bit
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 1167.00 sec. (24.67 init + 1142.33 sieve) at 87540584 p/sec.
Processor time: 1166.30 sec. (24.59 init + 1141.79 sieve) at 87588507 p/sec.
Average processor utilization: 1.00 (init), 1.00 (sieve)

used 821MB RAM


tpsieve Windows XP 32 bit -t2 switch
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 598.28 sec. (24.55 init + 573.73 sieve) at 174296811 p/sec.
Processor time: 1171.05 sec. (24.52 init + 1146.53 sieve) at 87219665 p/sec.
Average processor utilization: 1.00 (init), 2.00 (sieve)

used 821MB RAM


More to come...
____________
There are only 10 kinds of people - those who understand binary and those who don't

Profile warddrProject donor
Volunteer tester
Avatar
Send message
Joined: 7 Feb 08
Posts: 254
ID: 18735
Credit: 24,054,820
RAC: 0
Found 1 prime in the 2021 Tour de PrimesPPS LLR Ruby: Earned 2,000,000 credits (3,906,465)SGS LLR Ruby: Earned 2,000,000 credits (2,113,266)TPS LLR (retired) Bronze: Earned 10,000 credits (20,542)321 Sieve (suspended) Silver: Earned 100,000 credits (111,333)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (20,009)PPS Sieve Jade: Earned 10,000,000 credits (12,250,642)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,056,728)TRP Sieve (suspended) Silver: Earned 100,000 credits (169,622)AP 26/27 Silver: Earned 100,000 credits (107,843)GFN Ruby: Earned 2,000,000 credits (3,686,867)PSA Gold: Earned 500,000 credits (606,099)
Message 15537 - Posted: 10 May 2009 | 10:04:21 UTC - in response to Message 15533.

to be able to compare a litle more, an llr test takes 3:15 min on this computer

NewPGen - ubuntu 9.04 64 bit, C2Q8300 @2.5GHz, 4G RAM
took ~20 secs to initialize
11:20
11:40 total
14 Factors

used 98MB RAM
note: no logfile with the found factors generated, only a new sieve file. I don't know if that is an option but else it will be hard to report completed tests.

tpsieve (1 core) - ubuntu 9.04 64 bit, C2Q8300 @2.5GHz, 4G RAM
I don't know exactly how much time, but is was more then 45 minutes.

used 835MB RAM
____________

Profile [SG]Puzzle-PeterProject donor
Volunteer tester
Avatar
Send message
Joined: 14 Jun 08
Posts: 374
ID: 24128
Credit: 92,652,187
RAC: 0
Discovered the World's First base 68 Generalized Cullen prime!!!Eliminated 4 conjecture "k"s321 LLR Gold: Earned 500,000 credits (517,694)Cullen LLR Bronze: Earned 10,000 credits (22,649)PPS LLR Ruby: Earned 2,000,000 credits (3,716,757)PSP LLR Amethyst: Earned 1,000,000 credits (1,255,162)SoB LLR Amethyst: Earned 1,000,000 credits (1,529,355)SGS LLR Bronze: Earned 10,000 credits (79,385)TRP LLR Bronze: Earned 10,000 credits (42,673)Woodall LLR Silver: Earned 100,000 credits (360,820)321 Sieve (suspended) Bronze: Earned 10,000 credits (21,641)Cullen/Woodall Sieve Ruby: Earned 2,000,000 credits (2,449,647)PPS Sieve Ruby: Earned 2,000,000 credits (4,110,585)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (75,714)TRP Sieve (suspended) Bronze: Earned 10,000 credits (54,880)AP 26/27 Bronze: Earned 10,000 credits (42,894)PSA Emerald: Earned 50,000,000 credits (78,365,420)
Message 15539 - Posted: 10 May 2009 | 10:40:24 UTC

Can't edit any more. Same machine, rebooted to XUbuntu 64 bit:

NewPGen XUbuntu 64 bit
took ~20 secs to initialize
11:32 (692 sec)
11:52 total
14 Factors

used ~98MB RAM


tpsieve XUbuntu 64 bit
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 637.79 sec. (14.12 init + 623.68 sieve) at 160339903 p/sec.
Processor time: 637.16 sec. (14.09 init + 623.07 sieve) at 160495484 p/sec.
Average processor utilization: 1.00 (init), 1.00 (sieve)

used ~801MB RAM

tpsieve XUbuntu 64 bit -t2switch
Thread 0 completed
Thread 1 completed
Waiting for threads to exit
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=2726367741,sum=0x44423850de0e0bf1
Elapsed time: 2755.43 sec. (14.26 init + 2741.16 sieve) at 36480871 p/sec.
Processor time: 3062.32 sec. (14.26 init + 3048.05 sieve) at 32807855 p/sec.
Average processor utilization: 1.00 (init), 1.11 (sieve)

System monitor showed one process with 834MB RAM. Two CPUs were at about 60% each. Something didn't work here.
____________
There are only 10 kinds of people - those who understand binary and those who don't

vasmProject donor
Volunteer tester
Avatar
Send message
Joined: 6 Dec 08
Posts: 47
ID: 32604
Credit: 990,892
RAC: 0
321 LLR Bronze: Earned 10,000 credits (10,190)Cullen LLR Bronze: Earned 10,000 credits (23,978)PPS LLR Bronze: Earned 10,000 credits (50,765)PSP LLR Bronze: Earned 10,000 credits (11,013)SoB LLR Bronze: Earned 10,000 credits (16,508)SR5 LLR Bronze: Earned 10,000 credits (10,703)SGS LLR Bronze: Earned 10,000 credits (10,005)TRP LLR Bronze: Earned 10,000 credits (10,303)Woodall LLR Bronze: Earned 10,000 credits (11,537)321 Sieve (suspended) Bronze: Earned 10,000 credits (21,060)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (22,668)PPS Sieve Silver: Earned 100,000 credits (260,686)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (40,185)TRP Sieve (suspended) Bronze: Earned 10,000 credits (21,280)AP 26/27 Silver: Earned 100,000 credits (149,718)GFN Bronze: Earned 10,000 credits (45,568)PSA Silver: Earned 100,000 credits (271,875)
Message 15550 - Posted: 10 May 2009 | 20:28:02 UTC

C2D mobile T7500 2.2GHz 2GB RAM



All factor files matched.

NPGen RAM ~98MB Ubuntu, ~107MB Win
tpsieve RAM ~801MB Ubuntu, ~822MB Win

Profile Lennart SM5YMTProject donor
Honorary cruncher
Avatar
Send message
Joined: 7 May 07
Posts: 1125
ID: 7989
Credit: 694,692,344
RAC: 0
Discovered the World's First base 13 Generalized Woodall prime!!!Eliminated 22 conjecture "k"s2009 Tour de Primes highest prime count2009 Tour de Primes most Mountain Stage primes2010 Tour de Primes highest prime count2010 Tour de Primes highest prime score321 LLR Turquoise: Earned 5,000,000 credits (5,097,586)Cullen LLR Amethyst: Earned 1,000,000 credits (1,101,661)PPS LLR Emerald: Earned 50,000,000 credits (80,169,933)PSP LLR Jade: Earned 10,000,000 credits (18,921,475)SoB LLR Bronze: Earned 10,000 credits (55,453)SR5 LLR Ruby: Earned 2,000,000 credits (4,407,637)SGS LLR Ruby: Earned 2,000,000 credits (4,595,742)TPS LLR (retired) Silver: Earned 100,000 credits (360,998)TRP LLR Turquoise: Earned 5,000,000 credits (5,800,792)Woodall LLR Ruby: Earned 2,000,000 credits (4,885,194)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,345,944)Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (27,566,122)PPS Sieve Double Silver: Earned 200,000,000 credits (220,787,724)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,694,194)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,986,371)AP 26/27 Amethyst: Earned 1,000,000 credits (1,780,026)GFN Jade: Earned 10,000,000 credits (18,585,003)PSA Double Silver: Earned 200,000,000 credits (287,482,568)
Message 15552 - Posted: 10 May 2009 | 20:57:02 UTC
Last modified: 10 May 2009 | 20:57:26 UTC

C2Q6600 2,4Ghz WinXP 64 4Gb RAM

NewPgen 740 sec

tpsieve64 1 core 703 sec

tpsieve64 2 core 363 sec

tpsieve32 1core 939 sec

Lennart

Profile BenvaProject donor
Volunteer tester
Avatar
Send message
Joined: 5 May 08
Posts: 73
ID: 22332
Credit: 2,715,050
RAC: 0
321 LLR Bronze: Earned 10,000 credits (27,956)Cullen LLR Bronze: Earned 10,000 credits (13,001)PPS LLR Silver: Earned 100,000 credits (196,311)Woodall LLR Bronze: Earned 10,000 credits (15,134)TRP Sieve (suspended) Bronze: Earned 10,000 credits (30,520)PSA Ruby: Earned 2,000,000 credits (2,409,053)
Message 15555 - Posted: 11 May 2009 | 11:01:29 UTC

tpsieve - Windows XP 64 bit, Core2Duo E6600@2.40GHz, 1G RAM
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 816.31 sec. (108.94 init + 707.38 sieve) at 141367834 p/sec.
Processor time: 706.09 sec. (26.81 init + 679.28 sieve) at 147214533 p/sec.
Average processor utilization: 0.25 (init), 0.96 (sieve)


tpsieve - Windows XP 64 bit, Core2Duo E6600@2.40GHz, 1G RAM -t2 switch
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 433.55 sec. (73.42 init + 360.13 sieve) at 277681560 p/sec.
Processor time: 730.88 sec. (24.22 init + 706.66 sieve) at 141511621 p/sec.
Average processor utilization: 0.33 (init), 1.96 (sieve)


NewPGen - Windows XP 64 bit, Core2Duo E6600@2.40GHz, 1G RAM
took ~25s to initialize
12:23 (743 sec)
12:48 total
14 factors






tpsieve - Windows XP 32 bit, Core2Duo E6600@2.40GHz, 1G RAM
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 1400.81 sec. (213.80 init + 1187.02 sieve) at 84244950 p/sec.
Processor time: 1213.08 sec. (31.23 init + 1181.84 sieve) at 84613615 p/sec.
Average processor utilization: 0.15 (init), 1.00 (sieve)


tpsieve - Windows XP 32 bit, Core2Duo E6600@2.40GHz, 1G RAM -t2 switch
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 627.47 sec. (29.36 init + 598.11 sieve) at 167193620 p/sec.
Processor time: 1219.83 sec. (25.28 init + 1194.55 sieve) at 83713811 p/sec.
Average processor utilization: 0.86 (init), 2.00 (sieve)


NewPGen - Windows XP 32 bit, Core2Duo E6600@2.40GHz, 1G RAM
took ~28 to initialize
12:36 (756 sec)
13:04
14 factors


More info to come... :)
____________

Profile BenvaProject donor
Volunteer tester
Avatar
Send message
Joined: 5 May 08
Posts: 73
ID: 22332
Credit: 2,715,050
RAC: 0
321 LLR Bronze: Earned 10,000 credits (27,956)Cullen LLR Bronze: Earned 10,000 credits (13,001)PPS LLR Silver: Earned 100,000 credits (196,311)Woodall LLR Bronze: Earned 10,000 credits (15,134)TRP Sieve (suspended) Bronze: Earned 10,000 credits (30,520)PSA Ruby: Earned 2,000,000 credits (2,409,053)
Message 15565 - Posted: 11 May 2009 | 19:07:19 UTC

tpsieve - Windows Vista 32 bit, Core2Duo T9550@2.66GHz, 4G RAM
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 1082.89 sec. (22.15 init + 1060.74 sieve) at 94274090 p/sec.
Processor time: 1074.50 sec. (22.12 init + 1052.38 sieve) at 95022531 p/sec.
Average processor utilization: 1.00 (init), 0.99 (sieve)


tpsieve - Windows Vista 32 bit, Core2Duo T9550@2.66GHz, 4G RAM -t2 switch
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 585.50 sec. (22.24 init + 563.25 sieve) at 177539923 p/sec.
Processor time: 1090.12 sec. (21.50 init + 1068.62 sieve) at 93578487 p/sec.
Average processor utilization: 0.97 (init), 1.90 (sieve)



NewPGen - Windows Vista 32 bit, Core2Duo T9550@2.66GHz, 4G RAM
~25 seconds to initialize
10:26 (626 sec)
10:51 total
14 factors







tpsieve - Ubuntu 64 bit, Core2Duo T9550@2.66GHz, 4G RAM
used 800M memory
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 1843.77 sec. (31.82 init + 1811.95 sieve) at 55189232 p/sec.
Processor time: 1829.07 sec. (31.80 init + 1797.27 sieve) at 55640035 p/sec.
Average processor utilization: 1.00 (init), 0.99 (sieve)



tpsieve - Ubuntu 64 bit, Core2Duo T9550@2.66GHz, 4G RAM -t2 switch
used 800M memory
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 1125.79 sec. (35.83 init + 1089.96 sieve) at 91746463 p/sec.
Processor time: 1690.41 sec. (33.37 init + 1657.04 sieve) at 60348778 p/sec.
Average processor utilization: 0.93 (init), 1.52 (sieve)


I think something's wrong with the linux builds, 64 bits at least...

I didn't test linux version of nwepgen yet.



____________

geoffProject donor
Volunteer developer
Send message
Joined: 3 Aug 07
Posts: 99
ID: 10427
Credit: 343,437
RAC: 0
TRP Sieve (suspended) Bronze: Earned 10,000 credits (57,150)PSA Silver: Earned 100,000 credits (271,962)
Message 15574 - Posted: 12 May 2009 | 5:31:15 UTC - in response to Message 15565.

I can see two problems occuring:

1. The usual Ubuntu Linux problem of CPU frequency scaling. Fix this by adding --priority=normal to the command line, or changing the priority= line in the tpconfig.txt file.

2. The configuration file tpconfig.txt contains a default setting of qmax=10e6. If you run the executable without a copy of the config file in the current working directory then this option will not be active and sieving will be much slower. Add --qmax=10e6 to the command line to be sure it is active.

If the CPU frequency reported on the status line is not close to the expected frequency for your machine then problem 1 could be the cause.

If the final report doesn't match count=3390028539, sum=0x9e7c61deb716ec9f, then problem 2 is likely the cause.

Note that the qmax parameter controlls the proportion of time spend sieving vs testing. Higher qmax values will spend more time sieving and less time testing. The optimal value depends on the speed of the sieve code (cache/memory access speed) vs the testing code (modular multiplication speed).

Also note that there are no SSE2 optimisations in tpsieve yet. Once added, SSE2 will speed up the testing step on 32-bit machines, and also the sieving step on both 32-bit and 64-bit machines.

Profile BenvaProject donor
Volunteer tester
Avatar
Send message
Joined: 5 May 08
Posts: 73
ID: 22332
Credit: 2,715,050
RAC: 0
321 LLR Bronze: Earned 10,000 credits (27,956)Cullen LLR Bronze: Earned 10,000 credits (13,001)PPS LLR Silver: Earned 100,000 credits (196,311)Woodall LLR Bronze: Earned 10,000 credits (15,134)TRP Sieve (suspended) Bronze: Earned 10,000 credits (30,520)PSA Ruby: Earned 2,000,000 credits (2,409,053)
Message 15576 - Posted: 12 May 2009 | 5:55:06 UTC

Thanks for the tips, I'm going to try again today.
____________

Profile BenvaProject donor
Volunteer tester
Avatar
Send message
Joined: 5 May 08
Posts: 73
ID: 22332
Credit: 2,715,050
RAC: 0
321 LLR Bronze: Earned 10,000 credits (27,956)Cullen LLR Bronze: Earned 10,000 credits (13,001)PPS LLR Silver: Earned 100,000 credits (196,311)Woodall LLR Bronze: Earned 10,000 credits (15,134)TRP Sieve (suspended) Bronze: Earned 10,000 credits (30,520)PSA Ruby: Earned 2,000,000 credits (2,409,053)
Message 15579 - Posted: 12 May 2009 | 11:23:21 UTC

The issue was on priority set to idle in tpconfig. qmax already set to 10e6.

Setting priority to normal:

tpsieve - Ubuntu 64 bit, Core2Duo T9550@2.66GHz, 4G RAM
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 563.06 sec. (11.35 init + 551.71 sieve) at 181255949 p/sec.
Processor time: 562.80 sec. (11.28 init + 551.52 sieve) at 181316406 p/sec.
Average processor utilization: 0.99 (init), 1.00 (sieve)



tpsieve - Ubuntu 64 bit, Core2Duo T9550@2.66GHz, 4G RAM -t2 switch
Sieve complete: 8500000000000000 <= p < 8500100000000000
Found 14 factors
count=3390028539,sum=0x9e7c61deb716ec9f
Elapsed time: 298.20 sec. (10.41 init + 287.79 sieve) at 347473994 p/sec.
Processor time: 583.88 sec. (10.41 init + 573.47 sieve) at 174377820 p/sec.
Average processor utilization: 1.00 (init), 1.99 (sieve)


I think it looks better now :-)
Thanks Geoff
____________

Profile warddrProject donor
Volunteer tester
Avatar
Send message
Joined: 7 Feb 08
Posts: 254
ID: 18735
Credit: 24,054,820
RAC: 0
Found 1 prime in the 2021 Tour de PrimesPPS LLR Ruby: Earned 2,000,000 credits (3,906,465)SGS LLR Ruby: Earned 2,000,000 credits (2,113,266)TPS LLR (retired) Bronze: Earned 10,000 credits (20,542)321 Sieve (suspended) Silver: Earned 100,000 credits (111,333)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (20,009)PPS Sieve Jade: Earned 10,000,000 credits (12,250,642)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,056,728)TRP Sieve (suspended) Silver: Earned 100,000 credits (169,622)AP 26/27 Silver: Earned 100,000 credits (107,843)GFN Ruby: Earned 2,000,000 credits (3,686,867)PSA Gold: Earned 500,000 credits (606,099)
Message 15771 - Posted: 22 May 2009 | 20:40:46 UTC

Will we start a sieve?
____________

JohnProject donor
Honorary cruncher
Avatar
Send message
Joined: 21 Feb 06
Posts: 2875
ID: 2449
Credit: 2,681,934
RAC: 0
321 LLR Bronze: Earned 10,000 credits (11,773)Cullen LLR Bronze: Earned 10,000 credits (14,945)ESP LLR Bronze: Earned 10,000 credits (26,855)PPS LLR Bronze: Earned 10,000 credits (84,876)PSP LLR Bronze: Earned 10,000 credits (15,311)SoB LLR Bronze: Earned 10,000 credits (21,440)SR5 LLR Bronze: Earned 10,000 credits (29,270)SGS LLR Bronze: Earned 10,000 credits (26,616)TPS LLR (retired) Bronze: Earned 10,000 credits (36,288)TRP LLR Bronze: Earned 10,000 credits (41,655)Woodall LLR Bronze: Earned 10,000 credits (15,807)321 Sieve (suspended) Bronze: Earned 10,000 credits (20,014)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (23,405)PPS Sieve Bronze: Earned 10,000 credits (36,192)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (20,306)TRP Sieve (suspended) Bronze: Earned 10,000 credits (21,738)GFN Bronze: Earned 10,000 credits (86,217)PSA Ruby: Earned 2,000,000 credits (2,143,756)
Message 15805 - Posted: 26 May 2009 | 4:31:35 UTC - in response to Message 15771.

Will we start a sieve?

It appears that we are heading in that direction.
____________

Profile [SG]Puzzle-PeterProject donor
Volunteer tester
Avatar
Send message
Joined: 14 Jun 08
Posts: 374
ID: 24128
Credit: 92,652,187
RAC: 0
Discovered the World's First base 68 Generalized Cullen prime!!!Eliminated 4 conjecture "k"s321 LLR Gold: Earned 500,000 credits (517,694)Cullen LLR Bronze: Earned 10,000 credits (22,649)PPS LLR Ruby: Earned 2,000,000 credits (3,716,757)PSP LLR Amethyst: Earned 1,000,000 credits (1,255,162)SoB LLR Amethyst: Earned 1,000,000 credits (1,529,355)SGS LLR Bronze: Earned 10,000 credits (79,385)TRP LLR Bronze: Earned 10,000 credits (42,673)Woodall LLR Silver: Earned 100,000 credits (360,820)321 Sieve (suspended) Bronze: Earned 10,000 credits (21,641)Cullen/Woodall Sieve Ruby: Earned 2,000,000 credits (2,449,647)PPS Sieve Ruby: Earned 2,000,000 credits (4,110,585)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (75,714)TRP Sieve (suspended) Bronze: Earned 10,000 credits (54,880)AP 26/27 Bronze: Earned 10,000 credits (42,894)PSA Emerald: Earned 50,000,000 credits (78,365,420)
Message 16020 - Posted: 3 Jun 2009 | 14:26:09 UTC

I still experience problems with the -t switch under Linux 64bit. I get messages that child processes are started, but processor use is only ~150% where it should be 400% or close to that.

Starting seperate tasks on one machine helps, but it's a nuisance.

BTW: What's the best value for Qmax? 10e6 helps a lot, but is it optimal?

Thanks, Peter
____________
There are only 10 kinds of people - those who understand binary and those who don't

Profile warddrProject donor
Volunteer tester
Avatar
Send message
Joined: 7 Feb 08
Posts: 254
ID: 18735
Credit: 24,054,820
RAC: 0
Found 1 prime in the 2021 Tour de PrimesPPS LLR Ruby: Earned 2,000,000 credits (3,906,465)SGS LLR Ruby: Earned 2,000,000 credits (2,113,266)TPS LLR (retired) Bronze: Earned 10,000 credits (20,542)321 Sieve (suspended) Silver: Earned 100,000 credits (111,333)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (20,009)PPS Sieve Jade: Earned 10,000,000 credits (12,250,642)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,056,728)TRP Sieve (suspended) Silver: Earned 100,000 credits (169,622)AP 26/27 Silver: Earned 100,000 credits (107,843)GFN Ruby: Earned 2,000,000 credits (3,686,867)PSA Gold: Earned 500,000 credits (606,099)
Message 16022 - Posted: 3 Jun 2009 | 15:17:00 UTC - in response to Message 16020.

I still experience problems with the -t switch under Linux 64bit. I get messages that child processes are started, but processor use is only ~150% where it should be 400% or close to that.

Starting seperate tasks on one machine helps, but it's a nuisance.

BTW: What's the best value for Qmax? 10e6 helps a lot, but is it optimal?

Thanks, Peter


Try 2 times -t2, this should result in barely any loose of cpu-power
____________

Profile BenvaProject donor
Volunteer tester
Avatar
Send message
Joined: 5 May 08
Posts: 73
ID: 22332
Credit: 2,715,050
RAC: 0
321 LLR Bronze: Earned 10,000 credits (27,956)Cullen LLR Bronze: Earned 10,000 credits (13,001)PPS LLR Silver: Earned 100,000 credits (196,311)Woodall LLR Bronze: Earned 10,000 credits (15,134)TRP Sieve (suspended) Bronze: Earned 10,000 credits (30,520)PSA Ruby: Earned 2,000,000 credits (2,409,053)
Message 16025 - Posted: 3 Jun 2009 | 16:17:26 UTC

I've got this result on my Ubuntu 64bit box

benva@benva-laptop:~$ ps aux | grep tpsieve benva 4583 199 18.9 782044 757800 pts/0 Sl+ 13:24 575:08 ./tpsieve -p9100e12 -P9150e12 -itpsieve_7300TE1.txt -ftpsfactors_9100T-9150T.txt -t2


In my case cpu usage is near 200% (199%) so it's ok.
____________

Profile [SG]Puzzle-PeterProject donor
Volunteer tester
Avatar
Send message
Joined: 14 Jun 08
Posts: 374
ID: 24128
Credit: 92,652,187
RAC: 0
Discovered the World's First base 68 Generalized Cullen prime!!!Eliminated 4 conjecture "k"s321 LLR Gold: Earned 500,000 credits (517,694)Cullen LLR Bronze: Earned 10,000 credits (22,649)PPS LLR Ruby: Earned 2,000,000 credits (3,716,757)PSP LLR Amethyst: Earned 1,000,000 credits (1,255,162)SoB LLR Amethyst: Earned 1,000,000 credits (1,529,355)SGS LLR Bronze: Earned 10,000 credits (79,385)TRP LLR Bronze: Earned 10,000 credits (42,673)Woodall LLR Silver: Earned 100,000 credits (360,820)321 Sieve (suspended) Bronze: Earned 10,000 credits (21,641)Cullen/Woodall Sieve Ruby: Earned 2,000,000 credits (2,449,647)PPS Sieve Ruby: Earned 2,000,000 credits (4,110,585)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (75,714)TRP Sieve (suspended) Bronze: Earned 10,000 credits (54,880)AP 26/27 Bronze: Earned 10,000 credits (42,894)PSA Emerald: Earned 50,000,000 credits (78,365,420)
Message 16026 - Posted: 3 Jun 2009 | 16:45:05 UTC - in response to Message 16022.


Try 2 times -t2, this should result in barely any loose of cpu-power



I'll try that, thanks! -t4 on a quad and -t8 on a V8 were no good at all. I didn't try -t2...

Thanks, Peter
____________
There are only 10 kinds of people - those who understand binary and those who don't

Profile [SG]Puzzle-PeterProject donor
Volunteer tester
Avatar
Send message
Joined: 14 Jun 08
Posts: 374
ID: 24128
Credit: 92,652,187
RAC: 0
Discovered the World's First base 68 Generalized Cullen prime!!!Eliminated 4 conjecture "k"s321 LLR Gold: Earned 500,000 credits (517,694)Cullen LLR Bronze: Earned 10,000 credits (22,649)PPS LLR Ruby: Earned 2,000,000 credits (3,716,757)PSP LLR Amethyst: Earned 1,000,000 credits (1,255,162)SoB LLR Amethyst: Earned 1,000,000 credits (1,529,355)SGS LLR Bronze: Earned 10,000 credits (79,385)TRP LLR Bronze: Earned 10,000 credits (42,673)Woodall LLR Silver: Earned 100,000 credits (360,820)321 Sieve (suspended) Bronze: Earned 10,000 credits (21,641)Cullen/Woodall Sieve Ruby: Earned 2,000,000 credits (2,449,647)PPS Sieve Ruby: Earned 2,000,000 credits (4,110,585)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (75,714)TRP Sieve (suspended) Bronze: Earned 10,000 credits (54,880)AP 26/27 Bronze: Earned 10,000 credits (42,894)PSA Emerald: Earned 50,000,000 credits (78,365,420)
Message 16113 - Posted: 8 Jun 2009 | 15:02:58 UTC - in response to Message 15574.

Note that the qmax parameter controlls the proportion of time spend sieving vs testing. Higher qmax values will spend more time sieving and less time testing. The optimal value depends on the speed of the sieve code (cache/memory access speed) vs the testing code (modular multiplication speed).



Does this parameter change the number of factors we're finding or is it strictly a speed thing? I'm wondering if playing around with it might improve sieving speed but I don't want it to affect sieving quality.
____________
There are only 10 kinds of people - those who understand binary and those who don't

Profile warddrProject donor
Volunteer tester
Avatar
Send message
Joined: 7 Feb 08
Posts: 254
ID: 18735
Credit: 24,054,820
RAC: 0
Found 1 prime in the 2021 Tour de PrimesPPS LLR Ruby: Earned 2,000,000 credits (3,906,465)SGS LLR Ruby: Earned 2,000,000 credits (2,113,266)TPS LLR (retired) Bronze: Earned 10,000 credits (20,542)321 Sieve (suspended) Silver: Earned 100,000 credits (111,333)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (20,009)PPS Sieve Jade: Earned 10,000,000 credits (12,250,642)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,056,728)TRP Sieve (suspended) Silver: Earned 100,000 credits (169,622)AP 26/27 Silver: Earned 100,000 credits (107,843)GFN Ruby: Earned 2,000,000 credits (3,686,867)PSA Gold: Earned 500,000 credits (606,099)
Message 16115 - Posted: 8 Jun 2009 | 16:18:48 UTC

Isn't is about time to get a new sieve-file?
..And to restart llr?
____________

geoffProject donor
Volunteer developer
Send message
Joined: 3 Aug 07
Posts: 99
ID: 10427
Credit: 343,437
RAC: 0
TRP Sieve (suspended) Bronze: Earned 10,000 credits (57,150)PSA Silver: Earned 100,000 credits (271,962)
Message 16152 - Posted: 9 Jun 2009 | 23:52:37 UTC - in response to Message 16113.
Last modified: 9 Jun 2009 | 23:53:44 UTC

Note that the qmax parameter controlls the proportion of time spend sieving vs testing. Higher qmax values will spend more time sieving and less time testing. The optimal value depends on the speed of the sieve code (cache/memory access speed) vs the testing code (modular multiplication speed).



Does this parameter change the number of factors we're finding or is it strictly a speed thing? I'm wondering if playing around with it might improve sieving speed but I don't want it to affect sieving quality.


It is OK to use whichever value of qmax makes the program run fastest on your machine.

It is possible that lower values of qmax could result in some composite factors being reported, but that is unlikely unless the sieve file has not been updated for a very long time, and is harmless in any event.

BTW updating the sieve file will not improve sieving speed at all unless the range of k values is reduced. I.e. removing terms with factors found by sieving will not improve the sieving speed, but removing a block of terms from the bottom of the range that have been LLR tested might increase speed a little (but probably only a tiny bit, definitely not in proportion to the number of terms removed).

Profile [SG]Puzzle-PeterProject donor
Volunteer tester
Avatar
Send message
Joined: 14 Jun 08
Posts: 374
ID: 24128
Credit: 92,652,187
RAC: 0
Discovered the World's First base 68 Generalized Cullen prime!!!Eliminated 4 conjecture "k"s321 LLR Gold: Earned 500,000 credits (517,694)Cullen LLR Bronze: Earned 10,000 credits (22,649)PPS LLR Ruby: Earned 2,000,000 credits (3,716,757)PSP LLR Amethyst: Earned 1,000,000 credits (1,255,162)SoB LLR Amethyst: Earned 1,000,000 credits (1,529,355)SGS LLR Bronze: Earned 10,000 credits (79,385)TRP LLR Bronze: Earned 10,000 credits (42,673)Woodall LLR Silver: Earned 100,000 credits (360,820)321 Sieve (suspended) Bronze: Earned 10,000 credits (21,641)Cullen/Woodall Sieve Ruby: Earned 2,000,000 credits (2,449,647)PPS Sieve Ruby: Earned 2,000,000 credits (4,110,585)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (75,714)TRP Sieve (suspended) Bronze: Earned 10,000 credits (54,880)AP 26/27 Bronze: Earned 10,000 credits (42,894)PSA Emerald: Earned 50,000,000 credits (78,365,420)
Message 16168 - Posted: 11 Jun 2009 | 8:35:41 UTC

Thanks, geoff!

Another question: Every now and then I get an "Invalid checkpoint" when restarting a sieve. Is there anything I can do about this? Apart from looking at the factor file and editing the command line accordingly I mean.

Peter
____________
There are only 10 kinds of people - those who understand binary and those who don't

geoffProject donor
Volunteer developer
Send message
Joined: 3 Aug 07
Posts: 99
ID: 10427
Credit: 343,437
RAC: 0
TRP Sieve (suspended) Bronze: Earned 10,000 credits (57,150)PSA Silver: Earned 100,000 credits (271,962)
Message 16303 - Posted: 17 Jun 2009 | 2:21:38 UTC - in response to Message 16168.

Another question: Every now and then I get an "Invalid checkpoint" when restarting a sieve. Is there anything I can do about this? Apart from looking at the factor file and editing the command line accordingly I mean.


I have noted this problem, I will fix it in the next release, just a bit busy lately sorry.

Ken_g6Project donor
Volunteer developer
Avatar
Send message
Joined: 4 Jul 06
Posts: 940
ID: 3110
Credit: 261,913,874
RAC: 11,928
Discovered 2 mega primesFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de PrimesFound 1 prime in the 2021 Tour de PrimesFound 3 primes in the 2022 Tour de PrimesFound 1 prime in the 2023 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,148,133)Cullen LLR Ruby: Earned 2,000,000 credits (2,591,847)ESP LLR Amethyst: Earned 1,000,000 credits (1,657,625)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,251,083)PPS LLR Sapphire: Earned 20,000,000 credits (34,777,138)PSP LLR Turquoise: Earned 5,000,000 credits (6,070,653)SoB LLR Turquoise: Earned 5,000,000 credits (5,923,035)SR5 LLR Ruby: Earned 2,000,000 credits (2,603,308)SGS LLR Ruby: Earned 2,000,000 credits (2,260,651)TPS LLR (retired) Bronze: Earned 10,000 credits (19,376)TRP LLR Ruby: Earned 2,000,000 credits (3,398,689)Woodall LLR Ruby: Earned 2,000,000 credits (2,732,873)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,915,071)Cullen/Woodall Sieve Turquoise: Earned 5,000,000 credits (8,584,236)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,461,309)PPS Sieve Emerald: Earned 50,000,000 credits (97,322,801)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (352,129)TRP Sieve (suspended) Gold: Earned 500,000 credits (776,202)AP 26/27 Turquoise: Earned 5,000,000 credits (7,318,658)GFN Emerald: Earned 50,000,000 credits (52,550,171)WW (retired) Sapphire: Earned 20,000,000 credits (20,044,000)PSA Ruby: Earned 2,000,000 credits (4,154,617)
Message 17198 - Posted: 2 Aug 2009 | 4:10:21 UTC

Hi, all,

I've made a new 64-bit version of tpsieve, posted here, that uses the hybrid Montgomery/floating point method I've been working on here. I couldn't download the original test file at the top of this thread, but I made my own small test file for N=333335, and on that the 64-bit version is up to 20% faster!

Obviously it needs more testing, and I only included Linux binaries, but I hope it's helpful. The benefits will decrease as N increases, but hopefully it's always faster. Also, I think the algorithm may be able to slightly improve sr2sieve, but I don't have the code for that, so I'm not sure.

geoffProject donor
Volunteer developer
Send message
Joined: 3 Aug 07
Posts: 99
ID: 10427
Credit: 343,437
RAC: 0
TRP Sieve (suspended) Bronze: Earned 10,000 credits (57,150)PSA Silver: Earned 100,000 credits (271,962)
Message 17239 - Posted: 4 Aug 2009 | 3:18:37 UTC

I have incorporated Ken's conditional move idea in tpsieve 0.2.3, and with the few trials I have done on my Core 2 Duo the 64-bit code seems to be about 15% faster. But the TPS file is too big for me to download for real testing.

I didn't include the Mongomery multiplication code, as this didn't seem to make it any faster. But perhaps that is just on my machine, or a difference in compiler versions. More testing is needed I think.

Ken_g6Project donor
Volunteer developer
Avatar
Send message
Joined: 4 Jul 06
Posts: 940
ID: 3110
Credit: 261,913,874
RAC: 11,928
Discovered 2 mega primesFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de PrimesFound 1 prime in the 2021 Tour de PrimesFound 3 primes in the 2022 Tour de PrimesFound 1 prime in the 2023 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,148,133)Cullen LLR Ruby: Earned 2,000,000 credits (2,591,847)ESP LLR Amethyst: Earned 1,000,000 credits (1,657,625)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,251,083)PPS LLR Sapphire: Earned 20,000,000 credits (34,777,138)PSP LLR Turquoise: Earned 5,000,000 credits (6,070,653)SoB LLR Turquoise: Earned 5,000,000 credits (5,923,035)SR5 LLR Ruby: Earned 2,000,000 credits (2,603,308)SGS LLR Ruby: Earned 2,000,000 credits (2,260,651)TPS LLR (retired) Bronze: Earned 10,000 credits (19,376)TRP LLR Ruby: Earned 2,000,000 credits (3,398,689)Woodall LLR Ruby: Earned 2,000,000 credits (2,732,873)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,915,071)Cullen/Woodall Sieve Turquoise: Earned 5,000,000 credits (8,584,236)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,461,309)PPS Sieve Emerald: Earned 50,000,000 credits (97,322,801)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (352,129)TRP Sieve (suspended) Gold: Earned 500,000 credits (776,202)AP 26/27 Turquoise: Earned 5,000,000 credits (7,318,658)GFN Emerald: Earned 50,000,000 credits (52,550,171)WW (retired) Sapphire: Earned 20,000,000 credits (20,044,000)PSA Ruby: Earned 2,000,000 credits (4,154,617)
Message 17260 - Posted: 4 Aug 2009 | 22:47:10 UTC - in response to Message 17239.

Geoff, you were right about several things. First, I was surprised to find that the Montgomery code I had used didn't improve speed any. I didn't expect the cmov to make that much difference, so I didn't test it alone.

Second, you were right about inlining functions in C being a problem. That's why the first code I posted didn't get any speedup from the Montgomery math. The original Montgomery setup function I wrote for C++ didn't work in C, so I'd done something else; but when I wrote the original inline, I got about another 8% speed boost!

The new code is now posted at the same link.

Message boards : Sieving : TPS Sieve testing

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2023 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.71, 1.14, 1.46
Generated 3 Jun 2023 | 9:09:59 UTC