+- +-
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: Profiling of OpenCL apps  (Read 12741 times)

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Profiling of OpenCL apps
« on: 20 Jan 2012, 07:35:53 pm »
@Morten
what stderr says ?

Offline Morten

  • Knight o' The Round Table
  • ***
  • Posts: 165
Re: Profiling of OpenCL apps
« Reply #1 on: 20 Jan 2012, 09:01:40 pm »
Stderr has not been updated during these tests - last time is days ago.
This is what .csv says:

# ProfilerVersion=2.4.1297                                                                                       
# Application=D:/ProgramData/BOINC/projects/setiathome.berkeley.edu/MB_6.10_win_x86_SSE3_OpenCL_ATi_r331.exe                                                                                       
# ApplicationArgs=                                                                                       
# Device Cayman PlatformVendor=Advanced Micro Devices    Inc.                                                                                    
# Device Cayman PlatformName=AMD Accelerated Parallel Processing                                                                                       
# Device Cayman PlatformVersion=OpenCL 1.1 AMD-APP (844.4)                                                                                       
# Device Cayman CLDriverVersion=CAL 1.4.1658 (VM)                                                                                       
# Device Cayman CLRuntimeVersion=OpenCL 1.1 AMD-APP (844.4)                                                                                       
# Device Cayman NumberAppAddressBits=32                                                                                       
# Device Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz PlatformVendor=Advanced Micro Devices    Inc.                                                                                    
# Device Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz PlatformName=AMD Accelerated Parallel Processing                                                                                       
# Device Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz PlatformVersion=OpenCL 1.1 AMD-APP (844.4)                                                                                       
# Device Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz CLDriverVersion=2.0                                                                                       
# Device Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz CLRuntimeVersion=OpenCL 1.1 AMD-APP (844.4)                                                                                       
# Device Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz NumberAppAddressBits=32                                                                                       
# OS=Windows 7 Build 7601 Service pack 1                                                                                       
Method     ExecutionOrder     ThreadID     CallIndex     GlobalWorkSize     WorkGroupSize     Time     LocalMemSize     VGPRs     SGPRs     ScratchRegs     FCStacks     Wavefronts     ALUInsts     FetchInsts     WriteInsts     LDSFetchInsts     LDSWriteInsts     ALUBusy     ALUFetchRatio     ALUPacking     FetchSize     CacheHit     FetchUnitBusy     FetchUnitStalled     WriteUnitStalled     FastPath     CompletePath     PathUtilization     LDSBankConflict

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: Profiling of OpenCL apps
« Reply #2 on: 21 Jan 2012, 02:29:41 am »
You should not run in BOINC directory structure.
Do the next:

run bench (offline) with VLAR task only in TestWUs.
then go to science_apps and delete state.sah
the run profiler from that directory (it should contain app executable you want to profile of course and will contain required data input for app after running benchmark).

Offline Morten

  • Knight o' The Round Table
  • ***
  • Posts: 165
Re: Profiling of OpenCL apps
« Reply #3 on: 21 Jan 2012, 07:43:31 am »
I had to cancel task before its completion when it reached 2GB RAM usage. It seams in profiler mode it will generate memory leak.

Please see csv / stderr.

In this mode I did not experience sluggish system, so I hope you are able to find useful info.

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: Profiling of OpenCL apps
« Reply #4 on: 21 Jan 2012, 07:55:34 am »
hm... looks like longest kernel FindPulse partial so should respond on parameter change. Other much shorted, 18ms approx...
Perhaps it's driver/config thing still...

Offline Morten

  • Knight o' The Round Table
  • ***
  • Posts: 165
Re: Profiling of OpenCL apps
« Reply #5 on: 23 Jan 2012, 02:39:58 pm »
So what should be the next step here?

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: Profiling of OpenCL apps
« Reply #6 on: 23 Jan 2012, 03:46:00 pm »
Await new driver/ answer from AMD...
also, if only 1 GPU working - there is lag or not ?

Offline Morten

  • Knight o' The Round Table
  • ***
  • Posts: 165
Re: Profiling of OpenCL apps
« Reply #7 on: 23 Jan 2012, 03:50:42 pm »
When running profiler with just one task I did not experience lagging.

Perhaps if you update the post with your findings it will be a more constructive response from AMD?

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: Profiling of OpenCL apps
« Reply #8 on: 26 Jan 2012, 05:07:58 am »
When running profiler with just one task I did not experience lagging.

Perhaps if you update the post with your findings it will be a more constructive response from AMD?

Try to run benchmark with single VLAR task but w/o profiler. Will lag there?
Profiler changes too much to judge.

 

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