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

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

i can only say two things
OMG
WTF

i suggest you consider another scheme

i have tested up to 30k simple queues OK so you have a possible alternative

Why omg WTF? I need to use QT not SQ :frowning:

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

ROS is not able to add more than 4095 /queue/tree elements with unique MARK matcher,

ROS 6 had no problem with this … why this step back in ros7?

same problem. wtf?

some solution?

new version, new rules.

new version, worse features?