Re: epoll_wait inaccurate timeout

2016-12-12 Thread Dmitry Banschikov
On Mon, Dec 12, 2016 at 2:34 PM, Eric Wong wrote: > +Cc folks who may know about timer stuff on epoll. > > Dmitry Banschikov wrote: >> Hi! >> >> I have a problem caused by inaccurate timeouts in epoll_wait(2). >> Here are some parts of strace -tt output: >

epoll_wait inaccurate timeout

2016-12-02 Thread Dmitry Banschikov
poll_wait resumed> [{EPOLLIN, {u32=151458248, u64=151458248}}], 128, 362) = 1 ... 22036 09:35:41.433241 epoll_wait(5, 22036 09:35:43.176881 <... epoll_wait resumed> [], 128, 97) = 0 In each example epoll_wait is blocked for too longer then asked in timeout. Is it normal? Please CC