Re: Tuning the 4.1-R kernel for networking

2001-08-08 Thread Peter Pentchev
On Tue, Aug 07, 2001 at 09:33:20PM -0700, Brian O'Shea wrote: Hello, I am using a PIII 550MHz UP system running FreeBSD 4.1-RELEASE. It has a 3c905B-TX Fast Etherlink XL card. # ifconfig xl0 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 10.34.24.62

Re: Tuning the 4.1-R kernel for networking

2001-08-08 Thread Terry Lambert
Brian O'Shea wrote: On this machine I run a program which simulates many (~150) simultaneous TCP clients. This is actually a multithreaded Linux binary, and one thread per simulated TCP client is created. After a few seconds the system runs out of mbuf clusters: # netstat -m

Re: Tuning the 4.1-R kernel for networking

2001-08-08 Thread Brian O'Shea
Wow, much useful feedback. Thanks. Terry, your general formula for nmbclusters per connection is pretty much what I am looking for. Great stuff. Frankly, it sounds like your application is bad; does it limit itself to 150 connections, or is it trying to make as many connections as it

Re: Tuning the 4.1-R kernel for networking

2001-08-08 Thread Brian O'Shea
On Tue, Aug 07, 2001 at 11:55:47PM -0500, Alfred Perlstein wrote: [...] Your system isn't configured for high network throughput, you want to put something like: kern.ipc.nmbclusters=32768 this might also help: net.inet.tcp.tcbhashsize=32768 put those into /boot/loader.conf So to

Re: Tuning the 4.1-R kernel for networking

2001-08-08 Thread Alfred Perlstein
* Brian O'Shea [EMAIL PROTECTED] [010808 13:55] wrote: On Tue, Aug 07, 2001 at 11:55:47PM -0500, Alfred Perlstein wrote: [...] Your system isn't configured for high network throughput, you want to put something like: kern.ipc.nmbclusters=32768 this might also help:

Tuning the 4.1-R kernel for networking

2001-08-07 Thread Brian O'Shea
Hello, I am using a PIII 550MHz UP system running FreeBSD 4.1-RELEASE. It has a 3c905B-TX Fast Etherlink XL card. # ifconfig xl0 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 10.34.24.62 netmask 0xfc00 broadcast 10.34.27.255 inet6

Re: Tuning the 4.1-R kernel for networking

2001-08-07 Thread Alfred Perlstein
* Brian O'Shea [EMAIL PROTECTED] [010807 23:33] wrote: Hello, I am using a PIII 550MHz UP system running FreeBSD 4.1-RELEASE. It has a 3c905B-TX Fast Etherlink XL card. [snip] I increased maxusers to 128 (2560 mbuf clusters) and it ran out of mbuf clusters again. Then I increased it to