NVIDIA GPU3 Linux/Wine Headless Install Guide

Moderators: slegrand, Site Moderators, PandeGroup

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby shatteredsilicon » Wed Nov 12, 2008 1:20 am

How exactly are you capping the process to 60%? The correct solution is to install/compile a suitable kernel (high res timers and tickless clocks).
Image
1x Q6600 @ 3.2GHz, 4GB DDR3-1333
1x Phenom X4 9950 @ 2.6GHz, 4GB DDR2-1066
3x GeForce 9800GX2
1x GeForce 8800GT
CentOS 5 x86-64, WINE 1.x with CUDA wrappers
shatteredsilicon
 
Posts: 627
Joined: Tue Jul 08, 2008 2:27 pm

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby tmoble » Wed Nov 12, 2008 1:23 am

Any more on this? My 8800 folding 5506 (fast) WUs has gone from ~5300PPD on my old system to ~3800 - 4000 under the Ubuntu 8.1 setup.

OTOH, I'm not getting any crashes either. This same 8800 used to get close to 6K PPD overclocked under windows but the Linux equivilent of Rivatuner doesn't seem to work on it. AFAIK all the linux kernels newer than 2.18 or so have the Hi-res timer stuff built in but maybe the Novell/Suse deal is different?

Code: Select all
cat /proc/timer_list
should tell the story. Or, you might look in the file /var/log/dmesg, it saves the kernel boot messages, might be able to see a message in there about switching to hi-res mode. Mine sez :

Code: Select all
[    1.020012] Switched to high resolution mode on CPU 0
[    1.020450] Switched to high resolution mode on CPU 3
[    1.020455] Switched to high resolution mode on CPU 1
[    1.020458] Switched to high resolution mode on CPU 2
Last edited by tmoble on Wed Nov 12, 2008 1:38 am, edited 1 time in total.
tmoble
 
Posts: 118
Joined: Mon Dec 03, 2007 7:19 am
Location: Glendale, Az

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby tmoble » Wed Nov 12, 2008 1:29 am

I've been wondering if mine capped too. I'm running the native SMP client and the Wine/GPU client. I see this in top:

Code: Select all
Cpu0  :  0.0%us,  0.3%sy, 56.8%ni, 42.9%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu1  :  0.0%us,  1.0%sy, 63.9%ni, 35.1%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu2  :  0.0%us,  1.0%sy, 67.2%ni, 31.8%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu3  :  0.0%us,  2.0%sy, 74.5%ni, 23.5%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st


the CPU usage seems to hang in the mid 60s except one which is also running the GPU client, it's a little higher. Anybody know for sure if switching back to the 1st gen wrapper would help this? I was running the 1st gen wrapper on this system when it was on Fedora9, the GPU client ran faster but also ate a whole CPU core.
tmoble
 
Posts: 118
Joined: Mon Dec 03, 2007 7:19 am
Location: Glendale, Az

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby shatteredsilicon » Wed Nov 12, 2008 1:34 am

