[ovs-git] [ovn-org/ovn] 4512de: Add memory reports to all OVN processes.

Ilya Maximets noreply at github.com
Mon Jan 25 10:39:43 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 4512de3f69352d6f703a731554b2456dbc1efba9
      https://github.com/ovn-org/ovn/commit/4512de3f69352d6f703a731554b2456dbc1efba9
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M controller-vtep/ovn-controller-vtep.c
    M controller/ovn-controller.c
    M ic/ovn-ic.c
    M northd/ovn-northd.c
    M utilities/ovn-nbctl.c

  Log Message:
  -----------
  Add memory reports to all OVN processes.

It is important to have memory reports in logs to track the state
of OVN daemons.  With this change we will see the dynamic of the
memory consumption.

We have no any specific information to report yet, but we have to
call memory_report() to reply to all the incoming 'memory/show'
requests.

Not documenting 'memory/show' command as there is nothing to
report there yet.  This change will only add reports about
memory usage growth to logs, e.g.:

  |memory|INFO|peak resident set size grew 50% in last 8 seconds,
               from 27548 kB to 41336 kB

Acked-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Signed-off-by: Numan Siddique <numans at ovn.org>




More information about the git mailing list