Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2004 11:10:26 +0100 (CET)
From:      Claus Guttesen <cguttesen@yahoo.dk>
To:        Aaron Glenn <aaron.glenn@gmail.com>, freebsd-performance@freebsd.org
Subject:   Re: I've ran out of ideas
Message-ID:  <20041118101026.55888.qmail@web14121.mail.yahoo.com>
In-Reply-To: <18f6019404111801471db5bbfd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm pushing large files via thttpd over low-end
> hardware (celeron
> 1.8GHz, 512MB RAM, UATA 100 drive) and, out of the
> box, FreeBSD
> 5.3-RELEASE topped out at 40Mbps sustained. After
> creating a separate
> partition with a much larger blocksize, it's hit
> 50Mbps sustained but
> won't go past 54Mbps at all.

You could try adding/tweaking HZ to 1000/2000 in
kernel and add kern.polling.enable=1 to
/etc/sysctl.conf.

> Nov 18 04:00:15 d thttpd[38743]: write - Socket is
> not connected
> sending /path/to/file.name
> 

Try adding:

kern.ipc.somaxconn=2048
kern.maxfiles=65536
net.isr.enable=1

to /etc/sysctl.conf as well. net.isr.enable gave
better network-performance on a 5.3 RC3 nfs-server and
lower cpu-usage.

HTH.
Claus



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041118101026.55888.qmail>