Buenas a tod@s y gracias por ayudarme. Siento no haber podido estar antes por aquí pero me ha sido imposible debido un accidente.
El disco duro efectivamente esta algo tocado, pero no creo que sea el problema (el DMA está activado). De hecho si copio a través de SCP la velocidad es de unos 35 mb/s. IPERF me da velocidades internas de unos 950 mb/s con lo cual la infraestructura de red tampoco parece el problema. El cablemodem de ONO no debería tener nada que ver porque es otra subred aparte. La red esta asi:
[CABLEMODEM ONO] ------------------- [RTL8139 <--> SERVIDOR NAT <--> Atheros L1E] ------------------------- [SWITCH 1000mb/s] ----------------- [MYPC]
Tiene además una tarjeta wifi pci con hostapd, pero no está habilitada en samba.
Con Kernel 3.12 va bien, y con 3.14 y superiores lento, incluido 3.19.3. No obstante con este último sube la velocidad a los 15mb/s, aunque sigue sin tener la soltura al moverse por videos que tiene el 3.12.
Os pongo ademas el fragmento final de tcpdump (De la copia de un .AVI de 1,8gb a través de smbclient):
Code: Select all
# tcpdump -i eth0 -n tcp and not port 22
dropped privs to tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
[...........................]
14:46:39.110561 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881096790, win 64, options [nop,nop,TS val 11535869 ecr 66790], length 0
14:46:39.110589 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881098238:1881101134, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535869], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.110600 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881101134:1881104030, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535869], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.110767 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881102582, win 64, options [nop,nop,TS val 11535869 ecr 66790], length 0
14:46:39.110795 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881104030:1881106926, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535869], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.110806 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881106926:1881109822, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535869], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.110972 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881108374, win 64, options [nop,nop,TS val 11535869 ecr 66790], length 0
14:46:39.110998 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881109822:1881112718, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535869], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.111012 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881112718:1881115614, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535869], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.111177 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881114166, win 64, options [nop,nop,TS val 11535870 ecr 66790], length 0
14:46:39.111207 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881115614:1881118510, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535870], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.111220 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881118510:1881121406, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535870], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.111382 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881119958, win 64, options [nop,nop,TS val 11535870 ecr 66790], length 0
14:46:39.111403 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [P.], seq 1881121406:1881124302, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535870], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.111414 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881124302:1881127198, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535870], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.111585 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881125750, win 64, options [nop,nop,TS val 11535870 ecr 66790], length 0
14:46:39.111613 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881127198:1881130094, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535870], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.111626 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881130094:1881132990, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535870], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.111791 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881131542, win 64, options [nop,nop,TS val 11535870 ecr 66790], length 0
14:46:39.111816 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881132990:1881135886, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535870], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.111828 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [P.], seq 1881135886:1881138782, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535870], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.111995 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881137334, win 64, options [nop,nop,TS val 11535870 ecr 66790], length 0
14:46:39.112017 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881138782:1881141678, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535870], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.112027 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881141678:1881144574, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535870], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.112201 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881143126, win 64, options [nop,nop,TS val 11535871 ecr 66790], length 0
14:46:39.112227 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [.], seq 1881144574:1881147470, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535871], length 2896 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.112238 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [P.], seq 1881147470:1881149539, ack 911345, win 260, options [nop,nop,TS val 66790 ecr 11535871], length 2069 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.112405 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881148918, win 41, options [nop,nop,TS val 11535871 ecr 66790], length 0
14:46:39.313049 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [P.], seq 1881148918:1881149539, ack 911345, win 260, options [nop,nop,TS val 66851 ecr 11535871], length 621 SMB-over-TCP packet:(raw data or continuation?)
14:46:39.313211 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881149539, win 64, options [nop,nop,TS val 11536072 ecr 66851], length 0
14:46:39.313353 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [P.], seq 911345:911390, ack 1881149539, win 64, options [nop,nop,TS val 11536072 ecr 66851], length 45 SMB PACKET: SMBclose (REQUEST)
14:46:39.313591 IP 192.168.1.254.445 > 192.168.1.1.34405: Flags [P.], seq 1881149539:1881149578, ack 911390, win 260, options [nop,nop,TS val 66851 ecr 11536072], length 39 SMB PACKET: SMBclose (REPLY)
14:46:39.353120 IP 192.168.1.1.34405 > 192.168.1.254.445: Flags [.], ack 1881149578, win 64, options [nop,nop,TS val 11536112 ecr 66851], length 0
14:46:45.689587 IP 213.199.179.159.40032 > 192.168.1.1.52790: Flags [P.], seq 7:10, ack 352, win 83, options [nop,nop,TS val 412255767 ecr 11529341], length 3
14:46:45.689754 IP 192.168.1.1.52790 > 213.199.179.159.40032: Flags [.], ack 10, win 277, options [nop,nop,TS val 11542448 ecr 412255767], length 0
14:46:45.743718 IP 213.199.179.159.40032 > 192.168.1.1.52790: Flags [P.], seq 10:20, ack 352, win 83, options [nop,nop,TS val 412255780 ecr 11542448], length 10
14:46:45.743873 IP 192.168.1.1.52790 > 213.199.179.159.40032: Flags [.], ack 20, win 277, options [nop,nop,TS val 11542502 ecr 412255780], length 0
14:46:45.744021 IP 192.168.1.1.52790 > 213.199.179.159.40032: Flags [P.], seq 352:356, ack 20, win 277, options [nop,nop,TS val 11542502 ecr 412255780], length 4
14:46:45.836102 IP 213.199.179.159.40032 > 192.168.1.1.52790: Flags [.], ack 356, win 83, options [nop,nop,TS val 412255804 ecr 11542502], length 0
^C
1043776 packets captured
1313064 packets received by filter
269285 packets dropped by kernel
#
No controlo la herramienta tcpdump, con lo que si necesito meterla algún parámetro mas para sacar alguna información importante indicarmelo.
Mi objetivo es que con el 3.19 me de al menos los 25mb/s que me daba con 3.12. Cuento con que no voy a conseguir una velocidad mas alta hasta que no cambie el HDD defectuoso (Maxtor 500Gb 7.200rpm).