Re:Two frequently used system calls are ~77% slower on AWS EC2
by a_t48 on Tuesday March 07, 2017 @03:23PM
(#13814421)
Nitpick - `77 percent faster` is not the inverse of `77 percent slower`. The line that says `The results of this microbenchmark show that the vDSO method is about 77% faster` should read `446% faster`.
[ Parent
| on HN ]
Re:Two frequently used system calls are ~77% slower on AWS EC2
by woolly on Tuesday March 07, 2017 @06:00PM
(#13816001)
Should that not be 346% faster? If A takes 1 second and B takes two seconds, then B is 100% faster than A. So the calculation would be (B/A - 1) * 100. Applying this here gives around 346%.
EDIT: B would, of course, take 100% longer than A, rather than be 100% faster.
Re:Two frequently used system calls are ~77% slower on AWS EC2
by mulmen on Tuesday March 07, 2017 @07:18PM
(#13816633)
How can something that takes twice as long be faster?
Re:Two frequently used system calls are ~77% slower on AWS EC2
by woolly on Tuesday March 07, 2017 @07:30PM
(#13816700)
You're right, of course: hadn't had the morning coffee. It should have been 'takes 100% longer' in the 1 second/2 seconds example. The point I was trying to make is that you have to factor in the initial 100% which doesn't contribute to the final value.