Skip to content

Commit 9ca77f6

Browse files
committed
Refine analysis of CPU efficiency: clarify impact of infrastructure tax on Quarkus and Spring
1 parent f212e60 commit 9ca77f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • content/post/hidden-cost-rootless-container-networking

content/post/hidden-cost-rootless-container-networking/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ Fedora's `firewalld` maintains 973 https://wiki.nftables.org/[nftables] rules th
9898

9999
Removing pasta boosts Quarkus by 55% but Spring by only 2.3%. **The same absolute overhead hits the efficient framework harder.**
100100

101-
Pasta adds ~0.073 ms of kernel CPU per request (the difference between 0.231 and 0.158 ms/req). For Quarkus, whose framework cost is just 0.158 ms/req, that overhead consumes **46% of its CPU budget**. For Spring, whose framework cost is ~0.300 ms/req, the same overhead is only **~24%**. The more CPU-efficient your framework is, the more you feel the infrastructure tax.
101+
Pasta adds ~0.073 ms of kernel CPU per request (the difference between 0.231 and 0.158 ms/req). For Quarkus, whose framework cost is just 0.158 ms/req, that overhead consumes **46% of its CPU budget**. For Spring, whose framework cost is ~0.300 ms/req, the same overhead is only **~24%**. When your framework already spends most of its CPU on its own code, saving a few cycles on networking barely matters.
102102

103-
In other words, **pasta was masking Quarkus's CPU efficiency advantage** -- the very thing that makes it 2x faster on the perf-lab.
103+
**The more CPU-efficient your framework is, the more you feel the infrastructure tax.**
104104

105105
== The fix
106106

0 commit comments

Comments
 (0)