NAS Samba - problème débit montant !

Bonjour à tous,

J’ai un petit souci dont je me permets de vous faire part.

D’un côté un NAS (Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 GNU/Linux) avec un partage samba (samba 2:3.6.6-3).
[ Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) ]

De l’autre un client dual-boot Windows 7 et Ubuntu Lucid (backtrack 5r3, avec un kernel 3.4)
[ Qualcomm Atheros AR8151 PCI-E Gigabit Ethernet Controller (NDIS 6.20) ]

Et une passerelle Freebox v6.

Lorsque le post client est connecté en wifi, les débits montant et descendant sont aux alentours de 3-4 Mo/s.
Mais, lorsque le poste client est connecté en ethernet, le débit descendant est de ~60Mo/s et le débit montant de 25 Ko/s !!! :frowning:

Je suis quelque peu désappointé d’être l’heureux possesseur d’un upload plus faible en LAN qu’en WAN !!! :wink:
Pourriez vous m’aider à résoudre ce problème ?

Je vous fais parvenir le résultat de quelques commandes. Et merci d’avance !

* iperf *

[code] - Côté client -

iperf -c 192.168.1.253 -r

Server listening on TCP port 5001
TCP window size: 64.0 KByte (default)


Client connecting to 192.168.1.253, TCP port 5001
TCP window size: 64.0 KByte (default)

[ 4] local 192.168.1.44 port 56596 connected with 192.168.1.253 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-19.6 sec 512 KBytes 214 Kbits/sec
[ 4] local 192.168.1.44 port 5001 connected with 192.168.1.253 port 30502
[ 4] 0.0-10.0 sec 691 MBytes 578 Mbits/sec

  • Côté serveur -

iperf -s

Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)

[ 4] local 192.168.1.253 port 5001 connected with 192.168.1.44 port 56596
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-22.0 sec 512 KBytes 191 Kbits/sec

Client connecting to 192.168.1.44, TCP port 5001
TCP window size: 127 KByte (default)

[ 4] local 192.168.1.253 port 30502 connected with 192.168.1.44 port 5001
[ 4] 0.0-10.0 sec 691 MBytes 579 Mbits/sec[/code]
* ifconfig *

eth0 Link encap:Ethernet HWaddr -------------------------------- inet adr:192.168.1.253 Bcast:192.168.1.255 Masque:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:527141 errors:0 dropped:0 overruns:0 frame:0 TX packets:1339449 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:37432542 (35.6 MiB) TX bytes:1971401164 (1.8 GiB) Interruption:43 Adresse de base:0xc000
* ethtool eth0*

Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on MDI-X: Unknown Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000033 (51) drv probe ifdown ifup Link detected: yes
* lsmod -vv *

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) Subsystem: ASUSTeK Computer Inc. P8P67 and other motherboards Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 43 Region 0: I/O ports at c800 [size=256] Region 2: Memory at fafff000 (64-bit, prefetchable) [size=4K] Region 4: Memory at faff8000 (64-bit, prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee0f00c Data: 4179 Capabilities: [70] Express (v2) Endpoint, MSI 01 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 4096 bytes DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us ClockPM+ Surprise- LLActRep- BwNot- LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Not Supported, TimeoutDis+ DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1- EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest- Capabilities: [b0] MSI-X: Enable- Count=4 Masked- Vector table: BAR=4 offset=00000000 PBA: BAR=4 offset=00000800 Capabilities: [d0] Vital Product Data Unknown small resource type 00, will not decode more. Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn- Capabilities: [140 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- Capabilities: [160 v1] Device Serial Number ------------------------------------- Kernel driver in use: r8168
* cat /etc/samba/smb.conf *

[code]#======================= Global Settings =======================
[global]

Browsing/Identification

workgroup = WORKGROUP
server string = Samba server (%h)
netbios name = ------------
dns proxy = no

Networking

hosts allow = 192.168.1.0/255.255.255.0 127.0.0.1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536

Access rights

create mask = 0660
directory mask = 0770

Debugging/Accounting

log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d

####### Authentication #######
security = SHARE
guest account = public

############ Misc ############
aio read size = 1
aio write size =1
write raw = no
read raw = no

[NAS]
comment = ------------------
path = -------------------------
hide files = /lost+found/.recyclebin*/*.bak/
browseable = yes
read only = no
guest ok = yes
public = yes
vfs object = recycle
recycle:repository = .recyclebin
recycle:keeptree = Yes
recycle:touch = Yes
recycle:versions = Yes
recycle:maxsixe = 0
recycle:exclude = *.tmp
recycle:exclude_dir = /tmp[/code]