Vulkan-ValidationLayers icon indicating copy to clipboard operation
Vulkan-ValidationLayers copied to clipboard

Enormous overhead in synchronization validation

Open charlie-ht opened this issue 1 year ago • 5 comments

Environment:

  • OS: Debian 12
  • GPU and driver version: NVIDIA beta
  • SDK or header version if building from repo: VVL commit 7aa533e02530b73b45642d4e880d6ec42d6616d5
  • Options enabled (synchronization, best practices, etc.): None

Describe the Issue

While running dEQP-VK.synchronization.basic.timeline_semaphore.chain in the CTS with validation, I saw a huge overhead of the layers. It takes 4 minutes to complete with the layers on, and 0.5 seconds with them off.

I took a perf trace to help investigate,

image

I should note it is with a Debug build of VVL. In release it takes 20s, which is still seems rather a lot compared to "normal". The test makes 32769 calls to vkQueueSubmit...

Expected behavior Test takes a few seconds.

charlie-ht avatar Jan 10 '24 18:01 charlie-ht