Re: Typical Network Performance
On 08/08/10 22:10, per...@pluto.rain.com wrote: Jason C. Wellsj...@speakeasy.net wrote: By process of elimination (swap cables, swap ports, try different host pairs) I was able to discover that a single server on my home LAN was getting about 1.6% performance compared to other servers getting 94% ... What would be the next step to figuring out why this host's network performance is slow? My next step would be to check whether this host and its hub/switch port agree on speed and duplex -- occasionally some combination of netcard phy and switch type gets the negotiation wrong. Duplex mismatch, in particular, can have huge performance impact. I needed a windows utility to connect to my switch. Instead I just added a realtek NIC to my server to replace the Marvell on-board NIC. After this, network load using 'nc' to pipe 1MiB gives 98% transfer rate. Even though I don't know what the problem was, I consider the problem solved. Thanks. Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Typical Network Performance
Seems like someone else got their question answered, but I was able to make use of the tips that were provided. win-win. Thanks for the pointers. By process of elimination (swap cables, swap ports, try different host pairs) I was able to discover that a single server on my home LAN was getting about 1.6% performance compared to other servers getting 94% performance using the 'dd if=/dev/zero bs=1M count=1 | nc servername 2000' technique. netstat -I on the errant server reports no errors. What would be the next step to figuring out why this host's network performance is slow? Regards, Jason C. Wells ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Typical Network Performance
Jason C. Wells j...@speakeasy.net wrote: By process of elimination (swap cables, swap ports, try different host pairs) I was able to discover that a single server on my home LAN was getting about 1.6% performance compared to other servers getting 94% ... What would be the next step to figuring out why this host's network performance is slow? My next step would be to check whether this host and its hub/switch port agree on speed and duplex -- occasionally some combination of netcard phy and switch type gets the negotiation wrong. Duplex mismatch, in particular, can have huge performance impact. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Typical Network Performance
Am 01.08.2010 23:18, schrieb Jason C. Wells: I have a 100 mbps (12,207 KiB/s) home LAN in full-duplex. A 1 MiB file transfers at 146.7 KiB/s via wput. The same file transfers at 91.34 KiB/s via samba. That's less than 1% of available transfer rate. Seems like my transfers are slow. I do better than that when installing via the internet. Does the FTP performance compared to available bandwidth seem right? Is the relative performance of samba to FTP right? I read a couple quick links on the net which said, It's complicated. Thanks, Jason C. Wells ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Which networkcard is built in? Do you copy via IP oder DNS? Can you ping your PCs with name? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Typical Network Performance
On Aug 1, 2010, at 11:31 PM, Corey Smith wrote: On Sun, Aug 1, 2010 at 7:30 PM, David Kelly dke...@hiwaay.net wrote: Gigabit ethernet from a 2.8 GHz P4 to or from MacPro I am only limited by disk data rate. About 60 MB/sec on one end of the disk, more on the other end of the disk. Did you try realtime monitoring your network interface? # route -n get remoteip interface: yourinterface # netstat -I yourinterface -w 1 No. I saw numbers that I was reasonably happy with and didn't pursue further. Do you see errors on the interface? Nope. 60 MB/sec via FTP is about 60% of gigabit and was faster than some disk accesses. # netstat -I yourinterface Another trick to eliminate disk io from the equation is to use nc: machine1 freebsd: # nc -o -l 2000 /dev/null machine2: # dd if=/dev/zero bs=1M count=50 | nc machine1 2000 60 MB/sec was the average over gigabytes of data. Real data. Real network wire. -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Typical Network Performance
I have a 100 mbps (12,207 KiB/s) home LAN in full-duplex. A 1 MiB file transfers at 146.7 KiB/s via wput. The same file transfers at 91.34 KiB/s via samba. That's less than 1% of available transfer rate. Seems like my transfers are slow. I do better than that when installing via the internet. Does the FTP performance compared to available bandwidth seem right? Is the relative performance of samba to FTP right? I read a couple quick links on the net which said, It's complicated. Thanks, Jason C. Wells ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Typical Network Performance
On Aug 1, 2010, at 2:18 PM, Jason C. Wells wrote: I have a 100 mbps (12,207 KiB/s) home LAN in full-duplex. A 1 MiB file transfers at 146.7 KiB/s via wput. The same file transfers at 91.34 KiB/s via samba. That's less than 1% of available transfer rate. Seems like my transfers are slow. I do better than that when installing via the internet. Does the FTP performance compared to available bandwidth seem right? Is the relative performance of samba to FTP right? I read a couple quick links on the net which said, It's complicated. Those figures do seem a little low. Some stuff to check: Are transfers in one direction a lot faster than transfers in the other? If so, the machines and the network switch may not all be agreeing on the duplex mode. Auto-negotiation sometimes fails and can lead to a lot of silent collisions, slowing things down dramatically. How about the disk you're transferring from? Is it limiting the speed? Those figures would be fairly normal for a USB 1.0 drive, for example. Are you sure all the machines involved are operating at 100 mbps? I've seen them silently fall back to 10 when there's a bad cable involved. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Typical Network Performance
On Aug 1, 2010, at 4:18 PM, Jason C. Wells wrote: I have a 100 mbps (12,207 KiB/s) home LAN in full-duplex. A 1 MiB file transfers at 146.7 KiB/s via wput. The same file transfers at 91.34 KiB/s via samba. That's less than 1% of available transfer rate. Seems like my transfers are slow. I do better than that when installing via the internet. Does the FTP performance compared to available bandwidth seem right? Is the relative performance of samba to FTP right? I read a couple quick links on the net which said, It's complicated. Gigabit ethernet from a 2.8 GHz P4 to or from MacPro I am only limited by disk data rate. About 60 MB/sec on one end of the disk, more on the other end of the disk. -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Typical Network Performance
On Sun, Aug 1, 2010 at 7:30 PM, David Kelly dke...@hiwaay.net wrote: Gigabit ethernet from a 2.8 GHz P4 to or from MacPro I am only limited by disk data rate. About 60 MB/sec on one end of the disk, more on the other end of the disk. Did you try realtime monitoring your network interface? # route -n get remoteip interface: yourinterface # netstat -I yourinterface -w 1 Do you see errors on the interface? # netstat -I yourinterface Another trick to eliminate disk io from the equation is to use nc: machine1 freebsd: # nc -o -l 2000 /dev/null machine2: # dd if=/dev/zero bs=1M count=50 | nc machine1 2000 -Corey Smith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org