ChanServ changed the topic of #openvswitch to: Open vSwitch, a Linux Foundation Collaborative Project || FAQ: http://docs.openvswitch.org/en/latest/faq/ || OVN meeting Thurs 9:15 am US Pacific || Use ovs-discuss@openvswitch.org for questions if you don't get an answer here. || Channel logs can be found at https://libera.irclog.whitequark.org/openvswitch
mtomaska has joined #openvswitch
grive has quit [Ping timeout: 260 seconds]
GNUmoon has quit [Ping timeout: 260 seconds]
grive has joined #openvswitch
mtomaska has quit [Ping timeout: 276 seconds]
GNUmoon has joined #openvswitch
ChmEarl has quit [Quit: Leaving]
unixpro1970 has quit [Read error: Connection reset by peer]
unixpro1970 has joined #openvswitch
FH_thecat has quit [Ping timeout: 265 seconds]
froyo__ has joined #openvswitch
FH_thecat has joined #openvswitch
elvira has joined #openvswitch
racosta has joined #openvswitch
tpires has joined #openvswitch
mtomaska has joined #openvswitch
mtomaska_ has joined #openvswitch
mtomaska has quit [Ping timeout: 264 seconds]
mtomaska_ has quit [Ping timeout: 244 seconds]
mtomaska_ has joined #openvswitch
mtomaska__ has joined #openvswitch
mtomaska_ has quit [Ping timeout: 260 seconds]
elvira has quit [Ping timeout: 255 seconds]
ChmEarl has joined #openvswitch
acidfoo has quit [Remote host closed the connection]
mtomaska_ has joined #openvswitch
mtomaska__ has quit [Ping timeout: 252 seconds]
mtomaska__ has joined #openvswitch
mtomaska_ has quit [Ping timeout: 260 seconds]
roriorden has joined #openvswitch
mtomaska_ has joined #openvswitch
mtomaska__ has quit [Ping timeout: 244 seconds]
zhouhan has joined #openvswitch
roriorden has quit [Ping timeout: 246 seconds]
mtomaska__ has joined #openvswitch
mtomaska_ has quit [Ping timeout: 255 seconds]
<imaximets_> Looks like the meeting didn't happen today...
imaximets_ has quit [Changing host]
imaximets_ has joined #openvswitch
imaximets_ is now known as imaximets
mtomaska_ has joined #openvswitch
roriorden has joined #openvswitch
mtomaska__ has quit [Ping timeout: 276 seconds]
mtomaska__ has joined #openvswitch
mtomaska_ has quit [Ping timeout: 255 seconds]
<zhouhan> imaximets if you are there I have a quick question regarding ovsdb-server
dmitriis4 has quit [Quit: The Lounge - https://thelounge.chat]
dmitriis4 has joined #openvswitch
<imaximets> zhouhan, I'm on and off, but feel free to send a question, I'll try to reply.
<zhouhan> imaximets: with ovn-monitor-all enabled, when a big number of ovn-controllers resync data at the same time (e.g. when SB schema is upgraded), the SB DB memory spikes extremely high. So I am thinking about reducing the memory spike by limiting the jsonrpc send buffer usage, which means introducing some backpressure mechanism when trying to flush
<zhouhan> data to all clients, instead of flush all at once.
<zhouhan> imaximets: Do you think this is reasonable? Or is this considered before?
<imaximets> zhouhan,I think, the main problem may be that data that is already sent to the socket (send() succeeded) is still tracked against RSS of a process. And we don't really have much control over when this data will be sent by the kernel and the memory being released.
<imaximets> There is already a backpressure mechanism for normal updates (not sure if it applies to the initial monitor reply) that starts accumulating changes on monitors when the tx socket is overflowing and returns ENOBUFS or something like that. You may look into that.
<zhouhan> imaximets: ok, let me check
<imaximets> zhouhan, But, in general, I've seen these spikes in practice and they are not very good. If you manage to get some mitigation, it'll be a nice improvement.
<zhouhan> imaximets: so you mean the jsonrpc->backlog is already empty when the memory spikes because they are in socket's tx buffer?
<imaximets> zhouhan, I think so.
<imaximets> I mean, it probably starts before that, but I'm not sure how to track the memory that is already out.
<zhouhan> imaximets: then does it mean we only need to set a limit for the socket buffer size to avoid using too much memory in the socket?
<imaximets> It can be. But I'm not sure how the backpressure mechanism is working on initial monitor replies. It probably doesn't, needs checking.
<zhouhan> imaximets: sure, I will check the initial monitor updates
<imaximets> zhouhan, there is a test named 'ovsdb-server combines updates on backlogged connections'. You may look at it as a starting point.
<zhouhan> imaximets: thank a lot for the pointer!
<imaximets> np
zhouhan has quit [Quit: Client closed]
zhouhan has joined #openvswitch
mtomaska_ has joined #openvswitch
mtomaska__ has quit [Ping timeout: 252 seconds]
mtomaska__ has joined #openvswitch
mtomaska_ has quit [Ping timeout: 246 seconds]
ihrachys has quit [Ping timeout: 260 seconds]
zhouhan has quit [Ping timeout: 256 seconds]
roriorden has quit [Ping timeout: 252 seconds]
mtomaska_ has joined #openvswitch
mtomaska__ has quit [Ping timeout: 246 seconds]
mtomaska__ has joined #openvswitch
mtomaska_ has quit [Ping timeout: 246 seconds]
roriorden has joined #openvswitch
ihrachys has joined #openvswitch
racosta has quit [Remote host closed the connection]
racosta has joined #openvswitch
racosta has quit [Remote host closed the connection]
racosta has joined #openvswitch
mtomaska_ has joined #openvswitch
mtomaska__ has quit [Ping timeout: 245 seconds]
mtomaska__ has joined #openvswitch
mtomaska_ has quit [Ping timeout: 244 seconds]
mtomaska__ has quit [Ping timeout: 265 seconds]
roriorden has quit [Ping timeout: 252 seconds]
froyo__ has quit [Ping timeout: 272 seconds]
mestery has quit [Ping timeout: 246 seconds]
racosta has quit [Ping timeout: 265 seconds]
ihrachys has quit [Ping timeout: 248 seconds]