Bug 2011468
| Summary: | ovn-dbchecker/ovsdb-tool consuming ~1GiB of RSS | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Joe Talerico <jtaleric> |
| Component: | OVN | Assignee: | OVN Team <ovnteam> |
| Status: | NEW --- | QA Contact: | Jianlin Shi <jishi> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | RHEL 8.0 | CC: | ctrautma, dceara, i.maximets, jiji, mmichels, trozet |
| Target Milestone: | --- | Flags: | jtaleric:
needinfo?
(trozet) |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | perfscale-ovn | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Joe Talerico
2021-10-06 16:41:36 UTC
Since the database file is incremental, ovsdb-tool has to read and reconstruct the whole database in order to find the current server_id. If the database file is large, it will take a lot of time and memory. In general ovsdb-tool is intended to be used if the database server is offline. But in this case server is up and running, IIUC, so the ovsdb-clinet can be used to request this information from the running server instead, e.g.: ovsdb-client dump ssl:10.0.131.75:9642 _Server Database name sid | grep OVN_Southbound This should be fast and cheap operation. There's also "ovs-appctl -t ... cluster/sid" which does the same thing. ovn-kubernetes is moving to ovs-appctl: https://github.com/ovn-org/ovn-kubernetes/pull/2554 I guess we can probably close this BZ. |