More than 2300 wakeup cycles per second
Posted Apr 6, 2012 15:24 UTC (Fri) by
jzbiciak (
✭ supporter ✭, #5246)
In reply to:
More than 2300 wakeup cycles per second by cladisch
Parent article:
OSADL on realtime Linux determinism
Well, all right then. Just before I started typing this reply, I echo'd a 1 into /proc/timer_stats to see what it might turn up. And what do we have here, 2 minutes later?
Oy... plenty! Actually, the interrupt profile seems pretty diffuse. One standout is the gazillion evince processes I have running. I have a horrible habit of opening data sheets / documentation PDFs, and then leaving them open. strace -p <pid of random evince> ... Holy cats! That's a busy-looking poll loop that does.... nothing useful? The inotify file descriptor apparently has plenty to tell evince (about 3.3K worth each poll()), but why? Hmmm.
Curiouser and curiouser. Now I'm off to go down this rabbit hole...
(
Log in to post comments)