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

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : Number crunching : Primegrid running even when it isn\'t?

Author Message
Profile [B^S]ST47Project donor
Send message
Joined: 12 Jul 05
Posts: 93
ID: 48
Credit: 181,401,682
RAC: 0
PPS LLR Bronze: Earned 10,000 credits (67,974)PSP LLR Amethyst: Earned 1,000,000 credits (1,321,435)SoB LLR Amethyst: Earned 1,000,000 credits (1,445,584)SR5 LLR Bronze: Earned 10,000 credits (68,094)SGS LLR Bronze: Earned 10,000 credits (10,798)TPS LLR (retired) Bronze: Earned 10,000 credits (16,578)TRP LLR Silver: Earned 100,000 credits (390,643)321 Sieve (suspended) Silver: Earned 100,000 credits (101,861)Cullen/Woodall Sieve Gold: Earned 500,000 credits (954,246)PPS Sieve Emerald: Earned 50,000,000 credits (50,596,072)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (19,345)TRP Sieve (suspended) Silver: Earned 100,000 credits (472,299)AP 26/27 Turquoise: Earned 5,000,000 credits (5,333,016)PSA Double Bronze: Earned 100,000,000 credits (120,587,259)
Message 8356 - Posted: 4 Mar 2008 | 11:52:28 UTC

I have the leave in memory when suspended option on. PrimeGrid is the only project to do this. Even when it says waiting to run, it uses CPU time and the time in the boinc manager increases. I only have two CPU cores. What's up?
Screenshot

____________

Zurtex
Send message
Joined: 13 May 07
Posts: 16
ID: 8320
Credit: 29,471,625
RAC: 0
321 LLR Silver: Earned 100,000 credits (296,097)Cullen LLR Bronze: Earned 10,000 credits (32,613)PPS LLR Gold: Earned 500,000 credits (972,674)SGS LLR Gold: Earned 500,000 credits (541,361)TRP LLR Gold: Earned 500,000 credits (748,542)Woodall LLR Bronze: Earned 10,000 credits (76,888)PPS Sieve Sapphire: Earned 20,000,000 credits (26,782,829)
Message 8362 - Posted: 5 Mar 2008 | 15:27:23 UTC - in response to Message 8356.

I have the leave in memory when suspended option on. PrimeGrid is the only project to do this. Even when it says waiting to run, it uses CPU time and the time in the boinc manager increases. I only have two CPU cores. What's up?
Screenshot


I was going to bring this up, I get a lot of funny behaviour like this from PrimeGrid.

Rytis
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 22 Jun 05
Posts: 2653
ID: 1
Credit: 110,106,285
RAC: 48,083
321 LLR Silver: Earned 100,000 credits (104,475)Cullen LLR Silver: Earned 100,000 credits (291,372)ESP LLR Bronze: Earned 10,000 credits (18,156)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (15,259)PPS LLR Amethyst: Earned 1,000,000 credits (1,320,329)PSP LLR Silver: Earned 100,000 credits (116,517)SoB LLR Silver: Earned 100,000 credits (282,655)SR5 LLR Bronze: Earned 10,000 credits (18,916)SGS LLR Amethyst: Earned 1,000,000 credits (1,848,217)TPS LLR (retired) Silver: Earned 100,000 credits (111,607)TRP LLR Emerald: Earned 50,000,000 credits (79,303,682)Woodall LLR Silver: Earned 100,000 credits (101,463)321 Sieve (suspended) Silver: Earned 100,000 credits (201,501)Cullen/Woodall Sieve Silver: Earned 100,000 credits (337,061)Generalized Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (14,200)PPS Sieve Jade: Earned 10,000,000 credits (10,004,155)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (200,232)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,453,872)AP 26/27 Ruby: Earned 2,000,000 credits (4,766,724)GFN Ruby: Earned 2,000,000 credits (2,000,432)WW (retired) Turquoise: Earned 5,000,000 credits (6,456,000)PSA Bronze: Earned 10,000 credits (97,541)
Message 8363 - Posted: 5 Mar 2008 | 16:06:29 UTC
Last modified: 6 Mar 2008 | 14:51:29 UTC

It is because LLR application behaves badly when running under BOINC. As you may know, it is actually a standalone application, which is run under BOINC using BOINC wrapper application, which handles suspend/resume/abort messages from BOINC.

Now comes the tech stuff :) LLR application is actually multithreaded. When the application is launched, we attempt to find out the thread ID of the computation thread, and use it later for message handling. However, this doesn't always work (for unknown reasons). In such case wrapper cannot suspend correct application, and "runaway" situation occurs.

[edit] While sieve applications also use wrapper, they don't have the issue.
____________

