niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » FreeBSD
Tuning natd ?
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Cad
*nix forums beginner


Joined: 04 Feb 2005
Posts: 2

PostPosted: Fri Feb 04, 2005 3:05 pm    Post subject: Tuning natd ? Reply with quote

Hi,

How to tuning natd ?
My natd have 90% CPU usage;-(

natd.conf is
use_sockets yes
same_ports yes
unregistered_only
interface fxp0
punch_fw 2000:50

mapped 1000 private users.

curretly sysclt is :
kern.polling.enable=1
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1

net.inet.tcp.recvspace=65535
net.inet.tcp.sendspace=65535
kern.ipc.maxsockbuf=4388608
net.inet.tcp.rfc1323=1
net.inet.ip.fw.dyn_max=8192
net.inet.tcp.keepidle=10000
net.inet.tcp.keepintvl=7500
kern.ipc.somaxconn=65535
net.inet.ipf.fr_tcpidletimeout=7200
net.inet.ipf.fr_tcpclosewait=120
net.inet.ipf.fr_tcplastack=120
net.inet.ipf.fr_tcptimeout=240
net.inet.ipf.fr_tcpclosed=60
net.inet.ipf.fr_tcphalfclosed=300

any modification? or other (kernel/natd) optimization?

thanks
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 11:11 am | All times are GMT
navigation Forum index » *nix » BSD » FreeBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts AIX performance tuning jpzhai@gmail.com AIX 5 Fri Jul 21, 2006 2:27 am
No new posts minperm and numperm tuning mychrislo@gmail.com AIX 0 Wed Jul 19, 2006 10:08 am
No new posts numperm and minperm tuning mychrislo@gmail.com AIX 0 Wed Jul 19, 2006 10:02 am
No new posts Berkeley DBXML vs eXist - tuning Berkeley? tfga Berkeley DB 1 Sat Jul 15, 2006 1:02 am
No new posts IPFW + NATD +Transparent Proxy bandage FreeBSD 1 Thu Jul 13, 2006 1:29 pm

Jokes | NFL Talk Football Forums | Live mortgage rates | Debt Consolidation | Mortgages
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1770s ][ Queries: 16 (0.0506s) ][ GZIP on - Debug on ]