Re: [zfs-discuss] overhead of snapshot operations

2008-03-21 Thread Eric Schrock
The time and computation costs are minimal. The main problem you will run into is that taking a snapshot forcefully pushes out a transaction group. Normally, ZFS tries to sync transaction groups every 3-5 seconds in order to group enough data together but not waiting too long to commit (non-ODSYN

Re: [zfs-discuss] overhead of snapshot operations

2008-03-21 Thread A Darren Dunham
On Fri, Mar 21, 2008 at 09:55:38AM -0700, Tim Wood wrote: > Hi, > I'm interested in the overhead of making, cloning, and destroying snapshots. > It sounds like the cost for all of these is low, but how low?? > > For example, could I make snapshots of a system every 5 seconds? > every second? Mo

Re: [zfs-discuss] overhead of snapshot operations

2008-03-21 Thread Bill Moloney
you can find the ZFS on-disk spec at: http://opensolaris.org/os/community/zfs/docs/ondiskformat0822.pdf I don't know of any way to produce snapshots at periodic intervals other than shell scripts (or a cron job), but the creation and deletion of snapshots at command level is fairly instantaneous

[zfs-discuss] overhead of snapshot operations

2008-03-21 Thread Tim Wood
Hi, I'm interested in the overhead of making, cloning, and destroying snapshots. It sounds like the cost for all of these is low, but how low?? For example, could I make snapshots of a system every 5 seconds? every second? More often than that? I'm primarily interested in the time/computatio