Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Asymmetric transfer speeds
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Disorganisation Man
n00b
n00b


Joined: 22 Nov 2007
Posts: 1

PostPosted: Thu Nov 22, 2007 11:51 am    Post subject: Asymmetric transfer speeds Reply with quote

So I've got a network set up as follows. I have a server running Gentoo (kernel 2.6.22) and a client box running Windows Vista. Box have gigabit NICs and are connected to a gigabit switch. The problem is that when sending a file to the server, the transfer is ~60MB/s, which is fine, but if I download a file from the server, it transfers at ~12MB/s, which is rather less fun. All these transfers are occurring via samba.

Code:
ethtool eth1
Settings for eth1:
   Supported ports: [ TP ]
   Supported link modes:   10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
                           1000baseT/Full
   Supports auto-negotiation: Yes
   Advertised link modes:  10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
                           1000baseT/Full
   Advertised auto-negotiation: Yes
   Speed: 1000Mb/s
   Duplex: Full
   Port: Twisted Pair
   PHYAD: 0
   Transceiver: internal
   Auto-negotiation: on
   Supports Wake-on: pumbg
   Wake-on: g
   Current message level: 0x00000033 (51)
   Link detected: yes


Code:
mii-diag eth1
Basic registers of MII PHY #32:  1000 796d 001c c910 0de1 cde1 000d 2001.
 The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised cde1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control.
   End of basic transceiver information.


Code:
 lspci | grep Ethernet
00:05.0 Bridge: nVidia Corporation CK8S Ethernet Controller (rev a2)
02:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)


The Nvidia NIC is onboard and isn't actually in use, the Realtek one is eth1 and is the offending NIC.

I'm not sure if posting my smb.conf will be of any help, but just in case

Code:
[global]
        workgroup = HOME
        netbios name = Caesar
        log file = /var/log/samba/log.%m
        max log size = 2000
        interfaces = lo eth1
        bind interfaces only = yes
        hosts allow = 192.168.1.34 192.168.1.40 192.168.1.50 192.168.1.20
        hosts deny = 0.0.0.0
        security = share
        local master = no

[movies]
        path = /movies
        guest ok = yes
        browseable = yes
        writeable = yes
        read only = no
        public = yes
        create mode = 0766
        hide unreadable = yes

There's six shares all told, but they're all configured the same way.

The damnedest thing is that I had this working properly only about a week or so ago, but of course, I tend to fiddle about a fair bit and I must have somehow broken it. Normally I can fix anything I break with the help of the wiki and this forum's search function, but not this time. So how do I fix this?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum