Community discussions

MikroTik App
 
rickypr
just joined
Topic Author
Posts: 8
Joined: Thu Mar 22, 2012 3:51 pm

RB1100AHx2 second core idle

Thu Mar 22, 2012 4:14 pm

I am testing the throughput of the new RB1100AHx2. The router works fine but the second core is idle even when the first is 100% utilized. Is there any command I should run to activate the second core? The router is running version 5.14.

Right now it gives me the following throughput doing an RFC2544 layer 3 test with a random MTU between 64 and 1500:
CPU @1066MHz = 445Mbps
CPU @1333MHz = 532Mbps

The router is doing packet marking, setting vlan priorities and doing queue trees.
If the second core was used, this number could be much better. I attached an image of the tools->profile window.

Thanks!
You do not have the required permissions to view the files attached to this post.
 
MyThoughts
Member Candidate
Member Candidate
Posts: 218
Joined: Sat Sep 17, 2005 9:07 pm

Re: RB1100AHx2 second core idle

Thu Mar 22, 2012 11:45 pm

How many different ethernet ports are you using. While RouterOS tries to use multicore CPUs, it cannot load balance traffic coming through only one interface.

Routing itself is inherently not multicore friendly. The more interfaces involved the easier it is to multithread different traffic.

Cheers
 
rickypr
just joined
Topic Author
Posts: 8
Joined: Thu Mar 22, 2012 3:51 pm

Re: RB1100AHx2 second core idle

Fri Mar 23, 2012 12:17 am

Thanks for your answer. I was routing from port 1 to port 11. Do you think it could use the second processor if port 2 routes traffic to port 12 (for example).
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: RB1100AHx2 second core idle

Fri Mar 23, 2012 12:33 pm

does it support RPS?..
 
rickypr
just joined
Topic Author
Posts: 8
Joined: Thu Mar 22, 2012 3:51 pm

Re: RB1100AHx2 second core idle

Fri Mar 23, 2012 1:42 pm

I don't think that RPS is supported. At least there is nothing under System -> Resources.
 
sigxcpu
newbie
Posts: 27
Joined: Wed Sep 14, 2011 12:54 pm

Re: RB1100AHx2 second core idle

Mon Mar 26, 2012 6:19 am

How many different ethernet ports are you using. While RouterOS tries to use multicore CPUs, it cannot load balance traffic coming through only one interface.

Routing itself is inherently not multicore friendly. The more interfaces involved the easier it is to multithread different traffic.

Cheers
You are making a mistake here. There is nothing sequential about packet routing (that is why the packet order is not guaranteed in any IP link), so it is one of the perfect situations where you can do parallel processing.
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1764
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Re: RB1100AHx2 second core idle

Mon Mar 26, 2012 9:44 am

/in interface queue choose hardware queue, avoid using simple queues (cause usage of global-in and global-out will force all packets go trough single core) run test with huge number of TCP connections or just use UDP traffic. After that it all should be OK.
 
rickypr
just joined
Topic Author
Posts: 8
Joined: Thu Mar 22, 2012 3:51 pm

Re: RB1100AHx2 second core idle

Tue Mar 27, 2012 11:05 pm

Thanks for the tip. I selected only hardware queues in the all interfaces and mq-pfifo in the queue trees, I have an outgoing queue with eight child queues for eight different class of service. Still the second CPU is 78.5 idle when the router is dropping packets. :(
 
rickypr
just joined
Topic Author
Posts: 8
Joined: Thu Mar 22, 2012 3:51 pm

Re: RB1100AHx2 second core idle

Tue Mar 27, 2012 11:51 pm

Chooosing only-hardware-queue gives me 545 Mbps vs 508 Mbps using both pfifo and mq pfifo. Still the second core is 75% idle.
Thanks macgaiver

Who is online

Users browsing this forum: No registered users and 94 guests