Re: 100Mbit/s LAN slow, TX only ~3MB/s (esp. file transfer) -- why?
Thank you all who took time to reply! The problem really seems to be one of the (or maybe even both, even the LinkSys!) NICs in the FreeBSD machines. No wonder, the RealTek card is a cheap piece of crap (around EUR 6), I am going to replace it with something more reliable. Any recommendations? Is there a card with Really Good(TM) driver implementation for FreeBSD? Anything one would use in a production server (we use 3com cards almost exclusively at work, although mostly in Linux servers)? Anyway, thanks for all the input, I really appreciate it! Andreas -- Andreas daff Ntaflos | A cynic is a man who knows the price of daff AT dword DOT org | everything, and the value of nothing. Vienna, AUSTRIA| Oscar Wilde ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100Mbit/s LAN slow, TX only ~3MB/s (esp. file transfer) -- why?
Thank you all who took time to reply! The problem really seems to be one of the (or maybe even both, even the LinkSys!) NICs in the FreeBSD machines. No wonder, the RealTek card is a cheap piece of crap (around EUR 6), I am going to replace it with something more reliable. Any recommendations? Is there a card with Really Good(TM) driver implementation for FreeBSD? Anything one would use in a production server (we use 3com cards almost exclusively at work, although mostly in Linux servers)? once i've got cheap cards (20PLN=about 4 EUR) and bought 20 of them but i used only in NetBSD. but it seems fast (no problem to do 9MB/s on pentium 166 NFS) got detected like that tlp0 at pci0 dev 8 function 0: ADMtek AN985 Ethernet, pass 1.1 tlp0: interrupting at irq 9 tlp0: Ethernet address 00:0a:cd:05:46:e2 ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface ukphy0: OUI 0x000749, model 0x0001, rev. 1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto but it regularly gives tlp0: receive error: CRC error tlp0: receive error: CRC error tlp0: receive error: CRC error while except polluting logs it doesn't harm speed. i don't know if it's switch, NetBSD or something else this is good too (even better) but no more is available for now where i buy. sip0 at pci0 dev 8 function 0: NatSemi DP83815 10/100 Ethernet, rev 00 sip0: interrupting at irq 12 sip0: Ethernet address 00:50:fc:62:24:a6 nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1 nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100Mbit/s LAN slow, TX only ~3MB/s (esp. file transfer) -- why?
THe realtek driver in freebsd is very poor. I have a Dlink DFE 530+ with a realtek chipset and the machine would actually reboot once a week (small mail server) and had unusual statements in the log about oversized frames. I replaced it with a 3com 3c905c and it works great now. (even though the 3com driver is supposed to be poor as well with no tx/rx offload support that works right) On the flip slide, I recently bought a new system and copied over data from my windows xp and freebsd installs to the respective new installs on the new system. The windows installs did around 4Mb/s and the freebsd installs appeared to do 5-7Mb/s. In freebsd i used ftp and in windows i used the standard CIFS/SMB stuff. The old system has a 3c905b and the new system has a 10/100/1000 intel chipset. I have them connected to a 4port broadband switch router (SMC). Another words, your performance is a tad bit slow, but you are using realtek cards. They are not known to be the best. The intel card has slow negotiation issues in freebsd and windows and fixed settings for 100 fd result in packet loss even though auto negotiation uses the same settings. Sometimes I wonder if any nics work right. :) I tend to like the 3com cards just because they are consistent at least. On Wed, 14 Jul 2004, Andreas Ntaflos wrote: Hello list, here's the situation: a small LAN with two FreeBSD machines (one 4.10-STABLE, one 5.1-RELEASE-p11), one Gentoo box, one Windows 2000 Laptop. All the machines have 100Mbit/s capable network interfaces, configured for full duplex and auto-negotiation, and actually running in 100baseTX-FD mode (5.1 uses rl0, 4.10 dc0, Gentoo and Windows are also equipped with RealTek RTL8139 NICs). They are all connected through CAT5 UTP cables and a 5 port 100Mbit/s switch. All machines except the FreeBSD 5.1-RELEASE box are quite capable (800MHz--1GHz, 128MB--640MB RAM, (U)DMA mode harddisks, etc). The 5.1 box is an old 200MHz Pentium-MMX, 64MB RAM, slow disks. Here's the problem: Using FTP to transfer a 600MB file (ISO image) from one FreeBSD machine to the other runs only as fast as 3MB/s (maximum). Transferring the same file from the Gentoo box to one of the FreeBSD machines runs equally slow. Transferring the file from the Gentoo box to the Windows 2000 laptop however runs fine with about 10MB/s. Transferring from FreeBSD to Windows 2000 is slow again (2--5MB/s). Using SCP gives me a maximum of 1MB/s tranfer rate, on all possible connections and client pairs. I suppose this could be SCPs fault since it needs a fast CPU to encrypt and decrypt the data, but 800MHz and 1GHz ought to be enough so that this shouldn't be a bottleneck, hm? I've also tried connecting the machines directly via a crossover cable, to no avail. 4.10 -- 5.1 is still 3MB/s, Gentoo -- Windows 2000 runs even faster, and Gentoo -- FreeBSD is also about 2MB/s. I remember that about a year ago with the same setup (except for the 5.1 box, which I didn't have back then) FTP speed was most excellent, transferring a 1GB file took about 3 minutes. Now it seems to take forever to copy just 50MB. So why could this be? I am mostly interested in the two FreeBSD machines, why would that be such a slow connection? Because the 5.1 box is quite old? Could the RealTek card have a problem? The switch is almost certainly not faulty. Also why would a transfer between the 4.10 box and the Gentoo machine take so long? As I mentioned, a year ago I was enjoying TX rates of almost 11MB/s between the two of them. I believe at least part of the problem lies with the FreeBSD machines, so I am asking for ideas on what this issue could be, how to investigate further to track down the possible sources of the problem and how to solve it. Sorry for this lengthy post, I tried to give as much information as possible and make clear that I have already invested a good amount of time and effort to debug and solve this myself, but I am running out of ideas. I also posted on two other boards but nobody could suggest anything actually useful. I refuse to believe that this is the expected mode of operation for FTP (and even SCP) :-) Any help would be greatly appreciated! Thanks in advance! Andreas -- Andreas daff Ntaflos | A cynic is a man who knows the price of daff AT dword DOT org | everything, and the value of nothing. Vienna, AUSTRIA| Oscar Wilde ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
100Mbit/s LAN slow, TX only ~3MB/s (esp. file transfer) -- why?
Hello list, here's the situation: a small LAN with two FreeBSD machines (one 4.10-STABLE, one 5.1-RELEASE-p11), one Gentoo box, one Windows 2000 Laptop. All the machines have 100Mbit/s capable network interfaces, configured for full duplex and auto-negotiation, and actually running in 100baseTX-FD mode (5.1 uses rl0, 4.10 dc0, Gentoo and Windows are also equipped with RealTek RTL8139 NICs). They are all connected through CAT5 UTP cables and a 5 port 100Mbit/s switch. All machines except the FreeBSD 5.1-RELEASE box are quite capable (800MHz--1GHz, 128MB--640MB RAM, (U)DMA mode harddisks, etc). The 5.1 box is an old 200MHz Pentium-MMX, 64MB RAM, slow disks. Here's the problem: Using FTP to transfer a 600MB file (ISO image) from one FreeBSD machine to the other runs only as fast as 3MB/s (maximum). Transferring the same file from the Gentoo box to one of the FreeBSD machines runs equally slow. Transferring the file from the Gentoo box to the Windows 2000 laptop however runs fine with about 10MB/s. Transferring from FreeBSD to Windows 2000 is slow again (2--5MB/s). Using SCP gives me a maximum of 1MB/s tranfer rate, on all possible connections and client pairs. I suppose this could be SCPs fault since it needs a fast CPU to encrypt and decrypt the data, but 800MHz and 1GHz ought to be enough so that this shouldn't be a bottleneck, hm? I've also tried connecting the machines directly via a crossover cable, to no avail. 4.10 -- 5.1 is still 3MB/s, Gentoo -- Windows 2000 runs even faster, and Gentoo -- FreeBSD is also about 2MB/s. I remember that about a year ago with the same setup (except for the 5.1 box, which I didn't have back then) FTP speed was most excellent, transferring a 1GB file took about 3 minutes. Now it seems to take forever to copy just 50MB. So why could this be? I am mostly interested in the two FreeBSD machines, why would that be such a slow connection? Because the 5.1 box is quite old? Could the RealTek card have a problem? The switch is almost certainly not faulty. Also why would a transfer between the 4.10 box and the Gentoo machine take so long? As I mentioned, a year ago I was enjoying TX rates of almost 11MB/s between the two of them. I believe at least part of the problem lies with the FreeBSD machines, so I am asking for ideas on what this issue could be, how to investigate further to track down the possible sources of the problem and how to solve it. Sorry for this lengthy post, I tried to give as much information as possible and make clear that I have already invested a good amount of time and effort to debug and solve this myself, but I am running out of ideas. I also posted on two other boards but nobody could suggest anything actually useful. I refuse to believe that this is the expected mode of operation for FTP (and even SCP) :-) Any help would be greatly appreciated! Thanks in advance! Andreas -- Andreas daff Ntaflos | A cynic is a man who knows the price of daff AT dword DOT org | everything, and the value of nothing. Vienna, AUSTRIA| Oscar Wilde ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100Mbit/s LAN slow, TX only ~3MB/s (esp. file transfer) -- why?
On Wed, 14 Jul 2004, Andreas Ntaflos wrote: configured for full duplex and auto-negotiation, and actually running in 100baseTX-FD mode (5.1 uses rl0, 4.10 dc0, Gentoo and Windows are also equipped with RealTek RTL8139 NICs). From that statement, I'm almost certain the answer is no, but are you using any ethernet-over-USB devices? If so, you need to get USB 2.0 working throughout the system or you'll be limited to USB 1 speeds. I really doubt this has anything to do with your problem, but it's the only thing similar that I've seen. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100Mbit/s LAN slow, TX only ~3MB/s (esp. file transfer) -- why?
Andreas Ntaflos wrote: Hello list, here's the situation: a small LAN with two FreeBSD machines (one 4.10-STABLE, one 5.1-RELEASE-p11), one Gentoo box, one Windows 2000 Laptop. All the machines have 100Mbit/s capable network interfaces, configured for full duplex and auto-negotiation, and actually running in 100baseTX-FD mode (5.1 uses rl0, 4.10 dc0, Gentoo and Windows are also equipped with RealTek RTL8139 NICs). hi, not sure if this works, but you could try setting the media type for the rl0 on the 5.1 machine manually (it's a realtek 8139, right?): ifconfig rl0 media 100baseTX regards, martin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]