Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2001 08:35:50 -0600
From:      Peter <fbsdq@yahoo.com>
To:        mischief@lanesbry.com, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: win2k Networking very slow
Message-ID:  <SAK.2001.05.30.ioeoktnn@support10>

next in thread | raw e-mail | index | archive | help
Have you tried Windows to Windows, same cards/mobo/hardware [reboot]
I have tried that and it's about 6MB/sec up and down, just when I boot
FreeBSD it slows down.......If you try this in Windows and it's fast
I'll probably start thinking it's drivers because for me FBSD to FBSD
is also slow.

	Please cc: me / keep me posted if you find anything out.

btw, thanks for mailing all this, I'll try on my system and see what happens.

On 05/29/2001 6:43:31 PM, Ralph Seberry is quoted as saying:
 

. . . .|I wrote to Peter about his question of a slow network connection
. . . .|to win95, because I have a similar problem. I think I have peter's
. . . .|solution but I'm stuck.
. . . .|
. . . .|My position:
. . . .|Box A: win2k + intel etherexpress Pro 100B NIC, speed to internet is
. . . .|much better than connectivity to box B via samba/ftp.
. . . .|Box B: freebsd 4.1 + netgear 100 baseTx, speed to internet fine.
. . . .|
. . . .|I've looked at several avenues (see below), but I'm missing something. 
. . . .|The connection just "pauses" frequently. (no lights on switch flicker.)
. . . .|
. . . .|On Tuesday, 29 May 2001 at 08:31, Peter <fbsdq@yahoo.com> wrote:
. . . .|> > Did you get a response to this, I have a similar problem
. . . .|> No response, thinking about buying new NIC's.
. . . .|
. . . .|I tried that :-(
. . . .|
. . . .|I've done some more research now. See, I had win98 and it would
. . . .|slow down intermittently. But I had to upgrade to win2k (for work)
. . . .|and it is 3 orders of magnitude too slow and hangs a lot! (not
. . . .|collisions actually, from looking at the switch.)
. . . .|
. . . .|Someone else on freebsd-questions got advised to turn of delayed ack
. . . .|(which is funny, because I think delayed ack in win2k is part of my
. . . .|problem) by:
. . . .|sysctl -w net.inet.ip.delayed_ack=0
. . . .|
. . . .|which gave an order of magnitude performance increase.
. . . .|
. . . .|Someone else said collisions could be half duplex NIC,
. . . .|so I checked. That's not it. In fact I might have that from
. . . .|the samba list. They said if one side is 1/2 duplex, one full,
. . . .|then one side gets lots of stalls, the other lots of dropped
. . . .|packets, iirc.
. . . .|
. . . .|I found a microsoft knowledgebase article on this:
. . . .|Q169789 which complains the interframe gap is smaller than
. . . .|the 802.3 specification (so it's not a microsoft bug, natch)
. . . .|but gives a work-around. Sounds like Peter's situtation.
. . . .|
. . . .|As for my problem, after turning off delayed_ack, I'm still
. . . .|2 orders of magnitude slower than expected (up from 600bytes/sec
. . . .|to 6k/second). But at least it doesn't hang any more.
. . . .|This problem exists on ftp as well as samba.
. . . .|
. . . .|I turned of delayed ack in win2k (called SackOpts - special ack opts -
. . . .|in microsoft knowledgebase article Q120642 and Q224829 on microsoft 
. . . .|tcpip tuning) and I think it made some difference, but it's subjective.
. . . .|
. . . .|I found knowledgebase article Q244826 on "slow msdos file copy",
. . . .|which suggests changing TCPWindow, but that didn't work. The
. . . .|description (of losing packets due to incompatible packing of the
. . . .|TCP window) sounds plausible for my symptoms, though.
. . . .|
. . . .|I tried fiddling with rfc1323, ttl, recvspace and sendspace parameters
. . . .|to little avail. (These were suggested in a Nov99 post to the samba
. . . .|list, although there it was a setsockopts() mod to samba code.)
. . . .|sysctl -w net.inet.ip.ttl=128
. . . .|sysctl -w net.inet.ip.rfc1323=0
. . . .|sysctl -w net.inet.ip.sendspace=32768
. . . .|sysctl -w net.inet.ip.recvspace=32768
. . . .|
. . . .|I tweaked the same paramaters in win2k. to no avail.
. . . .|suggestions from the list welcome. I'm appending ifconfig,
. . . .|dmesg to entice you, but sysctl -A was 15k, so ask for
. . . .|what you want out of that.
. . . .|



www.nul.cjb.net
www.FreeBSD.org



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SAK.2001.05.30.ioeoktnn>