ECM aborting WUs already in progress
-
Beyond
- Prozessor-Polier

- Beiträge: 111
- Registriert: 02.02.2008 01:48
- Wohnort: Rum River watershed, MN, USA
ECM aborting WUs already in progress
Should the server should be canceling WUs already in progress:
http://www.rechenkraft.net/yoyo/workuni ... id=2350209
http://www.rechenkraft.net/yoyo/workuni ... id=2349945
http://www.rechenkraft.net/yoyo/workuni ... id=2320859
http://www.rechenkraft.net/yoyo/workuni ... id=2350208
http://www.rechenkraft.net/yoyo/workuni ... id=2350125
http://www.rechenkraft.net/yoyo/workuni ... id=2350053
http://www.rechenkraft.net/yoyo/workuni ... id=2350027
http://www.rechenkraft.net/yoyo/workuni ... id=2350150
http://www.rechenkraft.net/yoyo/workuni ... id=2350209
http://www.rechenkraft.net/yoyo/workuni ... id=2349945
http://www.rechenkraft.net/yoyo/workuni ... id=2320859
http://www.rechenkraft.net/yoyo/workuni ... id=2350208
http://www.rechenkraft.net/yoyo/workuni ... id=2350125
http://www.rechenkraft.net/yoyo/workuni ... id=2350053
http://www.rechenkraft.net/yoyo/workuni ... id=2350027
http://www.rechenkraft.net/yoyo/workuni ... id=2350150
-
yoyo
- Vereinsvorstand

- Beiträge: 8170
- Registriert: 17.12.2002 14:09
- Wohnort: Berlin
Re: ECM aborting WUs already in progress
Hello,
here I'm in a conflict for which I do not have a solution yet. We are running batches of ecm trial factorization. Sometimes we have luck and find a factor. At this stage it makes no more sense to continue the remaining work units of this batch. So first I cancel all work units which are still on the server and not yet sent. But what about the work units which are on the client side.
Now I cancel them in the same way which is performed if I use the Boinc server admin interface with the following sql statements:
But with this it seams that all work units are canceled, also already running ones and users are claiming that they do not get credits for the spend cpu time for these aborted work units.
So I asked David and the Boinc mailinglists how to cancel only the not-yet-started work units. David proposed to make it with the following statement:
I tested it, but now no work was aborted all work units remained on the client.
So with this we waste cpu time for not needed work. But useres get credits.
So at the end I do not know which option I should use.
I do not any more person who knows how Boinc reacts and in which circumstances only running work units are canceled.
May be I should switch to the second option for some weeks.
yoyo
here I'm in a conflict for which I do not have a solution yet. We are running batches of ecm trial factorization. Sometimes we have luck and find a factor. At this stage it makes no more sense to continue the remaining work units of this batch. So first I cancel all work units which are still on the server and not yet sent. But what about the work units which are on the client side.
Now I cancel them in the same way which is performed if I use the Boinc server admin interface with the following sql statements:
Code: Alles auswählen
update workunit set error_mask=error_mask|16 where name like 'ecm_%TestFactor4%';
update workunit set transition_time=unix_timestamp() where name like 'ecm_%TestFactor4%';
So I asked David and the Boinc mailinglists how to cancel only the not-yet-started work units. David proposed to make it with the following statement:
Code: Alles auswählen
update workunit set transition_time=unix_timestamp(), target_nresults=0 where name like 'ecm_%TestFactor4%';
So with this we waste cpu time for not needed work. But useres get credits.
So at the end I do not know which option I should use.
I do not any more person who knows how Boinc reacts and in which circumstances only running work units are canceled.
May be I should switch to the second option for some weeks.
yoyo
-
Beyond
- Prozessor-Polier

- Beiträge: 111
- Registriert: 02.02.2008 01:48
- Wohnort: Rum River watershed, MN, USA
Re: ECM aborting WUs already in progress
Hi yoyo,
Not sure how it's done or if it requires a certain server version but some other projects abort WUs that are waiting to run but never abort WUs that are running. Two that I can think of offhand are GPUGRID and PrimeGrid. Perhaps in those cases it's that the WU is already returned by another client and not deleted as a group.
Not sure how it's done or if it requires a certain server version but some other projects abort WUs that are waiting to run but never abort WUs that are running. Two that I can think of offhand are GPUGRID and PrimeGrid. Perhaps in those cases it's that the WU is already returned by another client and not deleted as a group.
-
Grubix
- Prozessor-Polier

