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

2021-10-26, 14:05   #144
EdH

"Ed Hall"
Dec 2009

101528 Posts

Quote:
 Originally Posted by kruoli I have been asked to wait with changing the sieve strategy until somebody (who should know that he is meant) was able to took pull his machines. If you are ready, please PM me so that we can restart the server with the new settings!
Most of my farm is limited to 8G RAM, so I asked to be let know before the strategy swap. I've closed all my clients and will restart and check after the swap.

Sorry I wasn't up earlier today. Thanks for waiting.

2021-10-26, 14:14   #145
EdH

"Ed Hall"
Dec 2009

2×11×191 Posts

Quote:
 Originally Posted by kruoli These two additions will be a nice scripting exercise for me, so I hope you do not mind if I leapfrog you and try to implement them this evening. . . .
I had expected to see some new things on the status page, but that's fine. I may still play today if I have a little time.

I like the Attention message of possible server crash. That should be vary helpful.

2021-10-26, 14:22   #146
kruoli

"Oliver"
Sep 2017
Porta Westfalica, DE

2×32×47 Posts

Quote:
 Originally Posted by EdH I had expected to see some new things on the status page, but that's fine. I may still play today if I have a little time.
Yes, I'm sorry, I was not able to finish it yesterday. I was also working with Seth's script; there was something weird I PM'ed him about. Maybe we can get his script working faster. Additionally, we could have both status pages in parallel.

Quote:
 Originally Posted by EdH I like the Attention message of possible server crash. That should be vary helpful.
When I restarted the server a moment ago, it displayed on the next update to be down, so this check was working.

2021-10-26, 14:46   #147
EdH

"Ed Hall"
Dec 2009

2×11×191 Posts

Quote:
 Originally Posted by kruoli Yes, I'm sorry, I was not able to finish it yesterday. I was also working with Seth's script; there was something weird I PM'ed him about. Maybe we can get his script working faster. Additionally, we could have both status pages in parallel. . .
No problem! You're heading up the project. (Thank you.) I'll still play, whether it's of use or not. Good to hear you're working with Seth on implementing his script.

2021-10-26, 15:40   #148
VBCurtis

"Curtis"
Feb 2005
Riverside, CA

2·32·7·41 Posts

Quote:
 Originally Posted by EdH Most of my farm is limited to 8G RAM, so I asked to be let know before the strategy swap. I've closed all my clients and will restart and check after the swap. Sorry I wasn't up earlier today. Thanks for waiting.
Ed-
Any machine that struggles with memory use on strategy 2 can use the -override flag with adjust_strategy 1 (EDIT: 0, not 1- thanks Charybdis!). Your yield will be something like 5% lower, but so what?

Last fiddled with by VBCurtis on 2021-10-26 at 15:49

2021-10-26, 15:46   #149
charybdis

Apr 2020

599 Posts

Quote:
 Originally Posted by VBCurtis Any machine that struggles with memory use on strategy 2 can use the -override flag with adjust_strategy 1.
adjust-strategy 0, surely? Or have you tested this?

 2021-10-26, 15:49 #150 VBCurtis     "Curtis" Feb 2005 Riverside, CA 2·32·7·41 Posts whoops! Yes, zero.
 2021-10-26, 16:38 #151 EdH     "Ed Hall" Dec 2009 Adirondack Mtns 2·11·191 Posts Actually, I'm still seeing 5.5G with strategy 2 on all my larger mem machines, so I'm going to start adding in the 8G machines and see how they respond.
 2021-10-26, 16:58 #152 kruoli     "Oliver" Sep 2017 Porta Westfalica, DE 2×32×47 Posts Interesting, I also see 5.5 GB with the new strategy. I do not know why I had more than 7 GB on the lower Q's.
 2021-10-26, 17:55 #153 henryzz Just call me Henry     "David" Sep 2007 Liverpool (GMT/BST) 2×32×331 Posts Adjust strategy 2 has a tendency towards selecting regions that need more memory at lower q.
 2021-10-26, 19:20 #154 EdH     "Ed Hall" Dec 2009 Adirondack Mtns 2×11×191 Posts Here's an addition for the script, if it is of interest. It should display the maximum and minimum returns for a single WU. This part should be in the case block: Code:  *"Lattice Sieving: Found"*) total=${line} range=${line:50} rindh=$(echo expr index "$range" -) rindp=$(echo expr index "${range:${rindh}}" .) range=${range:${rindh}-${rindp}:${rindp}+${rindp}-1} found=${line:50:25} d=$(echo expr index "$found" d) found=${found:${d}+1} r=$(echo expr index "$found" r) found=${found:0:${r}-2} if [$found -gt $maxfound ] then maxfound=$found rangemax=$range fi if [$found -lt $minfound ] then minfound=$found rangemin=$range fi ;; and, this part should be after the "echo "$eta

" >>TeamSieve.html" line with everything modified for your version: Code: echo "

Maximum relations returned from single WU: ${maxfound} ($rangemax)

" >>TeamSieve.html echo "

Minimum relations returned from single WU: ${minfound} ($rangemin)

" >>TeamSieve.html

 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 13:47.

Sat Jan 29 13:47:08 UTC 2022 up 190 days, 8:16, 2 users, load averages: 1.86, 1.79, 1.75