From 8be044b9ea1db7430361d494d6dfe518e4f3240f Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 12 May 2008 17:42:14 +0200 Subject: [PATCH] Fix the math in the description of the unit interval. --- dss.ggo | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dss.ggo b/dss.ggo index d843906..7892d53 100644 --- a/dss.ggo +++ b/dss.ggo @@ -214,13 +214,14 @@ details=" unit intervals. dss removes any snapshots older than n times u and tries to - keep 2^(k-1) snapshots in interval k, where the interval number - k counts from zero, zero being the most recent unit interval. + keep 2^(n - k - 1) snapshots in interval k, where the interval + number k counts from zero, zero being the most recent unit + interval. In other words, the oldest snapshot will at most be u * n days (= 20 days if default values are used) old. Moreover, there are at most 2^n - 1 snapshots in total (i. e. 31 by default). - Observe that you have to create at least 2 ^ (n - 1) snapshots + Observe that you have to create at least 2^(n - 1) snapshots each interval for this to work out because that is the number of snapshots in interval zero. " -- 2.39.5