[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: best practices WRT resizing a MDB backend?

Florian Weimer wrote:
* Quanah Gibson-Mount:

Last time I tried on BSD, it didn't use sparse files with writemap
like Linux does.  It just made a massive file on disk of the size
specified for the maxsize.  I.e., BSD didn't correctly support sparse
files with writemap.

Even on Linux, sparse files which are filled incrementally can result
in lots of fragmentation, huge extent lists (tens of thousands of
entries longs), and long delays when opening such files.

It depends on the filesystem, not the operating system. The original BSD FFS supported sparse files just fine.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/