Re: [linux-vrf-core] VRF number limitation
Status: Beta
Brought to you by:
jleu
From: Steffen M. <sm...@us...> - 2005-07-18 10:59:19
|
Hello Affandi, On Mon, 18 Jul 2005, Affandi Indraji wrote: > I'm able to set more than 8 vrf, after I modify rtnetlink.h. The maxthat > i can configure is 190, if more than that i can't boot, thesystem said > that "kernel panic" and the system hang. Just curious, howmany vrf is > the max number that can be configured? In theory it should be just the maximum value that "unsigned char vrf" can hold. So I would assume at least 255. > Another thing is, i can boot using the kernel with 190 vrf, but once > irun something (i run "tar xjf" on a file), it said that "system out > ofmemory" and i was kicked out from the SSH session, or if i'm in > theconsole, i will be automatically logout. Any of you know about > thelimitation of the max number of VRF whereby the server can still > runwith the stable condition? I don't know of any other limitation than the above mentioned. VRF_MAX=65 works for me. However, I have to admit that I use VRF 0.100 with Linux 2.4.24 plus a bunch of own fixes in order to adapt the patches to kernel 2.4.24 and then to avoid incidental kernel oopses. The oopses were due to in kernel memory management of the VRF extension. You might see similar oopses in your kernel logs, even in the case when it seems that just a user space process terminated on some activity. Regards, Steffen. > On 7/14/05, Cho Kyung Hyun <dru...@ho...> wrote:> The > parameter VRF_MAX is included in rtnetlink.h if the kernel> > source(header) has been "patched" with linux-vrf 0.900.> > You may > change the value of VRF_MAX(which is 7 by default) to whichever u> like, > and the re-compiled kernel will be capable to create vrfs as many as> u > designated in rtnetlink.h.> > i hope it answers.> > have a great day.> > > >From: Affandi Indraji <aff...@gm...> > >Date: Wed, 13 Jul 2005 14:36:14 +0800 > >> >Hi,> >> >I would like to ask about the > limitation of the VRF, i can only> >configure it up to 8 VRF (while 0 > it's already being used). From di> >archive, i saw the reply about the > limitation of the VRF, but i don't> >quite understand what it means. > Here is the previous posting regarding> >the limitation on VRF.> > >----------------------------------------------------------------------- > > >Currently there is a hard limit of 8 VRFs (0-7). While working out > bugs I> > have decided not to dynamically allocation all of the data > structures> required> > to keep track of TCP, UDP, and raw sockets per > VRF.> >> > Until I make the conversion to dynamically allocating per VRF > data you> can> > change the compile time limit by modifying VRF_MAX in> > > linux/include/linux/rtnetlink.h> > >----------------------------------------------------------------------- > > >The question is is there any parameter that i can change so i can > have> >more that 8 VRF? I have tried to find VRF_MAX variable in > rtnetlink.h,> >but no luck.> >> >Really appreciate your help. Thank you> > >> >--> >Regards,> >Affandi Indraji> >> >> |