Subject: Re: cable/@home
To: Erik Huizing <huizing@cpsc.ucalgary.ca>
From: Alex Barclay <alex@tfo-consulting.com>
List: port-mac68k
Date: 11/16/1999 22:18:20
On Tue, 16 Nov 1999, Erik Huizing wrote:
> Here, they're used for both up- and download. It only seems to be on my
> NetBSD box that I get poor inbound traffiv. When my Mac is connected to
> it, I usually get decent speeds (between 50 and 70k/sec both ways). The
> problem seems to be with the NetBSD system, but I'm clueless where to
> start looking.
I've been thinking about this since I last answered. I have sometimes seen
strange performance with some of the tcp optional stuff. MTU discovery and
window scaling. As a start here are my network related sysctl's
kern.ostype = NetBSD
kern.osrelease = 1.4K
kern.osrevision = 199905
kern.version = NetBSD 1.4K (WIBBLE3X.v6) #4: Sun Oct 3 21:00:13 MDT 1999
alex@wibble.tfo-consulting.com:/home/src/sys/arch/sun3/compile/WIBBLE3X.v6
kern.maxvnodes = 1354
kern.maxproc = 1044
kern.maxfiles = 3404
kern.argmax = 262144
kern.securelevel = 1
kern.hostname = wibble.tfo-consulting.com
kern.hostid = 1090523246
kern.clockrate: tick = 10000, tickadj = 40, hz = 100, profhz = 100, stathz
= 100kern.posix1version = 199009
kern.ngroups = 16
kern.job_control = 1
kern.saved_ids = 0
kern.boottime = Tue Nov 16 18:02:33 1999
kern.domainname =
kern.maxpartitions = 8
kern.rawpartition = 2
kern.autonicetime = 600
kern.autoniceval = 4
kern.rtc_offset = 0
kern.root_device = sd0
kern.msgbufsize = 7664
kern.fsync = 1
kern.sysvmsg = 1
kern.sysvsem = 1
kern.sysvshm = 1
kern.synchronized_io = 1
kern.iov_max = 1024
kern.mbuf.msize = 128
kern.mbuf.mclbytes = 2048
kern.mbuf.nmbclusters = 512
kern.mbuf.mblowat = 16
kern.mbuf.mcllowat = 8
kern.mapped_files = 1
kern.memlock = 1
kern.memlock_range = 1
kern.memory_protection = 1
net.inet.ip.forwarding = 1
net.inet.ip.redirect = 1
net.inet.ip.ttl = 64
net.inet.ip.forwsrcrt = 1
net.inet.ip.directed-broadcast = 0
net.inet.ip.allowsrcrt = 1
net.inet.ip.subnetsarelocal = 1
net.inet.ip.mtudisc = 0
net.inet.ip.anonportmin = 49152
net.inet.ip.anonportmax = 65535
net.inet.ip.mtudisctimeout = 600
net.inet.ip.maxflows = 256
net.inet.ip.hostzerobroadcast = 1
net.inet.ip.gifttl = 30
net.inet.icmp.maskrepl = 0
net.inet.tcp.rfc1323 = 1
net.inet.tcp.sendspace = 16384
net.inet.tcp.recvspace = 16384
net.inet.tcp.mssdflt = 512
net.inet.tcp.syn_cache_limit = 10255
net.inet.tcp.syn_bucket_limit = 105
net.inet.tcp.syn_cache_interval = 1
net.inet.tcp.init_win = 1
net.inet.tcp.mss_ifmtu = 0
net.inet.tcp.sack = 1
net.inet.tcp.win_scale = 1
net.inet.tcp.timestamps = 1
net.inet.tcp.compat_42 = 0
net.inet.tcp.cwm = 0
net.inet.tcp.cwm_burstsize = 4
net.inet.tcp.ack_on_push = 0
net.inet.tcp.keepidle = 14400
net.inet.tcp.keepintvl = 150
net.inet.tcp.keepcnt = 8
net.inet.tcp.slowhz = 2
net.inet.tcp.newreno = 0
net.inet.tcp.log_refused = 0
net.inet.udp.checksum = 1
net.inet.udp.sendspace = 9216
net.inet.udp.recvspace = 41600
net.inet.ipsec.def_policy = 1
net.inet.ipsec.esp_trans_deflev = 1
net.inet.ipsec.esp_net_deflev = 1
net.inet.ipsec.ah_trans_deflev = 1
net.inet.ipsec.ah_net_deflev = 1
net.inet.ipsec.inbound_call_ike = 0
net.inet.ipsec.ah_cleartos = 1
net.inet.ipsec.ah_offsetmask = 0
net.inet.ipsec.dfbit = 0
net.inet.ipsec.ecn = 0
net.inet6.udp6.sendmax = 9216
net.inet6.udp6.recvspace = 42080
net.inet6.ip6.forwarding = 0
net.inet6.ip6.redirect = 1
net.inet6.ip6.hlim = 64
net.inet6.ip6.maxfragpackets = 200
net.inet6.ip6.accept_rtadv = 0
net.inet6.ip6.keepfaith = 0
net.inet6.ip6.log_interval = 5
net.inet6.ip6.hdrnestlimit = 50
net.inet6.ip6.dad_count = 1
net.inet6.ip6.auto_flowlabel = 1
net.inet6.ip6.defmcasthlim = 1
net.inet6.ip6.gifhlim = 30
net.inet6.ip6.kame_version = SNAP 19990705/NetBSD-current
net.inet6.ipsec6.def_policy = 1
net.inet6.ipsec6.esp_trans_deflev = 1
net.inet6.ipsec6.esp_net_deflev = 1
net.inet6.ipsec6.ah_trans_deflev = 1
net.inet6.ipsec6.ah_net_deflev = 1
net.inet6.ipsec6.inbound_call_ike = 0
net.inet6.ipsec6.ecn = 0
net.inet6.icmp6.rediraccept = 1
net.inet6.icmp6.redirtimeout = 600
net.inet6.icmp6.errratelimit = 1000
net.inet6.icmp6.nd6_prune = 1
net.inet6.icmp6.nd6_delay = 5
net.inet6.icmp6.nd6_umaxtries = 3
net.inet6.icmp6.nd6_mmaxtries = 3
net.inet6.icmp6.nd6_useloopback = 1
net.inet6.icmp6.nd6_proxyall = 0
net.key.spi_try = 1000
net.key.spi_min_value = 256
net.key.spi_max_value = 268435455
net.key.random_int = 60
net.key.larval_lifetime = 30
net.key.blockacq_count = 10
net.key.blockacq_lifetime = 20
hw.machine = sun3
hw.model = sun3x 470
hw.ncpu = 1
hw.byteorder = 4321
hw.physmem = 67108864
hw.usermem = 66560000
hw.pagesize = 8192
hw.machine_arch = m68k
I've just included the kern, net and hw stuff. If you notice any
differences then let me know and we'll investigate further. My suspicions
are on rfc1323 (I seem to remember that this didn't run too well with VJ
header compression) and the path mtu discovery stuff.
Just report any differences.
A.
--
Alex Barclay E-mail: alex@tfo-consulting.com
TFO Consulting Tel: +1 719 635 7752
2121 Mt Washington Ave
Colorado Springs, CO 80906