lkml.org 
[lkml]   [2009]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] async: Don't call async_synchronize_full_special() while holding sb_lock
Dave Chinner wrote:

>
> So, given the potential impact of this change, what testing have
> you done in terms of:
>
> - performance impact

I tested this on my machines and it gave a real performance improvement (11 to 8 seconds for a full kernel tree unlink, and cutting out
latency for normal applications)
> - sync() safety
that was exactly the synchronization point that's discussed here.

> - removing a million files and queuing all of the
> deletes in the async queues....

the async code throttles at 32k outstanding.
Yes 32K is arbitrary, but if you delete a million files fast, all but the first few thousand are
synchronous.



\
 
 \ /
  Last update: 2009-01-09 05:47    [W:0.179 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site