Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1184356

Re: [PATCH RFC 0/4] change sb_writers to use percpu_rw_semaphore

From Jan Kara <jack@suse.cz>
Newsgroups linux.kernel
Subject Re: [PATCH RFC 0/4] change sb_writers to use percpu_rw_semaphore
Date 2015-07-15 08:50 +0200
Message-ID <pMoFX-83L-19@gated-at.bofh.it> (permalink)
References (1 earlier) <pM5WF-14S-1@gated-at.bofh.it> <pM8Bb-2Jz-11@gated-at.bofh.it> <pMfMl-3Jp-7@gated-at.bofh.it> <pMfW1-3UL-13@gated-at.bofh.it> <pMgfo-4h4-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 14-07-15 14:41:13, Dave Hansen wrote:
> On 07/14/2015 02:22 PM, Oleg Nesterov wrote:
> >> Using my little write-1-byte test (under will-it-scale), your 4 patches
> >> improves the number of writes/sec by 12%.  My 3 patches improve the
> >> number of writes/sec by 32%.
> 
> I looked at it again.  I tested with this patch in addition to the ones
> modifying __sb_start/end_write():
> 
> 	https://lkml.org/lkml/2015/6/24/682
> 
> That is where the performance delta came from.  Your patches (plus the
> fsnotify optimization) perform very similarly to my approach.
> 
> Yours remove so much code that I think they are the preferable approach.
> 
> They don't compile with lockdep on, btw. :)

Great, thanks for hashing it out. So I'm also in favor of Oleg's approach
as well. We just have to wait until he fixes the outstanding issues with
his code. Dave, just send your fsnotify patch separately to AKPM - he
usually merges fsnotify stuff. Thanks.

								Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH RFC 0/4] change sb_writers to use percpu_rw_semaphore Jan Kara <jack@suse.cz> - 2015-07-15 08:50 +0200
  Re: [PATCH RFC 0/4] change sb_writers to use percpu_rw_semaphore Jan Kara <jack@suse.cz> - 2015-07-16 12:20 +0200
  Re: [PATCH RFC 0/4] change sb_writers to use percpu_rw_semaphore Oleg Nesterov <oleg@redhat.com> - 2015-07-16 19:40 +0200
    Re: [PATCH RFC 0/4] change sb_writers to use percpu_rw_semaphore Dave Chinner <david@fromorbit.com> - 2015-07-17 03:30 +0200

csiph-web