[erlang-questions] Support for polling HDD in linux 4.4
Mikael Pettersson
mikpelinux@REDACTED
Mon Apr 25 15:48:08 CEST 2016
Max Lapshin writes:
> There is a news on LWN: http://lwn.net/Articles/663879/
> and Ubuntu 16.04 with kernel that seems to support it.
>
> We in erlyvideo have to maintain our own "thread pool" inside erlang in top
> of erlang thread pool because it is very important to have different pools
> for different devices.
>
> All this is very complicated and could be more elegant if disk had async
> API.
>
>
> Have anyone looked at this polling API? Maybe it is time to implement it
> in erlang?
I didn't see much of an "API" there, only a sysfs file to toggle,
and that's not something we should (and often cannot) do from ERTS.
More information about the erlang-questions
mailing list