Moderators: Stupify, Tacitus, Anna, CPUagnostic, MTX, Celt, Hammer_Time, Sauron_Daz
I have a windows 7 computer, and am trying to back it up to my centos server, over LAN. I have a gigabit network, am using gigabit NIC cards, cat 5e cables, and a gigabit switch.
I am using samba to share files between the two computers, but the speed decrease is experienced over FTP and http as well.
The drivers are all up to date. RDC is disabled on windows.
The speed starts off at about 80MB/s, then drops within a second to 12MB/s. And remains there, or drops to about 3MB/s.
The odd thing is that when I use iperf, I get speeds at 100MB/s. So clearly the problem isnt in the network, but in either the settings on one of the computers or the protocol.
For anyone whose interested, I solved the problem. When I installed centos my bios settings for sata hard drives was as IDE compatible. Switching them to IDE enhanced enabled DMA.
My drives we /dev/hdX were now /dev/sdX. The root drive mounted itself. I had the other drives mounting to /home and /disk2 so I edited /etc/fstab.
After that, I got close to 75MB/s consistently to both drives.

Stupify wrote:I am not getting the gigabit speed over all elements that are gigabit network in the big transfers (1GB+ files), rather I am getting 100mbps speed. Here is the setup:
NAS (Gigabit, PC) --> SwitchA (TP-Link TL-SG1005D 5-port Gigabit) --> Router (DLink DIR-655 Extreme: Gigabit) --> SwitchB (TP-Link TL-SG1005D 5-port Gigabit) --> Laptop (Gigabit)
Before I used to get 30MBps with Jumbo frames disabled when I had it like following (only one switch):
NAS (Gigabit, PC) --> Router (DLink DIR-655 Extreme: Gigabit) --> SwitchB (TP-Link TL-SG1005D 5-port Gigabit) --> Laptop (Gigabit)
I had enabled Jumbo frames (9k) on NAS and tested to get 10MBps. Although in this case the Laptop had Jumbo frames disabled.
In case it helps here is some extra information on what else is on the network:
SwitchA: MagicJack, Satellite and NAS
Router: Printer, SwitchA, SwitchB
SwitchB: PC, Laptop, Laptop, VOIP phone
Can anyone help/guide me on how to ensure that I get the full speed over the network or at least close to it (50MBps+).
Hammer_Time wrote:Note ( for others reading this thread, I know Stupe is well aware of the difference ) he is talking about MegaBytes per second, not "bits"...

Stupify wrote:so i just swapped the cable to Cat5e and still 11MBps is max. Did I need to reset the NAS (PC) for it to recognize the change or what?
Fuzz, the max I have seen so far is 30MBps or so. What could be limiting the performance so much between what you are getting and what I am getting? Could it have anything to do with the other network elements that are connected to each of the 3 devices (2 switches and the router)? The cables that I have running between the switches and the router are cat5e but seem a bit worn out. Even then I was able to hit 30MBps with one switch but the same set of cables (the cable connecting the other switch was connected to NAS directly before).
Enabling jumbo frames can significantly increase your network’s throughput while consuming fewer CPU cycles (we’ll explain why in a moment). But before you configure your PCs to use jumbo frames, you should know that their value lies primarily in speeding up large file transfers within your network (versus to and from the Internet).
You should also be aware that enabling jumbo frames might cause problems with latency sensitive network applications, such as VoIP and online games. Lastly, jumbo frames are available only on gigabit networks, and every device in the path of the file transfer—all your switches (starting with the one in the router), your PC, server, and/or NAS—must all be equipped with gigabit Ethernet interfaces. What’s more, each of those devices must be capable of passing the same size jumbo frames. Okay, here’s another twist: There is no such thing as a standard-size jumbo frame.
Confused? Here’s a brief Ethernet primer: Data travels over an Ethernet network in frames, with each frame containing a 1,460-byte payload (the data being transferred) plus a 40-byte TCP/IP header. Add these together and you have Ethernet’s 1,500-byte maximum transmission unit (MTU). Now add the 12-byte Ethernet frame header, two bytes that identify the Ethernet type, and four bytes of error-detection data and you get a standard-sized Ethernet frame of 1,518 bytes.
A jumbo frame is simply an Ethernet frame that’s larger than 1,518 bytes. Since the header sizes remain the same, each frame can carry a larger payload. You’ll see the greatest benefit from enabling jumbo frames when you transfer large files across your network. Since fewer frames are needed to carry the same amount of data, transfer speeds go up and CPU utilization goes down. (CPU utilization probably isn’t an issue on your PC, but your server or NAS almost certainly has a fraction of that horsepower.)
The tricky part is determining the optimum size frame that everything supports, and that will take a little trial-and-error benchmarking to figure out. Gigabit Ethernet supports a maximum MTU of 9,000 bytes; but if you push your network too hard, performance might deteriorate as dropped and fragmented frames are constantly resent.
Your PC's network interface probably came from the factory with jumbo frames disabled.
As we mentioned, the value of using jumbo frames manifests itself during large file transfers. So before you make any changes to your gear’s MTU settings, determine your network’s baseline performance by using a stopwatch to measure how long it takes to copy a large file—a DVD ISO image, for instance—from a client to a server or a NAS box across your network and back again.
On a PC running Windows 7, click the Start menu and then right-click on Computer and choose the Manage option. Click on Device Manager in the left-hand column, click on Network adapters in the center column, and then right-click on the network adapter you’re using to connect to your network and choose Properties. Click on the Advanced tab and look for Jumbo Frame in the Property window. Now, choose the MTU size you wish your NIC to operate with.
You’ll need to do the same thing with your server or NAS device (most NAS boxes have a Web interface for this purpose, so you should refer to its documentation for specifics). Although each device in the path of the transfer needs to be configured to use the same size jumbo frame, you probably won’t be able to manually configure the switch in your router or even a stand-alone switch if it’s an unmanaged model (the most common type in the consumer market). Fortunately, you won’t need to: You’re golden as long as the router’s and any stand-alone switch you use support jumbo frames.
Once you’ve tweaked the MTU values on each device’s network interface, measure how long it takes to copy that same file across the network. If you get a bump in speed with a 4K MTU, try 9K. If performance degrades at that size, dial it back until you find the optimum value.

C:\Users\MY>ping tv -f -l 8972
Pinging TV [10.10.10.65] with 8972 bytes of data:
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Ping statistics for 10.10.10.65:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\Users\MY>ping nas -f -l 8972
Pinging nas [10.10.10.66] with 8972 bytes of data:
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Ping statistics for 10.10.10.66:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),



Stupify wrote:okay things have now taken turn for the worse... i am now getting only 10mbps (~1MBps) speeds in the current setup. arrrgggh!!! I am not getting enough time to actually sort this out and so I am doing little small changes at a time but somehow it is making things worse I go along.
Return to Networking & Security
Users browsing this forum: No registered users and 0 guests