[ovs-dev] [PATCH 2/2] ovsdb: Raise the jsonrpc server session limit
Andy Zhou
azhou at nicira.com
Tue Feb 24 07:43:37 UTC 2015
Raise the connection limit to allow larger number of concurrent
ovsdb-server connections. Note, ovsdb-server may not perform well
at the new limit. It is rather a prelude to further scaling tests and
optimizations.
Signed-off-by: Andy Zhou <azhou at nicira.com>
---
This limit is currently hard coded. Should we make it a parameter
for the caller to set?
---
ovsdb/jsonrpc-server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ovsdb/jsonrpc-server.c b/ovsdb/jsonrpc-server.c
index a93ff62..9569972 100644
--- a/ovsdb/jsonrpc-server.c
+++ b/ovsdb/jsonrpc-server.c
@@ -121,7 +121,7 @@ ovsdb_jsonrpc_server_create(void)
{
struct ovsdb_jsonrpc_server *server = xzalloc(sizeof *server);
ovsdb_server_init(&server->up);
- server->max_sessions = 64;
+ server->max_sessions = 330;
shash_init(&server->remotes);
return server;
}
--
1.9.1
More information about the dev
mailing list