AgelessProject donor
Avatar
Send message
Joined: 12 Oct 05
Posts: 395
ID: 1128
Credit: 674,338
RAC: 0
PPS LLR Silver: Earned 100,000 credits (102,724)SGS LLR Bronze: Earned 10,000 credits (28,579)TPS LLR (retired) Bronze: Earned 10,000 credits (18,621)Cullen/Woodall Sieve Silver: Earned 100,000 credits (158,897)PPS Sieve Silver: Earned 100,000 credits (127,638)GFN Silver: Earned 100,000 credits (211,399)
Message 8370 - Posted: 6 Mar 2008 | 21:49:56 UTC - in response to Message 8363.

In such case wrapper cannot suspend correct application, and "runaway" situation occurs.

The wrapper has been modified. See [trac]changeset:14862[/trac] and [trac]changeset:14863[/trac].
____________
Jord.

Would Ancient Alien Theorists surmise that primes were introduced by aliens for communication purposes?

Rytis
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 22 Jun 05
Posts: 2653
ID: 1
Credit: 110,106,285
RAC: 48,083
321 LLR Silver: Earned 100,000 credits (104,475)Cullen LLR Silver: Earned 100,000 credits (291,372)ESP LLR Bronze: Earned 10,000 credits (18,156)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (15,259)PPS LLR Amethyst: Earned 1,000,000 credits (1,320,329)PSP LLR Silver: Earned 100,000 credits (116,517)SoB LLR Silver: Earned 100,000 credits (282,655)SR5 LLR Bronze: Earned 10,000 credits (18,916)SGS LLR Amethyst: Earned 1,000,000 credits (1,848,217)TPS LLR (retired) Silver: Earned 100,000 credits (111,607)TRP LLR Emerald: Earned 50,000,000 credits (79,303,682)Woodall LLR Silver: Earned 100,000 credits (101,463)321 Sieve (suspended) Silver: Earned 100,000 credits (201,501)Cullen/Woodall Sieve Silver: Earned 100,000 credits (337,061)Generalized Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (14,200)PPS Sieve Jade: Earned 10,000,000 credits (10,004,155)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (200,232)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,453,872)AP 26/27 Ruby: Earned 2,000,000 credits (4,766,724)GFN Ruby: Earned 2,000,000 credits (2,000,432)WW (retired) Turquoise: Earned 5,000,000 credits (6,456,000)PSA Bronze: Earned 10,000 credits (97,541)
Message 8371 - Posted: 6 Mar 2008 | 21:56:27 UTC - in response to Message 8370.

In such case wrapper cannot suspend correct application, and "runaway" situation occurs.

The wrapper has been modified. See [trac]changeset:14862[/trac] and [trac]changeset:14863[/trac].

Since PG is using a completely different wrapper, the change will have to be ported over. Should not take long though.
____________

Profile John M. Johnson "Novex"Project donor
Volunteer tester
Avatar
Send message
Joined: 16 Aug 07
Posts: 625
ID: 10876
Credit: 1,066,951
RAC: 0
321 LLR Bronze: Earned 10,000 credits (50,802)Cullen LLR Silver: Earned 100,000 credits (111,106)PPS LLR Silver: Earned 100,000 credits (101,350)PSP LLR Bronze: Earned 10,000 credits (15,210)SGS LLR Bronze: Earned 10,000 credits (27,055)TPS LLR (retired) Bronze: Earned 10,000 credits (67,826)Woodall LLR Bronze: Earned 10,000 credits (10,609)321 Sieve (suspended) Bronze: Earned 10,000 credits (70,873)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (20,185)PPS Sieve Bronze: Earned 10,000 credits (20,034)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (24,551)TRP Sieve (suspended) Bronze: Earned 10,000 credits (40,040)AP 26/27 Silver: Earned 100,000 credits (159,148)PSA Silver: Earned 100,000 credits (344,961)
Message 8590 - Posted: 30 Mar 2008 | 3:25:07 UTC

Just curious if the memory and complete issue has been fixed?

Charles Crockett
Send message
Joined: 4 Aug 08
Posts: 1
ID: 26690
Credit: 731
RAC: 0

Message 10076 - Posted: 13 Aug 2008 | 1:14:18 UTC - in response to Message 8590.

Just curious if the memory and complete issue has been fixed?


This thread is from March, here it is August, has this been fixed yet? I think I noticed the same problem.

Running BOINC 5.10.45, and just started running PrimeGrid (and a bunch of other apps, had been running some of the older apps for years). Here are my startup messages (ie. running only a single processor, etc.)

