Quantcast
Channel: Sniffer10G
Viewing all articles
Browse latest Browse all 99

What is the maximum number of rings supported by Sniffer10G?

$
0
0

The maximum number of rings (SNF_NUM_RINGS) supported by Sniffer10G is 32 per adapter port.

By default, SNF_NUM_RINGS = 1.

As for the maximum amount of memory that can be configured as a ring or for all rings, we allow a maximum of 80% of physical memory to be pinned.

Note from the Sniffer10G API documentation:

SNF_DATARING_SIZE represents the total amount of memory to be used to store incoming packet data for *all* rings to be opened. If the value is set to 0 or less than 0, the library tries to choose a sensible default unless SNF_DATARING_SIZE is set in the environment. The value can be specified in megabytes (if it is less than 1048576) or is otherwise considered to be in bytes. In either case, the library may slightly adjust the user's request to satisfy alignment requirements (typically 2MB boundaries).

By default, SNF_DATARING_SIZE = 256MB, and SNF_DESCRING_SIZE = 64MB.

Also read:


Viewing all articles
Browse latest Browse all 99

Trending Articles