You could try adjusting the sleep time on the new wrapper (you'll have to recompile to adjust that), but the defaults seem to be reasonable for at least everything up to a full-fat 128-shader G92. Of course, that'll also depend on the CPU spec. The performance drop on the 2nd gen wrapper for me was at most about 3%, which is reasonable considering it frees up 80% of CPU.
shatteredsilicon
 
Posts: 627
Joined: Tue Jul 08, 2008 2:27 pm

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby Hyperlife » Wed Nov 12, 2008 1:45 am

tmoble wrote:Any more on this? My 8800 folding 5506 (fast) WUs has gone from ~5300PPD on my old system to ~3800 - 4000 under the Ubuntu 8.1 setup.

Could the point drop be attributed to v1.19 of the core?
Image
User avatar
Hyperlife
 
Posts: 438
Joined: Sun Dec 02, 2007 7:38 am

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby tmoble » Wed Nov 12, 2008 2:01 am

Mine still has : 4243 tom 39 19 3640m 50m 14m S 31 1.3 41:18.77 FahCore_11.exe I thought you had to have FahCore_13 to get that v1.19? 'Course, seems like I'm often wrong about F@H stuff. Anyway to drill down to see if it's the 1.19 code?

I notice on my Weenders box it has both _11 and _13 cores in the directory. It's using the _11 core now.
tmoble
 
Posts: 118
Joined: Mon Dec 03, 2007 7:19 am
Location: Glendale, Az

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby Hyperlife » Wed Nov 12, 2008 2:42 am

tmoble wrote:Mine still has : 4243 tom 39 19 3640m 50m 14m S 31 1.3 41:18.77 FahCore_11.exe I thought you had to have FahCore_13 to get that v1.19? 'Course, seems like I'm often wrong about F@H stuff. Anyway to drill down to see if it's the 1.19 code?

I notice on my Weenders box it has both _11 and _13 cores in the directory. It's using the _11 core now.

Look at the log, and you'll see the core revision number before the WU beings processing (it's the last line in this example):
Code: Select all
[21:21:30] + Processing work unit
[21:21:30] Core required: FahCore_11.exe
[21:21:30] Core found.
[21:21:30] Working on queue slot 05 [November 11 21:21:30 UTC]
[21:21:30] + Working ...
[21:21:30] - Calling '.\FahCore_11.exe -dir work/ -suffix 05 -checkpoint 30 -forceasm -verbose -lifeline 8 -version 620'

[21:21:30]
[21:21:30] *------------------------------*
[21:21:30] Folding@Home GPU Core - Beta
[21:21:30] Version 1.19 (Mon Nov 3 09:34:13 PST 2008)

Both Cores 11 and 13 are now at v1.19 because of a forced core update a few days ago. The core's performance has dropped in order to increase stability. I have a feeling that's why your PPD went down.
User avatar
Hyperlife
 
Posts: 438
Joined: Sun Dec 02, 2007 7:38 am

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby tmoble » Wed Nov 12, 2008 3:28 am

--> [21:21:30] Version 1.19 (Mon Nov 3 09:34:13 PST 2008)

thanks for that, I never even noticed it before. Seems both of my GPUs, both on the Win box and the Linux box are running the 1.19 version. For whatever reason the the Win box GPU is doing 4937PPD with a 5506 and the the linux box is doing 4231PPD with a 5506. Bummerdealman.

On the brighter side, maybe the PG has finally run out of those stinky 2665 SMP WUs, my quad only did about 850PPD on those. Finally moved on to something else, 2674, getting 2250PPD on that unit.
tmoble
 
Posts: 118
Joined: Mon Dec 03, 2007 7:19 am
Location: Glendale, Az

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby Hyperlife » Wed Nov 12, 2008 5:24 am

KE1HA wrote:Here's the data from TOP, which looks a bit odd. Top reports 200% CPU Usage on PID 5178, and a load average 2.0 / 2.0 / 1.94 (mm:hh:dd) which represents 2 cores, not four. That's strange as I've not seen that on a Quad before.

Now that you mention that 200% usage, I remember I had that same problem on one of my initial tries at getting this to work. I can't remember what I did to fix it -- I think I tried running wine without the nice command, and that seemed to restore sanity to the system. I also went through my installation routine a few times afterward to make sure I got all the steps in the guide written correctly, and I haven't seen this problem happen since.

Try rebooting, running the cudainit script, then starting the client without using nice.
User avatar
Hyperlife
 
Posts: 438
Joined: Sun Dec 02, 2007 7:38 am

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby jcfuller » Wed Nov 12, 2008 10:30 am

KE1HA,
Did you do a complete shutdown or just a reboot? I seem to remember a problem ( not fah related) that only a full power off would fix??

James
jcfuller
 
Posts: 28
Joined: Thu Oct 30, 2008 11:22 am
Location: Fort Edward, NY

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby bollix47 » Wed Nov 12, 2008 11:05 am

