# How to test dpdk feature

**URL:** https://forum.suricata.io/t/how-to-test-dpdk-feature/2934
**Category:** Developers
**Tags:** suricata, dpdk
**Created:** [November 3, 2022, 10:11am UTC](https://forum.suricata.io/t/how-to-test-dpdk-feature/2934 "2022-11-03T10:11:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Eason\_Pan](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/eason_pan/32/1694_2.png) [@Eason\_Pan](https://forum.suricata.io/u/Eason_Pan)
#### Post date: [November 3, 2022, 10:11am UTC](https://forum.suricata.io/t/how-to-test-dpdk-feature/2934/1 "2022-11-03T10:11:40Z")

</div>

Greetings,  
currently i enable dpdk feature on suricata 7.0 in my project, is there any dpdk performance testcase in suricata project ?

---

<div class="post-metadata">

### Author: ![Andreas\_Herz](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/andreas_herz/32/52_2.png) [@Andreas\_Herz](https://forum.suricata.io/u/Andreas_Herz)
#### Post date: [November 9, 2022, 7:06am UTC](https://forum.suricata.io/t/how-to-test-dpdk-feature/2934/2 "2022-11-09T07:06:36Z")

</div>

Many folks use a traffic generator to test performance, so for example T-Rex is one option to test it.

---

<div class="post-metadata">

### Author: ![Eason\_Pan](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/eason_pan/32/1694_2.png) [@Eason\_Pan](https://forum.suricata.io/u/Eason_Pan)
#### Post date: [December 2, 2022, 5:07am UTC](https://forum.suricata.io/t/how-to-test-dpdk-feature/2934/3 "2022-12-02T05:07:43Z")

</div>

thanks for your reply, i tried t-rex and dperf, all works.  
currently there is another problem , the suricata has a large drop rate

---

<div class="post-metadata">

### Author: ![lukashino](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/lukashino/32/1150_2.png) [@lukashino](https://forum.suricata.io/u/lukashino)
#### Post date: [December 2, 2022, 12:48pm UTC](https://forum.suricata.io/t/how-to-test-dpdk-feature/2934/4 "2022-12-02T12:48:00Z")

</div>

Can you be more specific? What is your hardware and software (config) setup, what is the traffic, what are your outputs (maybe even compared to AF-Packet)?

One of the usual mistakes is that people do not set CPU affinity. Have you done it? Then you may try to increase also DPDK properties as mempool size and similar.

---

<div class="post-metadata">

### Author: ![Eason\_Pan](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/eason_pan/32/1694_2.png) [@Eason\_Pan](https://forum.suricata.io/u/Eason_Pan)
#### Post date: [December 7, 2022, 10:32am UTC](https://forum.suricata.io/t/how-to-test-dpdk-feature/2934/5 "2022-12-07T10:32:53Z")

</div>

i list the information here

> [@Dpdk performance](https://forum.suricata.io/t/dpdk-performance/3020/6):
>
> i tried to increase the mempool size， but looks no usefull mempool-size: 262143 mempool-cache-size: 511 rx-descriptors: 10240 tx-descriptors: 10240
