[Vm-dev] Another NuScratch issue

Levente Uzonyi leves at caesar.elte.hu
Mon Nov 23 04:50:12 UTC 2020


On Sat, 21 Nov 2020, Eliot Miranda wrote:

> Hi Yoshiki,
>
>    Levente replaced the select code with epoll code on Linux a fey weeks
> ago.  Maybe there’s a regression.

That is indeed the culprit. epoll_wait expects the timeout in milliseconds 
but the value is in microseconds. Unfortunately, fixing that brings back 
the old increased cpu usage.


Levente


More information about the Vm-dev mailing list