From: "Nate Diller" Subject: Re: 2.6.16-rc6-mm2: slow writes on reiser4. Date: Thu, 23 Mar 2006 13:32:55 -0800 Message-ID: <5c49b0ed0603231332m40638272g4530f33c1d613205@mail.gmail.com> References: <44206D3C.7050504@free.fr> <4420FFA2.1090908@namesys.com> <44219CC2.3060405@free.fr> <44219FA8.2050606@namesys.com> <4422ECA8.6000309@kmlinux.fjfi.cvut.cz> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <4422ECA8.6000309@kmlinux.fjfi.cvut.cz> Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: Jindrich Makovicka Cc: Hans Reiser , Laurent Riffard , reiserfs-list@namesys.com, vs , Alexander Zarochentcev On 3/23/06, Jindrich Makovicka wrote: > Hans Reiser wrote: > > Instead of using sync, could you increase the size of the files you > > write so that they are 10x ram size? > > > > I have a suspicion we are slow at sync.... I am not sure why, but I > > have seen other data where sync was slow for us, and maybe we need to > > optimize that code path. > > My impression is rather that the bottleneck is the amount of seeking the > sync causes - would it be possible to reorder the write operations > somehow, still preserving atomicity? yeah, the kernel is not good at ordering flush during sync, it would work much better if Reiser4 could just be told to do a full sync, and then have only one thread that climbs through the fake inode and squallocs everything. > Also, a comparison of Reiser4 performance on NCQ vs. non-NCQ drive could > be interesting (I don't have NCQ, maybe that's the problem). the scheduler could make a difference too, most likely in the area of 'congestion' threshold and handling. NATE