8/10/2008 10:56:19 PM||Starting BOINC client version 5.10.45 for windows_intelx86
8/10/2008 10:56:19 PM||log flags: task, file_xfer, sched_ops
8/10/2008 10:56:19 PM||Libraries: libcurl/7.18.0 OpenSSL/0.9.8e zlib/1.2.3
8/10/2008 10:56:19 PM||Data directory: X:\Program Files\Boinc
8/10/2008 10:56:20 PM||Processor: 1 GenuineIntel Intel(R) Pentium(R) M processor 1.86GHz [x86 Family 6 Model 13 Stepping 8]
8/10/2008 10:56:20 PM||Processor features: fpu tsc pae nx sse sse2 mmx
8/10/2008 10:56:20 PM||OS: Microsoft Windows XP: Professional Edition, Service Pack 2, (05.01.2600.00)


What I do is during the day, I run shorter (timewise) applications & wu's (that complete in an hour or two), and I save the wu's that need 100's of hours to run nights/weekends when I'm away from work.

On this WU:

8/11/2008 6:36:56 PM|PrimeGrid|Restarting task llrCUL_17412355_1 using llrCUL version 508

I placed it into "Task Suspended by User" this morning, and mid-afternoon I happened to notice that the CPU Time & Time to Completion numbers were changing. I opened the Win XP Task Manager, and noticed that PG was taking about 50% of my CPU, and sharing the other 50% with either the SHA-1 Collision Search or Spinhenge Metropolis applications. When both of those completed, and uFluids became the active application, I noticed for over 30 minutes that PG was taking 99% of the processor, and uFluid wasn't getting any. Then at some point, uFluids started getting everything.

Example, while project was in "Task Suspended by User"

Wall Clock CPU time Completion Time to Complete
2:28 PM 43:22:36 49.080% 87:17:47 Task Suspended by User
3:45 PM 44:07:37 49.930% 85:06:48 Task Suspended by User
5:00 PM 44:23:17 50.180% 84:30:12 Task Suspended by User
6:30 PM 44:23:17 50.180% 84:30:12 Task Suspended by User

Profile WarpedProject donor
Avatar
Send message
Joined: 25 Aug 08
Posts: 288
ID: 27792
Credit: 28,151,335
RAC: 0
321 LLR Silver: Earned 100,000 credits (105,595)Cullen LLR Silver: Earned 100,000 credits (100,566)PPS LLR Silver: Earned 100,000 credits (467,197)PSP LLR Silver: Earned 100,000 credits (117,635)SoB LLR Bronze: Earned 10,000 credits (70,753)SR5 LLR Bronze: Earned 10,000 credits (44,970)SGS LLR Silver: Earned 100,000 credits (346,635)TRP LLR Silver: Earned 100,000 credits (298,952)Woodall LLR Silver: Earned 100,000 credits (107,939)321 Sieve (suspended) Gold: Earned 500,000 credits (591,806)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (93,149)Generalized Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,013,621)PPS Sieve Jade: Earned 10,000,000 credits (17,468,069)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,203,660)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,431,176)AP 26/27 Bronze: Earned 10,000 credits (27,387)GFN Silver: Earned 100,000 credits (124,947)PSA Ruby: Earned 2,000,000 credits (4,529,162)
Message 10446 - Posted: 27 Aug 2008 | 15:49:24 UTC

I definitely have this problem and I'm new around here, which I expect means that the wrapper application is the latest.

Is there a manual work-around?

____________
Warped

Profile WarpedProject donor
Avatar
Send message
Joined: 25 Aug 08
Posts: 288
ID: 27792
Credit: 28,151,335
RAC: 0
321 LLR Silver: Earned 100,000 credits (105,595)Cullen LLR Silver: Earned 100,000 credits (100,566)PPS LLR Silver: Earned 100,000 credits (467,197)PSP LLR Silver: Earned 100,000 credits (117,635)SoB LLR Bronze: Earned 10,000 credits (70,753)SR5 LLR Bronze: Earned 10,000 credits (44,970)SGS LLR Silver: Earned 100,000 credits (346,635)TRP LLR Silver: Earned 100,000 credits (298,952)Woodall LLR Silver: Earned 100,000 credits (107,939)321 Sieve (suspended) Gold: Earned 500,000 credits (591,806)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (93,149)Generalized Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,013,621)PPS Sieve Jade: Earned 10,000,000 credits (17,468,069)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,203,660)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,431,176)AP 26/27 Bronze: Earned 10,000 credits (27,387)GFN Silver: Earned 100,000 credits (124,947)PSA Ruby: Earned 2,000,000 credits (4,529,162)
Message 10447 - Posted: 27 Aug 2008 | 16:11:52 UTC

As a post-script, I went to task manager and killed the LLR applications there. All seems to be OK. I hope the applications do not start from scratch again when it's their turn.
____________
Warped

Message boards : Number crunching : Primegrid running even when it isn\'t?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2023 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 2.48, 3.35, 2.95
Generated 3 Oct 2023 | 7:34:19 UTC