Upload speed too slow when under pfsense.



  • Hello,
    I install pfsense 2.3.1_1.I found my pfsense wan upload speed too slow.I got some ping data and speedtest data.

    root@web1:~# ./speedtest-cli

    Retrieving speedtest.net configuration…
    Retrieving speedtest.net server list...
    Testing from Sony Network Taiwan Limited (XXX.XXX.XXX.78)...
    Selecting best server based on latency...
    Hosted by Chief Telecom (New Taipei) [14.38 km]: 16.943 ms
    Testing download speed….....................................
    Download: 55.24 Mbit/s
    Testing upload speed..................................................
    Upload: 2.64 Mbit/s
    root@web1:~#
    root@web1:~# ping 168.95.1.1
    PING 168.95.1.1 (168.95.1.1) 56(84) bytes of data.
    64 bytes from 168.95.1.1: icmp_req=1 ttl=246 time=16.0 ms
    64 bytes from 168.95.1.1: icmp_req=2 ttl=246 time=16.3 ms
    64 bytes from 168.95.1.1: icmp_req=3 ttl=246 time=16.2 ms
    64 bytes from 168.95.1.1: icmp_req=4 ttl=246 time=16.0 ms
    64 bytes from 168.95.1.1: icmp_req=5 ttl=246 time=16.4 ms
    ^C
    --- 168.95.1.1 ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4003ms
    rtt min/avg/max/mdev = 16.027/16.232/16.482/0.228 ms

    I have two IP.Another IP is direct to internet.No under pfsnese.

    [root@yueyou_server akong]# ./speedtest_cli.py
    Retrieving speedtest.net configuration…
    Retrieving speedtest.net server list...
    Testing from Sony Network Taiwan Limited (XXX.XXX.XXX.79)...
    Selecting best server based on latency...
    Hosted by Chief Telecom (New Taipei) [14.38 km]: 25.674 ms
    Testing download speed….....................................
    Download: 55.57 Mbit/s
    Testing upload speed..................................................
    Upload: 10.41 Mbit/s
    [root@yueyou_server akong]# ./speedtest_cli.py
    Retrieving speedtest.net configuration…
    Retrieving speedtest.net server list...
    Testing from Sony Network Taiwan Limited (XXX.XXXX.XXX.79)...
    Selecting best server based on latency...
    Hosted by Chief Telecom (New Taipei) [14.38 km]: 25.657 ms
    Testing download speed….....................................
    Download: 56.46 Mbit/s
    Testing upload speed..................................................
    Upload: 8.38 Mbit/s
    [root@yueyou_server akong]# ping 168.95.1.1
    PING 168.95.1.1 (168.95.1.1) 56(84) bytes of data.
    64 bytes from 168.95.1.1: icmp_seq=1 ttl=247 time=15.8 ms
    64 bytes from 168.95.1.1: icmp_seq=2 ttl=247 time=15.7 ms
    64 bytes from 168.95.1.1: icmp_seq=3 ttl=247 time=15.6 ms
    64 bytes from 168.95.1.1: icmp_seq=4 ttl=247 time=15.8 ms
    64 bytes from 168.95.1.1: icmp_seq=5 ttl=247 time=15.8 ms
    ^C
    –- 168.95.1.1 ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4369ms

    I have see pfsense traffice.It's no too high traffice.Please see attachment.
    What's is this problem?



  • Are you doing any traffic shaping? A common issue is people enable shaping, but then have too small of queue buffers, which default to only 50.

    I also noticed your ping is distinctly higher, even if only ~0.5ms. It could just be my system, but I have no measurable difference in ping to an ISP local target compared to going through PFSense or not. Identical to the hundredths position for both average and std-dev. It probably doesn't mean anything.



  • The following documents on the wiki may be helpful in assisting you to fix the problem:
    https://doc.pfsense.org/index.php/Low_Throughput_Troubleshooting
    https://doc.pfsense.org/index.php/Tuning_and_Troubleshooting_Network_Cards

    Also, it might help to know what network adapters you're using.