Maximum simultaneous interfaces 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.
Quoted 2 lines · Julio Rodanes - KNET
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.
Quoted 6 lines · Paul Mackerras
Quoted 2 lines · Julio Rodanes - KNET
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.
Signature · 2 lines
James Cameron http://ftp.hp.com.au/sigs/jc/
Quoted 5 lines · James Cameron
Quoted 4 lines · Paul Mackerras
Quoted 2 lines · Julio Rodanes - KNET
How many interfaces ppp is possible create with ppp-2.4.2 and kernel 2.4.22 ? Is 100 interfaces ppp the max limit??
Quoted 7 lines
Quoted 2 lines
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.chas a limit of 100 ondev_alloc_name(). 2.6.15net/core/dev.chas 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.
Quoted 2 lines · Paul Mackerras
ppp_generic.cdoesn't usedev_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.
Signature · 2 lines
James Cameron http://ftp.hp.com.au/sigs/jc/