![]() |
![]() |
#23 |
Nov 2007
Halifax, Nova Scotia
23×7 Posts |
![]()
The double-check for π(286) completed; the result was consistent with the value I posted on Dec. 17.
Regarding timing and resource usage, I am going to release that information when I write up this work for publication. I don't plan to run calculations for other bases, because there is no limit to how many such calculations one can do. I computed π(1026) because the powers of ten have been the most competitive historically. I computed π(2m) for m ≤ 86 because I find two a natural base, and because there were some other powers of two for large heights available to which I could compare. This served as an additional opportunity to check my software. Thank you everyone for being interested in these calculations! |
![]() |
![]() |
![]() |
#24 |
Aug 2006
3×1,993 Posts |
![]() |
![]() |
![]() |
![]() |
#25 | |
Nov 2007
Halifax, Nova Scotia
708 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#26 |
Jan 2005
Minsk, Belarus
6208 Posts |
![]()
Any thoughts about 10^27?
|
![]() |
![]() |
![]() |
#27 |
Sep 2002
Database er0rr
22·1,063 Posts |
![]()
Douglas' paper is out: http://arxiv.org/abs/1503.01839
![]() |
![]() |
![]() |
![]() |
#28 | |
Nov 2007
Halifax, Nova Scotia
3816 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#29 | |
Jan 2008
France
23·71 Posts |
![]()
Though I didn't read all of the article yet, here are some comments.
You don't define what a "node" is. The first occurrence of "node" page 6 talks about 16 threads, and given that you talk about 2 8-core CPUs in Appendix A, I assume it's a set of cores sharing memory. Did you try to play with hyper-threading? On my 4770K (4 cores, 8 threads with HT), using Walish library (from last December) I get 1.5s for 10^15 with 12 threads while I only get 2.2s with 4 threads. It seems Walisch implementation is about twice faster than yours (accounting for threads and frequency difference); I guess this is due to your memory usage improvements? I found a missing word on page 2 line +4: Quote:
|
|
![]() |
![]() |
![]() |
#30 | |
Nov 2007
Halifax, Nova Scotia
5610 Posts |
![]() Quote:
Re: hyper-threading, my code is also significantly faster with hyper-threading enabled, to a similar degree as what you're seeing with the implementation from Kim Walisch. Unfortunately hyper-threading is not enabled on one of the best clusters in Canada, where I ran my calculations. I've spoken to the people in charge and they're planning to enable it some time this year, which will take some time on ~1000 compute nodes. I also noticed that the implementation by Kim Walisch is faster than mine. I think their implementation is just more numerically efficient than mine. I wrote the bulk of my pi(x) software while I was still working as a physicist. I improved my optimization skills a lot while writing that code, and am now working full-time as a software engineer. If you've looked at the sieve of Eratosthenes implementation by Kim Walisch, you'll see that it is incredibly efficient. I think Kim Walisch and Tomás Oliveira e Silva are two of the most efficient low-level coders I've ever seen. I'm glad I didn't know about the implementation by Kim Walisch, or it would have interfered with my project. However, I will probably go back now and read through their code and see what I can learn. It's a bit interesting to me that I managed to "beat" Kim Walisch to pi(10^26) despite the fact that they are apparently a more efficient low-level coder (for now). My feeling is that they (1) were probably missing the algorithm for between-node (distributed memory) parallelism and (2) had more trouble getting the memory usage down. I'm going to send them an email here shortly. Sorry that was a bit long-winded. Please send me any more corrections you find. |
|
![]() |
![]() |
![]() |
#31 |
Aug 2006
3×1,993 Posts |
![]()
Great paper! Two small points on p. 1: I'd write "limited to time complexity
|
![]() |
![]() |
![]() |
#32 |
"Robert Gerbicz"
Oct 2005
Hungary
112·13 Posts |
![]()
Yes, that couldn't be for any eps>0 (let eps=2).
Last fiddled with by R. Gerbicz on 2015-03-10 at 08:32 |
![]() |
![]() |
![]() |
#33 | ||
Nov 2007
Halifax, Nova Scotia
5610 Posts |
![]() Quote:
Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New confirmed pi(10^27),... pi(10^29) prime counting function records | kwalisch | Computer Science & Computational Number Theory | 42 | 2022-08-12 10:48 |
Counting Goldbach Prime Pairs Up To... | Steve One | Miscellaneous Math | 8 | 2018-03-06 19:20 |
Prime counting function | Steve One | Miscellaneous Math | 20 | 2018-03-03 22:44 |
Fourier Series for Prime Number Counting Functions | SteveC | Analysis & Analytic Number Theory | 10 | 2016-10-14 21:48 |
Legendre's prime counting function | pbewig | Information & Answers | 0 | 2011-07-14 00:47 |