A sweeper thread is probably needed that, once/second, consolidates the local (per cpu) counters onto the one global one that is seen in /proc.
That way slow moving counters don't become too inaccurate.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds