[Solved]Why copy within local network creates latency on WAN?



  • Hi,

    I'm not sure if it's related to the Traffic Shaping but when I copy a file from one server to another with SCP ( both on the local network ) it increases latency on the WAN.
    See bellow:

    root@my:~$ scp debian6.iso root@192.168.0.21:/dev/null     
    debian6.iso                                                                              3%   95MB   9.7MB/s   04:19 ETA
    
    root@my:~# ping google.com
    PING google.com (74.125.226.51) 56(84) bytes of data.
    64 bytes from 74.125.226.51: icmp_req=1 ttl=58 time=13.2 ms
    64 bytes from 74.125.226.51: icmp_req=2 ttl=58 time=14.3 ms
    64 bytes from 74.125.226.51: icmp_req=3 ttl=58 time=14.3 ms
    64 bytes from 74.125.226.51: icmp_req=4 ttl=57 time=10.7 ms
    64 bytes from 74.125.226.51: icmp_req=5 ttl=58 time=15.0 ms
    
    And without  SCP:
    root@my:~# ping google.com
    PING google.com (74.125.226.49) 56(84) bytes of data.
    64 bytes from 74.125.226.49: icmp_req=1 ttl=58 time=8.18 ms
    64 bytes from 74.125.226.49: icmp_req=2 ttl=58 time=8.14 ms
    64 bytes from 74.125.226.49: icmp_req=3 ttl=58 time=8.17 ms
    64 bytes from 74.125.226.49: icmp_req=4 ttl=58 time=8.24 ms
    64 bytes from 74.125.226.49: icmp_req=5 ttl=58 time=8.26 ms
    
    

    Any suggestions?

    Thank you,



  • do you have bridge?



  • No, it's a simple setup:

    192.168.0.0/24 ( LAN ) –| PFSENSE |--- xxx.xxx.xxx.xxx/29 ( WAN )

    I just used the Traffic Shaping wizzard to limit bandwith for our VOIP on the LAN. It doesn't seems to be a CPU issue, I checked it and it's arround 20%~ during high bandwith load.



  • Where are you initiating the pins from?



  • @gderf:

    Where are you initiating the pins from?

    I think I know where the problem comes from, it's just the pipe on my machine is probably full, all ping came from my laptop.
    I'm changing the status of the post to [solved] :)


Log in to reply