All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] memcg_stress on swap off system.
       [not found] ` <1992281802.879695.1486602784905@mail.yahoo.com>
@ 2017-03-03  1:26   ` Hoang Nguyen
  2017-03-03  9:41     ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: Hoang Nguyen @ 2017-03-03  1:26 UTC (permalink / raw)
  To: ltp

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LTP] memcg_stress on swap off system.
  2017-03-03  1:26   ` [LTP] memcg_stress on swap off system Hoang Nguyen
@ 2017-03-03  9:41     ` Cyril Hrubis
  2017-03-05  4:03       ` Hoang Nguyen
  0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2017-03-03  9:41 UTC (permalink / raw)
  To: ltp

Hi!
The test does not work on swapless system, there was a discussion about
this some time ago:

http://lists.linux.it/pipermail/ltp/2015-November/000470.html

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LTP] memcg_stress on swap off system.
  2017-03-03  9:41     ` Cyril Hrubis
@ 2017-03-05  4:03       ` Hoang Nguyen
  0 siblings, 0 replies; 3+ messages in thread
From: Hoang Nguyen @ 2017-03-05  4:03 UTC (permalink / raw)
  To: ltp

Hi Cyril,
Thanks a lot for your information.
Best regards.
Hoang

      From: Cyril Hrubis <chrubis@suse.cz>
 To: Hoang Nguyen <the_hoang0709@yahoo.com> 
Cc: LTP List <ltp@lists.linux.it>
 Sent: Friday, 3 March 2017, 16:41
 Subject: Re: [LTP] memcg_stress on swap off system.
   
Hi!
The test does not work on swapless system, there was a discussion about
this some time ago:

http://lists.linux.it/pipermail/ltp/2015-November/000470.html

-- 
Cyril Hrubis
chrubis@suse.cz


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-05  4:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1992281802.879695.1486602784905.ref@mail.yahoo.com>
     [not found] ` <1992281802.879695.1486602784905@mail.yahoo.com>
2017-03-03  1:26   ` [LTP] memcg_stress on swap off system Hoang Nguyen
2017-03-03  9:41     ` Cyril Hrubis
2017-03-05  4:03       ` Hoang Nguyen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.