NSight统计数据的颜色,缩写意义是什么?来自NV Jeff Kiel 比较官方的解释!

结合这个图示来看:https://dl.dropboxusercontent.com/u/32077444/nsight.pdf

1) The bars you see in the Summary Page of the Profiler represent the % bottlenecked that unit was for the selected draw call(s). This gives you a feel for which part of the pipeline to go after for optimization opportunities, rather than just trying things and seeing if the FPS changes. So, in your case, you are showing ~75-80%, which means you can try and improve your shader source and that should help the performance of the 5 draw calls in your selected Draw Call Group. Note that a unit doesn’t have to be a 100% bottleneck for it to be worth investigating for changes. Even if it is a bottleneck 10% of the time it still prevented you from achieving the optimal throughput for a given call, so if you are, say, 20% texture bound you can still investigate the standard optimizations like filtering and mipmapping to see how it impacts perf.

2) The gaps in the Frame Timings graph are sometimes uncontrollable. It can be helpful to run an analysis session on your frames to get a feel for how full your command buffers might be and what might cause the gap (such as resource uploads, etc.). We don’t really give out more details in that screen and without a repro it is hard to tell exactly what caused the gap.

3) You asked about the 3 timing values in the Frame Timings and what might be considered “good”. The 3 values represent 2 ways to measure the draw call timing and 1 calculated value:

a.EPC/Empty Pipeline Cost: This is measuring each draw call, one at a time, as it flows from the top to the bottom of the pipe. We add a flush before and after each call so you can consider this an absolute cost for the draw call, not taking anything else like pipeline width, resource contention (both positive and negative), etc. into account. This is helpful to know how much each draw call costs in isolation.

b. FPC/Full Pipeline Cost: We measure this value with all draw calls in flight but bookended by pipeline reports that give us the start time for each draw call (first vertex being processed) to the end (last fragment being retired to the frame buffer). This means that any resource contention such as hitting the texture unit and either warming or dirtying the cache, having so many threads around that the shader units are fully occupied and cannot start on new work, is all taken into account. This gives you a “real world” cost for every draw call.

c. IDC/Incremental Draw Cost: This is a calculated value that takes into account any overlap you might see in draw calls. Say you have 2 identical draw calls, each one basically takes up ½ of the full pipeline width. Each one’s EPC and FPC are likely to be very close, but if they only take up ½ of the width the incremental or additional cost of that second might actually be 0…it is able to be executed fully in parallel with the first call. So, the FPS would be the same, 1 draw or 2, and the IDC would be full cost for the first call and 0 for the second. 

4) On the Memory Screen, you asked if there was a breakdown per shader or draw request. This is what we have the state buckets for. By pressing the button on the tool bar, you can group draw calls be shared state (in this case you can say the shader in question) and then you will see the stats for just those draw calls. You can also do it based on performance markers, so you can group them pretty much however you want.

5) On the Memory Screen, you asked if the 330k was read or write and it is the sum. We don’t yet break out read vs write but could consider it for a future enhancement.

6) Your other question on the Memory screen was what the 3.6GB of bandwidth between L2 and Memory was and that is the number of bytes written. I must confess that I am puzzled by the number because it should be basically the sum of write operations that go through the L2 and most of them should come via the Framebuffer unit. If I can get access to your app it would help me understand if we have a bug there or just a number that isn’t reported.

7) On the Bottleneck screen, you asked about drilling into the shader bottleneck information. We don’t currently support this but it is a feature that we have considered and already laid some of the ground work for in our CUDA tools. I will add you to the list of requestors for that capability.

8) You asked how the Framebuffer could be a bottleneck if rendering a full screen quad and that is because in NVIDIA language, the Framebuffer represents basically the memory controller. All requests for memory, from the blending unit, texture unit, shader, etc. all go through the Framebuffer unit. Are you doing lots of lookups in draw call 116?

9) Utilization is generally trying to show you how much of the available horsepower you used for the amount of time the draw call took. To gain details I would need to know what your workload was and possibly sample additional data, but it is possible the shader unit is underutilized because it was bottlenecked waiting for data inside of the shader unit, like L1 values to return, local memory, or other resource contention.

你可能感兴趣的:(NSight统计数据的颜色,缩写意义是什么?来自NV Jeff Kiel 比较官方的解释!)