All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney.cavm@gmail.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Joshua Kinard <kumba@gentoo.org>,
	Ralf Baechle <ralf@linux-mips.org>,
	linux-mips@linux-mips.org
Subject: Re: THP broken on OCTEON?
Date: Tue, 24 May 2016 15:39:31 -0700	[thread overview]
Message-ID: <5744D823.2060001@gmail.com> (raw)
In-Reply-To: <20160524212139.GC1253@raspberrypi.musicnaut.iki.fi>

On 05/24/2016 02:21 PM, Aaro Koskinen wrote:
> Hi,
>
> On Mon, May 23, 2016 at 03:40:36PM -0400, Joshua Kinard wrote:
>> Might try some of those combinations and see if things improve on the Octeon?
>> IP27 was equally affected by this, minus the bits about RAM and Impact Gfx.
>> turning off THP, IP30 can run 64KB PAGE_SIZE without issue (compiles of
>> packages is actually sped up quite significantly under >4KB PAGE_SIZE).
>
> I think with 64KB page size, huge pages (512MB) are never allocated
> unless you have insane amounts of memory?

Yes, you need a lot of memory, but more importantly the replacement of 
pages with a THP cannot happen unless there are 512MB aligned chunks of 
VMAs, and that is rare.

> I tried today some builds
> with 64KB pages on 4GB system and it was stable, but also AnonHugePages
> stayed constantly at zero. But with 4KB pages it is frequently changing,
> and crashes in minutes.
>
> A.
>
>
>

  reply	other threads:[~2016-05-24 22:39 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-23 15:13 THP broken on OCTEON? Aaro Koskinen
2016-05-23 15:20 ` Ralf Baechle
2016-05-23 16:21   ` David Daney
2016-05-23 18:52     ` Aaro Koskinen
2016-05-23 19:03       ` David Daney
2016-05-23 19:03         ` David Daney
2016-05-23 19:08       ` Joshua Kinard
2016-05-23 20:02         ` Alastair Bridgewater
2016-05-23 18:57   ` Joshua Kinard
2016-05-23 19:22     ` Ralf Baechle
2016-05-23 19:40       ` Joshua Kinard
2016-05-23 20:01         ` Ralf Baechle
2016-05-24 21:21         ` Aaro Koskinen
2016-05-24 22:39           ` David Daney [this message]
2016-05-25 13:41 ` Aaro Koskinen
2016-05-26  9:33   ` Joshua Kinard
2016-05-26 13:36     ` Aaro Koskinen
2016-05-26 17:59   ` David Daney
2016-05-26 19:23     ` Aaro Koskinen
2016-05-26 22:13       ` David Daney
2016-05-27 17:14         ` Aaro Koskinen
2016-05-27 21:03           ` Joshua Kinard
2016-05-27 22:05             ` Aaro Koskinen
2016-05-27 22:22               ` Joshua Kinard
2016-06-22 22:05 ` David Daney
2016-06-23 12:08   ` Aaro Koskinen
2016-06-23 12:08     ` Aaro Koskinen
2016-06-24 11:38     ` Joshua Kinard

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=5744D823.2060001@gmail.com \
    --to=ddaney.cavm@gmail.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=kumba@gentoo.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /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.