The Configurable
Number of Simultaneous Packets per Flow feature allows you to increase the
number of simultaneous packets per flow that can enter a network. You can
increase the number of simultaneous packets per flow from 25 to 100. The default
is 25 simultaneous packets.
In multithreaded
environments, the zone-based policy firewall may simultaneously receive
multiple packets for a single traffic flow. During packet processing, the
firewall uses two types of locks: flow lock and software lock. The flow lock
ensures that packets that belong to the same flow are processed in the correct
order. Normal software locks are used when multiple power processing element
(PPE) threads try to read or write critical sections or common data structure
(for example, memory).
If the number of
simultaneous packets per flow is too large, the time taken by a thread to
request and acquire a lock may be too long. This latency adversely affects
time-critical infrastructure such as resource reuse and heat-beat processing. To control latency, the number of simultaneous
packets was
restricted to 25, and packets that exceeded 25 were dropped.
However, the
dropping of packets drastically impacts system performance of a system. To
minimize packet dropping, the Configurable Number of Simultaneous Packets per
Flow feature was introduced. You can configure the number of simultaneous
packets per flow from 25 to 100.
To change the number of simultaneous packets per flow, you must
configure either the
parameter-map type inspect
parameter-map-name command or the
parameter-map type inspect
global command, followed by the
session packet command. The limit configured
under
the parameter-map type inspect
parameter-map-name command takes precedence over
the limit configured under the
parameter-map type inspect
global
command.
The firewall
considers Session Initiation Protocol (SIP) trunk traffic as a single session.
However, the SIP trunk traffic contains a large number of application-layer
gateway (ALG) flows of different users. When the throughput of the SIP trunk
traffic is high compared to other traffic, the simultaneous packet limit causes
packets to drop and users may experience call drops.