Re: Very slow SYS_io_destroy()

From: Alex Richman
Date: Mon Jul 23 2018 - 11:16:45 EST


Thanks for the response. I'm running 4.4.123-1 from Gentoo. It also happens on 4.4.87-r1.

Cheers,
- Alex.

On 23/07/18 16:13, Jeff Moyer wrote:
Alex Richman <alex.r@xxxxxxxxxxxx> writes:

Hi,

I'm seeing some weirdness with AIO, specifically SYS_io_destroy() is
taking upwards of ~100000 microseconds (~100 miliseconds) per call.
How long is that call expected to take? I can see from the source
Well, it waits for an RCU grace period. I would not expect that to take
100ms, though. What kernel version is this?

-Jeff

--
Alex Richman
alex.r@xxxxxxxxxxxx
Engineering
Tel:+44 (0)118 455 5000
www.gblabs.com