Hyperlife wrote:If you haven't installed the NVIDIA driver, you'll need to restart X after installing it. I would shut X down before installation, though I'm not sure if this is necessary.

You should also be able to skip the cudainit file in Step 17 -- merely starting X once will create the devices in /dev for you. You will need to set the PATH environmental variable to include /usr/local/cuda/bin elsewhere (such as in /etc/environment).

Other than that, as shatteredsilicon mentioned, you should be able to simply start the client while running X.


After numerous failed attempts to get the drivers installed I finally managed to get Ubuntu 8.04 Desktop to recognize them. The failures had nothing to do with your guide and were probably caused by something specific to my setup.

I did ignore all steps pertaining to the cudainit file. I also completely forgot to add the change to the PATH but so far it's working fine without that change.

I did not use the nice command to start the client so it is running at priority 0 along with an SMP client running at priority 13. Both seem to be doing fine and I've noticed no lag with my other activities so far.

Thanks again for making this guide which worked great for me.
Image
bollix47
 
Posts: 3507
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby shatteredsilicon » Wed Nov 12, 2008 12:22 pm

My recommendation would be to run the SMP client at priority 19 (lowest possible) and the GPU client at priority 10.
shatteredsilicon
 
Posts: 627
Joined: Tue Jul 08, 2008 2:27 pm

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby rjwilmsi » Wed Nov 12, 2008 7:43 pm

In response to questions asked about my post above:
My kernel version 2.6 .23 does not have this high resolution support. I'm not able to upgrade the kernel because my madwifi packages depend explicitly on a particular kernel version. I will be upgrading to opensuse 11.1 sometime in December when it becomes available. For the moment I'm happy with my results using the first-generation wrapper.
I have capped the CPU usage to 60% by setting this up in the advanced configuration options of the folding@home client. However, come to mention it I'm not sure whether this specifies the maximum CPU usage or in fact the maximum GPU usage for the GPU2 client? However, looking at the process monitor in KDE, it does seem that the folding@home executable is using about 60% of my CPU.

I will try increasing my cap from 60% to 80% to see what happens and report back the results tomorrow.
rjwilmsi
 
Posts: 7
Joined: Wed Nov 12, 2008 12:22 am

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby shatteredsilicon » Wed Nov 12, 2008 7:55 pm

So recompile the relevant package from the source RPMs.
Regarding the CPU throttling, that's interesting, I didn't know that actually worked. I might give it a try to see if yields better efficiency than the throttling in the wrapper. But without high resolution timers, I cannot see how it could be doing it's throttling using the same method, which makes me curious how it's achieving it. Can you post the bit with the relevant setting from your client.cfg?
shatteredsilicon
 
Posts: 627
Joined: Tue Jul 08, 2008 2:27 pm

Re: NVIDIA GPU2 Linux/WINE Headless Install Guide

Postby rjwilmsi » Wed Nov 12, 2008 8:50 pm

Once I find something that works, I lose the inclination to attempt to recompile things from source just to update for a technical reason.

The section of my client config file is below. I have just been experimenting with increasing the CPU From my original 70% (it was actually 70% not 60%) to 85%. On the same work units the time to complete 1% has decreased from 2 minutes 7 seconds to 1 minute 46 seconds, which by my calculations with my current work unit worth 511 points increases my points per day score from 3470 to 4160. This is comparable with the best score I was getting on the native Windows version (up to 4500 but CPU uncapped). My only interest now is if my CPU usage under the wine version is 85%, why on native Windows I could achieve higher points per day but with only around 50% CPU usage? Perhaps somewhere along the line I am misunderstanding my CPU utilisation.

Code: Select all
[core]
cpuusage=85
checkpoint=5
addr=
rjwilmsi
 
Posts: 7
Joined: Wed Nov 12, 2008 12:22 am

PreviousNext

Return to unOfficial Linux GPU (WINE wrapper) (3rd party support)

Who is online

Users browsing this forum: No registered users and 1 guest

cron