I have a Pi running Raspbmc by the TV and a desktop computer in the study. For a while, I had the TP-Link gigabit router next to the Pi and the desktop connected via household wired network cables. The household network was poorly configured and only getting 10Mbps speeds. I redid the network outlets making them gigabit-capable and moved the router into the study. Now I get 100Mbps speeds as measured by iperf
(the Pi only supports 100Mbps). But for some reason Raspbmc's networking has become slower! Before, when I started a video it would spin up in a second or two. Now it takes 15 to 30 seconds. And if I try to switch to another video while one video is playing, playback stutters and slows down to nearly a halt.
Could the Pi's networking slow down because of its distance from the router? This is the only explanation I can think of, because nothing else has changed other than the router location and the added support for 1000BASE-T in the wiring.
To be clear about the wiring, previously the house was wired with only 2 twisted pairs being used per port. Being only 10BASE-T the maximum speed was 10Mbps. I rewired/recapped all the network cables so they now use all 4 twisted pairs and support gigabit speeds. I confirmed gigabit is working between two computers that have gigabit support. The Pi only has 100Mb support which I also confirmed is working.
EDIT: output of ifconfig
:
eth0 Link encap:Ethernet HWaddr b8:27:eb:0b:32:d8
inet addr:192.168.0.105 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::ba27:ebff:fe0b:32d8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:125183 errors:0 dropped:0 overruns:0 frame:0
TX packets:24397 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:170776152 (162.8 MiB) TX bytes:2928810 (2.7 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:571 errors:0 dropped:0 overruns:0 frame:0
TX packets:571 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:58730 (57.3 KiB) TX bytes:58730 (57.3 KiB)
```