lkml.org 
[lkml]   [2013]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH, v2] anon_vmas: Convert the rwsem to an rwlock_t
From
Date
On Mon, 2013-09-30 at 20:14 +0200, Peter Zijlstra wrote:
> On Mon, Sep 30, 2013 at 10:10:27AM -0700, Tim Chen wrote:
> > Here's the exim workload data:
> >
> > rwsem improvment:
> > Waimain's patch: +2.0%
> > Alex+Tim's patchset: +4.8%
> > Waiman+Alex+Tim: +5.3%
> >
> > convert rwsem to rwlock_t for root anon_vma lock
> > Ingo's patch +11.7%
> >
>
> What happens if you stuff Waiman's qrwlock patches on top of that?
> admittedly and oft mentioned in this thread, our current rwlock_t is
> somewhat suboptimal under a number of conditions.

I've tested with Waiman's qrwlock patches on top of Ingo's patches.
It does not affect the throughput for exim and I still get
about +11.7% throughput change (same as with Ingo's patch only).

Tim



\
 
 \ /
  Last update: 2013-09-30 21:41    [W:0.072 / U:1.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site