+- +-
Say hello if visiting :) by Gecko
11 Jan 2023, 07:43:05 pm

Seti is down again by Mike
09 Aug 2017, 10:02:44 am

Some considerations regarding OpenCL MultiBeam app tuning from algorithm view by Raistmer
11 Dec 2016, 06:30:56 am

Loading APU to the limit: performance considerations by Mike
05 Nov 2016, 06:49:26 am

Better sleep on Windows - new round by Raistmer
26 Aug 2016, 02:02:31 pm

Author Topic: SETI MB CUDA for Linux  (Read 505235 times)

Offline riofl

  • Knight o' The Round Table
  • ***
  • Posts: 240
Re: SETI MB CUDA for Linux
« Reply #300 on: 02 Aug 2009, 07:29:29 pm »
@letni
Please see my big post above, I'm talking about cuda with no X server. Are you sure you've set it up all correctly? Also make sure you use compatible nvidia drivers and cuda libraries.

Also see my post http://lunatics.kwsn.net/linux/seti-mb-cuda-for-linux.msg19014.html#msg19014 and follow it to the letter.

Your card with 256 MB is borderline. You might get some out of memory messages here and there.

i got them all the time with my 8600GT 256mb. cuda tried to use it when it was the only device but it turned every wu in with out of memory errors. that was when i added the tesla and then later replaced the gt with the gtx i now have.

for someone who uses a linux desktop seriously, i doubt 256mb vidram will work at all unless maybe you define only 1 or 2 desktops at most and keep all the bells and whistles disabled along with using a solid color background.., or it is a 2nd card not used for video at all then it can be used properly.
« Last Edit: 02 Aug 2009, 07:31:32 pm by riofl »

letni

  • Guest
Re: SETI MB CUDA for Linux
« Reply #301 on: 02 Aug 2009, 08:17:26 pm »

2. I have modified my app_info.xml to allow both AK_V8_SSE3 (32bit) and the cuda to run simultaneously (included .xml file).. I have 3 active tasks being worked on, two (for my dual CPU) say setiathome_enhanced 6.03 and run just fine.  The third is the CUDA which setiathome_enhanced 6.08 (cuda), and the status NEVER goes past Ready to start. It will eventuall error out with Computation error.
Anyone have any thoughts or advice on how to debug this?
There is an option that is on by default to not run cuda tasks when pc is in use. Check global_prefs.xml for <run_gpu_if_user_active>0</run_gpu_if_user_active> and change that 0 to 1.

That was the issue the whole time.. I guess I figured just cause I am not uxing XWINDOWs on a headless machine that I technically wasn't using the video card.  Enabling that let it do its thing :)

Thanks everyone for all your help.



letni

Kunin

  • Guest
Re: SETI MB CUDA for Linux
« Reply #302 on: 02 Aug 2009, 08:19:47 pm »
Thanks, but before I use it how does the VLAR kill work?  I rebrand all of my VLAR to the CPU as soon as I can, and prefer to work whatever units I get since I have the 8 cores just sitting there most of the time.

Well if you miss a VLAR from the rebranding and it gets to your GPU, it will get aborted almost instantly by the client.

Ok, so it kills it as soon as it actually starts processing and no sooner?

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #303 on: 02 Aug 2009, 09:35:20 pm »
That was the issue the whole time.. I guess I figured just cause I am not uxing XWINDOWs on a headless machine that I technically wasn't using the video card.  Enabling that let it do its thing :)
Thanks everyone for all your help.
letni
letni the hosts that you've posted above are full of errors. Are you sure you've solved all your problems?


Ok, so it kills it as soon as it actually starts processing and no sooner?
Yes. When it starts to crunch a wu, it checks if this wu is a VLAR and if it is, it aborts.

letni

  • Guest
Re: SETI MB CUDA for Linux
« Reply #304 on: 02 Aug 2009, 10:25:53 pm »
That was the issue the whole time.. I guess I figured just cause I am not uxing XWINDOWs on a headless machine that I technically wasn't using the video card.  Enabling that let it do its thing :)
Thanks everyone for all your help.
letni
letni the hosts that you've posted above are full of errors. Are you sure you've solved all your problems?
I have the client running currently.. 2 threads on AK_V8_64bit_SSE3 (Pentium D) and one thread on cuda novlar 2.2 build.. The CUDA is extremly slow and I have noticed that the cuda thread is taking up 100% of one (out of 2) of my CPUs, slowing down my SSE3 CPU threads.. Here are the versions:

Nvidia Driver: 185.18.31
CUDA Toolkit: 2.2 (ldd reports proper libs - added to ld.so.conf) -also copied libs to project.. directory
SETI Version: 6.6.36
Environment: FC10_64bit - Runlevel 3 - no xwindows
Video Card - 8600 GTS 256MB

I have copied the CUDA binary to a system directory in the path as mentioned. 

