On 3/23/06, Jindrich Makovicka <[EMAIL PROTECTED]> 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

Reply via email to