Hi justin,

Thank you for your rapid response. Add a little more about the stress test.
The web server is a machine running 'httpd' and the client is 'ab' provided
by apache.
The content of web page is a 1K text file. I use the following command to
do stress test.
$ ab -r -n 100000 -c 600 http://<host>/1K.html


2013/7/9 Justin Pettit <[email protected]>

> I don't know what the stress test is doing, but it's very likely based on
> the information that you provided that the next release of OVS will improve
> things for you.  Version 1.11 will include support for kernel wildcarding
> (referred to as megaflows), which can significantly improve flow set up
> performance.  It's going through QA right now, but you can try it out if
> you want by downloading the "branch-1.11" branch from git.

I will try it and check if the problem still exists.

>
> --Justin
>
>
> On Jul 9, 2013, at 12:17 AM, 刘家军 <[email protected]> wrote:
>
> > 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
> > _______________________________________________
> > discuss mailing list
> > [email protected]
> > http://openvswitch.org/mailman/listinfo/discuss
>
>


-- 
刘家军@ljjjustin
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to