Why OpenAdapter becomes the hotspot when GPU accelerated on windows?

129 views
Skip to first unread message

Jin Yang

unread,
May 2, 2012, 2:51:12 AM5/2/12
to Chromium-discuss
Hi All,

When I profiled the hotspot of running HTML5 canvas benchmark with
Vtune, I found OpenAdapter is the most hot function.
The call stack is something like
igdumd32.dll!OpenAdapter
d3d9.dll!DebugSetLevel
kernel32.dll!BaseThreadInitTrunk
ntdll.dll!RtlInitializeExceptionChain

I am using release version of d3d runtime and release version of
chromium. Does anyone see the same phenomena or can help explain it?
Thanks!

Jin

John Bauman

unread,
May 2, 2012, 3:25:48 AM5/2/12
to jin.a...@intel.com, Chromium-discuss
It's odd that OpenAdapter would be so expensive in Intel's drivers. Chrome 19 should fix this, because it opens a shared texture much less often.


Jin

--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
   http://groups.google.com/a/chromium.org/group/chromium-discuss

John Bauman

unread,
May 2, 2012, 3:29:24 AM5/2/12
to jin.a...@intel.com, Chromium-discuss
Or maybe I'm wrong. I think you may be missing symbol files for igdumd32.dll and d3d9.dll, so the functions it's reporting are incorrect.

Yang, Jin A

unread,
May 2, 2012, 4:24:02 AM5/2/12
to John Bauman, Chromium-discuss

I have installed the both system symbols & d3d symbols and set them in the Vtune search path.  I have tried this on two machines.

John Bauman

unread,
May 2, 2012, 5:29:26 AM5/2/12
to Yang, Jin A, Chromium-discuss
Well, DebugSetLevel shouldn't be calling OpenAdapter, so the backtrace doesn't make sense. However, those are both exports from their respective DLLs, so that would explain why time is being assigned to them.
Reply all
Reply to author
Forward
0 new messages