[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ext4
Subject:    Re: [Ext2-devel] Re: [PATCH 2/3] ext3 reservation allow turn off
From:       Mingming Cao <cmm () us ! ibm ! com>
Date:       2004-10-26 23:01:25
Message-ID: 1098831688.9920.7632.camel () w-ming2 ! beaverton ! ibm ! com
[Download RAW message or body]

On Tue, 2004-10-26 at 13:18, Andrew Morton wrote:
> Mingming Cao <cmm@us.ibm.com> wrote:
> >
> > > I wonder how important this optimisation really is?  I bet no applications
> >  > are using posix_fadvise(POSIX_FADV_RANDOM) anyway.
> >  > 
> >  I don't know if there is application using the POSIX_FADV_RANDOM. No? If
> >  this is the truth, I think we don't need this optimization at present.
> >  Logically reservation does not benefit seeky random write, but there is
> >  no benchmark showing performance issue so far. We have already provided
> >  ways for applications turn off reservation through the existing ioctl
> >  for specified file and -o noreservation mount option for the whole
> >  filesystem.
> 
> Well we definitely don't want to be encouraging application developers to be
> adding ext3-specific ioctls.  So we need to work out if any applications
> can get significant benefit from manually disabling reservations and if
> so, wire up fadvise() into filesystems and do it that way.
> 
Okey. Also, if there is such a need to disable reservation, maybe we
could think about closing the reservation window dynamically based on
past I/O pattern, when user application did not give any hint.

> Do you know if disabling reservations helps any workloads?
> 
Not that I aware of.  We have done several microbenchmark on sequential
and random workload, haven't seen regression with reservations so far.
But our testing is certainly not comprehensive.

Mingming



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Ext2-devel mailing list
Ext2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ext2-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic