Re: Performance/lockup issues with FreeBSD as a router (followup)

2005-05-27 Thread Ivan Voras
Peter Kieser wrote: Hello, If anyone is interested in the exact configuration I've used, I'll be happy to post. Please do post, I'll need to setup a similar configuration in a few weeks so it might be useful :) (Or maybe just post the differences from your initial configuration) ___

Re: Performance/lockup issues with FreeBSD as a router (followup)

2005-05-26 Thread Peter Kieser
Hello, I fixed the problem. It appears that the kernel was running out of memory to allocate the network sockets, I took your guys suggestions (along with the kernel configurations and such), and the problem is now resolved. I also replaced the physical machine, but am using the same NICs for

Re: Performance/lockup issues with FreeBSD as a router

2005-05-26 Thread T.D.Wipnet (H.M.)
On Thursday 26 May 2005 14:47, Peter Kieser wrote: > however I'm currently running into issues where one, or both of the > NICs will stop transmitting traffic. When I go onto the machine, > and try to ping something I get "No buffer space available" > stopping transmitting anything or only your p

Re: Performance/lockup issues with FreeBSD as a router

2005-05-26 Thread Hroi Sigurdsson
Peter Kieser wrote: Yes, I have -- some fxp and ed cards. Have you tried without "optimizing"? Most of your optimizations are for socket and TCP buffers, only servers need that. A router just forwards packets. What does netstat -m say and the "CPU Usage:" column in top? Check the interrupt

Re: Performance/lockup issues with FreeBSD as a router

2005-05-26 Thread Charles Swiger
On May 26, 2005, at 2:52 PM, Peter Kieser wrote: I've tried without fast forwarding, I've tried without the TCP sendspace as well as reducing it to 65K, I let maxusers auto tune itself and I've even tried uping the KVA space. OK. You didn't mention whether this helped or made no difference

Re: Performance/lockup issues with FreeBSD as a router

2005-05-26 Thread Peter Kieser
Quoting Mike Jakubik <[EMAIL PROTECTED]>: > On Thu, May 26, 2005 2:52 pm, Peter Kieser said: > > > I've tried without fast forwarding, I've tried without the TCP sendspace > > as well as reducing it to 65K, I let maxusers auto tune itself and I've > > even tried uping the KVA space. > > > > I'm a

Re: Performance/lockup issues with FreeBSD as a router

2005-05-26 Thread Mike Jakubik
On Thu, May 26, 2005 2:52 pm, Peter Kieser said: > I've tried without fast forwarding, I've tried without the TCP sendspace > as well as reducing it to 65K, I let maxusers auto tune itself and I've > even tried uping the KVA space. > > I'm at a loss, what would be the ideal sysctl's/loader.conf fo

Re: Performance/lockup issues with FreeBSD as a router

2005-05-26 Thread Peter Kieser
Quoting Charles Swiger <[EMAIL PROTECTED]>: > On May 26, 2005, at 1:47 PM, Peter Kieser wrote: > > The nics are if_dc, this is a stock FreeBSD 5.4-RELEASE > > installation (no > > firewall or anything): > > > > Here's my /etc/sysctl.conf: > > > > net.inet.ip.rtexpire=1800 > > net.inet.ip.rtmine

Re: Performance/lockup issues with FreeBSD as a router

2005-05-26 Thread Charles Swiger
On May 26, 2005, at 1:47 PM, Peter Kieser wrote: The nics are if_dc, this is a stock FreeBSD 5.4-RELEASE installation (no firewall or anything): Here's my /etc/sysctl.conf: net.inet.ip.rtexpire=1800 net.inet.ip.rtminexpire=1800 kern.maxfiles=32768 kern.maxfilesperproc=32768 kern.ipc.somaxconn

Re: Performance/lockup issues with FreeBSD as a router

2005-05-26 Thread Peter Kieser
-- Peter Kieser [EMAIL PROTECTED] Quoting Benjamin Krueger <[EMAIL PROTECTED]>: > * Peter Kieser ([EMAIL PROTECTED]) [050526 10:49]: > > Hello guys, > > > > I'm not quite sure if this is the right list to address this to, as it's > partly > > a performance problem and partly otherwise. > > >

Re: Performance/lockup issues with FreeBSD as a router

2005-05-26 Thread Benjamin Krueger
* Peter Kieser ([EMAIL PROTECTED]) [050526 10:49]: > Hello guys, > > I'm not quite sure if this is the right list to address this to, as it's > partly > a performance problem and partly otherwise. > > I have a FreeBSD machine acting as a router (doing approx. 15-25Mbit/s of > traffic (lot's of s

Re: Performance/lockup issues with FreeBSD as a router

2005-05-26 Thread Mathieu CHATEAU
Hello Peter, in your kernel, try : options VM_KMEM_SIZE_SCALE options DEVICE_POLLING options HZ=1000 You say that you do not have any firewall, so why do you use: net.inet.ip.fw.dyn_udp_lifetime=10 net.inet.ip.fw.dyn_buckets=1024 you may add: kern.polling.enable=1 kern.polling.user_frac=50 be

Performance/lockup issues with FreeBSD as a router

2005-05-26 Thread Peter Kieser
Hello guys, I'm not quite sure if this is the right list to address this to, as it's partly a performance problem and partly otherwise. I have a FreeBSD machine acting as a router (doing approx. 15-25Mbit/s of traffic (lot's of small packets, about 45,000 pps)), however I'm currently running into