peripherals: 0.603 virtual: 0.533 ppc: 0.481 device: 0.477 graphic: 0.474 PID: 0.473 risc-v: 0.459 performance: 0.423 permissions: 0.423 register: 0.416 files: 0.395 VMM: 0.392 hypervisor: 0.382 arm: 0.376 boot: 0.362 TCG: 0.332 semantic: 0.322 user-level: 0.316 KVM: 0.314 mistranslation: 0.311 network: 0.290 architecture: 0.271 assembly: 0.261 i386: 0.242 vnc: 0.233 socket: 0.231 debug: 0.228 kernel: 0.162 x86: 0.135 virtio-gpu-3d.c: change virtio_gpu_fence_poll timer scale We use virtio-gpu to accelerate Unigine Heaven Benchmark in VM. But we get only 5 FPS when we use AMD RX460 in our host. We found that guest os spent a lot of time in waiting for the return of glMapBufferRange/glUnmapBuffer commad. We suspected the host GPU was waiting for fence. So we finally change the timer of fence_poll. Afer change timer from ms to us, Benchmark result raise up to 22 FPS. From a4003af5c4fe92d55353f42767d0c45de95bb78f Mon Sep 17 00:00:00 2001 From: chen wei