Jump to content

hadarelv

Member
  • Posts

    15
  • Joined

  • Last visited

Awards

This user doesn't have any awards

hadarelv's Achievements

  1. Good day First of all, I would like to mention that I have already read the Mikrotik Wiki, multiple configuration examples and read a lot of forum topics about QoS with configurations similar to what I want to achieve. I am also (very) new to networking, so I might have missed some important points. My setup looks like this: - Mikrotik wAP (model RBwAPG-5HacT2HnD) with RouterOS 6.45.9 is connected via its single LAN port to a Linux desktop. Mikrotik works in "ap bridge" mode. It is also set to the 2.4GHz B so that I can limit the physically available bandwidth to 10Mbit/s (in reality I get ~6Mbit/s). All interfaces are bridged. - A Linux Laptop is connected to the 2.4GHz channel of Mikrotik I wrote the simplest server-client C program to send ping-like message from client to server and back per TCP connection. What I want to do now is to guarantee at least 200kbit/s to the connection between my ping-like program, while iperf3 generates as much traffic as it can to saturate the link (read: prioritise my C programms traffic over iperf3). Desktop acts as client and sends a single „double“ over WiFi to laptop, which then increments the „double“ and sends it back. I want to achieve the desired „prioritisation“ of my ping-like traffic with help of Queue Trees. In order to do that, I configured the tree in following way: /queue tree add max-limit=10M name=to-fr-parent parent=global add limit-at=200k max-limit=10M name=to-fr-high-prio packet-mark=br-high-prio-to-fr parent=to-fr-parent priority=1 add limit-at=2M max-limit=10M name=to-fr-low-prio packet-mark=br-bulk-to-fr parent=to-fr-parent add max-limit=10M name=from-fr-parent parent=global add limit-at=200k max-limit=10M name=from-fr-high-prio packet-mark=br-high-prio-from-fr parent=from-fr-parent priority=1 add limit-at=2M max-limit=10M name=from-fr-low-prio packet-mark=br-bulk-from-fr parent=from-fr-parent This in theory must guarantee 200kbit/s to my ping-like traffic and 2Mbit/s to iperf and the rest will be distributed according to priorities. In my case the rest should go to iperf, because ping-connection takes something about 150kbit/s. In order to make the Queue Tree work, I need to mark the packets to allow their classification in the queue. Because my interfaces are all bridged, I decided to go with Bridge rules, but have also tried IP Firewall rules before. Rules work correctly and mark the desired traffic. I checked this by inspecting Log and Counters. /interface bridge filter add action=mark-packet chain=forward dst-address=192.168.88.254/32 dst-port=5150 ip-protocol=tcp log=yes mac-protocol=ip new-packet-mark=br-high-prio-to-fr add action=mark-packet chain=forward ip-protocol=tcp log=yes mac-protocol=ip new-packet-mark=br-high-prio-from-fr src-address=192.168.88.254/32 src-port=5150 add action=mark-packet chain=forward ip-protocol=tcp log=yes mac-protocol=ip new-packet-mark=br-bulk-from-fr src-address=192.168.88.254/32 src-port=!5150 add action=mark-packet chain=forward dst-address=192.168.88.254/32 dst-port=!5150 ip-protocol=tcp log=yes mac-protocol=ip new-packet-mark=br-bulk-to-fr By inspecting the counters in the Queue Tree tab I can see, that the traffic is marked correctly and is increasing appropriate counters als oin Queue Trees. But here is the problem: When I run iperf3 and then start my ping-like client, it does not become the guaranteed 2Mbit/s and gets delayed a lot (RTT is ~500ms). (He does not even get the actually required 150kbit/s) If I run only ping-like client without iperf traffic I get RTT ~3-6ms. RTT measurement is implemented on the client side. Does anyone see an error in my configuration? What is lacking in my config? P.S. Again, I am very new to networking, so the obvious stuff for you might not be so obvious for me:) P.S.S. Here is the whole config of the router: https://pastebin.com/yXix5fwb
  2. Hi guys I am searching for a budget external hdd with 500GB capacity for some backups (performance is not so important). Have found an option from KESU (KESU Ultra Slim 500GB ~ 45 usd) and WD (WD Elements Portable ~ 60 usd). I have never heared about KESU and have no idea whether I can trust this brand. Are there any better options/suggestions?
  3. Hm, very strange. I installed the update and the toggle appeared in the menu, so thank you a lot:) However, on my friends' iPhone X on the latest iOS 11.2.5 there is no such feature. Is it possible, that it depends on the phone, region or something else?
  4. Good day everyone I faced an unexpected problem. I have a folder on my laptop with music that I want to copy on my iPhone 6S. I add them to the iTunes Media Library and after that a small blue cloud with dotted edges appears near every song. After synchronization only some songs are copied to the phone. As I understand, this problem is caused by synchronization of my music with iCloud. I want to disable it, but there is no such setting anywhere on my phone. I read some articles from 2015, where it is clearly shown, that you can disable in "Settings"->"Music" the "iCloud Music Library" option. However, on my current version of iOS 11.1.2 there is no such option! Please, help!
  5. Hi there Here's the thing. My laptop (asus g501j) lays almost all the time on the table with ac adapter plugged in. So, that means it constantly charges (isn't it?). Does it harm the battery's lifetime? Thank you in advance!
  6. Phone will be generally used as multimedia device. No intense tasks, extreme load.. I just want it to perform smooth
  7. Hi guys, I'm currently searching for a good priced peace of hardware which will have decent camera, at least 32GB of storage, 2-3Gb RAM, good display (decent colors, brightness, viewing angles ) and good performing processor. Kinda looking for HTC Desire 530, but I'm not sure, because heared its processor doesn't do its job quite well. Are there any alternatives on the market? Or should I take HTC? Thanks in advance!
  8. Do you have any other models to recommend?
  9. Hi people. I want to buy myself a slim gaming notebook and after some searching I decided that Asus gl502VT will be a very good choice. I didn't find much reviews of it, but it seems to be just an upgraded version of g501. What do you think about gl502VT, is it worth it?
  10. But jawbone doesn't have a display for notifications at any model
  11. Hi guys, I am thinking to buy a fitness tracker and would like to hear your recommendations. Good heart rate tracking, silent alarm and call notifications will be the perfect combination with great design. Is there anybody who owned a Fitbit Charge HR or Vivismart and what can you tell about them?
  12. GTX 750 Ti requires PCI-E 3.0, but I'm not sure if my motherboard has one (can't figure out on gigabyte's site what gen PCI-E does it have )
  13. Hi everyone. I have AMD Athlon II X4 640 cpu, Gigabyte M68Mt S2P motherboard, Zotac GTS 450 and 450W power supply (don't know neither manufacturer, nor model). I mostly use this rig for gaming and now I want to make a little upgrade (switch GTS to ASUS GTX 750 Ti) to achieve a bit better performance. Will GTX 750 Ti fit to my motherboard and have enough power?
×