![]() |
![]() |
#276 | |
Mar 2016
5×13 Posts |
![]() Quote:
Last fiddled with by pokemonlover123 on 2021-04-18 at 13:42 |
|
![]() |
![]() |
![]() |
#277 |
Mar 2016
5·13 Posts |
![]()
Doesn't look like 5.4.5 fixes the issue.
|
![]() |
![]() |
![]() |
#278 |
Mar 2016
5·13 Posts |
![]()
It's not confirmed, but i think i figured it out? It seems to be the case that the crashes happen if you set the client to request a large number of work units at once in prpclient.ini. I had set it to 600 to reduce the frequency of work requests and thats when i noticed the issue started. I have reduced it to 100 on that suspicion and it seems to br working fine now? Will keep you updated. Seems requesting a large number of work units might overrun a heap-allocated buffer on the client?
Last fiddled with by pokemonlover123 on 2021-04-18 at 16:40 |
![]() |
![]() |
![]() |
#279 |
Mar 2016
5×13 Posts |
![]() |
![]() |
![]() |
![]() |
#280 |
Mar 2016
5×13 Posts |
![]()
I have a couple questions now that I have resolved the crashing issue. 1) It seems that not all n values have all ks from the sieve file when i converted it to PFGW format. Am I correct in assuming that is on purpose (i.e. is ittrivial to preclude certain ks for certain n values from testing?). 2) It seems that (at least according to entries in the results table) the program it is using to run the PRP tests is llr rather than pfgw, even though 3 is not a power of 2 and the option to use llr anyways is not enabled in the server's ini. Will this cause problems or is it also on purpose?
|
![]() |
![]() |
![]() |
#281 | |
"Mark"
Apr 2003
Between here and the
23·13·67 Posts |
![]() Quote:
The default setting in the server for usellroverpfgw is 1. You can set to 0 to force all clients to use pfgw. You can use the stats to determine which is truly faster. The main problem is that if pfgw finds a PRP it will need to run a second test to verity primarily whereas llr will not require a second test, although the one test it runs might take longer. You just want to ensure that you have onekperinstance=1 in preserver.ini so that multiple clients are not working on the same k concurrently, which can lead you to running more tests than you need to run. I set my clients to get a maximum of 100 tests at a time. More seems to cause problems. I have thought about solving this by switching the protocol between client and server to something more flexible, such as JSON, and by making the socket logic more robust, but nobody has been pressing for that. |
|
![]() |
![]() |
![]() |
#282 | |
Mar 2016
6510 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#283 |
Mar 2016
5×13 Posts |
![]()
I believe I managed to find the answer to my question. In the ABCD file, for each k, there seems to be a starting n (at the end of the ABCD line for each k, in square brackets), then a whole bunch of numbers. I realized that those numbers match exactly the gaps between tested n values I was wondering about. I suppose I just misunderstood the ABCD format. And I suppose the certain n candidates that are not tested were sieved out, hence the sieving in the first place. I misunderstood the process and forgot to consider that sieving had happened and that I was generating candidates FROM that sieve file.
|
![]() |
![]() |
![]() |
#284 | |
"Mark"
Apr 2003
Between here and the
23·13·67 Posts |
![]() Quote:
ABCD format is used because it is the most compact format. But PRPNet does not support that format. I have wanted to add support, but have not done so as nobody has asked. |
|
![]() |
![]() |
![]() |
#285 |
"Gary"
May 2007
Overland Park, KS
2E4A16 Posts |
![]()
One thing that I will bring up that I don't think was mentioned here about the PRPnet server. Make sure that servertype=1 for Sierpinski/Riesel in the prpserver.ini file. This will stop searching a k after a prime has been found. Otherwise you will do a lot of extra tests.
Last fiddled with by gd_barnes on 2021-04-18 at 21:33 |
![]() |
![]() |
![]() |
#286 | |
Mar 2016
5×13 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Useless SSE instructions | __HRB__ | Programming | 41 | 2012-07-07 17:43 |
Questions about software licenses... | WraithX | GMP-ECM | 37 | 2011-10-28 01:04 |
Software/instructions/questions | gd_barnes | No Prime Left Behind | 48 | 2009-07-31 01:44 |
Instructions to manual LLR? | OmbooHankvald | PSearch | 3 | 2005-08-05 20:28 |
Instructions please? | jasong | Sierpinski/Riesel Base 5 | 10 | 2005-03-14 04:03 |