[ovs-discuss] Error writing million flows to OVS bridge

Ben Pfaff blp at nicira.com
Fri Dec 14 07:05:44 UTC 2012


For what it's worth, OVS from master should use less memory than OVS 1.7
for large numbers of flows, so if that scenario is important then you
should consider using it.

On Fri, Dec 14, 2012 at 12:01:39PM +0500, Farrukh Aftab Khan wrote:
> Memory was the issue. There was only 303 MB of RAM left and hence the crash.
> 
> Thank you for the help Ben.
> Much appreciated.
> -
> Farrukh Aftab Khan
> 
> 
> 
> 
> On Fri, Dec 14, 2012 at 11:53 AM, Farrukh Aftab Khan <
> Farrukh.Khan at xflowresearch.com> wrote:
> 
> > Thanks for the quick reply Ben.
> >
> > My RAM is 4GB. The problem is that the whole system crashes and I
> > repeatedly get the same errors on my console. After reboot, I do not know
> > how much of my memory was used.
> >
> > Perhaps I should try with 0.5 million flows and see how much memory is
> > being consumed.
> > Thanks for the heads up.
> >
> > Regards.
> > -
> > Farrukh Aftab Khan
> >
> >
> >
> >
> > On Fri, Dec 14, 2012 at 11:27 AM, Ben Pfaff <blp at nicira.com> wrote:
> >
> >> On Fri, Dec 14, 2012 at 11:21:33AM +0500, Farrukh Aftab Khan wrote:
> >> > I am using OVS-1.7.1 on embedded Linux (kernel-2.6.32.27). I am running
> >> > this on OCTEON MIPS processor that has ten cores. After about 0.4
> >> million
> >> > flows, I get the following error and the switch becomes non-responsive.
> >> The
> >> > same error comes repeatedly:
> >>
> >> Did you run out of system RAM?
> >>
> >
> >



More information about the discuss mailing list