+- +-
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: optimized sources  (Read 615533 times)

Offline Richard Haselgrove

  • Messenger Pigeon
  • Knight who says 'Ni!'
  • *****
  • Posts: 2819
Re: optimized sources
« Reply #720 on: 11 Aug 2011, 03:48:20 am »
I wonder if it could be specific to notebooks?

09-Aug-2011 16:07:08 [---] Starting BOINC client version 6.12.33 for windows_x86_64
09-Aug-2011 16:07:08 [---] OS: Microsoft Windows 7: Home Premium x64 Edition, Service Pack 1, (06.01.7601.00)
09-Aug-2011 16:07:08 [---] NVIDIA GPU 0: GeForce GT 420M (driver version unknown, CUDA version 4000, compute capability 2.1, 994MB, 128 GFLOPS peak)

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #721 on: 11 Aug 2011, 03:55:19 am »
Hi Jason,
nvAPItest shows the correct driver version as you can see.
267.21 is the same as gpuz0.5.4 show.
Your program does it right.  :)

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #722 on: 11 Aug 2011, 04:27:06 am »
My ION shows the driver correct
11.08.2011 10:16:27      Starting BOINC client version 6.10.60 for windows_intelx86
11.08.2011 10:16:28      NVIDIA GPU 0: ION (driver version 27032, CUDA version 4000, compute capability 1.1, 242MB, 35 GFLOPS peak)

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #723 on: 11 Aug 2011, 04:42:58 am »
Hi Jason,
I posted it some months ago to Ken http://www.primegrid.com/forum_thread.php?id=3144&nowrap=true#33133
The Querying for a CUDA Device is so different in the OPTIMUS Technology,
 see http://developer.download.nvidia.com/compute/cuda/3_2_prod/toolkit/docs/CUDA_Developer_Guide_for_Optimus_Platforms.pdf
 page 3
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 I think it would be better the app choose the GPU, than jiggle with profiles.
 my two cents.
 
heinz
 

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #724 on: 11 Aug 2011, 05:29:09 am »
I wonder if it could be specific to notebooks?

If mine works, then it's specific to Boinc  :D (i.e. they aren't using the same mechanism, I
I'll have a proper look what the use a bit later. strange they would link with nvApi and not use that. )
« Last Edit: 11 Aug 2011, 05:37:40 am by Jason G »

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #725 on: 11 Aug 2011, 05:45:41 am »
... I think it would be better the app choose the GPU, than jiggle with profiles.
 my two cents....
yeah optimus has differences when you need Cuda + Graphics (DX or OpenGL), which we didn't ever need to worry about.  I am curious how Boinc tells the driver version now, as it looks to sometimes give the same proper result & sometimes weird 'unknown'.  I'll look into it, as really it's likely the server needs to know the proper driver version one day, to send the right applications.

Offline Richard Haselgrove

  • Messenger Pigeon
  • Knight who says 'Ni!'
  • *****
  • Posts: 2819
Re: optimized sources
« Reply #726 on: 11 Aug 2011, 06:04:40 am »
If mine works, then it's specific to Boinc  :D (i.e. they aren't using the same mechanism, I
I'll have a proper look what the use a bit later. strange they would link with nvApi and not use that. )

Well, yes, BOINC - but it's specific to certain hosts, and thus I suspect to certain graphics cards. Looking at my host list, it's only the 420M notebook which is missing a driver. The only other difference which would be worth considering is that the notebook is the only 64-bit host in that list - but there are enough 64-bit users around to rule that difference out. Oh, and notebook GPUs are almost by definition OEM variants - GPU-Z has problems getting memory usage from this one, for example.

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #727 on: 11 Aug 2011, 06:08:55 am »
Mine's 64 bit, so that's eliminated as a source.  Now that I'm curious I'll have a bit of a dig in the Boinc sources & give you another source patch... LoL

Offline Richard Haselgrove

  • Messenger Pigeon
  • Knight who says 'Ni!'
  • *****
  • Posts: 2819
