[ovs-discuss] HIgh CPU usage for ovs-vswitchd with flows

Jing Ai ai_jing2000 at hotmail.com
Tue May 28 17:16:33 UTC 2013


> Date: Mon, 27 May 2013 09:10:20 -0700
> From: Justin Pettit <jpettit at nicira.com>
> Subject: Re: [ovs-discuss] HIgh CPU usage for ovs-vswitchd with flows
> 	3069	and lost: 267425491
> To: kevin parker <kevin.parker092 at gmail.com>
> Cc: discuss at openvswitch.org
> Message-ID: <A4832074-0D58-4325-B208-66E3930A30F2 at nicira.com>
> Content-Type: text/plain; charset=iso-8859-1
> 
> We've made a lot of improvements in flow set up rate since version 1.4, so upgrading to a more current version (we're on 1.10 now) will likely help.  We're currently working on multithreading the OVS userspace and adding support for wildcarded flows in the kernel, which should substantially improve flow set up.
> 
> --Justin
> 
Good to know there are ongoing efforts to improve flow setup. What are the timelines for those features? Any patch sent out for review? Thanks!
Best,Jing

> 
> On May 27, 2013, at 12:59 AM, kevin parker <kevin.parker092 at gmail.com> wrote:
> 
> > Hi,
> >   
> >      Running OVS 1.4 on xenserver 6.0.2 , but its taking very high cpu some times ~100%.
> > 
> > ovs-dpctl show
> > 
> > system at xenbr5:
> > 	lookups: hit:2560723 missed:3742809 lost:0
> > 	flows: 5
> > 	port 0: xenbr5 (internal)
> > 	port 1: eth5
> > system at xapi2:
> > 	lookups: hit:1660559495 missed:1241428 lost:0
> > 	flows: 11
> > 	port 0: xapi2 (internal)
> > 	port 1: eth7
> > 	port 2: eth6
> > system at xenbr4:
> > 	lookups: hit:2539909 missed:3729876 lost:0
> > 	flows: 5
> > 	port 0: xenbr4 (internal)
> > 	port 1: eth4
> > system at xapi3:
> > 	lookups: hit:20443295213 missed:26596588140 lost:267425491
> > 	flows: 3069
> > 	port 0: xapi3 (internal)
> > 	port 1: eth1
> > 	port 2: eth0
> > 	port 4: xapi4 (internal)
> > 	port 15: vif12.0
> > 	port 18: vif14.0
> > system at xenbr2:
> > 	lookups: hit:1634980795 missed:166104910 lost:0
> > 	flows: 127
> > 	port 0: xenbr2 (internal)
> > 	port 1: eth2
> > system at xenbr3:
> > 	lookups: hit:2450949145 missed:81360495 lost:0
> > 	flows: 118
> > 	port 0: xenbr3 (internal)
> > 	port 1: eth3
> > 	port 2: xapi6 (internal)
> > 	port 6: vif12.1
> > 	port 8: vif14.1  
> > 
> > Network usage:
> >  
> > dstat -n
> > 
> > -net/total-
> >  recv  send
> > 6475k 5736k
> > 6575k 5646k
> > 6767k 6347k
> > 
> > Can some one please tell me how this can be fixed.
> > 
> > Regards,
> > Kevin

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130528/6cfabdd2/attachment.html>


More information about the discuss mailing list