You are not logged in.

#1 2008-11-14 08:51:29

metalfan
Member
Registered: 2007-11-22
Posts: 99

scp packet loss, https fine?

Hi,

got some mysterious network problems, a connection between two archlinux machienes over several switches keeps loosing packets or at least wireshark says:

TCP Previous Segment lost
TCP Retransmission

but only if i use scp, no errors with https
datar ates are ~6mybte/s for scp and 11,5mbyte/s for https
both systems loads are below 0.5



any idea what that could be?

Offline

#2 2008-11-14 16:49:28

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: scp packet loss, https fine?

does ifconfig output show any errors, dropped, overruns, or collisions?


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2008-11-20 17:01:08

metalfan
Member
Registered: 2007-11-22
Posts: 99

Re: scp packet loss, https fine?

no, ifconfig output looks fine.
its probably a switch somewhere along the path.

Offline

#4 2008-11-20 17:08:24

Bebo
Member
From: Göteborg, Sweden
Registered: 2006-06-07
Posts: 207

Re: scp packet loss, https fine?

Is it the infamous TCP window scaling problem? If you haven't tried it already, issue

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

and see if it gets any better. Alternatively, add the line

net.ipv4.tcp_window_scaling = 0

to the file /etc/sysctl.conf and issue sysctl -p

Offline

#5 2008-11-22 10:32:37

metalfan
Member
Registered: 2007-11-22
Posts: 99

Re: scp packet loss, https fine?

ah, didnt know about that. but didnt help.

Offline

#6 2008-11-23 17:41:42

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

Re: scp packet loss, https fine?

Is the MTU for all networked devices set correctly? Have you checked ifconfig's output for errors on both sides?


:?

Offline

#7 2008-11-23 17:56:55

metalfan
Member
Registered: 2007-11-22
Posts: 99

Re: scp packet loss, https fine?

Yes, no errors on both sides.
havent played around with the MTU. ifconfig reports MTU as 1500

Offline

#8 2008-11-24 22:49:59

RedShift
Member
From: Belgium
Registered: 2004-07-16
Posts: 230

Re: scp packet loss, https fine?

Can you post a full dump? (.pcap file). Please make sure it only contains your scp traffic and no other traffic.


:?

Offline

Board footer

Powered by FluxBB