lkml.org 
[lkml]   [2015]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectserial percpu_ref draining in exit_aio()
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


\
 
 \ /
  Last update: 2015-03-19 19:01    [W:0.045 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site