Manual:System/Resource: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
Line 61: Line 61:
|default=
|default=
|desc=Specifies which CPU is assigned to the IRQ.  
|desc=Specifies which CPU is assigned to the IRQ.  
* '''auto''' - pick CPU based on number of interrupts. Uses NAPI to optimize interrupts.
* '''auto''' - pick CPU based on number of interrupts. Uses [http://www.linuxfoundation.org/collaborate/workgroups/networking/napi NAPI] to optimize interrupts.
}}
}}



Revision as of 11:15, 11 October 2010

Version.png

Applies to RouterOS: v3, v4 +

Summary

General

Sub-menu level: /system resource


Properties

Property Description
- (string; Default: )

CPU

Sub-menu level: /system resource cpu

(needs editing)

Properties

Property Description
- (string; Default: )

IRQ

Sub-menu level: /system resource irq


Menu shows all used IRQs on the router. It is possible to set up IRQ load balancing on mulicore systems by assigning IRQ to specific core. IRQ assignments are done by hardware and cannot be changed from RouterOS. For example, if all Ethernets are assigned to one IRQ, then you have to deal with hardware: upgrade motherboards BIOS, reassign IRQs manually in BIOS, if none of above helps then change the hardware.

Properties

Property Description
cpu (auto | integer; Default: ) Specifies which CPU is assigned to the IRQ.
  • auto - pick CPU based on number of interrupts. Uses NAPI to optimize interrupts.

Read-only properties

Property Description
active-cpu (integer) Shows active CPU in multicore systems.
count (integer) Number of interrupts. On ethernet interfaces interrupt=packet.
irq (integer) IRQ identification number
users (string) Process assigned to IRQ

IRQ Load Balancing

RPS

Sub-menu level: /system resource rps

This menu allows to enable Receive Packet Steering (RPS) to reduce single core usage.

NAPI can become a bottleneck under high packet load, because of serialization per device queue. RPS distributes the load of received packet processing across multiple cores.

USB

Sub-menu level: /system resource usb

This menu displays all available USB controllers on the board. Menu is available only if at least one USB controller is present.

[admin@MikroTik] /system resource usb> print detail 
 0 device="2:1" name="RB400 EHCI" serial-number="rb400_usb" vendor-id="0x1d6b" 
   device-id="0x0002" speed="480 Mbps" ports=2 usb-version="2.00" 

 1 device="1:1" name="RB400 OHCI" serial-number="rb400_usb" vendor-id="0x1d6b" 
   device-id="0x0001" speed="12 Mbps" ports=2 usb-version="1.10" 

Properties

Property Description
device (string)
device-id (hex) Hexadecimal device ID
name (string) Descriptive name of the device retrieved from driver
ports (integer) How many ports are supported by usb controller
serial-number (string)
speed (string) Max USB speed that can be used (480Mbps for USBv2 and 12Mbps for USBv1)
usb-version (string) Identifies max spported USB version
vendor (string) Device manufacturer's name.
vendor-id (hex) Hexadecimal vendor ID

PCI

Sub-menu level: /system resource pci

PCI submenu shows the information about all PCI devices on the board

[admin@RB1100test] /system resource pci> print 
 # DEVICE   VENDOR                        NAME                       IRQ       
 0 06:00.0  Attansic Technology Corp.     unknown device (rev: 192)  18        
 1 05:00.0  Freescale Semiconductor Inc   MPC8544 (rev: 17)          0         
 2 04:00.0  Attansic Technology Corp.     unknown device (rev: 192)  17        
 3 03:00.0  Freescale Semiconductor Inc   MPC8544 (rev: 17)          0         
 4 02:00.0  Attansic Technology Corp.     unknown device (rev: 192)  16        
 5 01:00.0  Freescale Semiconductor Inc   MPC8544 (rev: 17)          0         
 6 00:00.0  Freescale Semiconductor Inc   MPC8544 (rev: 17)          0 


Properties

All properties are read-only

Property Description
category (string) PCI device type, for example ethernet controller
device (string)
device-id (hex) Hexadecimal device ID
io (hex-hex) I/O memory range
irq (integer) IRQ asigned to the device
memory (hex-hex) Memory range
name (string) Descriptive name of the device retrieved from driver
vendor (string) Device manufacturer's name.
vendor-id (hex) Hexadecimal vendor ID