- Beiträge: 103
- Registriert: 27.08.2008 09:03
Re: ECM aborting WUs already in progress
I hope it's okay if I write German...
Ich bin auch am überlegen ob es an der Serverversion liegt. Beim Projekt LHC war es lange Zeit ganz normal das WUs vom Server abgebrochen wurden. Jede WU wurde 5-mal ausgegeben und sobald 3 Ergebnisse vorlagen, brach der Server die beiden anderen WUs ab. Allerdings nur, wenn man noch nicht angefangen hatte die WU zu rechnen.
Kann sein das bei den ECM-WUs der Fall etwas anders ist. Aber im Prinzip ist es möglich WUs abzubrechen ohne das angefangen verworfen werden.
Wirklich helfen kann ich nicht, ich wollte nur das Beispiel mit LHC bringen.
Einen schönen Tag, Grubix.
Ich bin auch am überlegen ob es an der Serverversion liegt. Beim Projekt LHC war es lange Zeit ganz normal das WUs vom Server abgebrochen wurden. Jede WU wurde 5-mal ausgegeben und sobald 3 Ergebnisse vorlagen, brach der Server die beiden anderen WUs ab. Allerdings nur, wenn man noch nicht angefangen hatte die WU zu rechnen.
Kann sein das bei den ECM-WUs der Fall etwas anders ist. Aber im Prinzip ist es möglich WUs abzubrechen ohne das angefangen verworfen werden.
Wirklich helfen kann ich nicht, ich wollte nur das Beispiel mit LHC bringen.
Einen schönen Tag, Grubix.
-
yoyo
- Vereinsvorstand

- Beiträge: 8170
- Registriert: 17.12.2002 14:09
- Wohnort: Berlin
Re: ECM aborting WUs already in progress
It's bit different here. In the projects/cases which you refer to there are many results for one work unit and if the quorum is reached, means at least one valid result exists, the remaining results for this wu aborted.
In ECM case there are 0 results for all the remaining work units and they should be aborted. I tried to get the same behaviour as in the case above and set the target_nresults=0, means the work unit should abort as in the other projects if 0 results exists. But this leads to no aborts and all work units keeps running.
yoyo
In ECM case there are 0 results for all the remaining work units and they should be aborted. I tried to get the same behaviour as in the case above and set the target_nresults=0, means the work unit should abort as in the other projects if 0 results exists. But this leads to no aborts and all work units keeps running.
yoyo
-
yoyo
- Vereinsvorstand

- Beiträge: 8170
- Registriert: 17.12.2002 14:09
- Wohnort: Berlin
Re: ECM aborting WUs already in progress
Hello,
now ecm wus which are in progress are no more aborted by project (at least I hope so). I found a way how to cancel wus which are not yet started.
yoyo
now ecm wus which are in progress are no more aborted by project (at least I hope so). I found a way how to cancel wus which are not yet started.
yoyo
-
Grubix
- Prozessor-Polier

- Beiträge: 103
- Registriert: 27.08.2008 09:03
Re: ECM aborting WUs already in progress
Ich glaube du hast recht. Ich weiß zwar nicht ganz genau welche WUs zusammengehören, aber ich konnte folgendes beobachten:yoyo hat geschrieben:... now ecm wus which are in progress are no more aborted by project (at least I hope so)...
Die WU ecm_op_1253719644_P36.51427_5.C143_7820_0 wurde bei mir um 3:14:19 UTC als "Redundant result" abgebrochen. Mein Rechner hatte auch noch nicht angefangen die WU zu berechnen.
Die WU ecm_op_1253719644_P36.51427_5.C143_7850_0 wurde gerade berechnet und konnte ein paar Minuten später um 3:17:15 UTC gemeldet werden. Die laufende WU wurde durch das Projekt also nicht abgebrochen.
Ich denke der neuste Faktor 514275 ? gehört zu der Gruppe, weil im WU-Name "51427_5" steht.
Sollte nur 'ne Rückmeldung für dich sein, Grubix.
Zuletzt geändert von Grubix am 30.09.2009 12:20, insgesamt 1-mal geändert.
-
yoyo
- Vereinsvorstand

- Beiträge: 8170
- Registriert: 17.12.2002 14:09
- Wohnort: Berlin
Re: ECM aborting WUs already in progress
Ja, sieht so aus, danke für die Rückmeldung.
yoyo
yoyo