High CPU usage

Questions and Answers : Windows : High CPU usage
Message board moderation

To post messages, you must log in.

AuthorMessage
Conan
Avatar

Send message
Joined: 2 May 11
Posts: 51
Credit: 251,207,437
RAC: 0
Message 21 - Posted: 2 May 2011, 13:46:25 UTC

The CPU usage of the GPU application on my machine is running at 0.92 of a CPU.

This is rather high and taking up a almost a full CPU as well as the GPU.

I run other project on the CPUs and would prefer that the CPU usage was down to under 0.1 of a CPU (0.05 would be better) as most other GPU projects that I run.

Using an Appinfo file would this be possible or are the work units set to use this much CPU and it wont change?

Conan
ID: 21 · Rating: 0 · rate: Rate + / Rate - Report as offensive
Clod Patry
Volunteer moderator
Volunteer developer
Volunteer tester

Send message
Joined: 2 May 11
Posts: 65
Credit: 242,754,987
RAC: 0
Message 44 - Posted: 2 May 2011, 21:47:22 UTC - in response to Message 21.  

The client which is running under-the-hood is the distributed.net client.
I've tried running that original client and it seems this client is taking so much CPU (50% of this machine's CPU)

I'm sure there's a way to decrease that value anyhow for us, because the default is way too high.

Stay tuned.
ID: 44 · Rating: 0 · rate: Rate + / Rate - Report as offensive
Conan
Avatar

Send message
Joined: 2 May 11
Posts: 51
Credit: 251,207,437
RAC: 0
Message 48 - Posted: 2 May 2011, 22:00:12 UTC

For the time being I am going to stop running this project as it is making my CPU projects run so slow.
Normally eon2 would only take 7 minutes per work unit, now it is over 40 minutes.
No idea how much longer it will make my Yoyo work run but I have noticed a slow down adding many hours onto a work unit.

I will check back but it is killing my CPU output.
I don't intend to try and allocate 1 core to a GPU project, I want them for my CPU projects.

I will check back a little later.

Conan.
ID: 48 · Rating: 0 · rate: Rate + / Rate - Report as offensive
rebirther
Avatar

Send message
Joined: 2 May 11
Posts: 10
Credit: 4,408,435
RAC: 0
Message 70 - Posted: 3 May 2011, 15:18:54 UTC

@Admin:
You can ask the admin of DNETC@home to setup their applications here.
ID: 70 · Rating: 0 · rate: Rate + / Rate - Report as offensive
Shadow.SETI.USA [TopGun]

Send message
Joined: 2 May 11
Posts: 8
Credit: 157,289,433
RAC: 0
Message 71 - Posted: 3 May 2011, 16:54:00 UTC

I just ran into the same type of problem. Workunits running for 45 minutes with no GPU activity and CPU was getting hammered hard. Did a reboot and started fresh WU, same thing. Was working fine until an hour ago or so.
ID: 71 · Rating: 0 · rate: Rate + / Rate - Report as offensive
Profile mimeq

Send message
Joined: 3 May 11
Posts: 1
Credit: 12,455,678
RAC: 0
Message 72 - Posted: 3 May 2011, 17:27:53 UTC

Ati RAdeon 5970 and CPU usage 50% (2 GPU core = 100% load 2 CPU core) :(
ID: 72 · Rating: 0 · rate: Rate + / Rate - Report as offensive
[AF>FAH-Addict.net]toTOW

Send message
Joined: 4 May 11
Posts: 27
Credit: 111,294,642
RAC: 5,300
Message 101 - Posted: 4 May 2011, 20:55:42 UTC
Last modified: 4 May 2011, 20:56:22 UTC

I'm seeing 0% CPU usage here (real one, not the wrong setting in the boinc client which should be drastically reduced), both with the official distributed.net client and the wrapper ... (5770 on XP with 11.3 drivers)

What is your setup ?
ID: 101 · Rating: 0 · rate: Rate + / Rate - Report as offensive
Conan
Avatar

Send message
Joined: 2 May 11
Posts: 51
Credit: 251,207,437
RAC: 0
Message 103 - Posted: 5 May 2011, 0:52:15 UTC
Last modified: 5 May 2011, 0:53:52 UTC

When I check Task Manager, I also notice what appears to be very little CPU usage. However this does not improve things on my machine. Work units on my CPUs still run extra long times when Moo!Wrapper is running and the GPU is woefully slow. So I believe that it is still taking a lot of resources I just can't see what they are.

Computer AMD Opteron 285 with 2GB RAM and single ATI 5870 graphics card and ATI 11.1 drivers.
(This setup would run a DNETC@Home WU in about 19 minutes, dual cards half that time but one card went faulty).

Run time for Moo!Wrapper is over 2 Hours per WU.

My AMD Phenom II X4 955 with 4 GB RAM and 2x ATI 5870 cards in it with ATI 11.1 drivers.

Run time is 9 Minutes per WU.

So I can not run this project on a single card computer.

Conan.
ID: 103 · Rating: 0 · rate: Rate + / Rate - Report as offensive
Clod Patry
Volunteer moderator
Volunteer developer
Volunteer tester

Send message
Joined: 2 May 11
Posts: 65
Credit: 242,754,987
RAC: 0
Message 161 - Posted: 8 May 2011, 8:44:00 UTC


I've noticed the dnetc-1.00.ini (same as d.net's dnetc.ini) is initialized as:
[processor-usage]
priority=4