I even tried the new 190 driver and the 2.3 toolkit and same effect, just downgraded back to 2.2 toolkit and 185 driver.. Still same issue.. 100% cpu utilization.. This can't be efficient.. Any suggestions?

[attachment deleted by admin]
« Last Edit: 02 Aug 2009, 10:29:28 pm by letni »

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #305 on: 03 Aug 2009, 05:13:09 am »
latni can you give us a link of a wu done by the gpu?

I'm suspecting that you get an out of memory error and the wu is then done in cpu, that's why you get 100% cpu utilization by the cuda app.

letni

  • Guest
Re: SETI MB CUDA for Linux
« Reply #306 on: 03 Aug 2009, 08:55:31 am »
latni can you give us a link of a wu done by the gpu?

I'm suspecting that you get an out of memory error and the wu is then done in cpu, that's why you get 100% cpu utilization by the cuda app.

That is absoutly the case.. my first WU was finally finished by "GPU" and the error messages say MALLOC out of memory errors.. Looks like time for a better video card!

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #307 on: 03 Aug 2009, 09:26:47 am »
That is absoutly the case.. my first WU was finally finished by "GPU" and the error messages say MALLOC out of memory errors.. Looks like time for a better video card!

letni, what cuda app do you use? The 2.2 one or the one from the first post of this thread? The 2.2 one is very memory hungry. Try using the one from the first post of this thread and see if it helps. Mind you that it has a different name so you'll have to edit your app_info.xml accordingly.
« Last Edit: 03 Aug 2009, 09:28:53 am by sunu »

letni

  • Guest
Re: SETI MB CUDA for Linux
« Reply #308 on: 03 Aug 2009, 12:36:14 pm »
That is absoutly the case.. my first WU was finally finished by "GPU" and the error messages say MALLOC out of memory errors.. Looks like time for a better video card!

letni, what cuda app do you use? The 2.2 one or the one from the first post of this thread? The 2.2 one is very memory hungry. Try using the one from the first post of this thread and see if it helps. Mind you that it has a different name so you'll have to edit your app_info.xml accordingly.

That did the trick.. No 100% CPU usage anymore with the older binary.. Chugging away very fast now!! Hopefully no more computation errors!

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #309 on: 03 Aug 2009, 04:16:58 pm »
That did the trick.. No 100% CPU usage anymore with the older binary.. Chugging away very fast now!! Hopefully no more computation errors!
letni I see you've already completed a few WUs with your GPU. Happy crunching!  :)

Offline riofl

  • Knight o' The Round Table
  • ***
  • Posts: 240
Re: SETI MB CUDA for Linux
« Reply #310 on: 04 Aug 2009, 10:45:36 am »
if i were to build a machine with 4 GTX295 cards, will boinc see and use all 8 cuda processors properly and efficiently, or would i be better off using 4 GTX285 single gpu cards? i had originally thoguht of using 4 teslas but the GTX 285 outperforms it by a lot  just going by raw gflops (74 tesla vs 127 GTX) as measured by boinc.

« Last Edit: 04 Aug 2009, 10:51:31 am by riofl »

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #311 on: 04 Aug 2009, 11:22:38 am »
if i were to build a machine with 4 GTX295 cards, will boinc see and use all 8 cuda processors properly and efficiently, or would i be better off using 4 GTX285 single gpu cards?
Well, that is your choice. Boinc won't have any problems at all.

pp

  • Guest
Re: SETI MB CUDA for Linux
« Reply #312 on: 04 Aug 2009, 11:43:48 am »
And if it doesn't work you can send that machine to me...  ;D

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • Posts: 771
Re: SETI MB CUDA for Linux
« Reply #313 on: 04 Aug 2009, 12:08:06 pm »
And if it doesn't work you can send that machine to me...  ;D

Well, probably, first, he's going to bring that machine down on my head hard for making him blow his money away, but I'll take it anyway.  ;D

Offline riofl

  • Knight o' The Round Table
  • ***
  • Posts: 240
Re: SETI MB CUDA for Linux
« Reply #314 on: 04 Aug 2009, 02:16:12 pm »
And if it doesn't work you can send that machine to me...  ;D

Well, probably, first, he's going to bring that machine down on my head hard for making him blow his money away, but I'll take it anyway.  ;D

LOL as long as boinc can use all 8 processors efficiently it will be fine.. this is a '1st quarter next year' project im planning out now. prob use either an i7 proc or a couple quad core xeons not sure yet which would process better. i heard the modern xeons were super fast in math, but then ive also heard that about the i7 so... dunno... about the only thing that is a given is the choice of vid cards and hard drives and ram :) hehe friggin vid cards will cost as much as the rest of the machine will!
« Last Edit: 04 Aug 2009, 02:20:31 pm by riofl »

 

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?
Members
Total Members: 97
Latest: ToeBee
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 59559
Total Topics: 1672
Most Online Today: 13
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 10
Total: 10
Powered by EzPortal