Skip to content

Commit

Permalink
Rearrange V<AB VM resources a bit to get 8GB back to control
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostman committed Sep 27, 2023
1 parent d8ae76d commit 5d28198
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/fab/vlab/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,18 +100,18 @@ func (vm *VM) RunVM(ctx context.Context) func() error {
}

// total for default vlab (control + 2 x switch + 2 x server)
// default: 16 vCPU 19.456 GB RAM
// default: 16 vCPU 20.480 GB RAM
// compact: 14 vCPU 13.312 GB RAM

cpu := "2"
memory := "1536"
memory := "1024"
if vm.OS == VMOS_ONIE {
cpu = "4"
memory = "5120"
}
if vm.IsControl {
cpu = "4"
memory = "6144"
memory = "8192" // TODO cut down to 6144?
}
if vm.Cfg.Compact {
cpu = "1"
Expand Down

0 comments on commit 5d28198

Please sign in to comment.