diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2022-06-30 13:27:00 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-07-12 15:45:42 +0200 |
commit | e773140ec3f6d296e4a3877d709fb26fb51bc6ee (patch) | |
tree | eec7637cec62ff714cdc87fcd466615e3ed26e00 /ovsdb | |
parent | fe7382db67e913fa6f3028630f76e355078e2f84 (diff) | |
download | openvswitch-e773140ec3f6d296e4a3877d709fb26fb51bc6ee.tar.gz |
ovsdb: Enable memory trimming after compaction by default.
Memory trimming was introduced in OVS 2.15 and didn't cause any
issues in production environments since then, while allowing
ovsdb-sever to consume a lot less memory in high scale OVN
deployments. Enabling by default to make it easier to use.
Acked-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'ovsdb')
-rw-r--r-- | ovsdb/ovsdb-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c index 5549b4e3a..ddae685fd 100644 --- a/ovsdb/ovsdb-server.c +++ b/ovsdb/ovsdb-server.c @@ -80,7 +80,7 @@ static char *ssl_ciphers; static bool bootstrap_ca_cert; /* Try to reclaim heap memory back to system after DB compaction. */ -static bool trim_memory = false; +static bool trim_memory = true; static unixctl_cb_func ovsdb_server_exit; static unixctl_cb_func ovsdb_server_compact; |