Scaling PPTP

View: New views
3 Messages — Rating Filter:   Alert me  

Scaling PPTP

by Steve Pearson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

I would like to scale PPTPD to 2048 maximum simultaneous clients by re-compiling the kernel (2.6.18) as is referred to in Jeff Blaize’s How-to (see below for exerpt). I am having trouble determining exactly which parameters need changing in the kernel source. Would someone please be able to provide me more specifics on what needs changing to increase per-process file descriptors, ttys and max processes etc as indicated below. Also he refers to code changes that need to be made in libc/kernel, any info on this would be appreciated if that is still necessary.

 

thanks!

Steve

 

 

See Jeff Blaize’s How-to Below

The limits under Linux are:

    • per-process filedescriptors
      • one per client (would limit clients to 256 by default, or 1024 with kernel recompile, or more with major libc/kernel hackery)
      • no relevant limit
    • ttys
      • currently, with a standard kernel, 256 clients
      • with Unix98 ptys and a small amount of coding, 2048
    • ppp devices
      • no limit in kernel source for ppp
    • processes
      • 2 per client plus system processes
      • standard kernel max = 512 processes, ie 256 clients
      • i386 max = 4096 processes, ie 2048 clients

So it seems that 2048 will be the limit, if you fix a few things and with a minor kernel mod (I could do all of these pretty easily and send you a trivial kernel patch). To go above 2048 the easiest approach would be to combine pptpctrl and pppd in one process, which would get you to 4096. Beyond there, you need to go for a select() based model, which would be significant coding effort and require large fd-set sizes and so on. So 4096 is the practical limit, and 2048 the easy limit.

 

 

Steve Pearson

Network Integration

Prodea Systems

214.278.1805
www.prodeasystems.com

 


This message is confidential to Prodea Systems, Inc unless otherwise indicated 
or apparent from its nature. This message is directed to the intended recipient 
only, who may be readily determined by the sender of this message and its 
contents. If the reader of this message is not the intended recipient, or an 
employee or agent responsible for delivering this message to the intended 
recipient:(a)any dissemination or copying of this message is strictly 
prohibited; and(b)immediately notify the sender by return message and destroy 
any copies of this message in any form(electronic, paper or otherwise) that you 
have.The delivery of this message and its information is neither intended to be 
nor constitutes a disclosure or waiver of any trade secrets, intellectual 
property, attorney work product, or attorney-client communications. The 
authority of the individual sending this message to legally bind Prodea Systems  
is neither apparent nor implied,and must be independently verified.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Re: Scaling PPTP

by James Cameron-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You're trying to work from a document written almost ten years ago,
unless you plan to use a kernel, libc, pptpd and pppd from ten years ago
I don't think the document is particularly relevant.

I don't have a way to test the maximum number of simultaneous clients,
because I don't have access to appropriate equipment any longer.

Why don't you test yourself and publish results for us all?  Or maybe
someone else has done a test?

--
James Cameron
http://quozl.linux.org.au/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Re: Scaling PPTP

by Steve Pearson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We do not currently have the means to test but are looking into getting
some test equipment for this. Most likely, we will want to scale it
higher if simply re-compiling the kernel will help accomplish that.

-----Original Message-----
From: James Cameron [mailto:quozl@...]
Sent: Saturday, August 15, 2009 1:42 AM
To: poptop-server@...
Subject: Re: [Poptop-server] Scaling PPTP

You're trying to work from a document written almost ten years ago,
unless you plan to use a kernel, libc, pptpd and pppd from ten years ago
I don't think the document is particularly relevant.

I don't have a way to test the maximum number of simultaneous clients,
because I don't have access to appropriate equipment any longer.

Why don't you test yourself and publish results for us all?  Or maybe
someone else has done a test?

--
James Cameron
http://quozl.linux.org.au/

------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server



This message is confidential to Prodea Systems, Inc unless otherwise indicated
or apparent from its nature. This message is directed to the intended recipient
only, who may be readily determined by the sender of this message and its
contents. If the reader of this message is not the intended recipient, or an
employee or agent responsible for delivering this message to the intended
recipient:(a)any dissemination or copying of this message is strictly
prohibited; and(b)immediately notify the sender by return message and destroy
any copies of this message in any form(electronic, paper or otherwise) that you
have.The delivery of this message and its information is neither intended to be
nor constitutes a disclosure or waiver of any trade secrets, intellectual
property, attorney work product, or attorney-client communications. The
authority of the individual sending this message to legally bind Prodea Systems  
is neither apparent nor implied,and must be independently verified.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server