Jump to content



Photo

Slow network performance during file transfers

slow network performance samba cifs

  • Please log in to reply
24 replies to this topic

#16 OP Starbuck84

Starbuck84

    Would You Kindly?

  • Joined: 26-June 07
  • Location: Breda, Netherlands

Posted 03 October 2013 - 14:14

Could that be it? Under device manager I've unchecked the option of the computer to put the NIC in standby. I was under the assumption it wouldn't do any power management from that moment on. But you both seem very confident that would be the cause, also I've looked into this "selective USB suspend" and that's something I'll experiment with. Next time it goes slow, I'll unplug and replug the USB NIC.

 

+BudMan: http://www.neowin.ne...twork-transfer/ . My on-board NIC constantly produces CRC-errors during file transfers.

 

And yes, that's the current driver I'm using. I know it's a somewhat older laptop and it doesn't have USB3, still this USB NIC is a lot faster than my wireless card, especially during multiple down and uploads. Haven't checked my CPU usage though, will keep a Task Manager screen open on the background. Thanks for the tip!




#17 Sikh

Sikh

    Neowin Addict!

  • Tech Issues Solved: 2
  • Joined: 11-March 07
  • Location: localhost
  • OS: Windows 7 / 10.8 / Ubuntu Server
  • Phone: Nexus 5 PA 4.4.2 / iPhone 5

Posted 03 October 2013 - 14:29

Theoretical speed of USB 2 is 480Mbit/s. No way you can use a USB to Gig Adapter without having USB 3 to achieve full gig speeds. I had to buy one for my Surface Pro and I did a test between a USB2 adapter and USb3 adapter to prove to someone the difference and it was major. 

 

Also, your issue definitely sounds like a USB Sleep issue. I had to deal with on my surface until I disabled selective sleep / suspend on my usb3 port. It would after 5 or so minutes correct itself and start using the adapter at full power, but if you go into device manager and disable it, it won't slow down after waking it up from sleep anymore.



#18 OP Starbuck84

Starbuck84

    Would You Kindly?

  • Joined: 26-June 07
  • Location: Breda, Netherlands

Posted 03 October 2013 - 14:47

I'm aware of the fact I'm not using the full speed while using USB2, that's ok. It's still a lot better than my wireless connection.

 

I already disabled the option in device manager, will try to disable "selective USB suspend" to see if that improves anything. :) Thank you all so far to narrowing down this issue.



#19 duddit2

duddit2

    Neowinian Senior

  • Tech Issues Solved: 1
  • Joined: 24-January 10
  • Location: Manchester UK
  • OS: Windows 8 Pro

Posted 03 October 2013 - 14:52

The option you have disabled stops the OS from putting the NIC to sleep, but the NIC is presented to the system via the USB Bus which has its own power management setting.

 

You should see the device under USB devices, change the power setting in there and see how it goes.

 

Another way as BudMan says is to simply unplug and plug back in the USB device, this will tell you instantly that the theory of USB power management is correct.



#20 +BudMan

BudMan

    Neowinian Senior

  • Tech Issues Solved: 86
  • Joined: 04-July 02
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 03 October 2013 - 15:06

So I somewhat recall that thread after rereading it - did you ever fire up wireshark and see what was happening in the actual transfer.. where you seeing garbage on the line, were you seeing retransmission?

I have never seen a nic fail where file speeds where good but files were corrupted.. Not saying it couldn't happen, just have never seen such a failure mode.

When a nic starts spewing out garbage the speed is usually terrible and everything would be effected, browsing the internet for example - not just file transfers.

It would be interesting to see a wireshark sniff of the transfer from say your usb nic of the file(s) and then sniff using the built in card.

I like the info about in like 5 minutes the usb nic would be back to full speed.. Vs rebooting the laptop or resetting the usb nic.. How about just doing multiple tests of the file transfer and see if after a couple minutes of use if it goes back up to your normal 30MBps speeds.

#21 OP Starbuck84

Starbuck84

    Would You Kindly?

  • Joined: 26-June 07
  • Location: Breda, Netherlands

Posted 04 October 2013 - 10:31

Thanks for the clarification duddit2!

 

It's a first for me too +BudMan, but I exchanged cables, tried several speed settings, even forced it down to 10mbps and I still got CRC errors. The rest of the hardware is fine according to different tests. I'll have some extra time this weekend, so Wireshark is on my to-do list. :)

 

Regarding the multiple tests, they crossed my mind and are on my to-do list as well for this weekend.



#22 OP Starbuck84

Starbuck84

    Would You Kindly?

  • Joined: 26-June 07
  • Location: Breda, Netherlands

Posted 07 October 2013 - 10:05

I left all options as they were and my speed dropped down again. I unplugged the USB NIC en plugged it back in. My speed was back to normal again. That's an improvement over rebooting! :)

 

I re-installed the latest 1.16.9.0 drivers from ASIX themselve instead of the Sitecom drivers. I disabled the option in device manager to let my computer power down the USB NIC. I found an option in device manager under the "Advanced" tab called "Selective suspend" and set it to "disabled". I left the "Selective suspend" enabled under Windows.

 

Last night, no speed drops. *taps on wooden table*.

 

Things still to do:

* Wireshark

* Keep on testing to see if the speed drops are really gone

 

So far things are looking good. The next few days I'm away on a business trip, so I'll be reporting back a little later.



#23 OP Starbuck84

Starbuck84

    Would You Kindly?

  • Joined: 26-June 07
  • Location: Breda, Netherlands

Posted 11 October 2013 - 12:31

The good news: the speed drops haven't occured anymore! Disabling "selective suspend" did the trick. Something so simple, yet so powerful. I really, really want to thank you guys for all the thoughts and help.

 

A little help on the Wireshark I guess. A 5 minute live capture is enough for you diagnose any problems? I used Wireshark in the past, but I'm now at a total loss on how to diagnose any problems.



#24 +BudMan

BudMan

    Neowinian Senior

  • Tech Issues Solved: 86
  • Joined: 04-July 02
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 11 October 2013 - 12:58

How long does it take to copy the file?  I can not think its even 5 minutes?  Unless the thing is freaking HUGE, or something is really really wrong..

 

I could move like 24GB in 5 minutes ;)

 

Fireup wireshark -- start your capture..  copy your file.. Stop capture, and then get it to me and will take a look.  Thinking your copy of jpg takes no more than a couple of seconds.



#25 OP Starbuck84

Starbuck84

    Would You Kindly?

  • Joined: 26-June 07
  • Location: Breda, Netherlands

Posted 18 October 2013 - 08:55

You're right and sorry it took some time to get back at this. The reason it took so long: there seems to be a new problem with my onboard NIC. As soon as I connect it to my router (built in switch), the green LED comes on, the orange LED comes on and both immediately go off. This keeps repeating itself. In the meantime I have no connection of course.

 

I tried different cables, even connecting directly to my router/switch (excluding my wall socket, which always works btw). I checked the pins inside the NIC's connector, all seem fine. According to Atheros this means there's something going on with the handshaking / auto setting of the NIC. I forced it to 10 and 100 mbps, no effect.

 

I don't want to waste any more of your time, my problem with my USB NIC is solved, for which I'm glad. I'll just leave it to that.





Click here to login or here to register to remove this ad, it's free!