mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Twin Prime Search

Reply
 
Thread Tools
Old 2010-09-30, 18:46   #309
Oddball
 
Oddball's Avatar
 
May 2010

1111100112 Posts
Default

Quote:
Originally Posted by Ken_g6 View Post
FYI, I have a new version of TPSieve out, based on and in the same archive with the newer PPSieve, v0.3.10 (source)

Despite being newer, this version is unfortunately a little slower in many cases. But it's likely to be faster for people with AMD processors.
On my Phenom II X6 1055T:

32 bit SSE2 old version: 138M p/sec
32 bit SSE2 new version: 131M p/sec

64 bit old version: 85M p/sec
64 bit new version: 163M p/sec

Good job!
Oddball is offline   Reply With Quote
Old 2010-10-22, 01:41   #310
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA

189A16 Posts
Default

I just noticed something rather odd with tpsieve (CPU) today. All along, I have been using a batch file to run the tpsieve commands for my sieving ranges here, and currently it looks like:

tpsieve-x86-windows-sse2.exe -i 480000-484999_30aug2010.txt -p 1450e12 -P 1455e12 -N 485000

As in the officially suggested command line from the variable-n sieve reservation thread, I have the "-N 485000" parameter on there. But, I got to thinking just now that it was really rather redundant since we're running with a sieve file. So, I tried leaving it off once, and was surprised to see that memory usage jumped to over a gigabyte! Normally, it's only 25MB or so once it gets into the main sieve loop. Needless to say, I changed it back and restarted the program right away (having only 2 GB of total RAM in the system).

Ken, any idea why this is? At first I thought that including the "-N 485000" parameter might be forcing it into no-sieve-file mode, but that can't be since it takes a good 45-60 seconds to load the sieve file each time I run the program. Surely it would be skipping that part if it was really running without a sieve file. Yet if it's got the whole sieve file in there somewhere, how come it's only using 25 MB of memory? (FYI, it does have 1 GB of virtual memory allocated...though that would raise the question of why all that's in virtual memory with -N 485000, but in active memory without it.)
mdettweiler is offline   Reply With Quote
Old 2010-10-22, 06:20   #311
Ken_g6
 
Ken_g6's Avatar
 
Jan 2005
Caught in a sieve

5·79 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
(FYI, it does have 1 GB of virtual memory allocated...though that would raise the question of why all that's in virtual memory with -N 485000, but in active memory without it.)
That would seem to be the correct question. -N might crop out some N's from the sieve file that aren't in the range you want to sieve. That would save memory, but it would also decrease the virtual memory use.

Edit: The reason to use -k, -K, and -N (and -n? I'll have to check on that.) is to avoid a first pass on the sieve file to find those values.

Last fiddled with by Ken_g6 on 2010-10-22 at 06:21
Ken_g6 is offline   Reply With Quote
Old 2010-10-22, 18:41   #312
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA

2·47·67 Posts
Default

Quote:
Originally Posted by Ken_g6 View Post
That would seem to be the correct question. -N might crop out some N's from the sieve file that aren't in the range you want to sieve. That would save memory, but it would also decrease the virtual memory use.

Edit: The reason to use -k, -K, and -N (and -n? I'll have to check on that.) is to avoid a first pass on the sieve file to find those values.
Hmm, I see. Might the "first pass" on the sieve file load it into active memory, but the "second pass" into virtual memory if the former wasn't done already--even though the end result is of course the same (possibly a bug)?
mdettweiler is offline   Reply With Quote
Old 2023-01-13, 20:45   #313
MooMoo2
 
MooMoo2's Avatar
 
"Michael Kwok"
Mar 2006

1,181 Posts
Default

I guess this is more of a historical curiosity than anything else, but I have some doubts about PrimeGrid's claimed sieve depth of p=200T for the n=666666 quad sieve: https://www.primegrid.com/forum_thread.php?id=1450

The number of candidates remaining simply don't reflect a sieve depth that high. There were 34,190,344 remaining candidates after sieving k=1-41T, which would equate to 833,911 candidates per 1T and 416,955 candidates/T if only odd values of k were included.

I looked through my old progress save files and found that at p=200T, the n=1.7M file only had 350,799 candidates/T, and the n=3.322M file only had 350,830 candidates/T. For both n values, I reached 416,955 candidates/T at p=50T and not p=200T.

FWIW, their posted twin and Sophie probabilities (42.3% chance of at least one twin and 66.7% chance of at least one Sophie) are correct if all of their 34,190,344 candidates were indeed sieved to p=200T. At p=200T, the odds of a random n=666666 candidate being prime (not necessarily twin or Sophie) are around 1 in 7880. Their actual number was around 8700 tasks per prime, but a small percentage of those tasks were likely doublechecks.
MooMoo2 is offline   Reply With Quote
Old 2023-02-06, 19:47   #314
MooMoo2
 
MooMoo2's Avatar
 
"Michael Kwok"
Mar 2006

1,181 Posts
Default

Quote:
Originally Posted by biwema View Post
I have the feeling that we should rethink the credit system of the sieving effort. Now that person who did the most sieving will get also credit of the twin prime find. The result now is, that many people try to start sieving their own N (sometimes even beyond 500000) or their own range in a k (what makes mathematically absolutely no sense).

If some people see that they have no chance of doing the most effort, they may also move to some other task.
Also constellations like lucky plus or minus are forgotten.

I suggest not specially crediting one person for sieving (like gimps itself). It is not fair either, but will concentrate the sieving effort on the current and next candidate only.

biwema
Now that the n=1.7M search is underway, I figured that I'd officially change the policy. If a twin or SG is found for either n=1.7M or n=3.322M, the top siever will not share credit with the twin or SG finder on https://primes.utm.edu/ or on the successor site at https://t5k.org/ . Only a footnote on the official announcement will be provided (similar to: https://www.primegrid.com/download/S...17_1290000.pdf , see attached for reference). However, unlike Primegrid's n=1.29M search, credit will continue to be shared between the twin/SG discoverer and the top LLR tester in terms of number of candidates tested for that n-value.

The reason for this change is that the LLR work for those n-values is far, far greater than the quad-sieving work. And there's also the issue of me monopolizing the quad sieving efforts, which isn't really fair for twin/SG credit sharing. So I'm donating my sieving credit, but I expect a lot of LLR tests done in return
Attached Thumbnails
Click image for larger version

Name:	credits.png
Views:	47
Size:	183.7 KB
ID:	28011  
MooMoo2 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
S9 and general sieving discussion Lennart Conjectures 'R Us 31 2014-09-14 15:14
Sieving discussion thread philmoore Five or Bust - The Dual Sierpinski Problem 66 2010-02-10 14:34
Combined sieving discussion ltd Prime Sierpinski Project 76 2008-07-25 11:44
Sieving Discussion ltd Prime Sierpinski Project 26 2005-11-01 07:45
Sieving Discussion R.D. Silverman Factoring 7 2005-09-30 12:57

All times are UTC. The time now is 13:33.


Fri Jul 7 13:33:08 UTC 2023 up 323 days, 11:01, 0 users, load averages: 1.19, 1.22, 1.20

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