All of lore.kernel.org
 help / color / mirror / Atom feed
* serial percpu_ref draining in exit_aio()
@ 2015-03-19 17:34 Tejun Heo
  2015-03-19 20:25 ` Jens Axboe
  0 siblings, 1 reply; 8+ messages in thread
From: Tejun Heo @ 2015-03-19 17:34 UTC (permalink / raw)
  To: kent.overstreet, Benjamin LaHaise; +Cc: linux-kernel, Jens Axboe

Hello,

So, Jens noticed that fio process exiting takes seconds when there are
multiple aio contexts and the culprit seems to be the serial
percpu_ref draining in exit_aio().  It's generally a bad idea to
expose RCU latencies to userland because they add up really quickly
and are unrelated to other performance parameters.  Can you guys
please at least update the code so that it waits for all percpu_refs
to drain at the same time rather than one after another?  That should
resolve the worst part of the problem.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-03-20 19:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19 17:34 serial percpu_ref draining in exit_aio() Tejun Heo
2015-03-19 20:25 ` Jens Axboe
2015-03-19 20:58   ` Jeff Moyer
2015-03-19 21:00     ` Tejun Heo
2015-03-19 21:27       ` Jens Axboe
2015-03-19 21:43         ` Jens Axboe
2015-03-20 18:56           ` Jeff Moyer
2015-03-20 19:21             ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.