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: 33
Posts: 33   Pages: 4   [ Previous Page | 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 8699 times and has 32 replies Next Thread
Ingleside
Veteran Cruncher
Norway
Joined: Nov 19, 2005
Post Count: 974
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Incorrect CPU usage time being reported and low credit granted

I found project dependent variation between CPU Time and Run Time,
Docking 9% difference
HCC 28%
CEP2 42% sad

Hmm, while individual results can give so large difference if you're using your computer, if this is the average over many results, something doesn't look right...

Now, I don't run Linux, but it can still be interesting to compare with my windows-computer. All is how much longer the run-time is compared to cpu-time, averaged over all results for the various WCG-sub-projects:

% - # - project
1.8 - 423 - CMD2
2.7 - 446 - DDDT
2.5 - 620 - E0000
5.5 - 141 - er??
1.1 - 489 - FLU
1.5 - 261 - FAAH
1.6 - 804 - HFCC
1.9 - 213 - n?/m?
2.3 - 665 - R???
3.0 - 42 - ts??
2.1 - 296 - X???
2.07 - 4752 - WCG, all projects, including beta.

Which sub-projects that's hiding behind X-results and R-results and the others with non-informative wu-names I don't remember...

Now, if there is a significant difference between projects, or if the variation is only due to variable other usage of computer, I don't know. But, all of them has multiple results there the difference between run-time and cpu-time is less than 0.2%.
----------------------------------------


"I make so many mistakes. But then just think of all the mistakes I don't make, although I might."
[Jul 8, 2010 12:08:05 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: Incorrect CPU usage time being reported and low credit granted

The WCG exclusive crunchers will recognize most of those prefixes, X probably easiest connected to the X-Ray Crystallography jobs of HCC and the R of RICE, the TS of DDDT-2 and n?/m probably HPF2... they's not in your list. There was a long time ago an FAQ where I collected those but as time goes and interest is barely above zero, they get forgotten.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Jul 8, 2010 12:21:52 PM]   Link   Report threatening or abusive post: please login first  Go to top 
pirogue
Veteran Cruncher
USA
Joined: Dec 8, 2008
Post Count: 685
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Incorrect CPU usage time being reported and low credit granted

Could you provide the output of 'uname -a' and 'mpstat -P ALL'?
I started running HCCs last night, so this may not tell you anything.

mpstat -P ALL
Linux 2.6.33.5-124.fc13.i686 (fed-x2) 07/08/2010 _i686_ (2 CPU)
08:24:45 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
08:24:45 AM all 0.27 91.73 5.02 0.10 0.00 0.02 0.00 0.00 2.85
08:24:45 AM 0 0.26 91.91 4.97 0.09 0.00 0.00 0.00 0.00 2.78
08:24:45 AM 1 0.28 91.55 5.08 0.11 0.00 0.04 0.00 0.00 2.93
uname -a
Linux fed-x2 2.6.33.5-124.fc13.i686 #1 SMP Fri Jun 11 09:48:40 UTC 2010 i686 i686 i386 GNU/Linux
----------------------------------------

[Jul 8, 2010 12:33:51 PM]   Link   Report threatening or abusive post: please login first  Go to top 
sk..
Master Cruncher
http://s17.rimg.info/ccb5d62bd3e856cc0d1df9b0ee2f7f6a.gif
Joined: Mar 22, 2007
Post Count: 2324
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Incorrect CPU usage time being reported and low credit granted

There is no doubt running several projects is more efficient, and I remember measure this several times and finding that if you get a good combination of projects, the points awarded can increase by more than 10%. I agree this is due in part to reduced bottlenecking. When running one task on a given system rather than another task I also saw variation of up to 10%. This is likely architecture related, with tasks capable of exploiting specific algorithms being faster.
To be getting such huge reduction in CPU time is probably another matter, but it could be the result of accumulation of several smaller issues (network driver slowing tasks down during communication, caching methods, limited operating system, not crunching a variety of tasks, being unlucky in that these CEP2 tasks are not especially optimised for my system and may be competing for resources...).
I’m going to continue crunching for CEP2 and HCC on that system until I can move back to XP.
[Jul 8, 2010 12:35:41 PM]   Link   Report threatening or abusive post: please login first  Go to top 
martin64
Senior Cruncher
Germany
Joined: May 11, 2009
Post Count: 445
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Incorrect CPU usage time being reported and low credit granted

Could you provide the output of 'uname -a' and 'mpstat -P ALL'?

Of course.
uname -a
Linux silver 2.6.32.6 #8 SMP PREEMPT Thu Jan 28 10:51:16 CET 2010 i686 GNU/Linux

mpstat -P ALL
Linux 2.6.32.6 (silver) 08.07.2010 _i686_

18:07:39     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
18:07:39 all 10,53 52,96 14,76 9,20 0,07 0,08 0,00 12,40 2105,73
18:07:39 0 9,64 52,68 14,07 12,99 0,14 0,15 0,00 10,33 202,00
18:07:39 1 11,42 53,23 15,45 5,44 0,00 0,02 0,00 14,45 0,00


Running 2 CEP2 tasks.

And to make it clear: This is about CEP2 *only*, all other projects run Ok.

Regards,
Martin
----------------------------------------

[Jul 8, 2010 4:09:06 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: Incorrect CPU usage time being reported and low credit granted

fliegenpilz

Thanks for tipping off on these commands. Loud and clear on e.g. martin64's CPU stats of a 32 bit platform: All, the combined cores and 0/1 the individual cores, 10.5% to user, 53% nice (poor), 14.76% to system activity and iowait being the part I don't like... 9.2%

Ran it off my quad that has been up for a few days (it told me first I had to install it, so did), 64 bit:

Linux xxxxxxxx 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:20:59 UTC 2010 x86_64 GNU/Linux

Linux 2.6.32-24-generic (xxxxxxxxx) 08-07-10 _x86_64_ (4 CPU)

18:22:14 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
18:22:14 all 1,32 94,42 3,83 0,11 0,04 0,02 0,00 0,00 0,27
18:22:14 0 1,71 94,14 3,73 0,11 0,01 0,01 0,00 0,00 0,31
18:22:14 1 1,44 94,70 3,44 0,13 0,00 0,03 0,00 0,00 0,27
18:22:14 2 1,21 94,68 3,59 0,12 0,07 0,06 0,00 0,00 0,27
18:22:14 3 0,92 94,16 4,56 0,07 0,06 0,00 0,00 0,00 0,22


It is obvious that what I do on the system is barely taxing, so am glad the fastest part goes to science. About 72% of the time here is used by CEP2 per me latest stats and think to be please with the nice part at 94.4%.

edit: Lets not forget in martin64's sample the 12% that the system is really idle. Is this some effect of the client not having run for periods or the client being paused during use?
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
----------------------------------------
[Edit 2 times, last edit by Sekerob at Jul 8, 2010 7:52:58 PM]
[Jul 8, 2010 4:27:59 PM]   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: Incorrect CPU usage time being reported and low credit granted

You could also try 'mpstat -P ALL 2 1' which shows just the stats from the last 2 seconds (not since reboot).

Do you also have the effect that 'top' shows in its summary with multi-cpu-display 25% idle but the tasks show 100% (usage is *really* 100%).


Cpu0 : 0.0%us, 1.0%sy, 74.0%ni, 25.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 10.8%sy, 64.2%ni, 25.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 2.8%sy, 72.2%ni, 25.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 75.0%ni, 25.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st


but

13506 boinc     39  19  364m 150m 9452 R  100  7.5  41:18.49 wcgrid_cep2_qch
13511 boinc 39 19 366m 124m 9456 R 100 6.2 28:15.27 wcgrid_cep2_qch
13522 boinc 39 19 292m 56m 9976 R 100 2.8 19:51.97 wcgrid_cep2_qch
13523 boinc 39 19 333m 96m 9440 R 100 4.8 16:18.30 wcgrid_cep2_qch


Seems to me like a flaw in top. Aggregated display shows:

Cpu(s):  0.0%us,  6.5%sy, 85.8%ni,  7.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st


which totally confuses me.
[Jul 8, 2010 7:32:32 PM]   Link   Report threatening or abusive post: please login first  Go to top 
martin64
Senior Cruncher
Germany
Joined: May 11, 2009
Post Count: 445
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Incorrect CPU usage time being reported and low credit granted

You could also try 'mpstat -P ALL 2 1' which shows just the stats from the last 2 seconds (not since reboot).

Ok:

CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
all 0,75 97,00 2,25 0,00 0,00 0,00 0,00 0,00 721,89
0 1,00 95,00 4,00 0,00 0,00 0,00 0,00 0,00 49,75
1 1,00 98,51 0,50 0,00 0,00 0,00 0,00 0,00 0,00

This is pretty consistent, I repeated several times with similar results. So if I have well above 90% "nice" (i.e. CEP2?), why is the CPU time so much different from wallclock time?

Regards,
Martin
----------------------------------------

[Jul 8, 2010 8:20:10 PM]   Link   Report threatening or abusive post: please login first  Go to top 
martin64
Senior Cruncher
Germany
Joined: May 11, 2009
Post Count: 445
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Incorrect CPU usage time being reported and low credit granted

Aah, so "top" brings it to the light:

 3713 root      39  19  343m 106m 9544 R   76  5.2  48:59.39 wcgrid_cep2_qch    
3714 root 39 19 341m 132m 9532 R 61 6.5 42:22.73 wcgrid_cep2_qch
2848 root 20 0 5856 2016 508 S 47 0.1 98:48.63 mount.ntfs


So obviously having boinc on an NTFS file system (i.e. my normal Windows partition) is not exactly a good idea? But why does this process take so much time, although I don't have any swap or something installed?

I guess I simply have to wait for the windows version in order to have a better performance. crying

[edit] When I suspend boinc, mount.ntfs immediately gets virtually inactive. So the extreme CPU load for that process seems to be clearly caused by CEP2. Maybe CEP2 could be optimised in order not to put such a high load on the disk mount process? Does it permanently reload stuff from the disc rather than loading it into RAM and run from there? [/edit]

Regards,
Martin
----------------------------------------

----------------------------------------
[Edit 1 times, last edit by martin64 at Jul 8, 2010 9:36:58 PM]
[Jul 8, 2010 8:35:49 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: Incorrect CPU usage time being reported and low credit granted

2 seconds is of course in no way representative of what happened over the time you logged the result times. Now you have to clean start and let it run for longer, before checking you know what's running. Presently I'm going let it run it with mpstat -P ALL 7200 1 and not touch the system, since my user stat is a percent spread over several days up time.

fliegenpielz, yes top shows the percent per core up to 100% as does system monitor. I missed though where you get that first set where the Cpu0/1/2/3 is shown. Idle is I suppose the amount of time 'spare' per core from overall available for the nice processes.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Jul 8, 2010 8:59:06 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 33   Pages: 4   [ Previous Page | 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread