I've recently discovered weird behaviour of EV-loop timers.
First in Tarantool, and now in Perl libev.
Subj:
When asking EV-loop to sleep for 1ms, it does 1.2ms when requesting to sleep for 2ms, it does 2.4ms, for 3ms => 3.7ms for 4ms => 5ms and after that this behaviour stop. So asking to sleep 5ms results in sleep of 6ms