Performance Optimization Guide: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
== High Level Allegro System Layout ==
== High Level Allegro System Layout ==


The Allegro has various different units that can be optimized. These units are:
The Allegro has various units that processes the traffic. These units are:


* I/O Threads: responsible for all packet I/O operations
* I/O threads: responsible for all I/O operations between the interfaces and cpus
* Analyzer Threads: responsible for decoding and most of the DB operations
* Analyzer threads: responsible for decoding and most of the database operations
* DB Threads: optional threads offloading memory intensive database operations, see [[DB mode]]
* DB threads: optional threads offloading memory intensive database operations, see [[DB mode]]
* Disk I/O


Please note that there are queues that buffer messages between all hardware instances ( Interface chips, central processing unit, storage ) and threads which can be tuned. The following queues can be monitored to see where you need to change settings in the Allegro:
The Allegro uses queues to buffer packets and messages between the hardware instances ( interfaces chips, central processing unit, storage ) and threads. All threads measure their which you can monitor at '''Info''' → '''System Info''' → '''Load'''.
 
The following queues can be monitored to see where you need to change settings in the Allegro:


=== Interface hardware queues ===
=== Interface hardware queues ===


This first queue is between the interfaces and processing unit. Whenever the I/O threads are too slow to consume all packets from the built-in or extension interfaces, the '''hardware miss''' counter of the interface statistics will increase over time.  
The interface hardware queue is between the interfaces and I/O threads of the central processing unit. Whenever the I/O threads are too slow to consume all packets from the built-in or extension interfaces, the '''hardware miss''' counter of the interface statistics will increase over time.  


The load of the I/O threads can be checked at the '''Info''' → '''System Info''' → '''Load'''.
The load of the I/O threads can be checked at the '''Info''' → '''System Info''' → '''Load'''.
Line 29: Line 30:
For configuration, please see: [[Global_settings#Packet_processing_mode]]
For configuration, please see: [[Global_settings#Packet_processing_mode]]


The number of I/O threads can be increased at the cost of analyzer threads.
The number of I/O threads can be increased at the cost of analyzer threads. This option is available on the Allegro 3000 and above as these devices have a high cpu. Allegro recommends to increase the analyzer threads only on the Allegro 1000 and above if necessary.
TODO...
 
* increase the number of I/O threads: [[#More I/O Threads]]
This setting can be changed at:


=== Analyzer queue ===
=== Analyzer queue ===
404

edits

Navigation menu