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

Re: objcache depot not used?


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sun, 27 Jan 2008 19:08:19 +0100

Nicolas Thery wrote:
When an objcache is created, a pair of magazines is created for each
cpu (with mag_alloc()) and tied to each per-cpu cache.  The depot is
initially empty.  I can't find any other call to mag_alloc() and AFAIU
per-cpu caches always have 2 magazines. I therefore suppose that the
depot stays empty and is never used.

is it intentional?

I doubt. The object cache lacks certain things the bonwick 2001 paper had (like dynamic magazine sizes, full or empty magazines only in the depot, allocation of empty magazines on demand). We should write it properly at some point. It just never was pressing enough.


cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




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