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

* bug#27754: [PATCH] vm: Increase disk size overhead estimate.
  2017-07-18 14:34 [bug#27754] [PATCH] vm: Increase disk size overhead estimate Tobias Geerinckx-Rice
@ 2017-07-18 15:14 ` Tobias Geerinckx-Rice
  2017-07-18 15:18 ` [bug#27754] " Leo Famulari
  1 sibling, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-07-18 15:14 UTC (permalink / raw)
  To: 27754-done


[-- Attachment #1.1: Type: text/plain, Size: 273 bytes --]

On 18/07/17 16:34, Tobias Geerinckx-Rice wrote:
> * gnu/build/vm.scm (estimated-partition-size): Add 25% to the graph size.

On second thought, since this is such a clear-cut fix, I'm going to be
bold and just push it. Sorry for the noise.

Kind regards,

T G-R


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 504 bytes --]

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

* [bug#27754] [PATCH] vm: Increase disk size overhead estimate.
  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 ` Leo Famulari
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2017-07-18 15:18 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 27754

[-- Attachment #1: Type: text/plain, Size: 415 bytes --]

On Tue, Jul 18, 2017 at 04:34:16PM +0200, Tobias Geerinckx-Rice wrote:
> * 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.

Oh, if that's broken, then we definitely need to embiggen the size
guesstimator :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[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.