--On Thursday, August 21, 2014 10:53 PM -0400 Brian Reichert reichert@numachi.com wrote:
On Thu, Aug 21, 2014 at 03:55:09PM -0700, Quanah Gibson-Mount wrote:
Zimbra already does all of these things using writemap. You could look at what we've done in relation to this. But I agree with Howard, there's generally little advantage to downsizing the writemap.
Ok, noted, downsizing is not an appropriate tactic. That means making a reasonable good guess to start with, something short of 'use the whole disk'.
You've suggested writemap in response to other questions I've asked on this list; I think I shall take the hint. :)
Is your OS a BSD or Linux?
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.
--Quanah
--
Quanah Gibson-Mount Server Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration