The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/3856
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`.
From b06472375b5035599b4f5b2a4c60a4c3acbfaad9 Mon Sep 17 00:00:00 2001 From: Simos Xenitellis <[email protected]> Date: Wed, 27 Sep 2017 18:04:33 +0300 Subject: [PATCH] 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")
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
