Skip to content

Commit

Permalink
Update intel_mp README with diagram & methods
Browse files Browse the repository at this point in the history
  • Loading branch information
takikawa authored and wingo committed Sep 18, 2017
1 parent b9a04a0 commit ac2e60c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/apps/intel_mp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,37 @@ be attached to separate instances of the app on different processes.

The links are named `input` and `output`.

DIAGRAM: Intel
+-------+
| |
input ---->* Intel *----> output
| |
+-------+

## Caveats

If attaching multiple processes to a single NIC, performance appears
better with `engine.busywait = false`.

The `intel_mp.Intel` app can drive an Intel 82599 NIC at 14 million pps.

— Method **Intel:get_rxstats**

Returns a table with the following keys:

* `counter_id` - Counter id
* `packets` - Number of packets received
* `dropped` - Number of packets dropped
* `bytes` - Total bytes received

— Method **Intel:get_txstats**

Returns a table with the following keys:

* `counter_id` - Counter id
* `packets` - Number of packets sent
* `bytes` - Total bytes sent

## Configuration

— Key **pciaddr**
Expand Down

0 comments on commit ac2e60c

Please sign in to comment.