PrimeGrid
Please visit donation page to help the project cover running costs for this month

Advanced search

Message boards : Problems and Help : strange state

Author Message
Profile Nicholas Peter Bamber
Send message
Joined: 23 Dec 18
Posts: 93
ID: 1087751
Credit: 8,382,901
RAC: 16,687
321 LLR Silver: Earned 100,000 credits (244,828)Cullen LLR Gold: Earned 500,000 credits (755,095)ESP LLR Silver: Earned 100,000 credits (149,398)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (563,871)PPS LLR Gold: Earned 500,000 credits (810,559)PSP LLR Bronze: Earned 10,000 credits (38,286)SR5 LLR Silver: Earned 100,000 credits (109,909)SGS LLR Silver: Earned 100,000 credits (443,001)TRP LLR Silver: Earned 100,000 credits (153,588)Woodall LLR Gold: Earned 500,000 credits (562,201)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,014,239)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (104,315)PPS Sieve Amethyst: Earned 1,000,000 credits (1,001,187)AP 26/27 Amethyst: Earned 1,000,000 credits (1,043,094)WW Gold: Earned 500,000 credits (508,000)GFN Gold: Earned 500,000 credits (662,885)PSA Silver: Earned 100,000 credits (217,812)
Message 124037 - Posted: 29 Dec 2018 | 11:22:15 UTC

What does this mean?

scheduler state: preempted
active_task_state: UNINITIALIZED
app version num: 201
resources: 1 CPU
estimated CPU time remaining: 24941.722197
CPU time at last checkpoint: 132077.400000
current CPU time: 132141.900000
fraction done: 0.841376


It got to 84% and then stopped?

dukebg
Volunteer tester
Avatar
Send message
Joined: 21 Nov 17
Posts: 240
ID: 950482
Credit: 23,670,125
RAC: 0
Found 1 prime in the 2018 Tour de Primes321 LLR Gold: Earned 500,000 credits (506,942)Cullen LLR Gold: Earned 500,000 credits (500,523)ESP LLR Gold: Earned 500,000 credits (655,642)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (539,100)PPS LLR Gold: Earned 500,000 credits (688,232)PSP LLR Gold: Earned 500,000 credits (561,629)SoB LLR Ruby: Earned 2,000,000 credits (3,659,676)SR5 LLR Gold: Earned 500,000 credits (505,810)SGS LLR Gold: Earned 500,000 credits (506,024)TRP LLR Gold: Earned 500,000 credits (963,625)Woodall LLR Gold: Earned 500,000 credits (506,044)321 Sieve (suspended) Gold: Earned 500,000 credits (511,694)Generalized Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (549,916)PPS Sieve Gold: Earned 500,000 credits (701,168)AP 26/27 Gold: Earned 500,000 credits (525,590)WW Gold: Earned 500,000 credits (500,000)GFN Jade: Earned 10,000,000 credits (10,762,872)PSA Gold: Earned 500,000 credits (525,639)
Message 124042 - Posted: 29 Dec 2018 | 12:11:05 UTC - in response to Message 124037.
Last modified: 29 Dec 2018 | 12:13:30 UTC

What does this mean?

scheduler state: preempted
active_task_state: UNINITIALIZED
app version num: 201
resources: 1 CPU
estimated CPU time remaining: 24941.722197
CPU time at last checkpoint: 132077.400000
current CPU time: 132141.900000
fraction done: 0.841376


It got to 84% and then stopped?


After some digging, app version num: 201 means cpu_AP27, i.e. CPU version of the AP27 search. Not that it matters for this question, but it was interesting to know what project and application this was about.

active_task_state: PROCESS_UNINITIALIZED means that the process (application executing the task) is not currently running. Note that this is not an error state, like if the process has exited for one of the reasons (PROCESS_EXITED, PROCESS_WAS_SIGNALED, PROCESS_EXIT_UNKNOWN, PROCESS_ABORTED or PROCESS_COULDNT_START).

First of all, this happens before the application is ever run. I.e. boinc acquired the task, but its turn has never started yet.

Then, if you suspend the CPU task, it's state will be SUSPENDED, while it's still in memory (controlled by the boinc setting "leave non-GPU tasks in memory while suspended" in "Disk and memory" settings). However, if it leaves memory — for example, the boinc client was restarted after the task was suspended — it will be UNINITIALIZED on the next run of the boinc client. I just checked it myself to be sure. Plus checked the boinc source code.

