Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 13
Posts: 13   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2696 times and has 12 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Warning for maintenance outtage in the client, not on the website

The database and BOINC code use signed ints for result.id and workunit.id*. As of this morning, max(result.id) = 1,561,950,233 and max(workunit.id) = 1,554,294,365. The max value for a signed int is 2,147,483,647. At our current rate of 2,000,000 results per day, we would exhaust the id range in 292 days. Normally we wouldn't have taken action yet.

However, based on the experiences of Folding@Home and Rosetta@Home we wanted to be prepared for up to an 8x increase in participation and we wanted to make sure that anything that could disrupt the experience was taken care of before the launch of the OpenPandemics - COVID19 project

As a result, today's maintenance work consists of increase the database RAM and storage by 3x. It also consists of shifting the ids for result and workunit back down to 1.

Today's maintenance was the last bit of work we had to do in order to prepare our infrastructure to handle the increased capacity. Now we wait and see what actually happens.


* I think the current BOINC code has changed to using unsigned ints which gives more headroom in terms of these ids. We would like to move to that code but other priorities continue to move in front of that effort.

Seems like a good reason to move to 64-bit.....
[Apr 23, 2020 9:06:07 PM]   Link   Report threatening or abusive post: please login first  Go to top 
knreed
Former World Community Grid Tech
Joined: Nov 8, 2004
Post Count: 4504
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Warning for maintenance outtage in the client, not on the website

Seems like a good reason to move to 64-bit.....


Depends on what you mean by that. The constraints are INT in the database https://mariadb.com/kb/en/int/ and int https://www.geeksforgeeks.org/c-data-types/ in the BOINC C++ code.

To avoid this forever (or practically forever) we need to move to BIGINT in the database and "long long int" in the C++ code.
[Apr 24, 2020 12:59:12 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Warning for maintenance outtage in the client, not on the website

workunit.ids were reduced by 1494147210
result.ids were reduced by 691481976

Wrote a script to match live result names for valid tasks and then inject the new ResultId/WUId in the permanent archive rather than renumbering it all. Just don't get the why lowering the number to 86nnnnnn would gain you headroom when you say to restart at 1
As a result, today's maintenance work consists of increase the database RAM and storage by 3x. It also consists of shifting the ids for result and workunit back down to 1.

, but suppose these are specifically reserved for the OPN1 tasks. If so, it sure makes it easy to know how many were distributed.

Anyway, thanks, problem solved for me.
[Apr 24, 2020 8:45:53 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 13   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Post new Thread