Community discussions

MikroTik App
 
server8
Member
Member
Topic Author
Posts: 455
Joined: Fri Apr 22, 2011 1:27 pm

CCR2004 packet loss

Mon Oct 12, 2020 11:00 pm

I have a seriuos problem with all my CCR2004 when traffic pass from giga interface to 10 giga interface and viceversa I have a packet loss aorund 1% or little less.

According with the block diagram https://i.mt.lv/cdn/product_files/CCR20 ... 200459.png I am thinking the problem is generated in the passive intelligent port extender

CCR2004 is not usable to mix different interface speeds :-(

how is it possible?
 
mkx
Forum Guru
Forum Guru
Posts: 4778
Joined: Thu Mar 03, 2016 10:23 pm

Re: CCR2004 packet loss

Mon Oct 12, 2020 11:24 pm

Do you experience packet loss in both directions equllky or is one direction distinctively worse?

I'd expect problems in packet direction 10G->1G where quite some buffering occurs and enabled flow control should help a lot (another matter is whether flow control actually works).
BR,
Metod
 
server8
Member
Member
Topic Author
Posts: 455
Joined: Fri Apr 22, 2011 1:27 pm

Re: CCR2004 packet loss

Mon Oct 12, 2020 11:37 pm

We have mainly packet loss pinging from the remote end to ccr2004 gigabit interface, the problem probably occurs when the upstream traffic from the 10G->1G fullfill the ethernet..

Enabling flow control not solve the problem.
 
paulct
Member
Member
Posts: 326
Joined: Fri Jul 12, 2013 5:38 pm

Re: CCR2004 packet loss

Thu Oct 15, 2020 10:28 am

buffer memory issue? I.e not enough buffer space when going from 10Gbps to 1Gbps and vice versa. Not sure how to get the stats from a Mikrotik on this.
 
jebz
Member
Member
Posts: 317
Joined: Sun May 01, 2011 12:03 pm
Location: Australia

Re: CCR2004 packet loss

Thu Oct 15, 2020 11:38 am

There was a similar issue on the CCR1072 where the ethernet port was claimed only to be suitable for management traffic.
viewtopic.php?t=125361
 
User avatar
IPANetEngineer
Trainer
Trainer
Posts: 1272
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA
Contact:

Re: CCR2004 packet loss

Thu Oct 15, 2020 4:30 pm

We have mainly packet loss pinging from the remote end to ccr2004 gigabit interface, the problem probably occurs when the upstream traffic from the 10G->1G fullfill the ethernet..

So does the packet loss only occur when the 1G interface is full?
Global - MikroTik Support & Consulting - English | Francais | Español | Portuguese +1 855-645-7684
https://iparchitechs.com/services/mikro ... l-support/ mikrotiksupport@iparchitechs.com
 
server8
Member
Member
Topic Author
Posts: 455
Joined: Fri Apr 22, 2011 1:27 pm

Re: CCR2004 packet loss

Thu Oct 15, 2020 11:49 pm

We have mainly packet loss pinging from the remote end to ccr2004 gigabit interface, the problem probably occurs when the upstream traffic from the 10G->1G fullfill the ethernet..

So does the packet loss only occur when the 1G interface is full?
No when the giga interface receive data from 10 giga interface: the slower port sometimes has to keep in pause the faster one before to receive new packets because the buffer is full or not have the buffer.
 
User avatar
IPANetEngineer
Trainer
Trainer
Posts: 1272
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA
Contact:

Re: CCR2004 packet loss

Thu Oct 15, 2020 11:52 pm

What's the lowest throughput (on the 1G) you've seen the packet loss?
Global - MikroTik Support & Consulting - English | Francais | Español | Portuguese +1 855-645-7684
https://iparchitechs.com/services/mikro ... l-support/ mikrotiksupport@iparchitechs.com
 
server8
Member
Member
Topic Author
Posts: 455
Joined: Fri Apr 22, 2011 1:27 pm

Re: CCR2004 packet loss

Fri Oct 16, 2020 8:46 am

The problem is how fast the data arrive on the giga port from the 10 giga port, you can loose packet also whit 100kb or less. If the number of packets arriving exeeds tha capibility of gigaport to send it you will lose packet.
Generally is around 1% or littble bit less. This is a big hardware poblem for ccr2004 and it is not usable to mix different speed ports.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24745
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: CCR2004 packet loss

Fri Oct 16, 2020 10:32 am

The 1G port is for management (winbox, ssh to the router), as it's also labeled on the front panel. This port is somewhat limited, and is meant for what it says. The diagram also gives a clue to this.
No answer to your question? How to write posts
 
server8
Member
Member
Topic Author
Posts: 455
Joined: Fri Apr 22, 2011 1:27 pm

Re: CCR2004 packet loss

Fri Oct 16, 2020 11:58 pm

Normis we are speaking about SFP ports
 
User avatar
Maggiore81
Member Candidate
Member Candidate
Posts: 294
Joined: Sun Apr 15, 2012 12:10 pm
Location: Italy
Contact:

Re: CCR2004 packet loss

Sat Oct 17, 2020 8:09 am

Sincerely I am very disappointed for CCR2004's performance.
We replaced a CCR1036 + 10G switch (with trunks) to a CCR2004 with directly put in DACs cables 10G.

We do about 4.5gb traffic through it.
20 firewall rules, most in RAW for "simple" packet filter at the border.
fasttrack enabled.


4x99% cpu, one 100%.
I tried disabling everything, just fastpath, 80% cpu.
even with 2g traffic the voip was chopping.
Replaced back the 1036, and we are with it now. I could consider the 1072 but I fear the watchdog issues that are on the forum. Till now the 1036 is 2+ years working solid.
we use the long-term ROS.
Dott. Elia Spadoni
---
Network Administrator,
MTCNA, MTCRE, MTCTCE, MTCINE, MTCWE, MTCSE
Spadhausen Internet Provider
Ravenna, ITALY
http://www.spadhausen.com
 
server8
Member
Member
Topic Author
Posts: 455
Joined: Fri Apr 22, 2011 1:27 pm

Re: CCR2004 packet loss

Sat Oct 17, 2020 11:32 am

A router where you can't mix different sfp ports speeds it's not usable in production, if I deploy fiber I need to have 0% packets loss and no 1% like now.

I opened a ticket [SUP-30387] but for now no solution to the issue :-(
 
User avatar
IPANetEngineer
Trainer
Trainer
Posts: 1272
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA
Contact:

Re: CCR2004 packet loss

Sat Oct 17, 2020 4:55 pm

Have you tried changing the interface queues for both ports from hardware-only to ethernet-default ?

You need buffering when mixing interface speeds on any router and i'm not sure what the default buffer capabilities are for the CCR2004.

I would at least try a few different queue types for the interfaces to see if performance improves.
Global - MikroTik Support & Consulting - English | Francais | Español | Portuguese +1 855-645-7684
https://iparchitechs.com/services/mikro ... l-support/ mikrotiksupport@iparchitechs.com
 
User avatar
Maggiore81
Member Candidate
Member Candidate
Posts: 294
Joined: Sun Apr 15, 2012 12:10 pm
Location: Italy
Contact:

Re: CCR2004 packet loss

Sat Oct 17, 2020 6:05 pm

Where can I find precise documentation about queue types?
Well I read the wiki... but I have not found any REAL example of WHERE to use wich queue type or interface type
Last edited by Maggiore81 on Sat Oct 17, 2020 9:00 pm, edited 1 time in total.
Dott. Elia Spadoni
---
Network Administrator,
MTCNA, MTCRE, MTCTCE, MTCINE, MTCWE, MTCSE
Spadhausen Internet Provider
Ravenna, ITALY
http://www.spadhausen.com
 
server8
Member
Member
Topic Author
Posts: 455
Joined: Fri Apr 22, 2011 1:27 pm

Re: CCR2004 packet loss

Sat Oct 17, 2020 9:00 pm

Have you tried changing the interface queues for both ports from hardware-only to ethernet-default ?

You need buffering when mixing interface speeds on any router and i'm not sure what the default buffer capabilities are for the CCR2004.

I would at least try a few different queue types for the interfaces to see if performance improves.
The first think that I have tried before to write here and to open a support ticket.
 
Paternot
Forum Veteran
Forum Veteran
Posts: 776
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Re: CCR2004 packet loss

Sun Oct 18, 2020 12:59 am

Sincerely I am very disappointed for CCR2004's performance.
We replaced a CCR1036 + 10G switch (with trunks) to a CCR2004 with directly put in DACs cables 10G.
But You did a downgrade! Take a look at the performance figures:

https://mikrotik.com/product/CCR1036-12 ... estresults
https://mikrotik.com/product/ccr2004_1g ... estresults

Yes, the 2004 is faster with pure fastpath and big packets, but only in this situation. Everything else, and the 1036 wipes the floor with it. It isn't meant as a direct substitute to the 1036 - it is more something above 1009 and just below 1016.

Yes, each one of its 4 cores is much faster than the 10XX ones - but not enough to offset 4 cores versus 36 cores. It will outperform the CCR10XX series in single threaded activities, but not in firewalling.
 
User avatar
Maggiore81
Member Candidate
Member Candidate
Posts: 294
Joined: Sun Apr 15, 2012 12:10 pm
Location: Italy
Contact:

Re: CCR2004 packet loss

Sun Oct 18, 2020 1:05 am

Hello Paternot, I have read carefully the performance figures, but sincerely I expected a lot more.
I did not expect a 100% cpu load !!!
However I am planning to replace the 1036 witha 1072 because I need the pure 10G ports for each link.
I have some fear to get a 1072 that has issues as in the threads about "watchdog and 1072".

I use conntrack, I use Fasttrack, it is one of my border router.
Dott. Elia Spadoni
---
Network Administrator,
MTCNA, MTCRE, MTCTCE, MTCINE, MTCWE, MTCSE
Spadhausen Internet Provider
Ravenna, ITALY
http://www.spadhausen.com
 
Paternot
Forum Veteran
Forum Veteran
Posts: 776
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Re: CCR2004 packet loss

Sun Oct 18, 2020 6:05 am

Hello Paternot, I have read carefully the performance figures, but sincerely I expected a lot more.
I did not expect a 100% cpu load !!!
However I am planning to replace the 1036 witha 1072 because I need the pure 10G ports for each link.
I have some fear to get a 1072 that has issues as in the threads about "watchdog and 1072".

I use conntrack, I use Fasttrack, it is one of my border router.
Well, I can't speak for the usage model on You network - but if it was taxing one CCR1036, I find remarkable that one CCR2004 can barely cope with the load. I mean, take a look at the results for 512 bytes and 25 ip rules: it's about 1/3 of the 1036 speed!
 
User avatar
Maggiore81
Member Candidate
Member Candidate
Posts: 294
Joined: Sun Apr 15, 2012 12:10 pm
Location: Italy
Contact:

Re: CCR2004 packet loss

Sun Oct 18, 2020 11:39 am

You may be right, I may have chosen the wrong product.
The 1036 was at about 15% average cpu...
Dott. Elia Spadoni
---
Network Administrator,
MTCNA, MTCRE, MTCTCE, MTCINE, MTCWE, MTCSE
Spadhausen Internet Provider
Ravenna, ITALY
http://www.spadhausen.com
 
server8
Member
Member
Topic Author
Posts: 455
Joined: Fri Apr 22, 2011 1:27 pm

Re: CCR2004 packet loss

Sun Oct 25, 2020 9:38 pm

Any update on this issue?
 
server8
Member
Member
Topic Author
Posts: 455
Joined: Fri Apr 22, 2011 1:27 pm

Re: CCR2004 packet loss

Tue Oct 27, 2020 11:28 am

Any update on this issue?
 
server8
Member
Member
Topic Author
Posts: 455
Joined: Fri Apr 22, 2011 1:27 pm

Re: CCR2004 packet loss

Thu Oct 29, 2020 10:34 pm

Any update on this issue?

Who is online

Users browsing this forum: No registered users and 27 guests