Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-07-2010, 06:00 AM   #1
LQ Newbie
Registered: Apr 2010
Posts: 4

Rep: Reputation: 0
Testing the efficiency of the memory system part of linux

I have applied a patch in linux kernel version-2.6.31(fedora core 12)source code.
Now I want to check whether the performance of the memory management part has been enhanced. So how to test the efficiency of this new modified code?
Plz help me out!!!!
Old 05-07-2010, 06:48 AM   #2
Registered: May 2010
Location: India
Distribution: Ubuntu 7.04/8.04/8.10/10.04, RHEL 6, OpenSUSE,Mandriva,Fedora, CentOS, XandrOS, Slackware, OpenSolar
Posts: 155

Rep: Reputation: 55
I would recommend you to start with these tools:

vmstat => Monitor virtual memory
free Display amount of free and used memory in the system.

pmap => Display/examine memory map and libraries (so).
Usage: pmap pid

top Show top processes

sar -B Show statistics on page swapping.

time -v date Show system page size, page faults, etc of a process during execution.
Note you must fully qualify the command as "/usr/bin/time" to avoid using the bash shell command "time".

cat /proc/sys/vm/freepages Display virtual memory "free pages".

One may increase/decrease this limit: echo 300 400 500 > /proc/sys/vm/freepages

cat /proc/meminfo Show memory size and usage.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best WM for efficiency when learning the *NIX like system texasone Linux - Desktop 5 06-20-2009 05:52 PM
LXer: This week at LWN: Memory part 7: Memory performance tools LXer Syndicated Linux News 0 11-22-2007 09:51 AM
LXer: This week at LWN: Memory part 3: Virtual Memory LXer Syndicated Linux News 0 10-20-2007 02:40 PM
Linux Hardware Testing System canicaat Linux - Software 1 06-27-2006 01:22 AM
Memory Efficiency daveofnf Linux - Software 2 07-05-2003 04:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration