[ovs-discuss] ovs-vswitchd high CPU usage under static web page stress test

刘家军 iamljj at gmail.com
Tue Jul 9 07:17:59 UTC 2013


Hi all,

I deployed a openstack cluster using the openvswitch plugin with quantum
under CentOS 6.4. Everything works fine, then I did some stress test. I
noticed a strange thing that the ovs-vswitchd daemon has a very high CPU
(100% watched by top) usage under static web page stress test. I do not
know if this is a normal phenomenon or there are some problems with my
environment.

Any suggestion or comments?

my environment is as following.

# uname -r
2.6.32-358.111.1.openstack.el6.x86_64

# ovs-vsctl --version
ovs-vsctl (Open vSwitch) 1.10.0
Compiled May  7 2013 15:45:52

# lsmod | grep openvswitch
openvswitch            64716  0

# ovs-vsctl show
c0167900-581f-419d-94a8-979ab78273c8
    Bridge br-int
        Port "qvo41b86ebb-33"
            tag: 1
            Interface "qvo41b86ebb-33"
        Port "qvo833f2783-0f"
            tag: 1
            Interface "qvo833f2783-0f"
        Port "qvoa11a9373-8a"
            tag: 2
            Interface "qvoa11a9373-8a"
        Port "qvod469bb32-a2"
            tag: 1
            Interface "qvod469bb32-a2"
        Port "int-br0"
            Interface "int-br0"
        Port br-int
            Interface br-int
                type: internal
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
        Port "eth0"
            Interface "eth0"
        Port "phy-br0"
            Interface "phy-br0"
    ovs_version: "1.10.0"

# ovs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=11377.785s, table=0, n_packets=17172075,
n_bytes=1259301439, idle_age=0, priority=3,in_port=1,vlan_tci=0x0000
actions=mod_vlan_vid:1,NORMAL
cookie=0x0, duration=15032.987s, table=0, n_packets=1955, n_bytes=110738,
idle_age=11378, priority=2,in_port=1 actions=drop
cookie=0x0, duration=15034.664s, table=0, n_packets=17693916,
n_bytes=28182822345, idle_age=0, priority=1 actions=NORMAL

# ovs-ofctl dump-flows br0
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=11397.606s, table=0, n_packets=24820943,
n_bytes=28751912561, idle_age=0, priority=4,in_port=1,dl_vlan=1
actions=strip_vlan,NORMAL
cookie=0x0, duration=15052.472s, table=0, n_packets=206, n_bytes=14548,
idle_age=117, priority=2,in_port=1 actions=drop
cookie=0x0, duration=15053.978s, table=0, n_packets=17456112,
n_bytes=1302185532, idle_age=0, priority=1 actions=NORMAL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130709/56782d8b/attachment.html>


More information about the discuss mailing list