Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2002 12:39:17 -0800
From:      Rob <rob@pythonemproject.com>
To:        John Merryweather Cooper <john_m_cooper@yahoo.com>
Cc:        "stable@FreeBSD.ORG" <stable@FreeBSD.ORG>
Subject:   Re: Performance tuning on -stable for a dummy :)
Message-ID:  <3DFB96F5.95440BD8@pythonemproject.com>
References:  <20021214192607.65520.qmail@web20709.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <rob@pythonemproject.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DFB96F5.95440BD8>