mersenneforum.org 3,748+ c204 Smaller-but-Needed
 Register FAQ Search Today's Posts Mark Forums Read

2021-10-07, 22:12   #100
EdH

"Ed Hall"
Dec 2009

3×11×127 Posts

Quote:
 Originally Posted by kruoli . . . Unfortunately, I do not have a static IP address, but I have a domain with dynamically updated DNS records of my IP. Inside my home network, I usually use host names instead of IP addresses, so I assume CADO will be fine using a domain, but I'm not sure how it would handle a change of IP while a work unit is processed. The IP gets renewed daily, the DNS record is updated immediately afterward. I already have some services accessible through my router via port forwarding, so I assume this should not be a problem for us.
I'll get corrected if I'm wrong, here, but I think you'll need clients to provide their external IPs so you can whitelist them for your CADO-NFS server.

 2021-10-07, 22:20 #101 kruoli     "Oliver" Sep 2017 Porta Westfalica, DE 839 Posts IIRC, there is also some mode where it accepts all IPs, but I guess that's insecure and thus not recommended. But whitelisting client IPs should not be a problem even if my own IP is not static, correct? Here, we should have a look at how other team sieves handled that. I should be able to adopt that specific aspect.
2021-10-07, 22:26   #102
EdH

"Ed Hall"
Dec 2009

419110 Posts

Quote:
 Originally Posted by kruoli IIRC, there is also some mode where it accepts all IPs, but I guess that's insecure and thus not recommended. But whitelisting client IPs should not be a problem even if my own IP is not static, correct? Here, we should have a look at how other team sieves handled that. I should be able to adopt that specific aspect.
VBCurtis is the only one I've run clients with. I believe I needed an IP and port with him and to supply my external IP. Accepting all IPs probably isn't recommended, but it is probably available. You will also have to provide an SSL certificate or run with no SSL.

I guess VBCurtis will probably chime in with any corrections or additions.

 2021-10-08, 00:40 #103 Plutie   "Evan" Dec 2020 Montreal 23·32 Posts Oh yeah, forgot that you had wanted this one. I can still pledge a bunch of CPU-time nonetheless, so keep me posted!
 2021-10-09, 20:04 #105 VBCurtis     "Curtis" Feb 2005 Riverside, CA 2×2,579 Posts Here are the params I have for this job: Code: tasks.lim0 = 500000000 tasks.lim1 = 300000000 tasks.lpb0 = 33 tasks.lpb1 = 34 tasks.sieve.mfb0 = 66 tasks.sieve.mfb1 = 98 tasks.sieve.ncurves0 = 25 tasks.sieve.ncurves1 = 20 tasks.A = 30 tasks.sieve.las.threads = 4 tasks.sieve.adjust_strategy = 2 tasks.qmin = 80000000 tasks.sieve.rels_wanted = 1300000000 tasks.sieve.qrange = 2000 Client memory use is around 5.5GB. I tested smaller lim's, but memory use barely changes and sec/rel barely changes, but yield is quite a bit better with lim's this large. I forecast Q from 80-600M to reach 1300M raw relations, which should be enough to get a matrix under 60M size. The q-range of 2000 completed a 4-threaded workunit on my Ivy Bridge 2.6Ghz in around 30 minutes; imo this is the smallest workunit that makes sense. EDIT: I added "tasks.sieve.adjust_strategy = 2" above. I forgot this useful setting on my test-sieving too, but I trust that it would not change the choice of fastest parameters. Last fiddled with by VBCurtis on 2021-10-09 at 21:05
2021-10-19, 12:44   #107
charybdis

Apr 2020

58810 Posts

Thanks Oliver for getting everything set up!

Using commit 9e81c910 isn't essential, but I would highly recommend that everyone upgrades to it, because it speeds up sieving by several percent (possibly more on AVX-512 systems).

Quote:
 Originally Posted by kruoli Each client uses four threads
As usual, if you want to run a client with a different number of threads, you can use the --override flag: for example, if you want to run a 3-threaded client, add --override t 3 to your client invocation.

Last fiddled with by charybdis on 2021-10-19 at 12:45

 2021-10-19, 12:54 #108 kruoli     "Oliver" Sep 2017 Porta Westfalica, DE 839 Posts Thanks to you and VBCurtis for supporting my setup process and testing! There is still a lot to learn for me, e.g. what can be changed client-side etc.
 2021-10-21, 00:15 #109 charybdis     Apr 2020 22·3·72 Posts I've spotted an oddity: adjust_strategy=2 appears to be clearly worse until just above Q=120M. I haven't seen this happen before; perhaps it's a consequence of the high skew? In any case, I'd suggest changing this in the params file for now until we reach 120M and restarting the server. As long as the port stays the same, the clients should reconnect; I don't think anything else needs to be done (@VBCurtis?)
2021-10-21, 02:12   #110
EdH

"Ed Hall"
Dec 2009

3·11·127 Posts

Quote:
 Originally Posted by charybdis I've spotted an oddity: adjust_strategy=2 appears to be clearly worse until just above Q=120M. I haven't seen this happen before; perhaps it's a consequence of the high skew? In any case, I'd suggest changing this in the params file for now until we reach 120M and restarting the server. As long as the port stays the same, the clients should reconnect; I don't think anything else needs to be done (@VBCurtis?)
I would change the setting in the latest snapshot and restart using the restart command line in the log with the edited snapshot. All else should take care of itself. Restarting from scratch might work also, but I always use the suggested restart.

Last fiddled with by EdH on 2021-10-21 at 02:13

 Similar Threads Thread Thread Starter Forum Replies Last Post fivemack Factoring 3 2017-09-19 08:52 skan YAFU 6 2013-02-26 13:57 akruppa Factoring 114 2012-08-20 14:01 fortega Data 2 2005-06-16 22:48 marc Factoring 6 2004-10-09 14:17

All times are UTC. The time now is 20:00.

Sat Jan 22 20:00:56 UTC 2022 up 183 days, 14:29, 0 users, load averages: 1.86, 1.83, 1.75