[ovs-discuss] Even with ovs-controller vswitchd is still heavily used

Jesse Gross jesse at nicira.com
Mon Jun 10 20:43:20 UTC 2013


ovs-vswitchd is not a controller.

On Sat, Jun 8, 2013 at 6:24 AM, kevin parker <kevin.parker092 at gmail.com> wrote:
> i dont think ovs uses multiple controller at the same time,in my case both
> were used.
> i am looking for the reason as per man page in secure mode vswitchd will not
> be used when connection to controller fails,but it does not says that when
> the connection is working both controller will be used.
>
> Regards,
> keve
>
> On Fri, Jun 7, 2013 at 10:17 PM, Ben Pfaff <blp at nicira.com> wrote:
>>
>> Why did you think that setting secure mode would not use ovs-vswitchd?
>>
>> On Fri, Jun 07, 2013 at 09:33:31PM +0530, kevin parker wrote:
>> > I thought setting secure mode would not use ovs-vswitchd, but in my case
>> > its using both ovs-controller and ovs-vswitchd
>> > Regards,
>> > Ananthakrishnan
>> >
>> >
>> > On Fri, Jun 7, 2013 at 8:22 PM, Ben Pfaff <blp at nicira.com> wrote:
>> >
>> > > Why do use think it would make a difference?
>> > >
>> > > On Fri, Jun 07, 2013 at 08:16:52PM +0530, kevin parker wrote:
>> > > > Can some one please clarify this,why ovs-vswitchd is used even in
>> > > > secure
>> > > > mode
>> > > >
>> > > >
>> > > > On Thu, Jun 6, 2013 at 10:58 AM, kevin parker
>> > > > <kevin.parker092 at gmail.com
>> > > >wrote:
>> > > >
>> > > > > and with out controller and in standalone ovs-vswitchd is at ~80%
>> > > > > for
>> > > the
>> > > > > same traffic.
>> > > > >
>> > > > > using
>> > > > > *ovs-vsctl -V*
>> > > > > ovs-vsctl (Open vSwitch) 1.4.2
>> > > > > Compiled Nov 23 2012 12:41:37
>> > > > >
>> > > > > *ovs-controller -V*
>> > > > > ovs-controller (Open vSwitch) 1.4.0+build0
>> > > > > Compiled Feb 18 2013 13:13:22
>> > > > > OpenFlow versions 0x1:0x1
>> > > > >
>> > > > >
>> > > > > On Thu, Jun 6, 2013 at 10:28 AM, kevin parker <
>> > > kevin.parker092 at gmail.com>wrote:
>> > > > >
>> > > > >> Mostly HTTP,
>> > > > >>
>> > > > >> For confirming bench marked Apache with ab, ovs-vswitchd reached
>> > > > >> 100%
>> > > and
>> > > > >> ovs-controller 14%
>> > > > >>
>> > > > >> ovs-dpctl show at the time of benchmark
>> > > > >>
>> > > > >> system at xenbr0:
>> > > > >> lookups: hit:55391 missed:966296 lost:0
>> > > > >> flows: 0
>> > > > >>  port 0: xenbr0 (internal)
>> > > > >> port 3: vif2.1
>> > > > >>  port 4: vif1.1
>> > > > >>
>> > > > >> Do i need to make any changes in ovs-controller.
>> > > > >>
>> > > > >> Thanks,
>> > > > >> Kevin.
>> > > > >>
>> > > > >>
>> > > > >> On Wed, Jun 5, 2013 at 9:56 PM, Ben Pfaff <blp at nicira.com> wrote:
>> > > > >>
>> > > > >>> On Wed, Jun 05, 2013 at 07:11:44PM +0530, kevin parker wrote:
>> > > > >>> > Hi,
>> > > > >>> >
>> > > > >>> >      i have  ovs-controller with default setting
>> > > > >>> > (ovs-controller
>> > > -v
>> > > > >>> > ptcp:6633).
>> > > > >>> >
>> > > > >>> >
>> > > > >>> > on xenserver host with ovs
>> > > > >>> >
>> > > > >>> > *ovs-vsctl get-fail-mode xenbr0*
>> > > > >>> > *secure*
>> > > > >>> >
>> > > > >>> > I set it to secure mode to test that host should not use
>> > > > >>> > vswitchd
>> > > for
>> > > > >>> flows
>> > > > >>> > and forward it to controller for generating flow .*
>> > > > >>> > *
>> > > > >>> >
>> > > > >>> > *ovs-vsctl get-controller xenbr0*
>> > > > >>> > *tcp:10.10.10.183:6633*
>> > > > >>> > *
>> > > > >>> > *
>> > > > >>> > * ovs-dpctl show
>> > > > >>> > *
>> > > > >>> > *
>> > > > >>> > hit:8560336 missed:1060122 lost:0
>> > > > >>> > flows: 81
>> > > > >>> > *
>> > > > >>> >
>> > > > >>> > where xenbr0 is an isolated bridge with no connection to host
>> > > > >>> interfaces.
>> > > > >>> > No other bridge is connected to this controller.
>> > > > >>> > When i ping vms on same  host l can see  ovs-vswitchd using
>> > > > >>> > 35%
>> > > CPU.
>> > > > >>> >
>> > > > >>> > and ovs-controller almost 11% CPU and some times non
>> > > > >>> > responsive ssh
>> > > > >>> session
>> > > > >>> > on hosts.
>> > > > >>>
>> > > > >>> What kind of trafffic do you have in your network?
>> > > > >>>
>> > > > >>
>> > > > >>
>> > > > >
>> > >
>
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>



More information about the discuss mailing list