Re: optimized sources
« Reply #728 on: 11 Aug 2011, 06:12:06 am »
Mine's 64 bit, so that's eliminated as a source.  Now that I'm curious I'll have a bit of a dig in the Boinc sources & give you another source patch... LoL

I'll be around for a couple of hours to run any instrumented test apps, but I've promised to go out on a call at 13:00 UTC.

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #729 on: 11 Aug 2011, 06:13:27 am »
I'll be around for a couple of hours to run any instrumented test apps, but I've promised to go out on a call at 13:00 UTC.
I'm off to work anyway.  Only a few hours tonight.  Heinz has just got me curious now, so I have to find out  ;)

[Later:]  Looks like some ancient nvapi.lib (both 32 & 64 bit) in the Boinc Trunk.  I'll have a look if simply bringing them up to date is easy enough, and helps (or not).

Boinc trunk 32 bit version nvapi:
- name: nvapi.lib
- size: 10.1KB
Mine: nvapi.lib, 80.9KB

Boinc trunk 64 bit version nvapi:
- name: nvapi.lib
- size: 10.7KB
Mine: nvapi64.lib, 116KB


« Last Edit: 11 Aug 2011, 09:39:30 am by Jason G »

Offline Josef W. Segur

  • Janitor o' the Board
  • Knight who says 'Ni!'
  • *****
  • Posts: 3112
Re: optimized sources
« Reply #730 on: 11 Aug 2011, 11:21:23 am »
BOINC is still trying to support Win2k, likely the most recent versions of that DLL don't. Time marches on...
                                                          Joe

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #731 on: 11 Aug 2011, 11:26:40 am »
BOINC is still trying to support Win2k, likely the most recent versions of that DLL don't. Time marches on...
                                                          Joe
I'll add that the nvApi interface is 'supposed' to be forward & backward compatible. I guess it seems to work for most of us, but these freaky laptop guys just never do what they are told...

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #732 on: 11 Aug 2011, 08:24:22 pm »
Awaiting 10 Mio from pg in the next days...
Got it gt540m_10Mio_primegrid
crunching since 20 Feb 2011 | 15:48:17 UTC, including 14 days vacation, and normal use of the laptop
~~~~~~~~~~~~~~~~~~
Total 193,944,311.28
Precalculation says:
200 Mio total <--- Ziel wird in 86.68 Tagen am 6. November 2011 erreicht werden.
We will see if it come true....
heinz  ;D


« Last Edit: 12 Aug 2011, 03:12:25 am by _heinz »

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #733 on: 12 Aug 2011, 05:34:46 am »
V8-Xeon:
The new SuperFlower 1200W announced in Germany, so my waiting was a right done.
Super Flower SF1200P14HE Crystal Twilight 80+ PC-Netzteil 1200 Watt ATX
Gewöhnlich versandfertig in 2 bis 5 Wochen.
Ready to ship 2 till 5 weeks..... so it will be in september.
Datenblatt-Super-Flower-Crystal-Twilight-SF1200P14HE-1200-Watt] (Technical description, data-paper)
I choose this one because I have a lot of cables and accessories from my old SuperFlower Crystal Plus 1000W.

heinz

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #734 on: 12 Aug 2011, 08:04:19 am »
GT540m and ION
get some respectable numbers (10Mio btw 1.4Mio)...by running optimized cuda apps, no cpu-apps used.

heinz
modify:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Happy Birthday

Als der Rechner auf den Schreibtisch kam

30 Jahre Personal Computer

von Alfred Krüger

Der Personal Computer feiert Geburtstag. Am 12. August 1981 kam der erste IBM-PC auf den Markt, die erfolgreichste Computerplattform aller Zeiten. Seine Marktmacht hat der PC mittlerweile eingebüßt. Mobile Geräte erobern den Markt.

http://www.heute.de/ZDFheute/inhalt/13/0,3672,8318541,00.html

I have one of this old machines (IBM 5160XT, 10MB FP) in my collection.  ;D

homecomputermuseum
« Last Edit: 16 Aug 2011, 02:10:28 pm by _heinz »

 

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: 355
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 32
Total: 32
Powered by EzPortal