I was able to get up to 500 simulated hypervisors on my laptop with only
this change:
diff --git a/ovsdb/jsonrpc-server.c b/ovsdb/jsonrpc-server.c
index fffcb73..a7065ff 100644
--- a/ovsdb/jsonrpc-server.c
+++ b/ovsdb/jsonrpc-server.c
@@ -126,7 +126,7 @@ ovsdb_jsonrpc_server_create(void)
{
struct ovsdb_jsonrpc_server *server = xzalloc(sizeof *server);
ovsdb_server_init(&server->up);
- server->max_sessions = 330; /* Random limit. */
+ server->max_sessions = 1000; /* Random limit. */
shash_init(&server->remotes);
return server;
}
However at this scale it takes a couple of minutes for every vif to come
up and my laptop is clearly straining under a load of thousands of
processes (there's a load of about 40% CPU from those processes just in
idle).
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev