Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VM Mikrotik CHR + dude latency problem

Featured Replies

Hi,

I have installed Mikrotik CHR as VM on unraid. My configuration looks like on the attached image. I am experiencing networking problem. When I am logging in to the dude server using dude program it say "getting stuff" at the bottom. During this stage latency to my mikrotik VM jumps above 100 ms, like that:

Reply from 10.1.1.230: bytes=32 time<1ms TTL=64
Reply from 10.1.1.230: bytes=32 time<1ms TTL=64
Reply from 10.1.1.230: bytes=32 time<1ms TTL=64
Reply from 10.1.1.230: bytes=32 time<1ms TTL=64
Reply from 10.1.1.230: bytes=32 time<1ms TTL=64
Reply from 10.1.1.230: bytes=32 time<1ms TTL=64
Reply from 10.1.1.230: bytes=32 time<1ms TTL=64
Reply from 10.1.1.230: bytes=32 time<1ms TTL=64
Reply from 10.1.1.230: bytes=32 time=102ms TTL=64
Reply from 10.1.1.230: bytes=32 time=274ms TTL=64
Reply from 10.1.1.230: bytes=32 time=113ms TTL=64
Reply from 10.1.1.230: bytes=32 time=93ms TTL=64
Reply from 10.1.1.230: bytes=32 time=77ms TTL=64
Reply from 10.1.1.230: bytes=32 time=53ms TTL=64
Reply from 10.1.1.230: bytes=32 time=22ms TTL=64
Reply from 10.1.1.230: bytes=32 time=12ms TTL=64
Reply from 10.1.1.230: bytes=32 time=115ms TTL=64
Reply from 10.1.1.230: bytes=32 time=102ms TTL=64

 

What can be causing the problem? I have tested with one cpu, two cpus and all cpus passed to vm.

 

mt.png

Edited by Kacper

  • Author

..

Hey Mate,

 

Edit: all good figured it out will see if i have same issue with dude

 

Don't have an answer to your question but i am interested in how you got your bridge interface to show up on the mikrotik?

Edited by Draco

  • Author

I have installed Mikrotik CHR version with VM setting as in my first post. What is amazing is that Mikrotik gives CHR version for free!! :)

mikrotikVersion.png

  • Author

Is it possible to install some app/plugin to get more qemu options to configure? I dont see howto create second network interface in unraid for instance.

  • Author

I have found the answere. Mikrotik CHR free version has bandwidth limit on single interface 1Mbit. Dude is using ping to probe latency, so every logging in to dude server causes traffic that will make false reading for dude ping probe, as it wil overfill bandwidth. To solve this problem following rules can by applied in the mikrotik terminal:

/ip firewall mangle
add action=mark-packet chain=postrouting new-packet-mark=OUT passthrough=yes protocol=tcp
add action=mark-packet chain=prerouting new-packet-mark=IN passthrough=yes protocol=tcp
add action=mark-packet chain=prerouting new-packet-mark=IN passthrough=yes protocol=udp
add action=mark-packet chain=postrouting new-packet-mark=OUT passthrough=yes protocol=udp

/queue simple
add max-limit=900k/900k name=OUT packet-marks=OUT target=""
add max-limit=900k/900k name=IN packet-marks=IN target=""

 

This will limit maximum bandwith usage and prevent latency to go high. Now dude server will work unjamed. Otherwise one can get P1 license, then the speed limit is 1Gbit, but it will hit the same problem at 1Gbit connection :) So rules presented here are also aplicable for 1Gbit interface, but instead of k one can put M for Meg.

 

SOLVED!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.