Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-06 | erts: Move fds with active true behaviour to own pollset | Lukas Larsson | |
At start of the VM a poll-set that the schedulers will check is created where fds that have triggered many (at the moment, many means 10) times without being deselected inbetween. In this scheduler specific poll-set fds do not use ONESHOT, which means that the number of syscalls goes down dramatically for such fds. This pollset is introduced in order to handle fds that are used by the erlang distribution and that never change their state from {active, true}. This pollset only handles ready_input events, ready_output is still handled by the poll threads. During overload, polling the scheduler poll-set is done on a 10ms timer. | |||
2018-10-23 | erts: Pass thread progress data where possible | Lukas Larsson | |
The poll thread does a lot of waking up and then going back to sleep. A large part of the waking up is managing thread progress and a large part of that was using thread specific data to get the thread progress data pointer. With this refactor the tpd is passed to each of the functions which greatly decreases the number of ethr_get_tsd calls which in turn halves the CPU usage of the poller thread in certain scenarios. | |||
2018-06-18 | Update copyright year | Henrik Nord | |
2017-10-02 | erts: Move all I/O polling to a seperate thread | Lukas Larsson | |