So the last interesting bit is the scheduler state. The options are UNINITIALIZED, PREEMPTED and SCHEDULED. You wrote that it's PREEMPTED. That means BOINC decided that this task should wait on the sidelines (to preempt — to replace with something considered to be of greater value or priority). Maybe because scheduler decided that some other task should run for some reason (e.g. getting close to the deadline). Maybe you have "CPU Time" setting less than 100 and BOINC ran its quota. Maybe some other reason i'm not thinking about right now.

You should look at the BOINC Manager to know what exact reason is for the task to be suspended right now.

Profile Nicholas Peter Bamber
Send message
Joined: 23 Dec 18
Posts: 93
ID: 1087751
Credit: 8,382,901
RAC: 16,687
321 LLR Silver: Earned 100,000 credits (244,828)Cullen LLR Gold: Earned 500,000 credits (755,095)ESP LLR Silver: Earned 100,000 credits (149,398)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (563,871)PPS LLR Gold: Earned 500,000 credits (810,559)PSP LLR Bronze: Earned 10,000 credits (38,286)SR5 LLR Silver: Earned 100,000 credits (109,909)SGS LLR Silver: Earned 100,000 credits (443,001)TRP LLR Silver: Earned 100,000 credits (153,588)Woodall LLR Gold: Earned 500,000 credits (562,201)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,014,239)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (104,315)PPS Sieve Amethyst: Earned 1,000,000 credits (1,001,187)AP 26/27 Amethyst: Earned 1,000,000 credits (1,043,094)WW Gold: Earned 500,000 credits (508,000)GFN Gold: Earned 500,000 credits (662,885)PSA Silver: Earned 100,000 credits (217,812)
Message 124043 - Posted: 29 Dec 2018 | 12:14:00 UTC - in response to Message 124042.

Yeah it suspended an Apt27 in favour of a GCW sieve. I don't think it was in any danger of missing any deadlines so it still seems bizarre.

dukebg
Volunteer tester
Avatar
Send message
Joined: 21 Nov 17
Posts: 240
ID: 950482
Credit: 23,670,125
RAC: 0
Found 1 prime in the 2018 Tour de Primes321 LLR Gold: Earned 500,000 credits (506,942)Cullen LLR Gold: Earned 500,000 credits (500,523)ESP LLR Gold: Earned 500,000 credits (655,642)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (539,100)PPS LLR Gold: Earned 500,000 credits (688,232)PSP LLR Gold: Earned 500,000 credits (561,629)SoB LLR Ruby: Earned 2,000,000 credits (3,659,676)SR5 LLR Gold: Earned 500,000 credits (505,810)SGS LLR Gold: Earned 500,000 credits (506,024)TRP LLR Gold: Earned 500,000 credits (963,625)Woodall LLR Gold: Earned 500,000 credits (506,044)321 Sieve (suspended) Gold: Earned 500,000 credits (511,694)Generalized Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (549,916)PPS Sieve Gold: Earned 500,000 credits (701,168)AP 26/27 Gold: Earned 500,000 credits (525,590)WW Gold: Earned 500,000 credits (500,000)GFN Jade: Earned 10,000,000 credits (10,762,872)PSA Gold: Earned 500,000 credits (525,639)
Message 124044 - Posted: 29 Dec 2018 | 12:20:09 UTC - in response to Message 124043.

Yeah it suspended an Apt27 in favour of a GCW sieve. I don't think it was in any danger of missing any deadlines so it still seems bizarre.

You can enable the event log options and look at the event log. For the most part, BOINC's decisions are well logged there. I cannot say of the top of my head which of the flags would be most relevant, try cpu_sched, cpu_sched_status, sched_ops, cpu_sched_debug, sched_op_debug.

So, suspend the sieve, it should restart the AP27, then resume the sieve, see if it switches to it and then check what was in the log.

There's also a BOINC setting "switch between tasks every X minutes". Maybe it came into play. I have it set to insanely high number myself because I don't want switching.

Message boards : Problems and Help : strange state

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2021 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 3.63, 3.31, 3.75
Generated 13 May 2021 | 5:30:29 UTC