Re: [ovs-discuss] why does "vsctl add-port" cost

2016-07-13 Thread Bodireddy, Bhanuprakash
>-Original Message- >From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of >gupeng0320 >Sent: Wednesday, July 13, 2016 12:51 PM >To: OVS Discussion >Subject: [ovs-discuss] why does "vsctl add-port" cost > >Dear Experts: >by a chance,

[ovs-discuss] why does "vsctl add-port" cost

2016-07-13 Thread gupeng0320
Dear Experts:by a chance, i write a script to add thousands of ports to OVS 2.4.0, there is a loop in this script to keep executing "vsctl add-port".and i observed that the CPU is alomost exhausted during the script running.as i know, "vsctl add port" is configuring port to the OVS DB, and vswit