Mmstat #23

Open
wants to merge 5 commits into from

4 participants

@soarpenguin

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
ec532a1
@thinkingfish
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.

Reference: http://dbp-consulting.com/tutorials/SuppressingGCCWarnings.html

@abhilashshingane

add a tool that will monitar a memory usage.

@abhilashshingane

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

@manjuraj

See twctop in scripts folder

@abhilashshingane

@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