Re: sysctl tuning for maximum network performance
> if you want help, your post should start "we have this router and i expect > it to be going that fast, but it only goes this fast." if your router is > already "fast enough", it can't get any faster. there's a only finite > number of clients, porn, and pipe to connect them. > I belive recent studies in internet/universe behaviour shows that there is an infinite amount of porn, you just have to tweak net.inet.somaxporn correctly. /Tony
Re: sysctl tuning for maximum network performance [off topic]
Antti Nykdnen schrieb: On Fri, Sep 02, 2005 at 09:04:48AM +0200, Stephan A. Rickauer wrote: "You see, most blokes will be playing at 10. Youre on 10, all the way up, all the way up...Where can you go from there? Nowhere. What we do, is if we need that extra push over the cliff...Eleven. One louder." "Why dont you just make 10 louder and make 10 be the top number, and make that a little louder?" ... ... "These go to 11."
Re: sysctl tuning for maximum network performance [off topic]
On Fri, Sep 02, 2005 at 09:04:48AM +0200, Stephan A. Rickauer wrote: > "You see, most blokes will be playing at 10. Youre on 10, all the way > up, all the way up...Where can you go from there? Nowhere. What we do, > is if we need that extra push over the cliff...Eleven. One louder." "Why dont you just make 10 louder and make 10 be the top number, and make that a little louder?" ;) -- Antti Nykdnen || [EMAIL PROTECTED] || http://aon.iki.fi
Re: sysctl tuning for maximum network performance [off topic]
Ted Unangst schrieb: i don't understand why people keep asking the same question. if there were some "fast" sysctl knob, why would we set it to "slow"? why would there even be such a retarded knob? From Spinal Tap: "You see, most blokes will be playing at 10. Youre on 10, all the way up, all the way up...Where can you go from there? Nowhere. What we do, is if we need that extra push over the cliff...Eleven. One louder." Stephan
Re: sysctl tuning for maximum network performance
On Thu, 1 Sep 2005, Diego Augusto Dalmolin wrote: > because this server also handle spamd/squid/ftp-proxy... > I4ve forgotten to mention that.. that would have been helpful to know. but if your proxy has a backlog of 128 connections, a backlog of 129 or even 3456 connections is not going to help. i don't understand why people keep asking the same question. if there were some "fast" sysctl knob, why would we set it to "slow"? why would there even be such a retarded knob? any application that remotely cares about performance should be using setsockopt to control the buffer size. if you want help, your post should start "we have this router and i expect it to be going that fast, but it only goes this fast." if your router is already "fast enough", it can't get any faster. there's a only finite number of clients, porn, and pipe to connect them. -- And that's why I'm in New York.
Re: sysctl tuning for maximum network performance
because this server also handle spamd/squid/ftp-proxy... I4ve forgotten to mention that.. I4ve got a book (Absolute BSD - The ultimate guide to FreeBSD) I know this isn4t a openbsd book.. but I4ve got some information about NMBCLUSTER and tcp.sendspace/recvspace that might help Sorry for the inconvenient 2005/9/1, Adam <[EMAIL PROTECTED]>: > Diego Augusto Dalmolin <[EMAIL PROTECTED]> wrote: > > It handles the size of listen() queue... > > If you know that, then why would you think it needs to be increased to > do routing and NAT? > > Adam > -- Diego Augusto Dalmolin (41) 9648-0882
Re: sysctl tuning for maximum network performance
Diego Augusto Dalmolin <[EMAIL PROTECTED]> wrote: > It handles the size of listen() queue... If you know that, then why would you think it needs to be increased to do routing and NAT? Adam
Re: sysctl tuning for maximum network performance
It handles the size of listen() queue... I know openbsd is a great SO.. IMHO the best one I ever worked whit!! and I also know Theo & CO. are doing their best to maintain this system I just want to learn.. and I thought misc@ would be a place where I could find relevant information.. my 10 question was: "Where I can find material for studding" sorry if I4m not as good as you I4m just trying to understand how it works -- Diego Augusto Dalmolin (41) 9648-0882 2005/9/1, Ted Unangst <[EMAIL PROTECTED]>: > On Wed, 31 Aug 2005, Diego Augusto Dalmolin wrote: > > > Ok but... don4t you the default values like kern.somaxconn=128 > > are too small for an OBSD router/nat with 2 x Gig lans + 2 x 4Mbps > > internet conections > > do you even know what kern.somaxconn does? > > > -- > And that's why we need each other.
Re: sysctl tuning for maximum network performance
On Wed, 31 Aug 2005, Diego Augusto Dalmolin wrote: > Ok but... don4t you the default values like kern.somaxconn=128 > are too small for an OBSD router/nat with 2 x Gig lans + 2 x 4Mbps > internet conections do you even know what kern.somaxconn does? -- And that's why we need each other.
Re: sysctl tuning for maximum network performance
On Wed, 2005-08-31 at 12:05:48 -0300, Diego Augusto Dalmolin proclaimed... > Ok but... don4t you the default values like kern.somaxconn=128 > are too small for an OBSD router/nat with 2 x Gig lans + 2 x 4Mbps > internet conections Maybe, but don't expect support. That said, here's what we use on an Internet tap for a site with 1200Mbps aggregate connectivity. net.inet.tcp.recvspace=65535 net.inet.tcp.sendspace=65535 net.inet.ip.maxqueue=2048 kern.somaxconn=2048 net.bpf.bufsize=2097152 net.bpf.maxbufsize=4194304 Note that we've tuned net/bpf.h after testing for the past couple years. However, when/if we would ever need support, we would immediately revert back to GENERIC without the above sysctl's tuned so high. People need to understand that GENERIC doesn't work for everyone, but this isn't Linux. If you're asking how to tune it, the chances are that you do not know enough to tune it. Let GENERIC work for you (it worked fine for us just until quite recently when we added some more bpf hogging applications that were ultra-paranoid about packet loss, etc).
Re: sysctl tuning for maximum network performance
Ok but... don4t you the default values like kern.somaxconn=128 are too small for an OBSD router/nat with 2 x Gig lans + 2 x 4Mbps internet conections 2005/8/31, Diego Augusto Dalmolin <[EMAIL PROTECTED]>: > Where I could find a material for studding how to improve OBSD network > performance to maximum, using sysctl, kernel compilation, etc... > > > -- > Diego Augusto Dalmolin > (41) 9648-0882 > -- Diego Augusto Dalmolin (41) 9648-0882
Re: sysctl tuning for maximum network performance
Quoting Diego Augusto Dalmolin <[EMAIL PROTECTED]>: > Where I could find a material for studding how to improve OBSD network > performance to maximum, using sysctl, kernel compilation, etc... > > > -- > Diego Augusto Dalmolin > (41) 9648-0882 > > Search the archives, this has been discussed not so long ago ... To keep it short: use the defaults, this isn't Linux. Kind regards, Jimmy Scott This message has been sent through ihosting.be To report spamming or other unaccepted behavior by a iHosting customer, please send a message to [EMAIL PROTECTED]
Re: sysctl tuning for maximum network performance
On Wed, 31 Aug 2005 10:47:54 -0300 Diego Augusto Dalmolin <[EMAIL PROTECTED]> wrote: > Where I could find a material for studding how to improve OBSD network > performance to maximum, using sysctl, man sysctl > kernel compilation, etc... Well, simple, DON'T compile your own kernel. Because those few KB's won't slow your system that much that's it's worth all the hassle you can get from compiling your own kernel. Jasper > > > -- > Diego Augusto Dalmolin > (41) 9648-0882 > -- "Security is decided by quality" -- Theo de Raadt
sysctl tuning for maximum network performance
Where I could find a material for studding how to improve OBSD network performance to maximum, using sysctl, kernel compilation, etc... -- Diego Augusto Dalmolin (41) 9648-0882