From mboxrd@z Thu Jan 1 00:00:00 1970 From: reiser Subject: Re: External journals and NVRAM devices Date: Tue, 05 Nov 2002 13:23:30 -0800 Message-ID: <3DC836D2.5060100@namesys.com> References: <20021101213703.D142A50D503@server5.fastmail.fm> <1036415792.14291.12.camel@tiny> Reply-To: reiser@namesys.com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <20021101213703.D142A50D503@server5.fastmail.fm> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Chris Mason Cc: JP Howard , Edward Shishkin , Andreas Dilger , ReiserFS List , Oleg Drokin Chris Mason wrote: >On Fri, 2002-11-01 at 16:37, JP Howard wrote: > > > >>Apologies to all for my lack of reading comprehension. Yes, of course >>that shows 32M... >> >>When the 2.4.20 journal-size patches are out I'll try and do some >>benchmarking with larger journals on NVRAM devices. We use Cyrus IMAPd >>which is very fsync intensive, so I expect an NVRAM journal may make a >>big difference... >> >> >> > >The data logging patches include a ton of reiserfs writeback changes >that allow good performance with small transactions (like mail server >workloads) and small log sizes. > >With ext3, a 128M or bigger log can really improve performance because >so much of the writeback is done through bdflush/kupdate. > Please explain the because clause of the sentence above in more detail. > With a bigger >log, it is much more likely things will already be written to the main >disk by the time you need to wrap around and reuse part of the log for a >new transaction. So a big log, and tuning bdflush to trigger writeback >quickly can really help ext3 performance. > >(note, this gives ext3 some memory pressure advantages) > >With data logging reiserfs a mail server will rarely need more than a >32MB log. A larger log can help when you've got a very full tree >(millions of files), since those transactions will be slightly larger, >or when you are doing fsyncs on big files. > >Andrew Morton's synctest program is a pretty good tool for benchmarking >optimal transaction parameters. > >-chris > > > > > >