Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The default flow counter interval is 500ms and port counter interval is 1000~1200ms. User can shorten the flow interval time and from PicOS-2.11 can shorten the port interval, but this will cause switch cpu busy.

Flow counter interval

By default, the flow counter interval is about 500ms. User can use following cammand to change it.

ovs-vsctl set open_vswitch . other_config:max-idle=<ms>

<ms>: 1~500 ms, the max interval is 500ms.

 

Example:

admin@PICOS-OVS$ovs-vsctl set open_vswitch . other_config:max-idle=100

 

Port Counter Interval

By default, the flow counter interval is about 1000~1200ms. User can use following cammand to change it.

ovs-vsctl set-counter-interval <ms>

<ms>: 10~1000 ms, the max interval is 1000ms.

 

Example:

admin@PICOS-OVS$ovs-vsctl set-counter-interval 100
  • No labels