LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Reducing the Schedstat Memory Footprint (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-reducing-the-schedstat-memory-footprint-593374/)

LXer 10-20-2007 08:00 PM

LXer: Reducing the Schedstat Memory Footprint
 
Published at LXer:

Ken Chen submitted a patch to reduce the memory footprint of schedstat in a thread titled, "schedstat needs a diet". He explained, "schedstat is useful in investigating CPU scheduler behavior. Ideally, I think it is beneficial to have it on all the time. However, the cost of turning it on in production system is quite high, largely due to number of events it collects and also due to its large memory footprint." His patch converted numerous unsigned long variables to unsigned int, "most of the fields probably don't need to be [a] full 64-bits on 64-bit [architectures]. Rolling over 4 billion events will most likly take a long time and user space tools can be made to accommodate that."

Read More...


All times are GMT -5. The time now is 04:07 AM.