From owner-freebsd-stable Sat Dec 14 12:47:32 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C915D37B401 for ; Sat, 14 Dec 2002 12:47:29 -0800 (PST) Received: from mail19a.dulles19-verio.com (mail19a.dulles19-verio.com [161.58.134.133]) by mx1.FreeBSD.org (Postfix) with SMTP id EF7AA43EB2 for ; Sat, 14 Dec 2002 12:47:28 -0800 (PST) (envelope-from rob@pythonemproject.com) Received: from www.pythonemproject.com (198.104.176.109) by mail19a.dulles19-verio.com (RS ver 1.0.63s) with SMTP id 093487; Sat, 14 Dec 2002 15:47:03 -0500 (EST) Message-ID: <3DFB96F5.95440BD8@pythonemproject.com> Date: Sat, 14 Dec 2002 12:39:17 -0800 From: Rob X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: John Merryweather Cooper Cc: "stable@FreeBSD.ORG" Subject: Re: Performance tuning on -stable for a dummy :) References: <20021214192607.65520.qmail@web20709.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop-Detect: 1 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi John, Oops Sorry: FreeBSD -stable. Here is uname: FreeBSD lm741n.dyndns.org 4.7-STABLE FreeBSD 4.7-STABLE #0: Wed Dec 4 13:14:24 PST 2002 root@lm741n.dyndns.org:/usr/src/sys/compile/ROBKERN3 i386 There are no tuning specific tweeks to the kernel. Generic minus all the unneeded drivers plus audio and ipf. The Freenet server uses Java, which opens up alot of connections to other Freenet nodes. Its an anonymous encrypted distributed P2P network. And Java always seems to use an unusually high amount of memory even when the server isn't loaded heavily. I'm currently using Kaffe 1.0.7. It is much better in that respect than the linux-sun java distributions. In the case I run out of mbuf, I have a program which is inserting a web site into the network which contains 140 files plus index.html, anywhere from 3Mb to 20Mb per file. And the program splits up the files into fragments. That is one of the features of the network, splitfiles. Netstat -m shows 446 mbufs right now, but I think it gets much larger. Netstat shows also about 42 open connections to other servers and 39 connections to localhost. Thanks!! Rob. John Merryweather Cooper wrote: > > The version of FreeBSD you're running makes a BIG > difference. The list will need to know that first. > Also, what sort of load are you putting on this server > and how? > > jmc > > --- Rob wrote: > > Hi all, > > > > I ran into my first FreeBSD stock limitation. Ran > > out of mbuf. > > > > I'm running a Freenet server on an Asus A7V8K with > > Athlon 2400+ and 1 > > Gig ram, plus two 15krpm SCSI 160 drives. > > > > I read the tuning man page and went back through > > alot of the email > > archives, but there is a lack of practical examples. > > This is the only > > one I found: > > > > kern.ipc.nmbuffers=65536 > > kern.ipc.maxsocbuf=2097152 > > kern.ipc.somaxconn=8192 > > kern.ipc.maxsockets=16424 > > kern.maxfiles=65536 > > kern.maxfilesperproc=32768 > > etc,etc > > > > What is a good /boot/loader.conf for a someone like > > me? I don't totally > > understand all of the tunables. Is there a good URL > > with info? The > > mailing list archives were mainly theoretical and > > beyond my > > understanding. > > > > Thanks, Rob. > > -- > > ----------------------------- > > The Numeric Python EM Project > > > > www.pythonemproject.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-stable" in the body of the > message > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com -- ----------------------------- The Numeric Python EM Project www.pythonemproject.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message