![]() |
|
|
#254 |
|
Random Account
Aug 2009
Not U. + S.A.
54538 Posts |
I am running a fairly deep sieve, 4e12, on a k that I want to pick back up and continue on with using sr1sieve. The CPU utilization floats from 15% to 20% on an i7 CPU with 4 cores and 4 threads running at 4.15 GHz. I understand these are meant to be ran as background processes. Prime95 will run at 50% utilization, with no other processes running, at Priority 1. My sieve will take about four days to complete, if I do not have to stop it. It would cut a lot of time if the sieving utilization could be brought up to 35%, for example.
|
|
|
|
|
|
#255 | |
|
"Mark"
Apr 2003
Between here and the
11100101011012 Posts |
Quote:
|
|
|
|
|
|
|
#256 | |
|
Random Account
Aug 2009
Not U. + S.A.
B2B16 Posts |
Quote:
Code:
sr1sieve -P 4e12 -n 770e3 -N 1e6 -Z -s 3 -v -i sr1.npg -o work.abcd Code:
sr1sieve -P 4e12 -Z -v -s 3 -i sr1.npg -o% work.abcd Last fiddled with by storm5510 on 2020-04-23 at 22:47 |
|
|
|
|
|
|
#257 | |
|
Jun 2003
31348 Posts |
Quote:
On a 4 core i7 - I often run 8 processes in parallel to get maximum efficiency. Last fiddled with by Citrix on 2020-04-24 at 00:53 |
|
|
|
|
|
|
#258 |
|
Random Account
Aug 2009
Not U. + S.A.
3·953 Posts |
I have ran split sieve's before, but not on the same machine. I have ran multiple instances of LLR on said CPU. It is sluggish. I do not think Windows 10 cooperates very well. A single instance can do more than two.
|
|
|
|
|
|
#259 |
|
Apr 2013
Durham, UK
22×17 Posts |
Do you have any benchmarks and a sieve file for this that I can test on my CUDA code? I've been wanting for some time to try to integrate my CUDA port of sr2sieve into mtsieve, but time has been my enemy. Maybe this year....
|
|
|
|
|
|
#260 | |
|
Jun 2003
22×11×37 Posts |
Quote:
Alternatively you could search k=15 n=10M N=20M Use base as b=2^2048 i.e only choose n that are multiple of 2048. On my AMD Radeon 5 (4 cores) I get between 8-10M p /sec per thread. I can run 8 of these at a time for maximum efficiency. So around 70-80M p/sec. on an i7 4th generation (4 cores) I can clear around 300-320M p/sec. I am using sr1sieve. I haven't tried srsieve2.exe. I think the program is limited by the overhead and not the actual algorithm. Last fiddled with by Citrix on 2020-04-26 at 01:01 |
|
|
|
|
|
|
#261 |
|
Random Account
Aug 2009
Not U. + S.A.
1011001010112 Posts |
In the mtsieve document, there are references to "MyApp" towards the bottom. I believe this is Microsoft .Net Framework. I experimented with the 2008 and 2010 versions. I found the applications to be rather sluggish. I stopped using each. It seemed Microsoft was moving away from programs which could do hard number-crunching into more database oriented applications where speed was not on the list of priorities. There are exceptions though. Microsoft C++ for example.
|
|
|
|
|
|
#262 | |
|
"Alexander"
Nov 2008
The Alamo City
991 Posts |
Quote:
.NET is almost invariably slower than plain C or C++, for much the same reason that Java programs are slower (namely the virtual environment construct). IMHO no serious program in this field (high-performance mathematical computation) should ever use .NET or Java. Last fiddled with by Happy5214 on 2020-04-26 at 05:27 Reason: Quote |
|
|
|
|
|
|
#263 | |
|
Random Account
Aug 2009
Not U. + S.A.
B2B16 Posts |
Quote:
|
|
|
|
|
|
|
#264 |
|
Jun 2003
22×11×37 Posts |
Code:
static double expected_factors(uint32_t n, uint64_t p0, uint64_t p1)
{
/* TODO: Use a more accurate formula. This one is only reasonable when
p0/p1 is close to 1.
*/
return n*(1-log(p0)/log(p1));
}
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sieving twins with srsieve | henryzz | Twin Prime Search | 0 | 2014-03-18 12:44 |
| Intel announces multi-core enhancements for Haswell chips | ixfd64 | Hardware | 8 | 2012-02-10 20:32 |
| LLRnet enhancements | kar_bon | No Prime Left Behind | 10 | 2008-03-28 11:21 |
| TODO list and suggestions/comments/enhancements | Greenbank | Octoproth Search | 2 | 2006-12-03 17:28 |
| Suggestions for future enhancements | Reboot It | Software | 16 | 2003-10-17 01:31 |