public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Hoang Nguyen <the_hoang0709@yahoo.com>
To: ltp@lists.linux.it
Subject: [LTP] memcg_stress on swap off system.
Date: Fri, 3 Mar 2017 01:26:00 +0000 (UTC)	[thread overview]
Message-ID: <1326520780.892477.1488504360084@mail.yahoo.com> (raw)
In-Reply-To: <1992281802.879695.1486602784905@mail.yahoo.com>

Hi, 
On the ocassion of my last patch of panic_on_oom, ping this also.
Thanks and regards,
Hoang

      From: Hoang Nguyen <the_hoang0709@yahoo.com>
 To: LTP List <ltp@lists.linux.it> 
 Sent: Thursday, 9 February 2017, 8:13
 Subject: [LTP] memcg_stress on swap off system.
   
Hi LTP team,
I have this testcase run on my swap off system, and seem that the OOM restart it
I'm not sure I understand the entirely purpose of the testcase.But it seems the testcases try to allocate all free memory remain on the system,keep it for a while, then the main process send the signal to kill child process
   mem=$(( $mem_free + $swap_free / 2 ))   mem=$(( mem / 1024 ))
In case we have no swap_free, all memory is allocated, and trigger the OOM.I've still concerned which should be correct appoarch on swap-off system ? (set panic_on_oom=0 to avoid restaring Or the testcase shouldcheck if swap_free = 0, then we margin 10% of the final $mem ?)
(actullay pass/fail metric of this testcase is not so clear with me)
Could anyone give me some hints ?
Thanks a lot in advance
Hoang

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20170303/f182a485/attachment.html>

       reply	other threads:[~2017-03-03  1:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1992281802.879695.1486602784905.ref@mail.yahoo.com>
     [not found] ` <1992281802.879695.1486602784905@mail.yahoo.com>
2017-03-03  1:26   ` Hoang Nguyen [this message]
2017-03-03  9:41     ` [LTP] memcg_stress on swap off system Cyril Hrubis
2017-03-05  4:03       ` Hoang Nguyen

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=1326520780.892477.1488504360084@mail.yahoo.com \
    --to=the_hoang0709@yahoo.com \
    --cc=ltp@lists.linux.it \
    /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