All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: naveen yadav <yad.naveen@gmail.com>
Cc: kernelnewbies@nl.linux.org,
	linux-arm-kernel@lists.arm.linux.org.uk,
	linux-mips@linux-mips.org
Subject: Re: Change of Default kernel page size i.e 4KB
Date: Wed, 1 Dec 2010 13:24:37 +0000	[thread overview]
Message-ID: <20101201132437.GA32555@linux-mips.org> (raw)
In-Reply-To: <AANLkTi=4gtEC9fZyvc9g6uHecvjPrr0dDc==KsDOvq2Q@mail.gmail.com>

On Wed, Dec 01, 2010 at 01:50:13PM +0530, naveen yadav wrote:

> Cc: kernelnewbies@nl.linux.org,
> 	linux-arm-kernel-request@lists.arm.linux.org.uk,
                        ^^^^^^^^ WTF?
> 	linux-mips@linux-mips.org

> I have few drivers and very big application running on ARM and MIPS target.
> I want to check the performance by changing the page size ie.
> 
> 8K, 16K, 32K etc.
> 
> Is it possile, If yes then what all care i need to take .

For MIPS: Rebuild kernel with support for the new kernel size.  Few MIPS
cores.  Note that the `odd´ page sizes, that those that aren't a power
of 4 are only supported by Cavium while all MIPS III and newer processors
support even `even´ sizes 4KB, 16KB and 64KB.

Aside of rebuilding the kernel you also need a suitable userland; older
versions of binutils will produce binaries that only run
for 4kB page sizes.

For ARM the page size is fixed at 4kB which will simplify your benchmarking
efforts ;)

Performance gains very much depends on the workload but in general larger
sizes are beneficial except maybe for systems with very little memory.

  Ralf

WARNING: multiple messages have this Message-ID (diff)
From: ralf@linux-mips.org (Ralf Baechle)
To: linux-arm-kernel@lists.infradead.org
Subject: Change of Default kernel page size i.e 4KB
Date: Wed, 1 Dec 2010 13:24:37 +0000	[thread overview]
Message-ID: <20101201132437.GA32555@linux-mips.org> (raw)
In-Reply-To: <AANLkTi=4gtEC9fZyvc9g6uHecvjPrr0dDc==KsDOvq2Q@mail.gmail.com>

On Wed, Dec 01, 2010 at 01:50:13PM +0530, naveen yadav wrote:

> Cc: kernelnewbies at nl.linux.org,
> 	linux-arm-kernel-request at lists.arm.linux.org.uk,
                        ^^^^^^^^ WTF?
> 	linux-mips at linux-mips.org

> I have few drivers and very big application running on ARM and MIPS target.
> I want to check the performance by changing the page size ie.
> 
> 8K, 16K, 32K etc.
> 
> Is it possile, If yes then what all care i need to take .

For MIPS: Rebuild kernel with support for the new kernel size.  Few MIPS
cores.  Note that the `odd? page sizes, that those that aren't a power
of 4 are only supported by Cavium while all MIPS III and newer processors
support even `even? sizes 4KB, 16KB and 64KB.

Aside of rebuilding the kernel you also need a suitable userland; older
versions of binutils will produce binaries that only run
for 4kB page sizes.

For ARM the page size is fixed at 4kB which will simplify your benchmarking
efforts ;)

Performance gains very much depends on the workload but in general larger
sizes are beneficial except maybe for systems with very little memory.

  Ralf

  reply	other threads:[~2010-12-01 13:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01  8:20 Change of Default kernel page size i.e 4KB naveen yadav
2010-12-01 13:24 ` Ralf Baechle [this message]
2010-12-01 13:24   ` Ralf Baechle
2010-12-01 16:53   ` naveen yadav
2010-12-02  2:09     ` Daniel Taylor
2010-12-01 16:06 ` Viral Mehta

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=20101201132437.GA32555@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-mips@linux-mips.org \
    --cc=yad.naveen@gmail.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.