exclusive_gpu_app perhaps not working?

Message boards : Questions and problems : exclusive_gpu_app perhaps not working?
Message board moderation

To post messages, you must log in.

AuthorMessage
Geek@Play
Avatar

Send message
Joined: 20 Jan 09
Posts: 70
United States
Message 36262 - Posted: 30 Dec 2010, 6:55:11 UTC
Last modified: 30 Dec 2010, 6:56:14 UTC

When exactly does Boinc check for a running app and then suspend gpu work when using......

<exclusive_gpu_app>important.exe</exclusive_gpu_app>

I attempted to use this option but the gpu's went right along crunching. Messages indicated that Boinc read and understood the option when read as the executable was named and message stated not to use gpu's.

Perhaps this is checked when a wu first starts and not checked again if wu is part way done?

Boinc version 6.12.8 32 bit.
Boinc....Boinc....Boinc....Boinc
ID: 36262 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15482
Netherlands
Message 36265 - Posted: 30 Dec 2010, 9:50:50 UTC - in response to Message 36262.  

No, it's checked immediately upon reading the cc_config.xml file and for evermore thereafter; as soon as program "however.exe" comes into Windows memory, the suspend mode will be activated. However, this isn't that easy on a GPU ran app, especially not if this task hasn't checkpointed yet. It'll run to the next checkpoint, before BOINC tries to break in.

Make sure that "however.exe" is the program that stays in Windows memory. Some programs use a launcher program that's called "however.exe", but their actual program runs with "stayhere.exe".
ID: 36265 · Report as offensive
Geek@Play
Avatar

Send message
Joined: 20 Jan 09
Posts: 70
United States
Message 36278 - Posted: 30 Dec 2010, 17:01:45 UTC

Thanks Ageless,

I also read some of your other posts on this subject. Will try again later and see what happens now that I know what to look for.
Boinc....Boinc....Boinc....Boinc
ID: 36278 · Report as offensive
Geek@Play
Avatar

Send message
Joined: 20 Jan 09
Posts: 70
United States
Message 36282 - Posted: 30 Dec 2010, 20:57:30 UTC

Working as advertised!!

Nice option to have.

Now I can encode video (which uses the NVIDIA GPU), Boinc suspends the CUDA apps and my DCF does not get messed up when finished with the video. Excellent!
Boinc....Boinc....Boinc....Boinc
ID: 36282 · Report as offensive
Geek@Play
Avatar

Send message
Joined: 20 Jan 09
Posts: 70
United States
Message 36287 - Posted: 31 Dec 2010, 1:51:47 UTC

Sorry to report some problems.

It appears that the cpu apps stop working in conjunction with the gpu apps. The GPU apps are stopped and completely removed from memory. (not listed in Task Manager) The cpu apps are still listed in task manager but are using 00 cpu cycles. Bringing up Boinc manager shows the gpu tasks are "waiting to run" and the cpu tasks are "running" and accumilating time but progress is not being made on the tasks.

I would not recommend using this option at this time with this version 6.12.8
Boinc....Boinc....Boinc....Boinc
ID: 36287 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15482
Netherlands
Message 36291 - Posted: 31 Dec 2010, 8:37:26 UTC - in response to Message 36287.  

It appears that the cpu apps stop working in conjunction with the gpu apps. The GPU apps are stopped and completely removed from memory. (not listed in Task Manager) The cpu apps are still listed in task manager but are using 00 cpu cycles. Bringing up Boinc manager shows the gpu tasks are "waiting to run" and the cpu tasks are "running" and accumilating time but progress is not being made on the tasks.

I don't quite follow.
Just to make sure we're on one line here, you know that there are no GPU apps to be seen in Task Manager? That all apps run on the CPU, be it CPU apps or GPU apps cos no OS out there knows how to run applications straight on anything else but the CPU? Just checking.

Now then, are you only using <exclusive_gpu_apps> or also <exclusive_apps> ?

