Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
xxs
3y ago
0 comments
Save
Share
If you want to minimize latency - you got for busy waiting. It's a common thing for HFT
0 comments
2 comments · 2 top-level
top
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