[prev in list] [next in list] [prev in thread] [next in thread]
List: lxc-devel
Subject: [lxc-devel] [lxd/master] lxd-benchmark: Change the default number of containers from 100 to 3
From: simos on Github <lxc-bot () linuxcontainers ! org>
Date: 2017-09-27 15:50:19
Message-ID: 20170927155019.536234D453 () mailman01 ! srv ! dcmtl ! stgraber ! net
[Download RAW message or body]
[Attachment #2 (text/x-mailbox)]
The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/3857
This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.
=== Description (from pull-request) ===
By default, lxd-benchmark will create 100 containers.
This can crash systems with less than 16GB of RAM.
A value of 3 should be sufficient for systems with 1GB RAM,
even when the storage backend is `dir`.
[Attachment #3 (text/plain)]
From 8260fe54c0788bba7a063ded73ded575981d335e Mon Sep 17 00:00:00 2001
From: Simos Xenitellis <simos@users.noreply.github.com>
Date: Wed, 27 Sep 2017 18:47:29 +0300
Subject: [PATCH] lxd-benchmark: Change the default number of containers from
100 to 3
By default, lxd-benchmark will create 100 containers.
This can crash systems with less than 16GB of RAM.
A value of 3 should be sufficient for systems with 1GB RAM,
even when the storage backend is `dir`.
---
lxd-benchmark/main.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lxd-benchmark/main.go b/lxd-benchmark/main.go
index 76bc9e2fd..9a7f8d2ee 100644
--- a/lxd-benchmark/main.go
+++ b/lxd-benchmark/main.go
@@ -12,7 +12,7 @@ import (
"github.com/lxc/lxd/shared/version"
)
-var argCount = gnuflag.Int("count", 100, "Number of containers to create")
+var argCount = gnuflag.Int("count", 3, "Number of containers to create")
var argParallel = gnuflag.Int("parallel", -1, "Number of threads to use")
var argImage = gnuflag.String("image", "ubuntu:", "Image to use for the test")
var argPrivileged = gnuflag.Bool("privileged", false, "Use privileged containers")
[Attachment #4 (text/plain)]
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic