Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
xxs
3y ago
0 comments
Share
If you want to minimize latency - you got for busy waiting. It's a common thing for HFT
0 comments
default
newest
oldest
yvdriess
3y ago
Not just while(true) busy wait, running the hot path continuously and keeping the 'actually send packet' flag unset. Gotta keep them caches hot.
Or, busy wait in a hardware state using MONITOR / MWAIT
hot_gril
3y ago
My memory is hazy, but I remember busy-waiting being a common theme in that code. There was no sleep. I didn't sleep either.
j
/
k
navigate · click thread line to collapse