Reply to post: Re: TL;DR get your filty paws offa my high accuracy timers

Thought you'd addressed those data-leaking Spectre holes on Linux? Guess again. The patches aren't perfect

sed gawk Silver badge

Re: TL;DR get your filty paws offa my high accuracy timers

Profilers for one, accurate timing quite useful there.

The basic attacks work on the principle of measuring latency of access to cache lines, it's not really about the precision of the timer.

Side note, crap timers can be made more accurate, with more iterations.

As an example, I dont have a <30ns timer on this machine, and other stuff is happening, like me waffling on elreg, so if I run my loop, a eleventy-billion times, averaging out the measurements, I will coverage on a very precise measurement.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2020