[c-host] decrease LGMP polling interval to a sane value and comment

This commit is contained in:
Geoffrey McRae 2020-01-27 01:55:14 +11:00
parent fea0a98b9e
commit 9d7f773b9c
3 changed files with 10 additions and 3 deletions

2
LGMP

@ -1 +1 @@
Subproject commit 1a27ea94067dbfd38734a030145eb93ae4d2a958
Subproject commit 2ba8fd3391759ad95384d598ab26e39283cbb71a

View file

@ -1 +1 @@
B1-111-gd860d6b891+1
B1-115-gfea0a98b9e+1

View file

@ -94,7 +94,14 @@ static int lgmpThread(void * opaque)
DEBUG_ERROR("lgmpHostProcess Failed: %s", lgmpStatusString(status));
break;
}
usleep(10000);
/*
2ms should be good for up to 500FPS, do not lower this value as excessive
polling of io memory at this time causes QEMU/KVM stalls due to an unknown
fault.
See: https://lists.gnu.org/archive/html/qemu-devel/2020-01/msg06331.html
*/
usleep(2000);
}
app.running = false;