mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Prime Sierpinski Project

Reply
 
Thread Tools
Old 2009-06-12, 05:13   #1
cipher
 
cipher's Avatar
 
Feb 2007

211 Posts
Default Improving Sieving by 18%.

I decided to help with PSP sieving. http://www.mersenneforum.org/showthread.php?t=2666

when i downloaded the sieve file "Sievecomb" or Sob.dat i realized that the n values have not been truancted, hence i truncated n from n=1 to n=6mil as all the k's have been PRP'd upto n=6mil min. The resulting file was 14% lighter and 18% faster with sr2sieve.

So here it is the new sieve file (unofficial) where n=6mil to 50mil, for all the K's. (The file is RAR'd use winrar or winzip to unzip the file.)
http://www.sendspace.com/file/iwjqzl

Now when you start sr2sieve you have to make one small change. On your command prompt.
Code:
Before: Example
sr2sieve -s -p 70115500e9 -P 70123500e9
Now:
sr2sieve -i sr_2.abcd -p 70115500e9 -P 70123500e9
Everything else stays the same and you get same results.

Thanks
Cipher
cipher is offline   Reply With Quote
Old 2009-06-12, 05:30   #2
ltd
 
ltd's Avatar
 
Apr 2003

22×193 Posts
Default

I have not tried your file so far but there is at lesast one problem with it. The lower bound for sieving PSP is at 1.5M !!! As our second pass testing for all k has only reached the 1.5M level all factors above that are still very important.
ltd is offline   Reply With Quote
Old 2009-06-15, 14:00   #3
VJS
 
VJS's Avatar
 
Dec 2004

13×23 Posts
Default

Yes we have contimplated this before...

reducing to 6M is actually too much at a max the reducion would be 1.5M as lars said.

Please remove your file

Second the calculated increase should be

[(41^6)/(50^6)]^0.5 = which is about 9% not 18%, which is a little weird. I think you might have removed a little too much.

Also if the efficiency were really that different we should crop the top end. Bring it back to say 1.5M<n<30-40M. But with all the effort we introduced shrinking to top end is not a good idea, we would probably never go back on do the 40-50M we missed.
VJS is offline   Reply With Quote
Old 2009-06-16, 09:03   #4
ltd
 
ltd's Avatar
 
Apr 2003

22×193 Posts
Default

As an information about the next steps.
I have at home the most recend dat files (all known factors removed) in a form starting at 991 and also starting at 1.5M. I will start a testrun under identical conditions to see the real speed changes.
ltd is offline   Reply With Quote
Old 2009-06-16, 10:34   #5
opyrt
 
opyrt's Avatar
 
Apr 2008
Oslo, Norway

7·31 Posts
Default

Quote:
Originally Posted by ltd View Post
As an information about the next steps.
I have at home the most recend dat files (all known factors removed) in a form starting at 991 and also starting at 1.5M. I will start a testrun under identical conditions to see the real speed changes.
I'm looking forward to hearing the results.

Also, I'm planning on finding a prime this summer... Will that help?
opyrt is offline   Reply With Quote
Old 2009-06-16, 15:51   #6
Joe O
 
Joe O's Avatar
 
Aug 2002

10158 Posts
Default

Quote:
Originally Posted by opyrt View Post
I'm looking forward to hearing the results.

Also, I'm planning on finding a prime this summer... Will that help?
Finding a prime is the best thing that you can do!

Finding two primes would be even better!.
Joe O is offline   Reply With Quote
Old 2009-06-16, 20:05   #7
Sloth
 
Sloth's Avatar
 
Mar 2006

2·47 Posts
Default

Quote:
Originally Posted by Joe O View Post
Finding a prime is the best thing that you can do!

Finding two primes would be even better!.
Stop slacking and get to it.
Sloth is offline   Reply With Quote
Old 2009-06-16, 21:21   #8
opyrt
 
opyrt's Avatar
 
Apr 2008
Oslo, Norway

21710 Posts
Default

Quote:
Originally Posted by Sloth View Post
Stop slacking and get to it.
Oh, sorry! I'll get to it straight away! I'll just copy what you did, and we should have them any time soon!
opyrt is offline   Reply With Quote
Old 2009-06-17, 03:12   #9
VJS
 
VJS's Avatar
 
Dec 2004

29910 Posts
Default

Joe and I spent god only know how many weeks and CPU hours perfecting that dat at 991<n<50M and found that a 4#M dat was most efficient???

Joe, perhaps you can remember and elaborate but the selection of a 50M dat was not hap-hazard. The discussion of if it should be shortened or lengthend is for another debate...


Lars speed test would be a good one to start with, when Joe and I did it we used the old sieve client that predated JJsieve ( a significant speed improvement ). Perhaps the sieve speed is more directly related to n-range but I doubt it.

In any case please continue with the current offical dat, the mess of not using it takes more CPU hours an manpower to clean up than one might expect. And certainly more than the user would save.

I appologize for not having more time to invest in the testing, I'm working around 60 hours a week right now.
VJS is offline   Reply With Quote
Old 2009-06-18, 14:52   #10
ltd
 
ltd's Avatar
 
Apr 2003

22·193 Posts
Default

The testrun has finished. The gain was even smaller then expected.
The file with n>1.5M needed 151354 seconds
The file with n=991 needed 152360 seconds.
This would mean there is a gain of 0.66% by changing to a shorter file.
I expect that there is a possible error of around +/-0.2% due to the fact that the machine was in normal use for 3hours during the test.
So the expected gain would be between ~0.45% and ~0.85%.

Last fiddled with by ltd on 2009-06-18 at 14:52
ltd is offline   Reply With Quote
Old 2009-07-01, 13:34   #11
opyrt
 
opyrt's Avatar
 
Apr 2008
Oslo, Norway

110110012 Posts
Default

Please forgive me what I write here is totally moronic, but aren't all factors interresting with regards to having more complete data as to what candidates are not primes? LLR tests only say "this is not prime", while sieving says "this candidate is divisible by that factor and is not prime", right?

In my mind, this is a good reason not to cut down the sieve span.
opyrt is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Improving the queue management. debrouxl NFS@Home 10 2018-05-06 21:05
improving factorization method bhelmes Computer Science & Computational Number Theory 7 2017-06-26 02:20
an idea for improving the factor table ixfd64 PrimeNet 5 2013-11-08 05:41
Improving website speed Unregistered Information & Answers 1 2011-04-02 02:17
Improving the RAM allocation for Prime 95 Matthias C. Noc Software 3 2004-02-12 19:34

All times are UTC. The time now is 03:08.


Wed Oct 4 03:08:57 UTC 2023 up 21 days, 51 mins, 0 users, load averages: 1.18, 1.04, 0.95

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.

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