Mmstat #23

wants to merge 5 commits into from

4 participants


add some metrics for memory statistic. current heap memory usage, current hashtable size and connection buffer usage.

@soarpenguin soarpenguin fix __GNUC_MINOR__ >= 6 to 2
it's may be error or just design in __GNUC__ && __GNUC_MINOR__ judgment for 
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#pragma GCC diagnostic pop
Twitter, Inc. member

For the diagnostic pop to have only local effect requires version GCC 4.6 or higher, in GCC 4.2 it affects the entire file.



add a tool that will monitar a memory usage.


we should have to maintain the free memory area for each slab this will defenately reduced the slab calcification problem.


See twctop in scripts folder


@manjuraj sir ,

I have red most of the information about the project and it's code . now I am trying to create a small module for "creating a memory slab " . next what should I do ? 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment