![]() |
Mfaktc sieveprimes=5000 OK?
Hi,
I'm playing with the GPU and mfaktc again, and I've noticed that if I adjust SievePrimes down from the default 25000 to 5000, I get a significant speedup. Is there any downside to reducing SievePrimes? Can this cause factors to be missed? |
Hi,
[QUOTE=NBtarheel_33;273723]I'm playing with the GPU and mfaktc again, and I've noticed that if I adjust SievePrimes down from the default 25000 to 5000, I get a significant speedup. Is there any downside to reducing SievePrimes? Can this cause factors to be missed?[/QUOTE] Unless there is an undiscovered bug the value of SievePrimes does not cause missing factors. Significant speedup... how much faster is it? Keep in mind that the avg. rate doesn't really matters. What matters is the time per class/assignment. [B]Perhaps[/B] you want to dedicate another core to mfaktc. SievePrimes=5000 usually tells you that not enough CPU resources are available. Just start another copy of mfaktc in a [B]separate directory[/B] working on different exponents. Oliver |
What is avg. rate then if it doesn't really matter? I notice the same thing, where the speed up is in avg. rate. (the auto adjust doesn't up it from 5000 if that matters)
|
Oliver, correct me if I'm wrong, but I think that Average Rate refers to the rate at which the GPU takes candidate factors (output from the prime sieve running on the CPU, which at sieveprimes = 5,000, is doing a relatively worse job of eliminating things that can't be factors) and determines whether the candidates are or are not factors.
Classes, on the other hand, represent a fixed division in the population of all possible factors, so you want those to fly by as fast as possible. A low sievePrimes indicates that the CPU core is saturated, and you *may* want to add another CPU to the job by running a second copy of mfaktc on a different core. (But possibly not, as this other core could be doing P-1 or LL tests) |
Mfaktc on my system always adjusts sieveprimes down to 5000 after a few seconds of operation. I tried shutting off the automatic adjustment and using higher values, but 5000 always gives me the best performance (least amount of total time spent).
I am running two instances of mfaktc, two LL tests, one DC and one P-1 on a six-core system (core-i7, hyperthreading off). Chuck |
[QUOTE=Chuck;273843]Mfaktc on my system always adjusts sieveprimes down to 5000 after a few seconds of operation. I tried shutting off the automatic adjustment and using higher values, but 5000 always gives me the best performance (least amount of total time spent).
I am running two instances of mfaktc, two LL tests, one DC and one P-1 on a six-core system (core-i7, hyperthreading off). Chuck[/QUOTE] Assuming you have set up the instances of mfaktc to run on two separate cores using your operating system, that means you have a very nice GPU that your CPU isn't quite keeping up with, so the low sieveprimes reduces the CPU load per class, and makes the GPU, with the spare cycles available, do a little more work. |
[QUOTE=Christenson;273919]Assuming you have set up the instances of mfaktc to run on two separate cores using your operating system, that means you have a very nice GPU that your CPU isn't quite keeping up with, so the low sieveprimes reduces the CPU load per class, and makes the GPU, with the spare cycles available, do a little more work.[/QUOTE]
It is a GTX580 Black Ops (797 MHz default clock) Chuck |
[QUOTE=Chuck;273922]It is a GTX580 Black Ops (797 MHz default clock)
Chuck[/QUOTE] QED, a *very* nice GPU!:smile: |
[QUOTE=Chuck;273922]It is a GTX580 Black Ops (797 MHz default clock)
Chuck[/QUOTE] daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaannnnnnnnnnnnnnnnnnnnnnnngggggggggggggg |
[QUOTE=Chuck;273843]Mfaktc on my system always adjusts sieveprimes down to 5000 after a few seconds of operation. I tried shutting off the automatic adjustment and using higher values, but 5000 always gives me the best performance (least amount of total time spent).[/QUOTE]
This might be telling you that there's a benefit to running a 3rd instance of mfaktc to keep the card fed with data? |
[QUOTE=kjaget;274007]This might be telling you that there's a benefit to running a 3rd instance of mfaktc to keep the card fed with data?[/QUOTE]
No, it's running at 85% GPU load. Chuck |
| All times are UTC. The time now is 01:06. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.