mirror of
https://github.com/openvswitch/ovs
synced 2025-08-29 13:27:59 +00:00
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>
This commit is contained in:
parent
fe7382db67
commit
e773140ec3
3
NEWS
3
NEWS
@ -21,6 +21,9 @@ Post-v2.17.0
|
|||||||
configuration in a clustered databse independently for each server.
|
configuration in a clustered databse independently for each server.
|
||||||
E.g. for listening on unique addresses. See the ovsdb.local-config.5
|
E.g. for listening on unique addresses. See the ovsdb.local-config.5
|
||||||
manpage for schema details.
|
manpage for schema details.
|
||||||
|
* Returning unused memory to the OS after the database compaction is now
|
||||||
|
enabled by default. Use 'ovsdb-server/memory-trim-on-compaction off'
|
||||||
|
unixctl command to disable.
|
||||||
- OVSDB-IDL:
|
- OVSDB-IDL:
|
||||||
* New monitor mode flag, OVSDB_IDL_WRITE_CHANGED_ONLY, allowing
|
* New monitor mode flag, OVSDB_IDL_WRITE_CHANGED_ONLY, allowing
|
||||||
applications to relax atomicity requirements when dealing with
|
applications to relax atomicity requirements when dealing with
|
||||||
|
@ -80,7 +80,7 @@ static char *ssl_ciphers;
|
|||||||
static bool bootstrap_ca_cert;
|
static bool bootstrap_ca_cert;
|
||||||
|
|
||||||
/* Try to reclaim heap memory back to system after DB compaction. */
|
/* 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_exit;
|
||||||
static unixctl_cb_func ovsdb_server_compact;
|
static unixctl_cb_func ovsdb_server_compact;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user