Re: MMTests 0.05

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/20/2012 07:37 PM, Mel Gorman wrote:
> On Thu, Sep 20, 2012 at 03:03:56PM +0400, Glauber Costa wrote:
>> On 09/07/2012 04:42 PM, Mel Gorman wrote:
>>> ./run-mmtests.sh test-run-1
>>
>> Mel, would you share with us the command line and config tweaks you had
>> in place to run the memcg tests you presented in the memcg summit?
>>
> 
> Apply the following patch to mmtests 0.05 and then from within the
> mmtests directory do
> 
> ./run-mmtests.sh testrun
> 
> At the very least you should have oprofile installed. Optionally install
> libnuma-devel but the test will cope if it's not available. Automatic package
> installation will be in 0.06 for opensuse at least but other distros can
> be easily supported if I know the names of the equivalent packages.
> 
> The above command will run both with and without profiling. The profiles
> will be in work/log/pft-testrun/fine-profile-timer/base/ and an annotated
> profile will be included in the file. If you have "recode" installed the
> annotated profile will be compressed and can be extracted with something like
> 
> grep -A 9999999 "=== annotate ===" oprofile-compressed.report | grep -v annotate | recode /b64..char | gunzip -c
> 
> Each of the memcg functions will be small but when all the functions that
> are in mm/memcontrol.c are added together it becomes a big problem.  What I
> actually showed at the meeting was based on piping the oprofile report
> through another quick and dirty script to match functions to filenames.
> 
> The bulk of this patch is renaming  profile-disabled-hooks-a.sh to
> profile-hooks-a.sh. Let me know if you run into problems.

FYI: I get this:

Can't locate TLBC/Report.pm in @INC (@INC contains:
/home/glauber/mmtests-0.05-mmtests-0.01/vmr/bin /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/home/glauber/mmtests-0.05-mmtests-0.01/vmr/bin/oprofile_map_events.pl
line 11.

Investigating, it seems that hugetlbfs packages in fedora doesn't
install any perl scripts, unlike SuSE.

I downloaded the library manually, and pointed perl path to it, and it
seems to work.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]