# CRS3/5 packet buffer size

**URL:** <https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738>\
**Category:** MikroTik hardware general\
**Created:** [February 6, 2025, 1:35am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738 "2025-02-06T01:35:33Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![sts](https://forum.mikrotik.com/letter_avatar/sts/32/6_449c533f586939b6e5f246632a46421f.png) [@sts](https://forum.mikrotik.com/u/sts)\
**Post date:** [February 6, 2025, 1:35am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/1 "2025-02-06T01:35:33Z")

</div>

Hi,

I’m planning to upgrade a 1G company network to a mixed 10/2,5/1G environment using MT switches (two servers with 10G NICs and maybe 30-40 active users doing mostly SQL and SMB). There are some posts about excessive packet drop because of too small buffers that leave me somewhat discouraged though. I hope I wasn’t too optimistic.

Actual numbers for the buffers are really hard to find. But with qos-hw enabled, there seems to be a way to output the buffer size. Are those values accurate?

On my CRS310-8G+2S+IN and CRS326-24G-2S+RM I get:

```plaintext
> /interface/ethernet/switch/qos/monitor 
      total-packet-cap: 5 902    
      total-packet-use: 0        
        total-byte-cap: 1536.0KiB

```

1.5MB matches what I’ve seen elsewhere for the CRS326/98DX3236 .

On the help page there’s an example for the CRS312.  
[https://help.mikrotik.com/docs/spaces/ROS/pages/189497483/Quality+of+Service#QualityofService-QoSMonitor](https://help.mikrotik.com/docs/spaces/ROS/pages/189497483/Quality+of+Service#QualityofService-QoSMonitor)

```plaintext
[admin@crs312] /interface/ethernet/switch/qos> monitor once
                   total-packet-cap: 11 480
                   total-packet-use: 454
                     total-byte-cap: 3072.0KiB

```

It’s supposed to only have 2 instead of 3MB. There’s something in a recent changelog about fixing buffer limits for this switch chip, so maybe the page is just out of date.

What are the values for other models? The ones I’m interested in are:

CRS312-4C+8XG-RM - 2MB?  
CRS317-1G-16S+RM  
CRS326-24S+2Q+RM - some other vendor has a switch with the 98DX8332 listed with 3MB  
CRS354-48G-4S+2Q+RM - I really hope the 98DX3257 didn’t inherit the 1.5MB from the 98DX3236..  
CRS326-4C+20G+2Q+RM - 98DX8332 again  
CRS518-16XS-2XQ-RM  
  
  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ConradPino](https://forum.mikrotik.com/letter_avatar/conradpino/32/6_449c533f586939b6e5f246632a46421f.png) [@ConradPino](https://forum.mikrotik.com/u/ConradPino)\
**Post date:** [February 7, 2025, 1:30am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/2 "2025-02-07T01:30:24Z")

</div>

Consider carefully recent RouterOS 7.17 and 7.18 changes before deploying to locations where physical device access has high labor, time, or travel cost.

---

<div class="post-metadata">

**Author:** ![chechito](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/chechito/32/1416_2.png) [@chechito](https://forum.mikrotik.com/u/chechito)\
**Post date:** [February 7, 2025, 1:50am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/3 "2025-02-07T01:50:09Z")

</div>

For this devices i use 7.16.2, taken from qos monitor i have data of following devices:  
CRS-326-24g-2s+ 1.5 Mbyte  
CRS-317 4 Mbyte _ **what a champion!** _  
CRS-309 2 Mbyte  
CCR-2116 1.5 Mbyte  
CCR-2216 8 Mbyte  
CRS-520 12 Mbyte

---

<div class="post-metadata">

**Author:** ![guipoletto](https://forum.mikrotik.com/letter_avatar/guipoletto/32/6_449c533f586939b6e5f246632a46421f.png) [@guipoletto](https://forum.mikrotik.com/u/guipoletto)\
**Post date:** [February 7, 2025, 2:01am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/4 "2025-02-07T02:01:00Z")

</div>

Access to these stats requires enabling “advanced QOS” in the whole switch

My question to mikrotik is: how are buffers distributed when operating without new “qos-hw” mode?  
in other words: which “qos-hw” mode is a direct equivalent to previous “qos-hw-disabled” behaviour?

Also, what would be the “next preferred” MTU size after 1500 (from a buffer conservation / maximization perspective)

from what is hinted at [https://youtu.be/7a\_z1jAdIME?t=427](https://youtu.be/7a_z1jAdIME?t=427) video, the buffers are allocated in chunks of 1500  
so “might aswell set 3000”

but maybe this new “qos-hw” scheme is smarter , or the actual buffer boundaries in the ASIC have a lesser, more sensible multiple

---

<div class="post-metadata">

**Author:** ![chechito](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/chechito/32/1416_2.png) [@chechito](https://forum.mikrotik.com/u/chechito)\
**Post date:** [February 7, 2025, 2:25am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/5 "2025-02-07T02:25:49Z")

</div>

> [@](#):
>
> Access to these stats requires enabling “advanced QOS” in the whole switch
> 
> My question to mikrotik is: how are buffers distributed when operating without new “qos-hw” mode?
> 
> in other words: which “qos-hw” mode is a direct equivalent to previous “qos-hw-disabled” behaviour?

i think is a good question, i dont know the answer, but, from my experience i think that buffer distribution has changed some times in CRS3xx since they exists, for example in early days CRS-326-24g-2s+ had several drops when downloading from an uplink 1g interface towards a 100m interface, later on that problem was mitigated, since that experience i avoided to mix speeds in other switches like crs317, i think that policy avoided me some headaches

i remember another user posted some years ago about a drop issue on crs317 solved by bonding 2 interfaces i think that was related to buffer too

---

<div class="post-metadata">

**Author:** ![chechito](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/chechito/32/1416_2.png) [@chechito](https://forum.mikrotik.com/u/chechito)\
**Post date:** [February 7, 2025, 2:32am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/6 "2025-02-07T02:32:49Z")

</div>

> [@](#):
>
> from what is hinted at [https://youtu.be/7a\_z1jAdIME?t=427](https://youtu.be/7a_z1jAdIME?t=427) video, the buffers are allocated in chunks of 1500  
> so “might aswell set 3000”
> 
> but maybe this new “qos-hw” scheme is smarter , or the actual buffer boundaries in the ASIC have a lesser, more sensible multiple

afaik seeing the qos-hw config, chip buffer is divided in “packets” around 256 bytes in size  
[https://help.mikrotik.com/docs/spaces/ROS/pages/189497483/Quality+of+Service#QualityofService-HardwareResources](https://help.mikrotik.com/docs/spaces/ROS/pages/189497483/Quality+of+Service#QualityofService-HardwareResources)

```plaintext
Hardware Resources
The hardware (switch chips) has limited resources (memory). There are two main hardware resources that are relevant to QoS:

Packet descriptors - contain packet control information (target port, header alternation, etc).
Data buffers - memory chunks containing the actual payload. Buffer size depends on the switch chip model. Usually - 256 bytes.

```

---

<div class="post-metadata">

**Author:** ![guipoletto](https://forum.mikrotik.com/letter_avatar/guipoletto/32/6_449c533f586939b6e5f246632a46421f.png) [@guipoletto](https://forum.mikrotik.com/u/guipoletto)\
**Post date:** [February 7, 2025, 2:35am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/7 "2025-02-07T02:35:42Z")

</div>

> [@](#):
>
> i remember another user posted some years ago about a drop issue on crs317 solved by bonding 2 interfaces i think that was related to buffer too

That was me [http://forum.mikrotik.com/t/crs317-and-tx-drops-maybe-a-workaround/157420/8](http://forum.mikrotik.com/t/crs317-and-tx-drops-maybe-a-workaround/157420/8)

And you at #13, with some inside information regarding contention on ingress interfaces, vs just dropping excess packets on the egress (lower speed) interface

and for reference, RouterOS now has tx-drop counters for both bonding-interfaces and bonding-members  
in a recent comparison i made, bonding significantly reduces tx-drops, but it’s not zero (was zero at the time of that post, because the fields were not being populated then)

---

<div class="post-metadata">

**Author:** ![chechito](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/chechito/32/1416_2.png) [@chechito](https://forum.mikrotik.com/u/chechito)\
**Post date:** [February 7, 2025, 2:43am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/8 "2025-02-07T02:43:19Z")

</div>

yeah i that previous topic i was refering to CRS-326-24g-2s+ situation, when downloading from an uplink 1g interface towards a 100m interface

now i am remembering better

the switch in that scenario was not droping on egress, the droping was at ingress uplink interface as overflow errors, because of that i was suposing a HOL blocking situation, in that case all switch performance was degraded

some time later i dont see overflow errors anymore on CRS 3xxx switches now only tx drop mostly on slower outbound interfaces

---

<div class="post-metadata">

**Author:** ![guipoletto](https://forum.mikrotik.com/letter_avatar/guipoletto/32/6_449c533f586939b6e5f246632a46421f.png) [@guipoletto](https://forum.mikrotik.com/u/guipoletto)\
**Post date:** [February 7, 2025, 2:43am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/9 "2025-02-07T02:43:37Z")

</div>

> [@](#):
>
> [https://help.mikrotik.com/docs/spaces/ROS/pages/189497483/Quality+of+Service#QualityofService-HardwareResources](https://help.mikrotik.com/docs/spaces/ROS/pages/189497483/Quality+of+Service#QualityofService-HardwareResources)
> 
> ```plaintext
> Hardware Resources
> Data buffers - memory chunks containing the actual payload. Buffer size depends on the switch chip model. Usually - 256 bytes.
> 
> ```

That would make:

default = 6 chunks, 1536byte buffer, L2MTU of (possibly) 1518  
next-best = 7chunks, 1792byte buffer, L2MTU of (possibly) 1774

---

<div class="post-metadata">

**Author:** ![chechito](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/chechito/32/1416_2.png) [@chechito](https://forum.mikrotik.com/u/chechito)\
**Post date:** [February 7, 2025, 2:54am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/10 "2025-02-07T02:54:22Z")

</div>

currently i am testing on some scenarios i think with some sucess, new qos GUI on winbox available on 7.16 helps a lot

on CRS317 with some interfaces not used, setting offline tx manager in that unused interfaces frees some buffers wich are added to other interfaces, changing shared buffer percentage also has an impact on interface fixed and shared buffers

in some cases i have reduced drops close to zero increasing in use interface buffers doing this 2 changes, i think this was tunned under de hood across 7.15.x and 7.16.x versions i have better results with 7.16.2 than 7.15.3 with same configs

---

<div class="post-metadata">

**Author:** ![guipoletto](https://forum.mikrotik.com/letter_avatar/guipoletto/32/6_449c533f586939b6e5f246632a46421f.png) [@guipoletto](https://forum.mikrotik.com/u/guipoletto)\
**Post date:** [February 7, 2025, 3:06am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/11 "2025-02-07T03:06:32Z")

</div>

When i implemented the “bonding” workaround, i saw a big, measurable impact in packet retransmissions

in January i updated this same network from 7.15.3 to 7.16.2, with no measurable differences

---

<div class="post-metadata">

**Author:** ![chechito](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/chechito/32/1416_2.png) [@chechito](https://forum.mikrotik.com/u/chechito)\
**Post date:** [February 7, 2025, 3:18am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/12 "2025-02-07T03:18:17Z")

</div>

> [@](#):
>
> When i implemented the “bonding” workaround, i saw a big, measurable impact in packet retransmissions
> 
> in January i updated this same network from 7.15.3 to 7.16.2, with no measurable differences

are you using qos-hw offloading enabled? do you have drop counters increasing ? How do you measure the number of retransmissions?

---

<div class="post-metadata">

**Author:** ![guipoletto](https://forum.mikrotik.com/letter_avatar/guipoletto/32/6_449c533f586939b6e5f246632a46421f.png) [@guipoletto](https://forum.mikrotik.com/u/guipoletto)\
**Post date:** [February 7, 2025, 1:30pm UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/13 "2025-02-07T13:30:11Z")

</div>

> [@](#):
>
> are you using qos-hw offloading enabled? do you have drop counters increasing ? How do you measure the number of retransmissions?

The retransmission stats i extracted from a hosted appliance that transits the network (it’s a proxy measure, not a direct / reproducible on demand metric)  
at the time the delta was from 3% down to 1,5% reported retransmissions, and that includes a “wifi” jump at the customer’s house

i still see occasional increases in drop counters, but since those are not exposed in SNMP, it’s hard to correlate when they occur  
i remember seeing a dramatic increase in the drop frequency wnen a port was over ~ 70% utilization

possibly due to the statistical distribution nature of “port capacity/usage” sampling  
the reported speed over “N seconds” is actually the integral of the instantaneous rate over $sampling\_period  
and inside that $sampling\_period, the port very likely saw instantaneous packet-rates nearing or exceeding the physical limit

---

<div class="post-metadata">

**Author:** ![chechito](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/chechito/32/1416_2.png) [@chechito](https://forum.mikrotik.com/u/chechito)\
**Post date:** [February 7, 2025, 2:34pm UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/14 "2025-02-07T14:34:29Z")

</div>

> [@](#):
>
> > [@](#):
> >
> > are you using qos-hw offloading enabled? do you have drop counters increasing ? How do you measure the number of retransmissions?
> 
> the port very likely saw instantaneous packet-rates nearing or exceeding the physical limit

i agree, something like a Micro-burst

---

<div class="post-metadata">

**Author:** ![sts](https://forum.mikrotik.com/letter_avatar/sts/32/6_449c533f586939b6e5f246632a46421f.png) [@sts](https://forum.mikrotik.com/u/sts)\
**Post date:** [February 8, 2025, 1:28am UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/15 "2025-02-08T01:28:21Z")

</div>

> [@](#):
>
> CRS-326-24g-2s+ 1.5 Mbyte  
> CRS-317 4 Mbyte _ **what a champion!** _  
> CRS-309 2 Mbyte  
> CCR-2116 1.5 Mbyte  
> CCR-2216 8 Mbyte  
> CRS-520 12 Mbyte

Thanks a lot!

CCR2216 and CRS518 both use the 98DX8525. Nice! ..although that would stretch the budget a bit.

I thought all the 98DX21XX switches would be similar, but the CRS317 seems to be quite different. That also explains why it sticks out in the [L3HW Support table](https://help.mikrotik.com/docs/spaces/ROS/pages/62390319/L3+Hardware+Offloading#L3HardwareOffloading-CRS3xx,CRS5xx:SwitchDX8000andDX4000Series). The CRS317 also seems to be one of the few switches with decentish interconnect between the CPU and switch chip (3Gb). I’m kinda curious if would be possible to reduce congestion by unloading known bursty traffic onto the CPU.

---

<div class="post-metadata">

**Author:** ![sts](https://forum.mikrotik.com/letter_avatar/sts/32/6_449c533f586939b6e5f246632a46421f.png) [@sts](https://forum.mikrotik.com/u/sts)\
**Post date:** [February 26, 2025, 11:34pm UTC](https://forum.mikrotik.com/t/crs3-5-packet-buffer-size/181738/16 "2025-02-26T23:34:42Z")

</div>

Got me a CRS326-4C+20G+2Q+RM. It reports this:

total-packet-cap: 11 480  
total-packet-use: 0  
total-byte-cap: 2648.0KiB

So not even 3MB after all, although the packet-cap is 11480 like on the 312.. weird.

If they aren’t needed, the QSFP sub-ports can be set “offline” to free a decent chunk of port buffers, which can then be reallocated to the shared pool.
