Re: changes to kiobuf support in 2.4.(?)4

Andrea Arcangeli (andrea@suse.de)
Thu, 2 Aug 2001 12:00:12 +0200


On Thu, Aug 02, 2001 at 02:25:48AM -0700, Jeremy Higdon wrote:
> On Aug 2, 11:11am, Andrea Arcangeli wrote:
> >
> > > At 13000 IOPS, when allocating and freeing on every I/O request,
> > > the allocate/free overhead was approximately .6% on a 2 CPU system,
> > > where the total overhead was about 25%. So I would theoretically
> > > gain 3% (maybe a little better since there is locking involved) if
> > > I could avoid the alloc/free.
> >
> > Ok good.
> >
> > Andrea
>
>
> So one more question for now:
>
> Where do I get the O_DIRECT patch?

I will upload a new one today in my ftp area on kernel.org against
2.4.8pre3. (the current one has a silly bug spotted by Ken Preslan while
testing O_DIRECT on GFS)

> Oh, and is there a plan to get it into 2.4.X?

The one I will upload today is stable enough to be ok for inclusion and
it generates good numbers. Infact the O_DIRECT way on top of the fs will
be the prefered way for storing DB files compared to rawio on lvm that
people uses today (except when using the shared storage but even for it
I just had feedback from the GFS folks that just verified GFS to work
correctly with the O_DIRECT patch). The only detail left for some DB
that wants to use 2k I/O granularity also on a 4k blocksized-fs is to
relax the granularity of the I/O from the softblocksize to the
hardblocksize but it will be tricky to do that without losing any
performance (however I don't see that as a requirement to make use of
O_DIRECT, infact other people is using it without seeing the
softblocksize constraint as a problem) but we'll have to relax that
constraint eventually to make everybody happy.

Andrea
-
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/