Y
Hacker News
new
|
ask
|
show
|
jobs
by
xxs
1370 days ago
If you want to minimize latency - you got for busy waiting. It's a common thing for HFT
2 comments
yvdriess
1370 days 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
link
hot_gril
1369 days 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.
link
Or, busy wait in a hardware state using MONITOR / MWAIT