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

gupeng0320 gupeng0320 at aliyun.com
Thu Jul 14 03:58:26 UTC 2016


yes, get the answer from FAQthank you!------------------------------------------------------------------发件人:Bodireddy, Bhanuprakash <bhanuprakash.bodireddy at intel.com>发送时间:2016年7月13日(星期三) 22:42收件人:gupeng0320 <gupeng0320 at aliyun.com>; OVS Discussion <discuss at openvswitch.org>主 题:RE: [ovs-discuss]  why does "vsctl add-port" cost
>-----Original Message-----
>From: discuss [mailto:discuss-bounces at openvswitch.org] On Behalf Of
>gupeng0320
>Sent: Wednesday, July 13, 2016 12:51 PM
>To: OVS Discussion <discuss at openvswitch.org>
>Subject: [ovs-discuss] why does "vsctl add-port" cost
>
>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".

Are you doing the way its mentioned here:
"I want to add thousands of ports to an Open vSwitch bridge" in FAQ?

Regards,
Bhanu Prakash.

>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 vswitched will
>load the configuration from DB to memory, but why does this action cost so
>much CPU usage?
>
>BR,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160714/d78c85dd/attachment-0002.html>


More information about the discuss mailing list