From: Zhouping Liu <zliu@redhat.com>
To: gaowanlong@cn.fujitsu.com
Cc: LTP List <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] [PATCH v2 1/3] mm/thp: new case thp04.c
Date: Mon, 15 Apr 2013 11:50:41 +0800 [thread overview]
Message-ID: <516B7911.7040403@redhat.com> (raw)
In-Reply-To: <516B7420.5010002@cn.fujitsu.com>
On 04/15/2013 11:29 AM, Wanlong Gao wrote:
> On 04/15/2013 11:13 AM, Zhouping Liu wrote:
>> depending on your system's memory info:
>>
>> free reports:
>> total used free shared buffers cached
>> Mem: 8025000 7563668 461332 0 730920 4891316
>> -/+ buffers/cache: 1941432 6083568
>> Swap: 4194300 16212 4178088
>>
>> your system has 8Gb RAM and there's 460Mb memory left when you start to test thp04 serial cases.
>> I guess the cases failed because of the low memory.
>>
>> can you re-test them on the system with enough memory? and provide the value of /proc/sys/vm/min_free_kbytes,
>> I think 1Gb memory left is enough to test the new THP case.
>>
>> also I'm very confused why the above case didn't get any THPs, maybe there's some performance issues...
> Yes, that's passed after my reboot.
Thanks again for your tests :)
the case needs most memory is 'thp0[4|5]_3 -n 1 -N 300', which require
300 huge pages(600Mb memory) at least,
also there's some memory limitation, such as
/proc/sys/vm/min_free_kbytes, so I think 1Gb free memory is enough
to test the serial cases, it's better to give some kind comments when
memory is low, what I can think of is to print out
the MemFree when starting to test:
e.g:
memfree= read_meminfo("MemFree:");
tst_resm(TINFO, "The system has %ld memory left before starting", memfree);
if (memfree < 1G)
tst_resm(TINFO, "The system has low memory, which will cause the
case fail");
I'll send v3 to include it.
Thanks,
Zhouping
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2013-04-15 3:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 9:10 [LTP] [PATCH v2 0/3] mm/thp: add two new case Zhouping Liu
2013-04-08 9:10 ` [LTP] [PATCH v2 1/3] mm/thp: new case thp04.c Zhouping Liu
2013-04-15 1:07 ` Wanlong Gao
2013-04-15 3:13 ` Zhouping Liu
2013-04-15 3:29 ` Wanlong Gao
2013-04-15 3:50 ` Zhouping Liu [this message]
2013-04-08 9:10 ` [LTP] [PATCH v2 2/3] lib/mem: introduce a new function set_global_mempolicy() Zhouping Liu
2013-04-08 9:10 ` [LTP] [PATCH v2 3/3] mm/thp: add new case thp05 Zhouping Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=516B7911.7040403@redhat.com \
--to=zliu@redhat.com \
--cc=gaowanlong@cn.fujitsu.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox