Community discussions

MikroTik App
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

RB2011UiAS looses about 40 megabits of thgougpput!?!

Mon Feb 17, 2020 3:10 pm

I have a RB2011UiAS-2HnD-IN in my home. There is a N WiFi LAN, a Mac and NAS connected to it. Nothing much, yet the router looses 40 MBits! :-(

I just tested direct connection with the same cable to my DSL modem and the speed was 146 MBit. When I connect to the MikroTik the speed is 106.

What can I do to check what the heck is happening? The networks is behind a NAT.

The measurements are quite consistent. I tried increasing and reducing processor speed for testing, but there was no change (as expected).
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Mon Feb 17, 2020 3:40 pm

Use hardware bridge.
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Mon Feb 17, 2020 3:44 pm

Use hardware bridge.
How and where??

Thanks!
 
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Mon Feb 17, 2020 4:27 pm

I Will try, but I still don't get this. - If a CPU is powerful enough, and it is and I have tested that practically both by throttling and by using NAS with full 1GBit speeds, there should be no need for hardware switching.
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Mon Feb 17, 2020 4:41 pm

The gigabit switch has a gigabit connection to the CPU, it is normal to have to avoid software. The fast switch might be similar.

Don't bridge between switches or the WAN.

This means some hosts may need to be connected to the same half.
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Mon Feb 17, 2020 5:41 pm

I forgot that fasttrack might also be needed.
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Tue Feb 18, 2020 9:04 am

The gigabit switch has a gigabit connection to the CPU, it is normal to have to avoid software. The fast switch might be similar.

Don't bridge between switches or the WAN.

This means some hosts may need to be connected to the same half.
I read the article, but I am not sure if it applies, mainly because 150 mbit is low rate, on a WAN and CPU is completely under-stressed. I see no reason for this speed drop.

Also WAN is separate from the bridge, and I do have a fasttrack rule. The hosts are connected to the same (gigabit) half of the router.
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Tue Feb 18, 2020 9:10 am

This can be many thing.

Run this and post the config
export hide-sensitive
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Tue Feb 18, 2020 1:05 pm

How many firewall rules?
 
willieaames
just joined
Posts: 3
Joined: Wed Nov 16, 2016 9:55 am
Location: Houston, Texas

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Tue Feb 18, 2020 2:20 pm

How big is your cluster? What spec are your hosts?
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Wed Feb 19, 2020 10:06 am

This network is mostly trivial. I use it for home office, and there are only a few hosts connected.

After tweaking the rotuer a bit, I got the speeds up to 130 MBit, but there is still about 10 MBit of loss, which is completely unacceptable.

As for firewall rules there are only a few general ones.

Here is the config:
# feb/19/2020 09:03:32 by RouterOS 6.45.8
#
# model = 2011UiAS-2HnD
/interface bridge
add admin-mac=64:D1:54:E3:FD:0A auto-mac=no comment=defconf name=MREZA
/interface ethernet
set [ find default-name=ether5 ] name=GBE-ether5 speed=100Mbps
set [ find default-name=ether1 ] name=INTERNET speed=100Mbps
set [ find default-name=ether3 ] name=PRASE-ether3 speed=100Mbps
set [ find default-name=ether2 ] name=TABLETA-ether2 speed=100Mbps
set [ find default-name=ether4 ] name=ZORG-ether4 speed=100Mbps
set [ find default-name=ether6 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
set [ find default-name=ether7 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
set [ find default-name=ether8 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
set [ find default-name=ether9 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
set [ find default-name=ether10 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
set [ find default-name=sfp1 ] disabled=yes
/interface wireless
set [ find default-name=wlan1 ] antenna-gain=0 band=2ghz-g/n basic-rates-a/g=18Mbps basic-rates-b="" country=no_country_set disabled=no frequency=2462 frequency-mode=manual-txpower installation=indoor mode=ap-bridge name=WiFi \
    rate-set=configured ssid=SKYNET supported-rates-a/g=18Mbps,24Mbps,36Mbps,48Mbps,54Mbps supported-rates-b="" wireless-protocol=802.11 wps-mode=disabled
/caps-man configuration
add channel.band=2ghz-g/n channel.control-channel-width=20mhz channel.tx-power=14 datapath.bridge=MREZA distance=indoors installation=indoor name=skynet security.authentication-types=wpa2-psk security.encryption=aes-ccm ssid=SKYNET
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik
add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed name=VIRUS supplicant-identity=""
/ip pool
add name=dhcp ranges=192.168.42.100-192.168.42.200
add name=vpn ranges=192.168.89.2-192.168.89.255
/ip dhcp-server
add address-pool=dhcp disabled=no interface=MREZA lease-time=1w1d name=defconf
/ppp profile
add dns-server=192.168.99.1 local-address=192.168.99.1 name=sstp-profile remote-address=192.168.99.2 use-encryption=required
set *FFFFFFFE local-address=192.168.89.1 remote-address=192.168.89.2
/queue simple
add disabled=yes max-limit=1G/1G name="ALL BW" target=192.168.42.0/24
/queue tree
add disabled=yes max-limit=10M name="All BW" parent=global priority=1
add disabled=yes max-limit=10M name=Download packet-mark=client-dw-pk parent="All BW" priority=2
add disabled=yes max-limit=1M name=Upload parent="All BW"
add disabled=yes max-limit=10M name=http-dw packet-mark=http-dw-pk parent=Download priority=1 queue=pcq-download-default
add disabled=yes max-limit=5M name=other-dw parent=Download priority=6 queue=pcq-download-default
add disabled=yes max-limit=1M name=http-up packet-mark=http-up-pk parent=Upload priority=1 queue=pcq-upload-default
add disabled=yes max-limit=512k name=other-up parent=Upload priority=6 queue=pcq-upload-default
/caps-man manager
set ca-certificate=auto certificate=auto
/caps-man provisioning
add action=create-dynamic-enabled master-configuration=skynet
/interface bridge port
add bridge=MREZA comment=defconf interface=TABLETA-ether2
add bridge=MREZA comment=defconf interface=PRASE-ether3
add bridge=MREZA comment=defconf interface=ZORG-ether4
add bridge=MREZA comment=defconf interface=GBE-ether5
add bridge=MREZA comment=defconf interface=ether6
add bridge=MREZA comment=defconf interface=ether7
add bridge=MREZA comment=defconf interface=ether8
add bridge=MREZA comment=defconf interface=sfp1
add bridge=MREZA comment=defconf interface=WiFi
add bridge=MREZA interface=*E
add bridge=MREZA interface=ether9
add bridge=MREZA interface=ether10
/interface bridge settings
set use-ip-firewall=yes
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface l2tp-server server
set use-ipsec=yes
/interface list member
add comment=defconf interface=MREZA list=LAN
add comment=defconf interface=INTERNET list=WAN
/interface sstp-server server
set authentication=mschap2 certificate=Server default-profile=sstp-profile force-aes=yes pfs=yes
/interface wireless cap
set caps-man-addresses=127.0.0.1 certificate=request interfaces=WiFi
/ip address
add address=192.168.42.1/24 comment=defconf interface=TABLETA-ether2 network=192.168.42.0
add address=192.168.69.2/24 disabled=yes interface=INTERNET network=192.168.69.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=INTERNET
/ip dhcp-server alert
add disabled=no interface=MREZA valid-server=64:D1:54:E3:FD:0A
/ip dhcp-server lease
add address=192.168.42.101 client-id=1:0:11:32:83:31:14 mac-address=00:11:32:83:31:14 server=defconf
add address=192.168.42.102 client-id=1:a8:60:b6:39:f8:c6 mac-address=A8:60:B6:39:F8:C6 server=defconf
/ip dhcp-server network
add address=192.168.42.0/24 caps-manager=192.168.42.1 comment=defconf dns-server=192.168.42.1 domain=skynet.local gateway=192.168.42.1 netmask=24 ntp-server=216.239.35.0,216.239.35.4
/ip dns
set allow-remote-requests=yes servers=176.103.130.130,176.103.130.131
/ip dns static
add address=192.168.42.1 name=theboss.local
/ip firewall address-list
add address=192.168.42.2-192.168.42.254 list=clients
add address=192.168.42.1 list=router
/ip firewall filter
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=accept chain=input comment="allow IPsec NAT" dst-port=4500 protocol=udp
add action=accept chain=input comment="allow IKE" dst-port=500 protocol=udp
add action=accept chain=input comment="allow l2tp" dst-port=1701 protocol=udp
add action=accept chain=input comment="allow pptp" dst-port=1723 protocol=tcp
add action=accept chain=input comment="allow sstp" dst-port=443 protocol=tcp
add action=add-src-to-address-list address-list=markirani_korisnici_tcp address-list-timeout=none-dynamic chain=forward comment=brojanje protocol=tcp src-address-list=clients
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
/ip firewall mangle
add action=accept chain=prerouting comment=router dst-address-list=router
add action=accept chain=forward comment=DNS port=53 protocol=tcp
add action=accept chain=forward comment=UDP protocol=udp
add action=mark-connection chain=forward comment=clinet-dw-con in-interface=INTERNET new-connection-mark=client-dw-con passthrough=yes
add action=mark-packet chain=forward comment=client-dw-pk connection-mark=client-dw-con new-packet-mark=client-dw-pk passthrough=yes
add action=mark-connection chain=prerouting comment=client-up-con in-interface=MREZA new-connection-mark=client-up-con passthrough=yes
add action=mark-packet chain=prerouting comment=client-up-pk connection-mark=client-up-con new-packet-mark=client-up-pk passthrough=yes
add action=mark-packet chain=forward comment=http-dw-pk new-packet-mark=http-dw-pk packet-mark=client-dw-pk passthrough=no port=80,443 protocol=tcp
add action=mark-packet chain=forward comment=http-up-pk new-packet-mark=http-up-pk packet-mark=client-up-pk passthrough=no port=80,443 protocol=tcp
add action=mark-connection chain=forward comment=other-con new-connection-mark=other-con passthrough=yes
add action=mark-packet chain=forward comment=other-dw-pk new-packet-mark=other-dw-pk packet-mark=client-dw-pk passthrough=no
add action=mark-packet chain=forward comment=other-up-pk new-packet-mark=other-up-pk packet-mark=client-up-pk passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
add action=dst-nat chain=dstnat disabled=yes dst-port=53 log=yes log-prefix="*****LOCAL DNS FORWARD*****" protocol=udp src-address=192.168.42.102 to-addresses=192.168.42.1 to-ports=53
add action=dst-nat chain=dstnat disabled=yes dst-port=53 protocol=tcp src-address=192.168.42.102 to-addresses=192.168.42.1 to-ports=53
add action=masquerade chain=srcnat comment="masq. vpn traffic" src-address=192.168.89.0/24
/ip route
add distance=1 gateway=192.168.69.1
/ip ssh
set allow-none-crypto=yes forwarding-enabled=remote
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=MREZA type=internal
add interface=INTERNET type=external
/lcd
set backlight-timeout=never default-screen=stats read-only-mode=yes
/lcd interface
set INTERNET timeout=1s
/ppp secret
add name=vpn
add name=sstp profile=sstp-profile service=sstp
/system clock
set time-zone-name=Europe/Zagreb
/system identity
set name="The Boss"
/system logging
add topics=caps
add topics=wireless
/system ntp client
set enabled=yes primary-ntp=216.239.35.0 secondary-ntp=216.239.35.4
/system ntp server
set broadcast=yes enabled=yes
/system package update
set channel=long-term
/system routerboard settings
set cpu-frequency=650MHz
/tool graphing
set store-every=hour
/tool graphing interface
add
/tool graphing queue
add
/tool graphing resource
add
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
/tool romon
set enabled=yes
/tool romon port
add disabled=no forbid=yes interface=INTERNET
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Wed Feb 19, 2020 4:38 pm

What does 'ip settings print' say?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19371
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Wed Feb 19, 2020 4:56 pm

What tweakings did you do?
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Wed Feb 19, 2020 7:57 pm

@Vortex Here:
ip settings print
              ip-forward: yes
          send-redirects: yes
     accept-source-route: no
        accept-redirects: no
        secure-redirects: yes
               rp-filter: no
          tcp-syncookies: no
    max-neighbor-entries: 8192
             arp-timeout: 30s
         icmp-rate-limit: 10
          icmp-rate-mask: 0x1818
             route-cache: yes
         allow-fast-path: yes
   ipv4-fast-path-active: no
  ipv4-fast-path-packets: 0
    ipv4-fast-path-bytes: 0
   ipv4-fasttrack-active: yes
  ipv4-fasttrack-packets: 2519484
    ipv4-fasttrack-bytes: 3405603511
@anav - I upgraded OS, shuffled some rules around in Firewall, tunred off fast path, rebooted and turned it on, tried turning off entire firewall (no change), tried overclocking and downclocking the cpu (no change) turned off PPP services off, and other stuff. It didn't help, obviously. I measured this a number of times and the difference is now 10 MBit. Before the difference was huge, I got 110 mbit max (about 30 less).

Here - top two measurements are direct cable to modem, and rest of the stuff is via MikroTik.

Image
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Wed Feb 19, 2020 8:57 pm

Did you update the firmware too?
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 7:55 am

Did you update the firmware too?
Yes. Both current and upgrade firmware.
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 10:18 am

When you test what is the status of the CPU?

I see you have a few mangle rules. Did you create those and can you disable those for a test?
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 11:21 am

When you test what is the status of the CPU?

I see you have a few mangle rules. Did you create those and can you disable those for a test?
I just have disable Mangle. The measurements are consistently 10-15MBit slower than direct link.
Ping is about the same.
CPU peaks at about 30-40%, but is usually around 10-15%.
 
quackyo
Member Candidate
Member Candidate
Posts: 179
Joined: Mon Nov 16, 2015 10:14 am

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 2:24 pm

Are you sure that you have 1000Mbit link on ETH1 (and on the port you connect your speedtest-running PC on) ?
Your configuration sets port 1-5 (the gigabit ports) to SPEED=100M .
The other ports (ETH6-10) is 100Mbit only on the RB2011.
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 2:56 pm

Are you sure that you have 1000Mbit link on ETH1 (and on the port you connect your speedtest-running PC on) ?
Your configuration sets port 1-5 (the gigabit ports) to SPEED=100M .
The other ports (ETH6-10) is 100Mbit only on the RB2011.
100% sure about link, also for PC.

100mbit is weird a bit, but I checked rate and speed is negotiated 1000mbit.
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 3:10 pm

Are you sure that you have 1000Mbit link on ETH1 (and on the port you connect your speedtest-running PC on) ?
Your configuration sets port 1-5 (the gigabit ports) to SPEED=100M .
The other ports (ETH6-10) is 100Mbit only on the RB2011.
This one has fooled me many times before. This is a export of the interfaces on a hAP AC2

/interface ethernet
set [ find default-name=ether2 ] name="I_LAN(2)" speed=100Mbps
set [ find default-name=ether3 ] name="I_LAN(3)" speed=100Mbps
set [ find default-name=ether4 ] name="I_LAN(4)" speed=100Mbps
set [ find default-name=ether5 ] name="I_LAN(5)" speed=100Mbps
set [ find default-name=ether1 ] name=I_WAN speed=100Mbps

But if I run interface Ethernet monitor on for example I_WAN on the router I get this
name: I_WAN
status: link-ok
auto-negotiation: done
rate: 1Gbps
full-duplex: yes
tx-flow-control: no
rx-flow-control: no
advertising: 10M-half,10M-full,100M-half,100M-full,1000M-half,
1000M-full
link-partner-advertising: 10M-half,10M-full,100M-half,100M-full,1000M-full

So it is running in 1 Gbit. I have accepted that this is they way it is
There might be a very good explanation to why this is they way it is but I have just accepted it :D
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 3:26 pm

Are you sure that you have 1000Mbit link on ETH1 (and on the port you connect your speedtest-running PC on) ?
Your configuration sets port 1-5 (the gigabit ports) to SPEED=100M .
The other ports (ETH6-10) is 100Mbit only on the RB2011.
100% sure about link, also for PC.

100mbit is weird a bit, but I checked rate and speed is negotiated 1000mbit.
From your config it looks like you are using Ethernet 1 to 5 only which means Gbit speed and looking at the block diagram (https://i.mt.lv/cdn/rb_files/RB2011UiAS ... 170256.png) there should be more then enough bandwidth internally to not cause and issue.
So the only option I could give is to reinstall the router using netinstall and test with default config. This may very well turn out to not solve anything so perhaps not even worth trying.
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 3:31 pm

Are you sure that you have 1000Mbit link on ETH1 (and on the port you connect your speedtest-running PC on) ?
Your configuration sets port 1-5 (the gigabit ports) to SPEED=100M .
The other ports (ETH6-10) is 100Mbit only on the RB2011.
100% sure about link, also for PC.

100mbit is weird a bit, but I checked rate and speed is negotiated 1000mbit.
From your config it looks like you are using Ethernet 1 to 5 only which means Gbit speed and looking at the block diagram (https://i.mt.lv/cdn/rb_files/RB2011UiAS ... 170256.png) there should be more then enough bandwidth internally to not cause and issue.
So the only option I could give is to reinstall the router using netinstall and test with default config. This may very well turn out to not solve anything so perhaps not even worth trying.

I will try. I am really bamboozled by this.
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 3:46 pm

Did you try deactivating fasttrack, as illogical as it may sound?
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 3:50 pm

Have you tried with:

/interface bridge settings
set use-ip-firewall=no
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 4:06 pm

Have you tried with:

/interface bridge settings
set use-ip-firewall=no
Just tried it = 12MBit difference.

Did you try deactivating fasttrack, as illogical as it may sound?
Just tried it. Without Fasstrack CPU load is up to 65% and speed is about 22 MBit lower.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 4:13 pm

The RB2011 is an old and slow router. It will have no problem with switching 1Gbit/s between interfaces, but when routing you will quickly hit limits when not everything is configured in a minimalist way.
E.g. those shaping queues can have some effect even when they are not actually throttling traffic.

Don't worry about the speed=100Mbps, it is the default speed when autonegotiate is disabled, when it is enabled it has no effect at all.
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 4:16 pm

The RB2011 is an old and slow router. It will have no problem with switching 1Gbit/s between interfaces, but when routing you will quickly hit limits when not everything is configured in a minimalist way.
E.g. those shaping queues can have some effect even when they are not actually throttling traffic.

Don't worry about the speed=100Mbps, it is the default speed when autonegotiate is disabled, when it is enabled it has no effect at all.
I will probably kill the router today and test barebones. I am really surprised to see it stumble this much on traffic.

What would you suggest for home use that is powerful enough? Not sure if I would need 4011 (altho I like it).
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 4:35 pm

The RB2011 is an old and slow router. It will have no problem with switching 1Gbit/s between interfaces, but when routing you will quickly hit limits when not everything is configured in a minimalist way.
E.g. those shaping queues can have some effect even when they are not actually throttling traffic.

Don't worry about the speed=100Mbps, it is the default speed when autonegotiate is disabled, when it is enabled it has no effect at all.
I max out my 500/50 connection with the 2011 but I don't use queues.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 5:11 pm

I max out my 500/50 connection with the 2011 but I don't use queues.

Agree, I use to get +- 850 with my RB2011 on a 1000/100 Mb/s FTTh link. Had about 15 Firewall rules, no PPPoE though, was DHCP assigned IP. Latency was also super slow, my son use to kill the others while gaming
 
pe1chl
Forum Guru
Forum Guru
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 5:28 pm

When you only use long-lasting connections with fasttrack enabled, it will be possible to achieve a couple hundred Mb/s yes.
But once you have no fasttrack, or use technologies that require CPU attention for every packet (like queues, lots of new connections, tunnels etc) it will be finished well before 100 Mbit/s.
With IPsec even well before 20 Mbit/s.

Routers with more powerful CPU include the 3011, 4011, CCR1009 and even the RB750Gr3 (but there the difference is mainly visible in IPsec, which you do not use).
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 5:59 pm

But many people with Mikrotik don't make proper use of switch chips.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 6:00 pm

@pe1chl, yes, you are right, I think the typical networks these days and types fast FTTh connections users have at home, it is maybe time for this little "work horse" to retire :-)

To me, the RB2011 is like Novell, still have a very soft spot for it but times have moved on and so should we
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 6:06 pm

There's many people in the World with connections at 25Mbps or less. The 2011 will be useful for years to come.

It will not be made anymore when it is replaced by something cheaper, a long time before it becomes useless.

I can see now that modem routers are a bad idea.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 6:26 pm

@vortex,

Yes, I hear you and agree,but for a 25Mb/s internet connection, the RB2011 is over priced as that can be achieved with a hap mini.

Should the RB2011 had 10 x 1Gb/s ports, I can see a longer life time
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 6:45 pm

Well, Mikrotik does not have a cheaper device with as many ports; and things like IP phones, IR blasters, Zigbee hubs don't need gigabit.

The WiFi model could be discontinued first.

When I upgrade to gigabit internet I will move the 2011 to a 50Mbps location.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 7:09 pm

I am using an RB2011 myself on a 100 Mbps VDSL line and they are also at many places in our AMPRnet network (hamradio wireless network) due to the early availability and many ports.
These days usually RB750Gr3 is used in that network, combined with a cheap switch.
But for home use the RB2011 has the advantage that it comes with a rudimentary WiFi which can be used for IoT and other low-demand usage. And with 100 MBps it is just fast enough for the usual downloads (not fast enough for a reasonable VPN, but I don't value it that much).

I would hesitate to buy one new these days, usually there is another inexpensive MikroTik device that better fits the use case.

In the past I even bought a SFP VDSL modem for it, to replace the Draytek 130 VDSL modem I use at home. But that never really worked, mostly because RouterOS does not include support for it to readout the line parameters and MikroTik apparently isn't interested in VDSL (I can understand they don't want to produce a modem/router, but support for a SFP VDSL modem would be useful).
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 7:25 pm

Yes, I wanted an SFP DSL modem before.

Now it would be an SFP DOCSIS modem if I could use it, but Mikrotik does not have FXS ports.
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 7:40 pm

I just tested the barebones router:

Direct connectio to DSL model: 147 mbit
Naked router in bridge mode: 147 mbit
Naked router in routing mode with fastpath: 139 mbit
Naked router in routing mode without fastpath: 132 mbit

Maybe it is limited by performance. But in that case what about all those guys that say it works with 300-400+ mbits for them?

Am I crazy, or what?!?
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 7:51 pm

It could be the PPPoE.
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 7:54 pm

It could be the PPPoE.
Nop. I netinstalled the router, killed eveything off, literally no setting in, except few likes to enable basic functionality. The router was literally naked.

EDIT:

I just got 147 MBit on mu 5Ghz WiFi on the modem.
Last edited by mrmut on Thu Feb 20, 2020 8:02 pm, edited 1 time in total.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 7:54 pm

...
In the past I even bought a SFP VDSL modem for it, to replace the Draytek 130 VDSL modem I use at home. But that never really worked, mostly because RouterOS does not include support for it to readout the line parameters and MikroTik apparently isn't interested in VDSL (I can understand they don't want to produce a modem/router, but support for a SFP VDSL modem would be useful).

In South Africa, the major Telecoms company, i.e. Telkom has started plans of removing all ADSL / VDSL infrastructure in the near future, so the choices are going to be Fibre, Wireless / 3G/4G/5G/LTE for home users
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 8:02 pm

So they are choosing wireless pollution and high latency?
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 9:57 pm

So they are choosing wireless pollution and high latency?
Latency on 5G and NV2 is trivial. As for pollution, it is what it is. We need speed.
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Thu Feb 20, 2020 10:46 pm

So they are choosing wireless pollution and high latency?
Latency on 5G and NV2 is trivial. As for pollution, it is what it is. We need speed.
You still need to go through the base station.

Low bandwidth with low latency is better for online gamers than high bandwidth with high latency.

You can do 100Mbps with FTTN.

Wireless for fixed broadband can only be justified in rural areas.

And the health effects of 5G have not been properly studied.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Fri Feb 21, 2020 1:38 am

In South Africa, the major Telecoms company, i.e. Telkom has started plans of removing all ADSL / VDSL infrastructure in the near future, so the choices are going to be Fibre, Wireless / 3G/4G/5G/LTE for home users
My VDSL is FTTC. The line is less than 100m in length, only to a street cabinet that is connected by fiber. I am using VVDSL2 with 17a profile, but 35b is also available (200 Mbit/s). And you can get "bonded" (2 lines) as well for double that speed.

Here FTTH is normally laid only when there is some party (the municipality, a housing association) is subsidizing it, or when a local initiative can guarantee a certain percentage of subscribers.
The latter is usually impossible to achieve due to the prevalence of VDSL, Cable and 4G. A local initiative group tried it here and failed.

As always, there are area boundaries. I am living in a street where at my side there is no FTTH (so I have to use VDSL), but on the other side of the same street the houses have FTTH (1Gbps). If I would have a need for much more speed, I could get 1Gbps over Cable.
 
vortex
Forum Guru
Forum Guru
Posts: 1092
Joined: Sat Feb 16, 2013 6:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Fri Feb 21, 2020 1:52 am

My VDSL is FTTC. The line is less than 100m in length, only to a street cabinet that is connected by fiber. I am using VVDSL2 with 17a profile, but 35b is also available (200 Mbit/s). And you can get "bonded" (2 lines) as well for double that speed.
You can get 500Mbps on a regular line at 200m with G.fast .
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Fri Feb 21, 2020 10:43 am

So they are choosing wireless pollution and high latency?

I suppose the problem here is that the current copper cabling infrastructure is so old and causing lots and lots of problems. To make that worse, the copper cabling theft here is huge, Telkom or the electricity companies will replace a cable, and a week later, it will be stolen again
 
User avatar
mrmut
Member Candidate
Member Candidate
Topic Author
Posts: 199
Joined: Mon May 18, 2009 2:10 pm

Re: RB2011UiAS looses about 40 megabits of thgougpput!?!

Fri Feb 21, 2020 10:52 am




I suppose the problem here is that the current copper cabling infrastructure is so old and causing lots and lots of problems. To make that worse, the copper cabling theft here is huge, Telkom or the electricity companies will replace a cable, and a week later, it will be stolen again
This is probably an issue in SAR. We don’t ever see that.

Who is online

Users browsing this forum: mbovenka and 182 guests