From 5f882e976d0d7746d8b9e54416175a4ef0bb4b50 Mon Sep 17 00:00:00 2001 From: anarcat Date: Thu, 5 Mar 2015 08:57:52 -0500 Subject: [PATCH] clarify the index memory usage analysis it seems I extracted that data from [this mailing list post][] which in turn takes it from [this github comment][]. [this mailing list post]: http://librelist.com/browser/attic/2014/5/6/questions-and-suggestions-about-inner-working-of-attic/ [this github comment]: https://github.com/jborg/attic/issues/26#issuecomment-35439254 --- docs/internals.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/internals.rst b/docs/internals.rst index bd4022c1b..9172ec204 100644 --- a/docs/internals.rst +++ b/docs/internals.rst @@ -213,7 +213,7 @@ Indexes memory usage -------------------- Here is the estimated memory usage of |project_name| when using those -indexes: +indexes. Repository index 40 bytes x N ~ 200MB (If a remote repository is @@ -225,6 +225,9 @@ Chunk lookup index File chunk cache probably 80-100 bytes x N ~ 400MB +In the above we assume 350GB of data that we divide on an average 64KB +chunk size, so N is around 5.3 million. + Encryption ----------