I recently decided to replace my Huawei router with a Mikrotik 4011 router, and after configuring the provider on the Mikrotik router with a PPPoE client connection, I noticed that the icmp ping to the external host 8.8.8.8 on the Huawei router is less than 80 ms, but on the Mikrotik it exceeds 100 ms (+30 ms). I tried changing the PPP settings, disabling traffic compression and encryption, but it didn't help. Please advise on the reason for the increased delay (using ping as an example).
Can you do a trace route (tracert/traceroute/tracepath depending on the OS) to external hosts (8.8.8.8 that you've chosen as example) when connecting using either routers and see what differ (which hops are introducing the additional delays).
(If you have no LAN client to test from, only the router, use /tool/traceroute)
While PPPoE on MikroTik is not the best of things (it is handled in software even when the router hardware would be able of handling it), this is not normal. I have PPPoE as well and my ping to 8.8.8.8 is a little over 7ms, nearly all of that is on the first hop which is PPPoE over VLAN over VDSL. (ping to 8.8.8.8 from a colocated server is <1ms in this country)
There is a thing you need to be aware of: some ISPs will handle a new router with a new MAC address differently from what you had before, and maybe got from the ISP. You could try checking what the MAC address of the other router is, then set that MAC address on the ether1 port of your RB4011 and see if there is a difference.
You may also want to check a forum or other place where things about your ISP are discussed, and see if others had issues after replacing their router, and/or if there is info on router settings to be found.
I tried on rb4011 and on rb hAP, so config i provide for hap, config for rb4011 is to big, it doesn’t matter because on small pppoe only config on hAP we have delay.
I changed the MAC address of the interface to the one as on the Huawei router. I checked it, and the delay is now practically the same. As it turns out, it seems that the provider processes traffic a little differently from here, resulting in a delay of 30 ms. The provider has a GPON OLT, and it seems to be sensitive to the vendor, hence the delay. Thanks for answers. The topic we can close.