Date: Sat, 21 Dec 2002 17:57:00 -0500 From: "matthew c. mead" <mmead@goof.com> To: Steve Baxter <steve@pipenetworks.com> Cc: freebsd-net@freebsd.org Subject: Re: Linux and FreeBSD poor network performance Message-ID: <20021221175700.A487@goof.com> In-Reply-To: <20021221172910.A67763@goof.com>; from mmead@goof.com on Sat, Dec 21, 2002 at 05:29:10PM -0500 References: <20021221165745.A67089@goof.com> <Pine.LNX.4.33.0212220814310.12158-100000@internal.pipenetworks.com> <20021221172910.A67763@goof.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sorry to follow-up to my own message, but using a FreeBSD
4.6.2-RELEASE box with the Linux box works just fine. It uses an
xl0 instead of an fxp0.
I've done a sysctl -a on each box. Here's the differences.
Anything look suspicious?
Thanks.
-matt
--- sysctl Sat Dec 21 17:43:49 2002
+++ sysctl2 Sat Dec 21 17:50:38 2002
@@ -1,24 +1,24 @@
kern.ostype: FreeBSD
-kern.osrelease: 4.6.2-RELEASE
+kern.osrelease: 4.7-RELEASE-p2
kern.osrevision: 199506
-kern.version: FreeBSD 4.6.2-RELEASE #1: Sat Aug 31 13:20:58 EDT 2002
- root@udel73:/mybsd/usr.src/sys/compile/XENON
+kern.version: FreeBSD 4.7-RELEASE-p2 #1: Thu Nov 14 11:34:22 EST 2002
+ mmead@goof.com:/goof/goof/0/usr.obj/goof/goof/0/usr.src/sys/GOOF
-kern.maxvnodes: 16344
+kern.maxvnodes: 8307
kern.maxproc: 532
kern.maxfiles: 1064
kern.argmax: 65536
kern.securelevel: -1
-kern.hostname: udel73
+kern.hostname: goof.com
kern.hostid: 0
kern.clockrate: { hz = 100, tick = 10000, tickadj = 5, profhz = 1024, stathz = 128 }
kern.posix1version: 199309
kern.ngroups: 16
kern.job_control: 1
kern.saved_ids: 0
-kern.boottime: { sec = 1040510404, usec = 876780 } Sat Dec 21 17:40:04 2002
+kern.boottime: { sec = 1040510992, usec = 39239 } Sat Dec 21 17:49:52 2002
kern.domainname:
-kern.osreldate: 460002
+kern.osreldate: 470000
kern.bootfile: /kernel
kern.maxfilesperproc: 957
kern.maxprocperuid: 478
@@ -30,7 +30,7 @@
kern.ipc.max_protohdr: 60
kern.ipc.max_hdr: 76
kern.ipc.max_datalen: 136
-kern.ipc.nmbclusters: 1024
+kern.ipc.nmbclusters: 2048
kern.ipc.semmap: 30
kern.ipc.semmni: 10
kern.ipc.semmns: 60
@@ -48,9 +48,11 @@
kern.ipc.shmall: 8192
kern.ipc.shm_use_phys: 0
kern.ipc.mbuf_wait: 32
-kern.ipc.mbtypes: 63 129 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-kern.ipc.nmbufs: 4096
-kern.ipc.maxsockets: 1064
+kern.ipc.mbtypes: 41 68 3 0 0 0 0 0 0 0 0 0 0 0 0 0
+kern.ipc.nmbufs: 8192
+kern.ipc.mcl_pool_max: 0
+kern.ipc.mcl_pool_now: 0
+kern.ipc.maxsockets: 2048
kern.dummy: 0
kern.ps_strings: 3217031152
kern.usrstack: 3217031168
@@ -66,10 +68,10 @@
kern.acct_suspend: 2
kern.acct_resume: 4
kern.acct_chkfreq: 15
-kern.cp_time: 1984 0 585 218 21329
+kern.cp_time: 1249 0 201 19 4451
kern.timecounter.method: 0
kern.timecounter.hardware: i8254
-kern.openfiles: 244
+kern.openfiles: 235
kern.kq_calloutmax: 4096
kern.ps_arg_cache_limit: 256
kern.ps_argsopen: 1
@@ -87,7 +89,7 @@
kern.devstat.numdevs: 6
kern.devstat.generation: 6
kern.devstat.version: 4
-kern.disks: afd0 ad1 ad0 md0
+kern.disks: ad2 ad1 ad0 md0
kern.log_wakeups_per_second: 5
kern.log_console_output: 1
kern.msgbuf:
@@ -97,75 +99,76 @@
kern.filedelay: 30
kern.dirdelay: 29
kern.metadelay: 28
-kern.minvnodes: 4086
+kern.minvnodes: 2076
kern.chroot_allow_open_directories: 1
-vm.loadavg: { 0.00 0.01 0.00 }
-vm.v_free_min: 479
-vm.v_free_target: 2080
-vm.v_free_reserved: 164
-vm.v_inactive_target: 3120
-vm.v_cache_min: 2080
-vm.v_cache_max: 4160
+vm.loadavg: { 0.68 0.17 0.06 }
+vm.v_free_min: 276
+vm.v_free_target: 1226
+vm.v_free_reserved: 122
+vm.v_inactive_target: 1839
+vm.v_cache_min: 1226
+vm.v_cache_max: 2452
vm.v_pageout_free_min: 34
vm.pageout_algorithm: 0
vm.swap_enabled: 1
vm.swap_async_max: 4
vm.swap_idle_threshold1: 2
vm.swap_idle_threshold2: 10
-vm.v_free_severe: 321
-vm.stats.sys.v_swtch: 46347
-vm.stats.sys.v_trap: 58128
-vm.stats.sys.v_syscall: 462778
-vm.stats.sys.v_intr: 75854
-vm.stats.sys.v_soft: 16433
-vm.stats.vm.v_vm_faults: 42204
-vm.stats.vm.v_cow_faults: 9851
+vm.v_free_severe: 199
+vm.stats.sys.v_swtch: 6741
+vm.stats.sys.v_trap: 35634
+vm.stats.sys.v_syscall: 76025
+vm.stats.sys.v_intr: 13312
+vm.stats.sys.v_soft: 2413
+vm.stats.vm.v_vm_faults: 35812
+vm.stats.vm.v_cow_faults: 6923
vm.stats.vm.v_cow_optim: 0
-vm.stats.vm.v_zfod: 16271
-vm.stats.vm.v_ozfod: 16139
+vm.stats.vm.v_zfod: 20791
+vm.stats.vm.v_ozfod: 20577
vm.stats.vm.v_swapin: 0
vm.stats.vm.v_swapout: 0
vm.stats.vm.v_swappgsin: 0
vm.stats.vm.v_swappgsout: 0
-vm.stats.vm.v_vnodein: 1266
+vm.stats.vm.v_vnodein: 569
vm.stats.vm.v_vnodeout: 0
-vm.stats.vm.v_vnodepgsin: 9642
+vm.stats.vm.v_vnodepgsin: 4473
vm.stats.vm.v_vnodepgsout: 0
-vm.stats.vm.v_intrans: 29
-vm.stats.vm.v_reactivated: 470
+vm.stats.vm.v_intrans: 40
+vm.stats.vm.v_reactivated: 185
vm.stats.vm.v_pdwakeups: 0
vm.stats.vm.v_pdpages: 0
vm.stats.vm.v_dfree: 0
-vm.stats.vm.v_pfree: 9531
-vm.stats.vm.v_tfree: 24239
+vm.stats.vm.v_pfree: 16474
+vm.stats.vm.v_tfree: 27284
vm.stats.vm.v_page_size: 4096
-vm.stats.vm.v_page_count: 63248
-vm.stats.vm.v_free_reserved: 164
-vm.stats.vm.v_free_target: 2080
-vm.stats.vm.v_free_min: 479
-vm.stats.vm.v_free_count: 37880
-vm.stats.vm.v_wire_count: 5845
-vm.stats.vm.v_active_count: 10331
-vm.stats.vm.v_inactive_target: 3120
-vm.stats.vm.v_inactive_count: 9129
-vm.stats.vm.v_cache_count: 63
-vm.stats.vm.v_cache_min: 2080
-vm.stats.vm.v_cache_max: 4160
+vm.stats.vm.v_page_count: 31100
+vm.stats.vm.v_free_reserved: 122
+vm.stats.vm.v_free_target: 1226
+vm.stats.vm.v_free_min: 276
+vm.stats.vm.v_free_count: 18584
+vm.stats.vm.v_wire_count: 3791
+vm.stats.vm.v_active_count: 4533
+vm.stats.vm.v_inactive_target: 1839
+vm.stats.vm.v_inactive_count: 4177
+vm.stats.vm.v_cache_count: 15
+vm.stats.vm.v_cache_min: 1226
+vm.stats.vm.v_cache_max: 2452
vm.stats.vm.v_pageout_free_min: 34
vm.stats.vm.v_interrupt_free_min: 2
-vm.stats.vm.v_forks: 241
-vm.stats.vm.v_vforks: 14
+vm.stats.vm.v_forks: 367
+vm.stats.vm.v_vforks: 15
vm.stats.vm.v_rforks: 0
vm.stats.vm.v_kthreads: 5
-vm.stats.vm.v_forkpages: 20768
-vm.stats.vm.v_vforkpages: 7626
+vm.stats.vm.v_forkpages: 25594
+vm.stats.vm.v_vforkpages: 1265
vm.stats.vm.v_rforkpages: 0
vm.stats.vm.v_kthreadpages: 0
-vm.stats.misc.zero_page_count: 33023
-vm.stats.misc.cnt_prezero: 49499
-vm.max_proc_mmap: 17990
+vm.stats.misc.zero_page_count: 12516
+vm.stats.misc.cnt_prezero: 33167
+vm.max_proc_mmap: 8846
+vm.msync_flush_flags: 3
vm.max_launder: 32
-vm.pageout_stats_max: 2080
+vm.pageout_stats_max: 1226
vm.pageout_full_stats_interval: 20
vm.pageout_stats_interval: 5
vm.pageout_stats_free_max: 5
@@ -176,33 +179,33 @@
vm.zone:
ITEM SIZE LIMIT USED FREE REQUESTS
-PIPE: 160, 0, 90, 114, 364
-SWAPMETA: 160, 63248, 0, 0, 0
-unpcb: 160, 0, 87, 38, 195
-ripcb: 192, 1064, 0, 21, 1
-divcb: 192, 1064, 0, 0, 0
-syncache: 160, 15359, 0, 51, 4
-tcpcb: 544, 1064, 15, 15, 27
-udpcb: 192, 1064, 7, 35, 27
-socket: 192, 1064, 109, 40, 252
-KNOTE: 64, 0, 0, 0, 0
+PIPE: 160, 0, 73, 131, 410
+SWAPMETA: 160, 15550, 0, 0, 0
+unpcb: 160, 0, 18, 32, 29
+ripcb: 192, 2048, 0, 21, 1
+divcb: 192, 2048, 0, 0, 0
+syncache: 160, 15359, 0, 51, 8
+tcpcb: 544, 2048, 32, 13, 42
+udpcb: 192, 2048, 4, 38, 112
+socket: 192, 2048, 54, 31, 185
+KNOTE: 64, 0, 0, 128, 45
NFSNODE: 352, 0, 0, 0, 0
NFSMOUNT: 544, 0, 0, 0, 0
-VNODE: 192, 0, 4086, 48, 4086
-NAMEI: 1024, 0, 0, 16, 112046
-VMSPACE: 192, 0, 36, 28, 255
-PROC: 416, 0, 41, 57, 260
-DP fakepg: 64, 0, 90, 166, 91
-PV ENTRY: 28, 237326, 56501, 15252, 227141
-MAP ENTRY: 48, 0, 1682, 571, 15112
-KMAP ENTRY: 48, 15940, 238, 146, 1387
+VNODE: 192, 0, 2076, 44, 2076
+NAMEI: 1024, 0, 4, 12, 16024
+VMSPACE: 192, 0, 68, 60, 382
+PROC: 416, 0, 73, 25, 387
+DP fakepg: 64, 0, 0, 0, 0
+PV ENTRY: 28, 171918, 22237, 10522, 124687
+MAP ENTRY: 48, 0, 1167, 236, 14154
+KMAP ENTRY: 48, 7903, 278, 106, 1106
MAP: 108, 0, 7, 3, 7
-VM OBJECT: 96, 0, 2202, 154, 7039
-vm.zone_kmem_pages: 62
-vm.zone_kmem_kvaspace: 19554304
-vm.zone_kern_pages: 304
+VM OBJECT: 96, 0, 1629, 139, 7162
+vm.zone_kmem_pages: 18
+vm.zone_kmem_kvaspace: 11911168
+vm.zone_kern_pages: 183
vm.kvm_size: 1069547520
-vm.kvm_free: 855638016
+vm.kvm_free: 918552576
vfs.nfs.nfs_privport: 0
vfs.nfs.async: 0
vfs.nfs.commit_blks: 0
@@ -218,45 +221,45 @@
vfs.nfs.diskless_swappath:
vfs.nfs.access_cache_timeout: 60
vfs.nfs.nfsv3_commit_on_close: 0
-vfs.numdirtybuffers: 31
-vfs.lodirtybuffers: 294
-vfs.hidirtybuffers: 588
-vfs.numfreebuffers: 2241
-vfs.lofreebuffers: 131
-vfs.hifreebuffers: 262
-vfs.runningbufspace: 0
+vfs.numdirtybuffers: 193
+vfs.lodirtybuffers: 191
+vfs.hidirtybuffers: 383
+vfs.numfreebuffers: 1260
+vfs.lofreebuffers: 85
+vfs.hifreebuffers: 170
+vfs.runningbufspace: 8192
vfs.lorunningspace: 524288
vfs.hirunningspace: 1048576
-vfs.maxbufspace: 37224448
-vfs.hibufspace: 36569088
-vfs.lobufspace: 36503552
-vfs.bufspace: 36503552
-vfs.maxmallocbufspace: 1828454
-vfs.bufmallocspace: 130048
-vfs.getnewbufcalls: 3118
+vfs.maxbufspace: 23838720
+vfs.hibufspace: 23183360
+vfs.lobufspace: 23117824
+vfs.bufspace: 23117824
+vfs.maxmallocbufspace: 1159168
+vfs.bufmallocspace: 216064
+vfs.getnewbufcalls: 1715
vfs.getnewbufrestarts: 0
vfs.vmiodirenable: 1
vfs.bufdefragcnt: 0
vfs.buffreekvacnt: 0
-vfs.bufreusecnt: 2228
-vfs.cache.numneg: 276
-vfs.cache.numcache: 4424
-vfs.cache.numcalls: 288273
-vfs.cache.dothits: 852
-vfs.cache.dotdothits: 345
-vfs.cache.numchecks: 292772
-vfs.cache.nummiss: 6974
-vfs.cache.nummisszap: 62
-vfs.cache.numposzaps: 58
-vfs.cache.numposhits: 276197
-vfs.cache.numnegzaps: 10
-vfs.cache.numneghits: 3775
-vfs.cache.numcwdcalls: 354
+vfs.bufreusecnt: 1411
+vfs.cache.numneg: 135
+vfs.cache.numcache: 2173
+vfs.cache.numcalls: 52406
+vfs.cache.dothits: 278
+vfs.cache.dotdothits: 1171
+vfs.cache.numchecks: 51865
+vfs.cache.nummiss: 4791
+vfs.cache.nummisszap: 73
+vfs.cache.numposzaps: 47
+vfs.cache.numposhits: 44145
+vfs.cache.numnegzaps: 12
+vfs.cache.numneghits: 1889
+vfs.cache.numcwdcalls: 56
vfs.cache.numcwdfail1: 0
vfs.cache.numcwdfail2: 0
vfs.cache.numcwdfail3: 0
vfs.cache.numcwdfail4: 0
-vfs.cache.numcwdfound: 354
+vfs.cache.numcwdfound: 56
vfs.cache.numfullpathcalls: 0
vfs.cache.numfullpathfail1: 0
vfs.cache.numfullpathfail2: 0
@@ -264,10 +267,10 @@
vfs.cache.numfullpathfail4: 0
vfs.cache.numfullpathfound: 0
vfs.write_behind: 1
-vfs.reassignbufcalls: 3603
+vfs.reassignbufcalls: 647
vfs.reassignbufloops: 0
-vfs.reassignbufsortgood: 1037
-vfs.reassignbufsortbad: 388
+vfs.reassignbufsortgood: 186
+vfs.reassignbufsortbad: 237
vfs.reassignbufmethod: 1
vfs.nameileafonly: 0
vfs.timestamp_precision: 0
@@ -299,6 +302,17 @@
net.inet.ip.keepfaith: 0
net.inet.ip.gifttl: 30
net.inet.ip.subnets_are_local: 0
+net.inet.ip.dummynet.hash_size: 64
+net.inet.ip.dummynet.curr_time: 4625
+net.inet.ip.dummynet.ready_heap: 0
+net.inet.ip.dummynet.extract_heap: 0
+net.inet.ip.dummynet.searches: 0
+net.inet.ip.dummynet.search_steps: 0
+net.inet.ip.dummynet.expire: 1
+net.inet.ip.dummynet.max_chain_len: 16
+net.inet.ip.dummynet.red_lookup_depth: 256
+net.inet.ip.dummynet.red_avg_pkt_size: 512
+net.inet.ip.dummynet.red_max_pkt_size: 1500
net.inet.ip.fw.enable: 1
net.inet.ip.fw.one_pass: 1
net.inet.ip.fw.debug: 1
@@ -316,7 +330,7 @@
net.inet.ip.fw.dyn_udp_lifetime: 10
net.inet.ip.fw.dyn_short_lifetime: 5
net.inet.ip.fw.dyn_grace_time: 10
-net.inet.ip.maxfragpackets: 256
+net.inet.ip.maxfragpackets: 512
net.inet.ip.check_interface: 0
net.inet.icmp.maskrepl: 0
net.inet.icmp.icmplim: 200
@@ -343,9 +357,13 @@
net.inet.tcp.newreno: 1
net.inet.tcp.tcbhashsize: 512
net.inet.tcp.do_tcpdrain: 1
-net.inet.tcp.pcbcount: 15
+net.inet.tcp.pcbcount: 32
net.inet.tcp.icmp_may_rst: 1
net.inet.tcp.isn_reseed_interval: 0
+net.inet.tcp.inflight_enable: 0
+net.inet.tcp.inflight_debug: 0
+net.inet.tcp.inflight_min: 6144
+net.inet.tcp.inflight_max: 1073725440
net.inet.tcp.syncookies: 1
net.inet.tcp.syncache.bucketlimit: 30
net.inet.tcp.syncache.cachelimit: 15359
@@ -353,6 +371,8 @@
net.inet.tcp.syncache.hashsize: 512
net.inet.tcp.syncache.rexmtlimit: 3
net.inet.tcp.msl: 30000
+net.inet.tcp.rexmit_min: 1000
+net.inet.tcp.rexmit_slop: 200
net.inet.tcp.always_keepalive: 1
net.inet.udp.checksum: 1
net.inet.udp.maxdgram: 9216
@@ -394,12 +414,13 @@
net.link.ether.inet.useloopback: 1
net.link.ether.inet.proxyall: 0
net.link.ether.inet.log_arp_wrong_iface: 1
+net.link.ether.ipfw: 0
net.link.gif.max_nesting: 1
net.link.gif.parallel_tunnels: 0
net.inet6.ip6.forwarding: 0
net.inet6.ip6.redirect: 1
net.inet6.ip6.hlim: 64
-net.inet6.ip6.maxfragpackets: 256
+net.inet6.ip6.maxfragpackets: 512
net.inet6.ip6.accept_rtadv: 0
net.inet6.ip6.keepfaith: 0
net.inet6.ip6.log_interval: 5
@@ -434,7 +455,7 @@
debug.elf_trace: 0
debug.boothowto: -2147483648
debug.free_devt: 0
-debug.fdexpand: 3
+debug.fdexpand: 2
debug.sizeof.vnode: 168
debug.sizeof.proc: 408
debug.sizeof.specinfo: 68
@@ -444,23 +465,23 @@
debug.ttydebug: 0
debug.nchash: 16383
debug.ncnegfactor: 16
-debug.numneg: 276
-debug.numcache: 4424
+debug.numneg: 135
+debug.numcache: 2173
debug.vfscache: 1
debug.vnsize: 168
debug.ncsize: 36
debug.disablecwd: 0
debug.disablefullpath: 0
-debug.numvnodes: 4086
+debug.numvnodes: 2076
debug.wantfreevnodes: 25
-debug.freevnodes: 2706
+debug.freevnodes: 1143
debug.rush_requests: 0
debug.vnlru_nowhere: 0
debug.bpf_bufsize: 4096
debug.bpf_maxbufsize: 524288
debug.if_tun_debug: 0
debug.ncr_debug: 0
-debug.max_softdeps: 130752
+debug.max_softdeps: 66456
debug.tickdelay: 2
debug.worklist_push: 0
debug.blk_limit_push: 0
@@ -473,42 +494,41 @@
debug.direct_blk_ptrs: 0
debug.dir_entry: 0
debug.dircheck: 0
-debug.es_debug: 0
hw.machine: i386
-hw.model: Pentium III/Pentium III Xeon/Celeron
+hw.model: AMD Duron(tm) Processor
hw.ncpu: 1
hw.byteorder: 1234
-hw.physmem: 263548928
-hw.usermem: 239607808
+hw.physmem: 129646592
+hw.usermem: 114118656
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: i386
+hw.aac.iosize_max: 65536
hw.ata.ata_dma: 1
hw.ata.wc: 1
hw.ata.tags: 0
hw.ata.atapi_dma: 0
+hw.fxp_rnr: 0
hw.pcic.irq: 0
hw.pcic.boot_deactivated: 0
+hw.pcic.pd6722_vsense: 1
hw.pcic.ignore_function_1: 0
hw.pcic.intr_path: 2
hw.pcic.init_routing: 0
+hw.pcic.ignore_pci: 0
+hw.pcic.pd6729_intr_path: 1
hw.dc_quick: 1
-hw.sis_quick: 1
hw.wx.txint_delay: 5000
hw.wx.dump_stats: -1
hw.wx.clear_stats: -1
-hw.snd.targetirqrate: 32
-hw.snd.report_soft_formats: 1
-hw.snd.verbose: 1
-hw.snd.maxautovchans: 0
-hw.snd.pcm0.buffersize: 4096
-hw.snd.pcm0.vchans: 0
hw.instruction_sse: 0
-hw.availpages: 64177
+hw.availpages: 31485
+hw.fxp0.int_delay: 1000
+hw.fxp0.bundle_max: 6
machdep.consdev: { major = 12, minor = 255 }
-machdep.adjkerntz: 18000
+machdep.adjkerntz: 0
machdep.disable_rtc_set: 0
-machdep.wall_cmos_clock: 1
+machdep.wall_cmos_clock: 0
machdep.an_dump: off
machdep.an_cache_mcastonly: 0
machdep.an_cache_iponly: 1
@@ -516,17 +536,18 @@
machdep.wi_cache_mcastonly: 0
machdep.wi_cache_iponly: 1
machdep.do_dump: 1
-machdep.pccard.pcic_resume_reset: 1
-machdep.pccard.mem_start: 655360
-machdep.pccard.mem_end: 1048576
+machdep.pccard.mem_start: 851968
+machdep.pccard.mem_end: 983039
machdep.enable_panic_key: 0
machdep.apm_suspend_delay: 1
machdep.apm_standby_delay: 1
machdep.ispc98: 0
machdep.msgbuf:
machdep.msgbuf_clear: 0
-machdep.guessed_bootdev: /dev/wd1s1a
+machdep.cpu_idle_hlt: 1
+machdep.guessed_bootdev: /dev/wd0s1a
machdep.panic_on_nmi: 1
+machdep.uc_devlist:
machdep.i8254_freq: 1193182
machdep.conrclk: 1843200
machdep.conspeed: 9600
On Sat, Dec 21, 2002 at 05:29:10PM -0500, matthew c. mead wrote:
> On Sun, Dec 22, 2002 at 08:16:28AM +1000, Steve Baxter wrote:
> > Check out the duplex setting on the ethernet ports. Use
>
> > 'ifconfig' and 'netstat -I dev -w 1' on FreeBSD
>
> ifconfig fxp0:
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet 192.168.1.99 netmask 0xffffff00 broadcast 192.168.1.255
> inet6 fe80::2d0:b7ff:fe9e:2bbe%fxp0 prefixlen 64 scopeid 0x1
> ether 00:d0:b7:9e:2b:be
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
>
> The switch's light for full duplex on this port is ON.
>
> The netstat lists no errors or collisions.
>
> > 'ifconfig', 'mii-tool' and 'cat /proc/net/dev' on Linux
>
> ifconfig eth0:
> eth0 Link encap:Ethernet HWaddr 00:07:95:35:DD:77
> inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:60487 errors:0 dropped:0 overruns:0 frame:0
> TX packets:93881 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:19959655 (19.0 Mb) TX bytes:78760612 (75.1 Mb)
> Interrupt:5 Base address:0xd400
>
> mii-tool:
> eth0: negotiated 100baseTx-FD, link ok
>
> The switch's light for full duplex on this port is ON.
>
> cat /proc/net/dev:
> Inter-| Receive | Transmit
> face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
> lo: 1000 20 0 0 0 0 0 0 1000 20 0 0 0 0 0 0
> eth0:19971723 60609 0 0 0 0 0 0 78770385 93940 0 0 0 0 0 0
>
> > Any sort of errors may lead to this sort of behaviour. You need to match
> > the hosts to the switch port they are connected to.
>
> Thanks for the suggestions. I think the cards/ports are
> negotiating with each other properly.
>
> I've tried disabling the FreeBSD box's delay_ack but it makes no
> difference.
>
> Any other ideas? Thanks again...
>
>
>
> -matt
> >
> > SB
> >
> >
> > > I have a Linux box and FreeBSD box sitting on a 100Mbit ethernet
> > > segment that cannot seem to talk to one another faster than
> > > 150K/s. I've been using scp, ftp, http, to test this.
> > >
> > > A Windows box on the same segment can send/receive at 6MB/s with
> > > either box, but for some reason the FreeBSD box and Linux box
> > > are having some weird interaction. My guess is I need to tune
> > > one or the other's tcp stack. Any hints? Anyone seen this?
> > >
> > > FreeBSD box is FreeBSD 4.7-RELEASE-p2. Linux box is Gentoo Linux
> > > 1.4rc1 with kernel 2.4.19-gentoo-r10. Windows box is Windows
> > > 2000 sp3.
> > >
> > > Thanks in advance for any help... I'm out of ideas.
> > >
> > >
> > > -matt
> > >
> > >
> >
> > --
> > Stephen Baxter
> > Director - PIPE Networks
> > phone : 07 3220 1100/ 0417 818 695
> > fax : 07 3220 1800
> >
> >
> > ______________________________________
> > PIPE Networks/IX Services Australia disclaimer
> >
> > The above email should be read in conjunction with our standard
> > disclaimer/terms which can be found at :
> >
> > http://www.pipenetworks.com/docs/disclaimer.htm
> >
>
> --
> matthew c. mead
>
> http://www.goof.com/~mmead/
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
>
--
matthew c. mead
http://www.goof.com/~mmead/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021221175700.A487>
