SmartNIC Performance Monitoring

Running Open-Source Libraries and Applications with Napatech SmartNICs

Platform
Napatech SmartNIC
Content Type
Application Note
Capture Software Version
Link™ Capture Software 12.11

Monitor performance of Napatech SmartNICs and applications using Napatech tools.

About this task

This procedure describes how to monitor performance of Napatech SmartNICs and applications using the monitoring and profiling tools distributed with Napatech packages. See DN-0449 for more detailed information about these tools.

Procedure

  1. Start the monitoring tool to view port status including RX/TX throughput and RMON1 counters. Use the T or t keys to view TX RMON1 counters.
    /opt/napatech/bin/monitoring
    An output example:
    *───────────────────── monitoring (v. 3.25.2.13-0ebb373f) ─────────────────────┐
    │  P  A        Type       Link    Down          Rx          Tx  Max  Temp.     │
    │  0  4  QSFP28-SR4  100G Full       0   48000.29M   47987.49M  9018 50.20 C   │
    │  1  0  QSFP28-SR4  100G Full       0   48000.24M   47987.51M  9018 54.30 C   │
    │                                                                              │
    └──────────────────────────────────────────────────────────────────────────────┘
     Port  0 - Adapter 0 Intf 0: NT200A02_2X100G
    ┌──────────────────────────────────────────────────────────────────────────────┐
    │                                RX RMON1 counters                      Totals │
    │ Packets         : #000000046838449099  Octets          : #000012507154388476 │
    │ Broadcast       : #000000007928043592  Multicast       : #000000020163186634 │
    │ 64 octets       : #000000000000227031  65-127 octets   : #000000019049383587 │
    │ 128-255 octets  : #000000022705856784  256-511 octets  : #000000000511036345 │
    │ 512-1023 octets : #000000000177552007  1024-1518 octets: #000000004389294380 │
    │ Undersize       : #000000000000000000  Oversize        : #000000000000000000 │
    │ Fragments       : #000000000000000000  Collisions      : #000000000000000000 │
    │ Drop events     : #000000000000000000  Crc/Align errors: #000000000000000000 │
    │ Jabbers         : #000000000000000000  Ext drops       : #000000002028679160 │
    └──────────────────────────────────────────────────────────────────────────────┘
     Reset Tx/Rx 0RMON 1ExtRMON 2Checksum 3Decode 4Drop 5IPF Dec/Hex Tot/Spd
     Quit  Sensors Color stat XTimeSync IEEE 1588 PTP EStream LFlowstat FDump
    
  2. Run the profiling tool to monitor the host buffer status.
    /opt/napatech/bin/profiling
    An output example:
    *───────────────────── profiling (v. 3.25.2.13-0ebb373f) ──────────────────────┐
    │ Hb# A:Feed N Type      Pkt data           Pkts      Drop pkts  Buf%   #   ID │
    │   0 0:000  0 RX      14317625F8       1D5F377D              0   0.0   1   0 ♦│
    │   1 0:001  0 RX       B147D80AA       10C8B1FE              0   0.0   1   1 ▒│
    │   2 0:002  0 RX       38A558B28        86458FE              0   0.0   1   2 ▒│
    │   3 0:003  0 RX       4E267CD00        8645900              0   0.0   1   3 ▒│
    │   4 0:004  0 RX      1B0730A2DC       2E27E97D              0   0.0   1   4 ▒│
    │   5 0:005  0 RX               0              0              0   0.0   1   5 ▒│
    │   6 0:006  0 RX      1789719BAA       29F5BCFC              0   0.0   1   6 ▒│
    │   7 0:007  0 RX               0              0              0   0.0   1   7 ▒│
    │   8 0:008  0 RX      143175D1EA       1D5F3703              0   0.0   1 128 ▒│
    │   9 0:009  0 RX       B147D53CE       10C8B1BA              0   0.0   1 129 ▒│
    │  10 0:010  0 RX       38A557D46        86458DD              0   0.0   1 130 ▒│
    │  11 0:011  0 RX       4E267B80C        86458DC              0   0.0   1 131 ▒│
    │  12 0:012  0 RX      1B073030D4       2E27E8BB              0   0.0   1 132 ▒│
    │  13 0:013  0 RX               0              0              0   0.0   1 133 ▒│
    │  14 0:014  0 RX      17897139D8       29F5BC4E              0   0.0   1 134 ▒│
    │  15 0:015  0 RX               0              0              0   0.0   1 135 ▒│
    │  16 0:016  0 RX               0              0              0   0.0   0   - ▒│
    │  17 0:017  0 RX               0              0              0   0.0   0   - ▒│
    │  18 0:018  0 RX               0              0              0   0.0   0   - ▒│
    │  19 0:019  0 RX               0              0              0   0.0   0   - ▒│
    │  20 0:020  0 RX               0              0              0   0.0   0   - ▒│
    └──────────────────────────────────────────────────────────────────────────────┘
     Quit Host Buffers Streams StreamIds Reset DecHex Tot/Spd FDump
    Counters including received packets and dropped packets are displayed. The buffering level of onboard-memory is also shown in the output.