linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Maximum simultaneous interfaces ppp
@ 2006-03-20 10:28 Julio Rodanes - KNET
  2006-03-22  2:50 ` Paul Mackerras
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Julio Rodanes - KNET @ 2006-03-20 10:28 UTC (permalink / raw)
  To: linux-ppp

Hi
How many interfaces ppp is possible create with ppp-2.4.2 and kernel
2.4.22 ? Is 100 interfaces ppp the max limit??

Thanks.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Maximum simultaneous interfaces ppp
  2006-03-20 10:28 Maximum simultaneous interfaces ppp Julio Rodanes - KNET
@ 2006-03-22  2:50 ` Paul Mackerras
  2006-03-22  3:10 ` James Cameron
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Paul Mackerras @ 2006-03-22  2:50 UTC (permalink / raw)
  To: linux-ppp

Julio Rodanes - KNET writes:

> How many interfaces ppp is possible create with ppp-2.4.2 and kernel
> 2.4.22 ? Is 100 interfaces ppp the max limit??

There is no hard limit, you can create as many as you like within the
constraints of the amount of memory your machine has.

Paul.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Maximum simultaneous interfaces ppp
  2006-03-20 10:28 Maximum simultaneous interfaces ppp Julio Rodanes - KNET
  2006-03-22  2:50 ` Paul Mackerras
@ 2006-03-22  3:10 ` James Cameron
  2006-03-22  3:39 ` Paul Mackerras
  2006-03-22  5:44 ` James Cameron
  3 siblings, 0 replies; 5+ messages in thread
From: James Cameron @ 2006-03-22  3:10 UTC (permalink / raw)
  To: linux-ppp

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

On Wed, Mar 22, 2006 at 01:50:00PM +1100, Paul Mackerras wrote:
> Julio Rodanes - KNET writes:
> > How many interfaces ppp is possible create with ppp-2.4.2 and kernel
> > 2.4.22 ? Is 100 interfaces ppp the max limit??
> 
> There is no hard limit, you can create as many as you like within the
> constraints of the amount of memory your machine has.

Are you sure about that, Paul?

2.4.22 net/core/dev.c has a limit of 100 on dev_alloc_name().
2.6.15 net/core/dev.c has a limit of 8*8*PAGE_SIZE.

-- 
James Cameron
http://ftp.hp.com.au/sigs/jc/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Maximum simultaneous interfaces ppp
  2006-03-20 10:28 Maximum simultaneous interfaces ppp Julio Rodanes - KNET
  2006-03-22  2:50 ` Paul Mackerras
  2006-03-22  3:10 ` James Cameron
@ 2006-03-22  3:39 ` Paul Mackerras
  2006-03-22  5:44 ` James Cameron
  3 siblings, 0 replies; 5+ messages in thread
From: Paul Mackerras @ 2006-03-22  3:39 UTC (permalink / raw)
  To: linux-ppp

James Cameron writes:
> On Wed, Mar 22, 2006 at 01:50:00PM +1100, Paul Mackerras wrote:
> > Julio Rodanes - KNET writes:
> > > How many interfaces ppp is possible create with ppp-2.4.2 and kernel
> > > 2.4.22 ? Is 100 interfaces ppp the max limit??
> > 
> > There is no hard limit, you can create as many as you like within the
> > constraints of the amount of memory your machine has.
> 
> Are you sure about that, Paul?
> 
> 2.4.22 net/core/dev.c has a limit of 100 on dev_alloc_name().
> 2.6.15 net/core/dev.c has a limit of 8*8*PAGE_SIZE.

ppp_generic.c doesn't use dev_alloc_name, it uses its own allocator
for unit numbers.

Paul.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Maximum simultaneous interfaces ppp
  2006-03-20 10:28 Maximum simultaneous interfaces ppp Julio Rodanes - KNET
                   ` (2 preceding siblings ...)
  2006-03-22  3:39 ` Paul Mackerras
@ 2006-03-22  5:44 ` James Cameron
  3 siblings, 0 replies; 5+ messages in thread
From: James Cameron @ 2006-03-22  5:44 UTC (permalink / raw)
  To: linux-ppp

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

On Wed, Mar 22, 2006 at 02:39:59PM +1100, Paul Mackerras wrote:
> ppp_generic.c doesn't use dev_alloc_name, it uses its own allocator
> for unit numbers.

Ah, I see, thanks.  Cardmap, neat.

This is great, I can get rid of some old urban legends in the PPTP
projects that claim that dev_alloc_name needs to be fixed.  People still
bring it up, so I'll begin denying the need.

I've certainly tested between 500 and 1000 interfaces on 2.6.15.

-- 
James Cameron
http://ftp.hp.com.au/sigs/jc/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-22  5:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-20 10:28 Maximum simultaneous interfaces ppp Julio Rodanes - KNET
2006-03-22  2:50 ` Paul Mackerras
2006-03-22  3:10 ` James Cameron
2006-03-22  3:39 ` Paul Mackerras
2006-03-22  5:44 ` James Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).