Re:Keyboard latency
by snvzz on Tuesday October 17, 2017 @01:26AM
(#15488864)
Likely forking sleep takes time.
[ Parent
| on HN ]
Re:Keyboard latency
by yjftsjthsd-h on Tuesday October 17, 2017 @07:49AM
(#15490173)
I would be extremely surprised if fork on a unix-like takes 1ms.
Re:Keyboard latency
by yjftsjthsd-h on Wednesday October 18, 2017 @07:48PM
(#15504295)
Both of those appear to indicate that forking is expensive when you need to copy unusually large amounts of memory (which makes sense). In this context, I would expect reasonable/small memory use and so fast forking.
From lmbench, http://www.bitmover.com/lmbench/lat_proc.8.html
Try it out.