By default, it's be set to 0, is there any reason why this is initialized as 4?
ID: 161 · Rating: 0 · rate: Rate + / Rate - Report as offensive
rebirther
Avatar

Send message
Joined: 2 May 11
Posts: 10
Credit: 4,408,435
RAC: 0
Message 162 - Posted: 8 May 2011, 9:30:28 UTC - in response to Message 161.  


I've noticed the dnetc-1.00.ini (same as d.net's dnetc.ini) is initialized as:
[processor-usage]
priority=4


By default, it's be set to 0, is there any reason why this is initialized as 4?


If you set it to 0, cpu usage went down to 12% but gpu usage also to around 63%.
ID: 162 · Rating: 0 · rate: Rate + / Rate - Report as offensive
Profile Teemu Mannermaa
Project administrator
Project developer
Project tester

Send message
Joined: 20 Apr 11
Posts: 381
Credit: 822,356,221
RAC: 0
Message 164 - Posted: 8 May 2011, 15:37:29 UTC - in response to Message 161.  

By default, it's be set to 0, is there any reason why this is initialized as 4?


Yes, there is. That's the recommended setting for GPU crunchers. This way the client gets CPU cycles to keep feeding GPU and thus keeping them busy. Normally it shouldn't matter since the clients are supposed to only use fraction of CPU time.

I've seen this same high CPU on my CUDA system. (You can watch it here -> http://moowrap.net/results.php?hostid=3.) I've actually managed to get it down to reasonable levels by adjusting the core used by the client. (This was suggested by some posters around here, a big thanks goes to them for suggesting this!)

You can try this yourself too, there's now a preference for this (see http://moowrap.net/prefs.php?subset=project) and the v1.01 application should feed it to the client. It seems that by default GPU crunches select core 0, which is not optimal for neither Stream or CUDA. (There's bugs open at http://bugs.distribute.net to change their defaults.)

I'd think core 3 could be best for Stream and core 10 for CUDA clients. Although, you should experiment since this can be different for your setup.

-w

PS. It seems to core selection is broken on Linux wrappers but a temporary workaround to set the core is to use anonymous platform and feed -c via job.xml to the client. (Or wait until I get that fixed.)
ID: 164 · Rating: 0 · rate: Rate + / Rate - Report as offensive
frankhagen

Send message
Joined: 2 May 11
Posts: 27
Credit: 586,012
RAC: 4
Message 165 - Posted: 8 May 2011, 16:15:43 UTC - in response to Message 164.  
Last modified: 8 May 2011, 16:18:22 UTC

I'd think core 3 could be best for Stream and core 10 for CUDA clients. Although, you should experiment since this can be different for your setup.


YES and no.

9 uses a full CPU core and pushes the GPU to the limit and is fastest mostly.
10 uses less than 1% CPU and utilizes the GPU above 90%.
11 and your milage may vary.

maybe 2, 5 or 8 will be faster on cards with a high number of cores.

but everyone can test it by running the app from commandline with --benchmark
ID: 165 · Rating: 0 · rate: Rate + / Rate - Report as offensive
rebirther
Avatar

Send message
Joined: 2 May 11
Posts: 10
Credit: 4,408,435
RAC: 0
Message 166 - Posted: 8 May 2011, 16:44:47 UTC

Against DNETC apps all prefs and current apps are inefficient.
ID: 166 · Rating: 0 · rate: Rate + / Rate - Report as offensive

Questions and Answers : Windows : High CPU usage


 
Copyright © 2011-2020 Moo! Wrapper Project