From 5ec49953052ae29a16c89d0ffc3272b6088e6df4 Mon Sep 17 00:00:00 2001 From: Renato Pereyra Date: Tue, 5 Apr 2022 18:02:46 -0700 Subject: [PATCH] Revert "venus: Increase the base sleep of vn_relax" This reverts commit 737937f45e4231dd596780a856270693566de658. Testing has revealed sizable performance drops arising out of this change. Part-of: --- src/virtio/vulkan/vn_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virtio/vulkan/vn_common.c b/src/virtio/vulkan/vn_common.c index f9d639ba1f7..b74b2384dd5 100644 --- a/src/virtio/vulkan/vn_common.c +++ b/src/virtio/vulkan/vn_common.c @@ -86,7 +86,7 @@ vn_relax(uint32_t *iter, const char *reason) * keep doubling both sleep length and count. */ const uint32_t busy_wait_order = 4; - const uint32_t base_sleep_us = 120; + const uint32_t base_sleep_us = 10; const uint32_t warn_order = 12; const uint32_t abort_order = 14;