Score:2

How to check CPU utilization of Linux kernel networking?

pr flag

I implemented a "bridge" on my home network where I've got

ISP <--1Gb Internet--> Router <--1GbE--> Linux Workstation <--40GbE DAC/Fiber--> Windows PC

by following this guide: https://medium.com/@TarunChinmai/sharing-internet-connection-from-a-linux-machine-over-ethernet-a5cbbd775a4f

To my surprise, this seems to be working great and I can get nominal internet performance via speed tests on the PC, while allowing internet to still work properly on the workstation machine.

I was trying to see what the routing load is on the workstation machine, but I've got a pretty modern CPU in there and I cannot see a blip at all in sudo top, sudo htop, sudo btop, I even tried sudo perf top when pushing an internet based network load.

This is all purely to satisfy my curiosity. Are there other tools I can use to check? I kind of feel like kernel cpu time is not a metric these tools are providing me with. But maybe it could be possible that there's just next to no processing load and it's not enough to become visible, and in this absence of a performance problem I should stop investigating.

jp flag
https://people.kernel.org/dsahern/the-cpu-cost-of-networking-on-a-host
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.