I'll do some testing today, between last minute chores before new year's. Will let you know how I fare later on. If I can find a reliable project I can use my ATI on... all seem to be down. ;)

I would not recommend using this option at this time with this version 6.12.8

Since it's a test version, best report what you see to the developers.
ID: 36291 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15482
Netherlands
Message 36297 - Posted: 31 Dec 2010, 11:24:26 UTC

Opened BOINC Manager + Windows Task Manager Processes tab.
Got work from Collatz.
Made a screenshot of it running.
Set <exclusive_gpu_app>steam.exe</exclusive_gpu_app> in cc_config.xml.

Exited and restarted BOINC.
Opened BOINC Manager + Windows Task Manager Processes tab.
Started Steam.
Made a screenshot of it paused.

(Screenshots at 1920x1080 pixels)

As you can see, CPU applications continue running.
Collatz isn't running at all.

Works as advertised for me.
ID: 36297 · Report as offensive
Geek@Play
Avatar

Send message
Joined: 20 Jan 09
Posts: 70
United States
Message 36299 - Posted: 31 Dec 2010, 15:30:44 UTC
Last modified: 31 Dec 2010, 15:39:44 UTC

I had made the changes to cc_config only for the GPU to suspend.

Then started working with my video files. Starting and stopping the video editing app that would have suspended the GPU work and restarted it several times during the day. I worked with the video files for most of 4 hours.

Later I checked with Boinc Manager. Found that at one point the Boinc service had restarted because the log showed the startup within the last hour. I did not expect that. Examination of the work units showed cpu time advancing but no progress being made. Checked task manager. It showed the science apps for cpu running but using 0 to 5% on all 4 instances. GPU apps not running or in task manager.

I was going to copy the message page but it was useless as it did not show the gpu work pausing, only the RESTART of the cpu work.

My best guess is that multiple stopping and restarting of the software that is supposed to shut down GPU work only, Boinc gets messed up. And I still believe it was useless to copy what little messaging was in the displayed log.

If it's usefull I guess I could turn on some flags (which ones?) and work with some more video over the holiday weekend. Or perhaps I still have log files on board that would be useful?

Please advise.
Boinc....Boinc....Boinc....Boinc
ID: 36299 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 36300 - Posted: 31 Dec 2010, 15:52:51 UTC - in response to Message 36299.  

If BOINC had stopped the CPU apps (actually issued a 'suspend' instruction), you would see restart/resume messages in the log, same as you're seeing for the GPU apps.

I can only assume that - as far as BOINC is concerned - the CPU apps are running normally, and clocking up time. Remember that current BOINC managers display elapsed (wallclock) time, not CPU time.

And I guess the apps themselves were fighting for whatever resources (CPU, memory) were left over from from the video editing. Have you checked how heavy the CPU use of that app is?
ID: 36300 · Report as offensive
Geek@Play
Avatar

Send message
Joined: 20 Jan 09
Posts: 70
United States
Message 36301 - Posted: 31 Dec 2010, 19:14:35 UTC

Today it's working just fine...........

Perhaps my 60+ year old, pain medicated brain simply didn't do it right yesterday. Or some such thing. I get tired and don't remember things as they occured later in the day.

It's good that Ageless demands absolute proof for problems to be solved.
I'm sorry if I caused undue concern with this section of Boinc operation.


Boinc....Boinc....Boinc....Boinc
ID: 36301 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15482
Netherlands
Message 36302 - Posted: 31 Dec 2010, 19:45:46 UTC - in response to Message 36301.  

It's good that Ageless demands absolute proof for problems to be solved.
I'm sorry if I caused undue concern with this section of Boinc operation.

{Smiles}

It's just that we're a forefront against a developer email box overflow of things not needing to be sent to them. But don't let that scare you. Next time you will find a bug. :)
ID: 36302 · Report as offensive

Message boards : Questions and problems : exclusive_gpu_app perhaps not working?

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.