Re: New Performance (+Memory saver) patch

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 10 Apr 1997 23:23:55 +0100 (BST)


> descriptors are now allocacted in blocks (of 32). This code needs a few
> performance improvements (such as ensuring the fd-block size is the same
> as __NFDBITS to help speed up copy_files()), but it seems to work well
> (although I haven't done much testing with it - bewarned!).

I think that code is a false path. Amongst other things it prevents
get_fd() running without locks on the SMP kernel - thats makes some paths
far more expensive and prone to be scaling problems. Perhaps blocks of 256
so that most programs fit under 256 and can run unlocked ?

Alan