Machine-translated by Google. Questions are authored in English.
Top

Discussion

Comparing a kernel's advertised latency figures with what an application will see, the application's figure is usually

  • A.unrelated, latency being a property of the hardware alone
  • B.worse, because of critical sections in the application itself
  • C.better, the kernel figures being pessimistic purely by convention
  • D.identical, the kernel figures being measured in situ

Answer: B

Correct answer: worse, because of critical sections in the application itself

A kernel quotes the latency of its own paths, measured with nothing else disabling interrupts. In a real application the drivers and the application code have critical sections of their own, and the worst case is the longest of them added to the kernel’s figure. The published number is a floor, not a prediction.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.