[Vm-dev] Another NuScratch issue
Levente Uzonyi
leves at caesar.elte.hu
Mon Dec 14 05:34:55 UTC 2020
On Sun, 13 Dec 2020, tim Rowledge wrote:
>
>
>
>> On 2020-11-22, at 8:50 PM, Levente Uzonyi <leves at caesar.elte.hu> wrote:
>>
>> 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.
>
> Do we have a decent solution for this issue? It *utterly* ruins NuScratch on a Pi and I'm trying to make a new release. Won't someone please think of the children?
Just pushed a fix[1]. Let me know if that works.
Levente
[1] https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/3db3888c2a76bd91ef66d70521d85f80e9d18f1d
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Strange OpCodes: ETO: Emulate Toaster Oven
More information about the Vm-dev
mailing list