Skip to content

Resource load #244

Closed Answered by jamwaffles
jbbjarnason asked this question in Q&A
Nov 13, 2024 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

I fired up a test system with Debian 12.8, i3-7100T (similar in performance to the CPU in your system), 4GB of RAM and kernel Linux 6.1.0-27-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux.

On this setup with no tuning, I saw around 35% CPU load in htop which is similar to your result.

Some things to try:

  • Make sure you're using the PREEMPT_RT realtime kernel
  • Use the latency-performance profile with tuned-adm profile latency-performance (apt install tuned-utils for me). This pushed my CPU from 1600MHz to 3400Mhz, YMMV.
  • Disable interrupt coalescing on the NIC with sudo ethtool -C <nic name here> tx-usecs 0 rx-usecs 0
  • Make sure you're running the Rust code with --r…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@jbbjarnason
Comment options

@jamwaffles
Comment options

@jbbjarnason
Comment options

Comment options

You must be logged in to vote
1 reply
@jbbjarnason
Comment options

Answer selected by jbbjarnason
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants