all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27754] [PATCH] vm: Increase disk size overhead estimate.
@ 2017-07-18 14:34 Tobias Geerinckx-Rice
  2017-07-18 15:14 ` bug#27754: " Tobias Geerinckx-Rice
  2017-07-18 15:18 ` [bug#27754] " Leo Famulari
  0 siblings, 2 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-07-18 14:34 UTC (permalink / raw)
  To: 27754

* gnu/build/vm.scm (estimated-partition-size): Add 25% to the graph size.
---

Guix,

Add a conservative 5% to the disk size overhead estimate. It's enough to
make ‘guix system disk-image gnu/system/install.scm’ work again for me.

Kind regards,

T

 gnu/build/vm.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index 086f38ade..14bd7851f 100644
--- a/gnu/build/vm.scm
+++ b/gnu/build/vm.scm
@@ -157,8 +157,8 @@ the #:references-graphs parameter of 'derivation'."
 (define (estimated-partition-size graphs)
   "Return the estimated size of a partition that can store the store items
 given by GRAPHS, a list of file names produced by #:references-graphs."
-  ;; Simply add a 20% overhead.
-  (round (* 1.2 (closure-size graphs))))
+  ;; Simply add a 25% overhead.
+  (round (* 1.25 (closure-size graphs))))
 
 (define* (initialize-partition-table device partitions
                                      #:key
-- 
2.13.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-18 15:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-18 14:34 [bug#27754] [PATCH] vm: Increase disk size overhead estimate Tobias Geerinckx-Rice
2017-07-18 15:14 ` bug#27754: " Tobias Geerinckx-Rice
2017-07-18 15:18 ` [bug#27754] " Leo Famulari

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.