# CPU usage difference between workers mode and autofp

**URL:** <https://forum.suricata.io/t/cpu-usage-difference-between-workers-mode-and-autofp/1508>\
**Category:** Help\
**Created:** [July 9, 2021, 2:35pm UTC](https://forum.suricata.io/t/cpu-usage-difference-between-workers-mode-and-autofp/1508 "2021-07-09T14:35:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nuno\_Santos](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@Nuno\_Santos](https://forum.suricata.io/u/Nuno_Santos)\
**Post date:** [July 9, 2021, 2:35pm UTC](https://forum.suricata.io/t/cpu-usage-difference-between-workers-mode-and-autofp/1508/1 "2021-07-09T14:35:15Z")

</div>

I am having a hard time to understand the differences in CPU usages in workers mode and autofp mode.

Running Suricata in autofp mode CPU usage goes around 95%. Workers mode gives me around 4% CPU usage.

Why there is such a substancial difference?

---

<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:** [July 9, 2021, 3:35pm UTC](https://forum.suricata.io/t/cpu-usage-difference-between-workers-mode-and-autofp/1508/2 "2021-07-09T15:35:21Z")

</div>

The short answer is, that workers mode is optimized for higher performance.

See [9.1. Runmodes — Suricata 6.0.3 documentation](https://suricata.readthedocs.io/en/suricata-6.0.3/performance/runmodes.html)

So unless you have very good reasons to use autofp, go with workers
