device: 0.477 graphic: 0.474 PID: 0.473 performance: 0.423 permissions: 0.423 files: 0.395 boot: 0.362 other: 0.339 semantic: 0.322 KVM: 0.314 network: 0.290 vnc: 0.233 socket: 0.231 debug: 0.228 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