From: Dave Gordon <david.s.gordon@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>,
"Gore, Tim" <tim.gore@intel.com>,
"Morton, Derek J" <derek.j.morton@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>,
"Wood, Thomas" <thomas.wood@intel.com>
Subject: Re: [PATCH i-g-t] tests/gem_render_linear_blits: Increase min swap required
Date: Wed, 29 Jul 2015 16:14:55 +0100 [thread overview]
Message-ID: <55B8EDEF.9090109@intel.com> (raw)
In-Reply-To: <20150729131543.GP16528@nuc-i3427.alporthouse.com>
On 29/07/15 14:15, Chris Wilson wrote:
> On Wed, Jul 29, 2015 at 01:10:23PM +0000, Gore, Tim wrote:
>> I don’t see how this implies a kernel bug. It seems like a test problem (my
>> subtest as it happens). I was unaware of Android systems with small swap
>> partitions (or indeed any swap at all). Not sure I can understand the logic of
>> such a tiny swap partition but given the situation, unless we can accurately
>> characterise the memory usage of the test in advance then we have to
>> either skip the test for small swap, or try to monitor memory usage in an
>> ongoing way during the test.
>
> If the system has enough resources to run the test (that is enough
> physical to run an individual batch plus enough swap to hold the rest),
> then the test must not oom.
> -Chris
The test is deliberately attempting to use enough memory to force some
stuff out to swap, while not hitting a total OOM. That can be a very
narrow window when the swapspace is small; and the test just guesses in
advance how much will do the trick rather than gradually increasing its
demands until it detects that stuff is being swapped.
So not a kernel bug, but something of a failure in the implementation of
the test. Is there an interface it could use to /detect and measure/
when stuff is swapped out?
.Dave.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2015-07-29 15:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-29 8:30 [PATCH i-g-t] tests/gem_render_linear_blits: Increase min swap required Derek Morton
2015-07-29 8:53 ` Chris Wilson
2015-07-29 9:52 ` Morton, Derek J
2015-07-29 9:56 ` Chris Wilson
2015-07-29 13:10 ` Gore, Tim
2015-07-29 13:15 ` Chris Wilson
2015-07-29 14:38 ` Gore, Tim
2015-07-29 15:14 ` Dave Gordon [this message]
2015-07-29 15:20 ` Chris Wilson
2015-07-29 15:34 ` Gore, Tim
2015-07-29 15:47 ` Morton, Derek J
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=55B8EDEF.9090109@intel.com \
--to=david.s.gordon@intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=derek.j.morton@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=thomas.wood@intel.com \
--cc=tim.gore@intel.com \
/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 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.