From owner-freebsd-ports@FreeBSD.ORG Fri Dec 23 16:38:23 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 760E516A420 for ; Fri, 23 Dec 2005 16:38:23 +0000 (GMT) (envelope-from ezequielb@pilar-ciudad.com.ar) Received: from server1.pilar-ciudad.com.ar (server1.pilar-ciudad.com.ar [200.51.132.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 55C9843D4C for ; Fri, 23 Dec 2005 16:38:19 +0000 (GMT) (envelope-from ezequielb@pilar-ciudad.com.ar) Received: (qmail 9786 invoked by uid 510); 23 Dec 2005 16:38:14 -0000 Received: from ezequielb@pilar-ciudad.com.ar by server1.pilar-ciudad.com.ar by uid 502 with qmail-scanner-1.22 (spamassassin: 2.63. Clear:RC:1(200.51.132.7):. Processed in 0.028135 secs); 23 Dec 2005 16:38:14 -0000 Received: from unknown (HELO ?10.0.0.139?) (200.51.132.7) by server1.pilar-ciudad.com.ar with SMTP; 23 Dec 2005 16:38:13 -0000 Message-ID: <43AC27F3.4090801@pilar-ciudad.com.ar> Date: Fri, 23 Dec 2005 13:38:11 -0300 From: "Ezequiel O. Block" User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andrew P." References: <43AC04FB.8080908@pilar-ciudad.com.ar> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD Ports , mpd-users@lists.sourceforge.net Subject: Re: [Mpd-users] Tuning kernel for mpd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 16:38:23 -0000 >>Now it serves 200 simultaneus PPPoe users at 30% cpu usage, connected to >>two cisco routers, one with 4Mbit and the other 2Mbit to the outside >>world, doing ipfw to route them. Itīs a P4 2.2 with 256 RAM. > > > Good tips, thanks! I'll test it next week. > > There's also kern.maxfilesperproc, I'll try to increase it, too. > > BTW, it's quite a load (30%) for such a high-spec box and > such small bandwidth. Do you compress/encrypt anything? no compress or encrypt. > We've got only 2Mbit now (4Mbit soon), but traffic from some > file servers is also going through the gateway. > > It's a P4 2.4GHz 256Mb box and I actually expected it to > pass over 100Mbit (it's on a local gigabit backbone) through > ethernet, pptp and pppoe. > Well, I also do AAA to another box with FreeRadius but, indeed, I think that that load is coming from all those PPP sessions to take care of, am I right? someone can share your opinions here? > Thanks a lot! > Andrew P. This is my mpd.conf ... pppo800: new pppo800 PPPo800 set ipcp ranges a.b.c.d/0 192.168.8.38/32 load stand stand: set bundle no multilink set bundle enable compression #set bundle accept encryption #set bundle enable crypt-reqd set bundle max-logins 1 set iface idle 3600 set iface disable on-demand set iface enable proxy-arp set iface enable tcpmssfix set ipcp no vjcomp set ipcp dns a.b.c.d a.b.c.e set link no pap callback acfcomp protocomp set link yes chap chap-msv2 chap-msv1 set link max-redial -1 set link keep-alive 4 10 set link mru 1300 set link mtu 1300 set ccp yes mppc set ccp yes mpp-compress #set ccp yes mpp-e40 #set ccp yes mpp-e128 set ccp yes mpp-stateless set radius server a.b.c.d testing123 1812 1813 set radius retries 3 set radius timeout 3 set radius acct-update 60 set iface enable radius-session set ipcp enable radius-ip set bundle enable radius-auth set bundle enable radius-acct Now that I see it, compression is enabled but it fails to negociate, have no time to investigate now ... Bye, Ezequiel. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > _______________________________________________ > Mpd-users mailing list > Mpd-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mpd-users > -- Ezequiel O. Block Cooperativa La Lonja, Servicios de Internet. T 02322-474537 F 02322-470406 E ezequielb@pilar-ciudad.com.ar