Message boards :
Number crunching :
New computer database entry created on each connect
Message board moderation
Previous · 1 · 2 · 3
Author | Message |
---|---|
Send message Joined: 13 Jul 05 Posts: 456 Credit: 75,142 RAC: 0 |
Peter was so kind to give me the fix for this bug in this post, and it works. Yes it is good of Peter to spread the word around - but in fact it was posted on these boards in June by Steve Cressman -- EDIT not in this thread but in another with a very similar name, here. It must be time to start a new thread with the advice near the top so people notice it. R~~ |
Send message Joined: 14 Jul 05 Posts: 275 Credit: 49,291 RAC: 0 |
It must be time to start a new thread with the advice near the top [Sticky] would be nice too :) If only a moderator was around... |
Send message Joined: 4 Sep 05 Posts: 13 Credit: 536,862 RAC: 0 |
A server side script can merge the ghosts with very few legit farms of identical machines getting crunched into 1 host. The rule for merging is that the two hosts will be combined if 1) Their machine description is identical 2) The first date work is assigned & last date work is assigned or returned define a range that does not overlap. If the date ranges for two hosts overlap then it will be very rare for one machine to be both hosts. (I have had one machine connected as two seperate hosts each accepting work, so I know it's not impossible, just very rare :P ) Start with the first entry for each account and compare until all remaining hosts have been merged/rejected. Repeat with next remaining host ignoring those that come earlier in list. When done move to next account & repeat Timing is similar to an optimized bubble sort, but that will be a concern only for accounts with large numbers of legit hosts. It is an algorithm that can be implemented with a fairly small amount of script code and allowed to run as a background batch job until done. This allows that old laptop that got 115 credits 2 yrs ago to remain & legit hosts with 0 credits will be unaffected unless they appear to be identical to another host on the same acct. Of course the XML parser should be modified also to prevent a repeat, but even with the bug remaining, the script can be run once every few months to clean up the mess. |
Send message Joined: 14 Jul 05 Posts: 4 Credit: 165,761 RAC: 0 |
Is there a strong reason why, when merging hosts, they are merged to the highest number in the set instead of the lowest? I imagine that most of the time, particularly in this case when nobody ordered the higher numbers, retaining the lowest would be more user-friendly particularly if the earliest creation date were also retained. |
Send message Joined: 17 Jul 05 Posts: 102 Credit: 542,016 RAC: 0 |
Is there a strong reason why, when merging hosts, they are merged to the highest number ... . The highest number most likely has received the latest results, the lowest one should have delivered them all. Merging is not only good for failures in the server communication, it is good for merging a host that has been reattached after some time of inactivity into his previous self. The reattached (highest) number has the latest stuff, the previous installation nothing at all. An option would have been, to make the server tell the host about merging and new HostID on the next contact but that is not implemented. |
Send message Joined: 13 Jul 05 Posts: 133 Credit: 162,641 RAC: 0 |
Sorry to be using an old post but just to show that not everyone here is having problems......... Problem is still happening! (and there is another thread about it) I too have never had problems with duplicated hosts. My machine still contacts LHC regularly to check for work and I have gone through all the client versions of BOINC. |
©2024 CERN