Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Apache MPM performance
- Date: Tue, 11 Mar 2008 15:23:30 +0900
- From: "Nguyen Vu Hung" <vuhung16plus+shape@example.com>
- Subject: Re: [tlug] Apache MPM performance
- References: <78d7dd350803092025h719d91bpd7295fe8e7151b1b@mail.gmail.com> <47D524F7.4020404@runbox.com> <d8fcc0800803101715x963d67fs3cd34219e56e24e0@mail.gmail.com> <78d7dd350803102100r1f8d5d51xed675f2b605e4b7c@mail.gmail.com> <d8fcc0800803102250n4a5621dcq20c3adb2164e3eee@mail.gmail.com>
2008/3/11, Josh Glover <jmglov@example.com>: > On 11/03/2008, Nguyen Vu Hung <vuhung16plus+shape@example.com> wrote: > What is the difference between valgrind massif and regular old valgrind? By default, valgrind runs memchek and it is equivalent to valgrind --tool=memcheck which will check memory leak. if we run valgrind --tool=massif[1] it will profile the heap usage of the program to be run. I use massif as a "unit test" checking how much, and how long the memory is used. But when we do an "intergration test", we have to another method. > > valgrind and vmstat are really for two different things; the former is > for optimising and debugging your code, the latter for watching the > effect of your code plus the full environment around it (i.e. Linux > kernel + Apache + mod_perl + your code). Actually, valgrind is not for debugging but profiling and optimization. My code uses C/C++ and PHP, and I can massif it by running valgrind --tool=massif /path/to/file.php from command line. > > Solaris *must* have a tool like vmstat, as all vmstat does is > aggregate data available through the /proc filesystem, which Solaris > and all good Unices support. Anyone know what it is called and how to > use it? It is vmstat same as Linux vmstat. [1] http://valgrind.org/docs/manual/ms-manual.html -- Best Regards, Nguyen Hung Vu ( Nguyễn Vũ Hưng ) vuhung16plus{remove}@example.com An inquisitive look at Harajuku http://www.flickr.com/photos/vuhung/sets/72157600109218238/
- Follow-Ups:
- Re: [tlug] Apache MPM performance
- From: Josh Glover
- References:
- [tlug] Apache MPM performance
- From: Nguyen Vu Hung
- Re: [tlug] Apache MPM performance
- From: Sigurd Urdahl
- Re: [tlug] Apache MPM performance
- From: Josh Glover
- Re: [tlug] Apache MPM performance
- From: Nguyen Vu Hung
- Re: [tlug] Apache MPM performance
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Apache MPM performance
- Next by Date: Re: [tlug] Expect: looping until there is no more input from spawn
- Previous by thread: Re: [tlug] Apache MPM performance
- Next by thread: Re: [tlug] Apache MPM performance
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links