From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Steve Simon" Date: Sun, 8 Jun 2014 09:30:48 +0100 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Question about fossil Topicbox-Message-UUID: f79cd7ee-ead8-11e9-9d60-3106f5b1d025 > I wasn't thinking "I would need a big venti", more "I only need a small > fossil". My train of thought was because the fossil size is used to store > the unarchived files after which they can be gotten from venti that it > might be practical to only have the fossil be big enough to store the > maximal size of files that will change per day(snapshot interval). > Quite right, 16Gb is fine. > I would struggle to change 16GB a day unless I'm backing up a VM so 64 > seemed like it should accommodate any changes and still leave room for lots > of often used files to be kept there (if fossil thinks like that). No fossil does not do this, after the snapshot fossil is emptied completely and a pointer is placed at the root directory of fossil pointing to venti so all access now go to venti. From then on fossil runs as copy on write so it stores changes since the last snapshot. > I realise there would be a delay as fossil realises it needs to fall back > on venti but I was thinking as they're the same PC and disk the delay would > be negligible. There should be no delay in fossil as such. I will admit venti is not as fast as a more traditional fs, or even cwfs/ken's fs on plan9 but it has its own advantages which outweigh this for me. BTW: I have a mirror of 2 disks for fossil and venti and plan to add a SSD to this mirror in the hope that this will improve venti performance. It is all a changing of thinking - for example, never truncate logfiles, as truncating them actually uses more space in venti than just letting them grow. never worry about cloneing large directories, its (almost) free. if you have big files you don't want to keep in venti use chmod -t on them to stop archiving (keep the file in fossil only). This means they are not backed up in venti but I find it helpful for things like downloaded ISO files where they can be easily regenerated. -Steve