OPNsense Forum

English Forums => Hardware and Performance => Topic started by: 0x9060 on August 29, 2021, 02:40:46 AM

Title: Performance Benchmarking Tools
Post by: 0x9060 on August 29, 2021, 02:40:46 AM
What are the CLI utilities to benchmark the following hardware performance? CPU, various interface throughput, and anything else thing might be relevant for network performance (memory?).

How do I install the utilities? Are they a part of some OPNsense package that will provide the necessary bin?

What are the standard commands (ideally, one-liner) to run a test with each of the relevant benchmark utilities?

Thanks!
Title: Re: Performance Benchmarking Tools
Post by: bartjsmit on August 29, 2021, 10:02:13 AM
OPNsense has these out of the box:

CPU: top
Network: netstat -s

Memory is a bit trickier, but there's a script that will give you stats: https://blog.danielisz.org/2016/01/17/check-free-memory-in-freebsd/

Bart...