Community discussions

MikroTik App
 
CrazyApe
just joined
Topic Author
Posts: 8
Joined: Wed Nov 15, 2017 5:43 pm

Could add new queue tree: too many packet marks in system

Mon Jan 02, 2023 7:01 pm

Hello guys,
i bought new X86 shaper (8core xeon 4,7 ghz built pm supermicro mobo with STGN-I2S network cards) and then i installed fresh v7 and have a problem with error telling me I have too many packet marks in system when i want to add line 4505 in queue tree. There is maximum number of packet marks in ROS v7 set to 4,5k or what ?? On RoS v 6 i have 5k on my older x86_64 central shaper with 4 cores and no problems...
Thx
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2990
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: Could add new queue tree: too many packet marks in system

Mon Jan 02, 2023 8:11 pm

i can only say two things
OMG
WTF
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2990
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: Could add new queue tree: too many packet marks in system

Mon Jan 02, 2023 8:12 pm

i suggest you consider another scheme

i have tested up to 30k simple queues OK so you have a possible alternative
 
CrazyApe
just joined
Topic Author
Posts: 8
Joined: Wed Nov 15, 2017 5:43 pm

Re: Could add new queue tree: too many packet marks in system

Tue Jan 03, 2023 8:58 am

Why omg WTF? I need to use QT not SQ :(
 
User avatar
petrb
Member Candidate
Member Candidate
Posts: 100
Joined: Thu Jan 26, 2017 4:17 pm

Re: Could add new queue tree: too many packet marks in system

Thu Jan 05, 2023 9:23 pm

Hi, you can replikate issue using (tested on x86 and CCR1036)
:local MARK
:local OC3
:local OC4

:set MARK 1
:set OC3 1
:set OC4 1

for i from=1 to=6000 do={
   /ip firewall mangle add chain=postrouting src-address="192.168.$OC3.$OC4" action=mark-packet new-packet-mark=$MARK
   /ip firewall mangle add chain=prerouting src-address="192.168.$OC3.$OC4" action=mark-packet new-packet-mark=$MARK
   /queue/tree/add parent=global packet-mark=$MARK

    :set OC4 ($OC4 + 1)
    :set MARK ($MARK + 1)
    :if ( $OC4 = 254) do={
        :set OC3 ($OC3 + 1)
       :set OC4 1
    }
}

result and system info:
[admin@MikroTik] /queue/tree> /system/script/run script2
failure: too many packet marks in system
[admin@MikroTik] /queue/tree> /system/resource/print 
                   uptime: 22m48s
                  version: 7.6 (stable)
               build-time: Oct/17/2022 10:55:40
         factory-software: 7.1
              free-memory: 7.4GiB
             total-memory: 7.7GiB
                      cpu: Intel(R)
                cpu-count: 4
            cpu-frequency: 2105MHz
                 cpu-load: 3%
           free-hdd-space: 221.7GiB
          total-hdd-space: 221.7GiB
  write-sect-since-reboot: 257184
         write-sect-total: 257184
        architecture-name: x86_64
               board-name: x86
                 platform: MikroTik
 
User avatar
petrb
Member Candidate
Member Candidate
Posts: 100
Joined: Thu Jan 26, 2017 4:17 pm

Re: Could add new queue tree: too many packet marks in system

Thu Jan 05, 2023 11:02 pm

ROS is not able to add more than 4095 /queue/tree elements with unique MARK matcher,
 
CrazyApe
just joined
Topic Author
Posts: 8
Joined: Wed Nov 15, 2017 5:43 pm

Re: Could add new queue tree: too many packet marks in system

Wed Jan 11, 2023 9:16 am

ROS 6 had no problem with this … why this step back in ros7?
 
hapi
Member Candidate
Member Candidate
Posts: 232
Joined: Fri Mar 11, 2011 11:21 am
Location: Czech Republic

Re: Could add new queue tree: too many packet marks in system

Wed Feb 22, 2023 1:52 pm

same problem. wtf?
 
hapi
Member Candidate
Member Candidate
Posts: 232
Joined: Fri Mar 11, 2011 11:21 am
Location: Czech Republic

Re: Could add new queue tree: too many packet marks in system

Tue Mar 21, 2023 10:05 pm

some solution?
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2865
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Could add new queue tree: too many packet marks in system

Wed Mar 22, 2023 9:52 am

new version, new rules.
 
hapi
Member Candidate
Member Candidate
Posts: 232
Joined: Fri Mar 11, 2011 11:21 am
Location: Czech Republic

Re: Could add new queue tree: too many packet marks in system

Wed Mar 22, 2023 6:49 pm

new version, worse features?

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], emunt6, menyarito, stef70 and 71 guests