It is currently Mon Jul 23, 2018 7:09 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How to reduce pppd process count?
PostPosted: Tue Jan 25, 2011 1:55 pm 

Joined: Thu Dec 02, 2010 7:14 am
Posts: 3
Hi all
Everyone knows one session creates one pppd process, if there are 1000 sessions, there are 1000 pppd processes. There are so many pppds. Is there any way to reduce pppd process? Or one tunnel create one pppd?
Any idea is appreciated.
Thanks!


Top
 Profile  
 
 Post subject: Re: How to reduce pppd process count?
PostPosted: Mon Jan 31, 2011 11:37 pm 
Site Admin

Joined: Sun Jul 27, 2008 1:39 pm
Posts: 122
The Linux PPP implementation uses a process per session. This has pros and cons. It's a Linux design choice.

To support multiple sessions per PPP process, a new PPP implementation is needed, but this would still be limited by the number of sockets opened per process (typically about 1024 but tweakable) unless the Linux kernel PPP code is changed to allow multiple sessions per socket.

BSD has taken a different approach. It has "netgraph" sockets which let userspace apps pass all connections over a single socket. But this means all data flows through the same pipe, which isn't always a good thing. If this might be ok for you and you can use BSD, you might want to look at mpd.

OpenL2TP is designed so that it could use an alternative PPP implementation. We experimented with a PPP implementation supporting multiple sessions per daemon but didn't finish it due to other priorities.


Top
 Profile  
 
 Post subject: Re: How to reduce pppd process count?
PostPosted: Tue Feb 08, 2011 7:23 am 

Joined: Thu Dec 02, 2010 7:14 am
Posts: 3
jchapman wrote:
OpenL2TP is designed so that it could use an alternative PPP implementation. We experimented with a PPP implementation supporting multiple sessions per daemon but didn't finish it due to other priorities.


I'm not clear about this section. What do you mean about "an alternative PPP implementation" ? Have you plan about multiple sessions with one PPP?

Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group