DragonFly BSD
DragonFly kernel List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [PATCH] Double-level file descriptor allocation


From: Skip Ford <skip.ford@xxxxxxxxxxx>
Date: Thu, 22 Jan 2004 09:00:49 -0500

esmith wrote:
> Skip Ford wrote:
> >Here's a DragonFly port of Tim Robbins' FreeBSD port of Niels
> >Provos' NetBSD file descriptor allocation code.
> ..
> >          fd    Unpatched      Patched
> >            1    0.765650     0.781279
> >         2001    1.148484     0.789092
> >         4001    1.546935     0.765657
> ..
> >        48001   12.453618     0.812530
> 
> Is there a down-side to this?

Theoretically the downsides are more memory's needed to store the
filedesc structure, and more cycles are needed to initialize the
bitmaps.

-- 
Skip



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]