Re: VFS

H. Peter Anvin (hpa@transmeta.com)
30 Nov 1997 19:01:15 GMT


Followup to: <m0xcB7b-0005FsC@lightning.swansea.linux.org.uk>
By author: alan@lxorguk.ukuu.org.uk (Alan Cox)
In newsgroup: linux.dev.kernel
>
> > > innxmit a list of inode numbers avoided the overhead of opening a file in
> > > a dir with potentially thousands of other files. I never tried these
> > > patches, so I can't say how well it actually works.
> >
> > Rumors say the gain is about 30-40%.
>
> On per article feed time. Note btw that this is a sort of specialist case
> and the hack was done by one of the freenix top 10 sites so they have
> specific reasons. The next generation of INN supports arbitary article
> databases, so you can go around write newsfs if you want ;)
>

It may be the way to go. A special filesystem indexable by inode
directly. It avoids the security hole of a general openi() system
call, and avoids the overhead of keeping directories at all...

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables