Arndale uses 2G/2G memory split

Bug #1183337 reported by Ard Biesheuvel
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Linux Baseline
Won't Fix
Medium
Andrey Konovalov

Bug Description

Currently, the default kernel configurations for Arndale divide the virtual memory space into 2 GB for the kernel and 2G for userland, while the usual split is 3G/1G. This significantly reduces the usable space not just for random access memory but also for userland mmap(), which is potentially a concern when benchmarking server grade applications like web servers and databases.

Please revert to using the default memory split of 3G/1G

Revision history for this message
Fathi Boudra (fboudra) wrote :

Tushar, any comments?

Changed in linaro-linux-baseline:
milestone: none → 13.05
assignee: nobody → Andrey Konovalov (andrey-konovalov)
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Andrey Konovalov (andrey-konovalov) wrote :

Tushar, if there is a fix before, say, Monday, I could add it to 13.05 linux-linaro release. Thanks!

Revision history for this message
Tushar Behera (tusharbehera) wrote :

It was suggested by Leif [1] that there is a significant system performance gain with 2G/2G memory split. I would like to get his views on this.

[1] https://git.linaro.org/gitweb?p=landing-teams/working/samsung/kernel.git;a=commit;h=12d1b1afc0a2c5378917894059a7a1d9d646496c

Revision history for this message
Tushar Behera (tusharbehera) wrote :
Revision history for this message
Leif Lindholm (leif-lindholm) wrote :

The issue is with the fact that the Arndale UEFI port resides in the second GB of RAM, making it "highmem" - which causes more than a little bit of pain with runtime services and ACPI initialisation. I will discuss with Ard offline and update later.

Revision history for this message
Ard Biesheuvel (ard-biesheuvel) wrote :

Leif and I agree that 3g/1g is more suitable in general, but in this particular case, the ability to access kernel directly mapped memory above 1GB is essential for Leif's UEFI work, so let's put this on hold for now.

Revision history for this message
Fathi Boudra (fboudra) wrote :

In that case, I would prefer to have a sane default (3g/1g) and set up a specific build for Leif's work with 2g/2g memory split.

Revision history for this message
Leif Lindholm (leif-lindholm) wrote :

It isn't just for my work. It is for anyone wanting to use any of my work (EFI runtime services, GRUB).

3/1 is a sane default for platforms that either:
- Don't use UEFI.
or
- Place UEFI within the first GB of RAM.

The latter is not true for Arndale, so until we have a way to work around this, 2/2 is the sane default for that platform.

Revision history for this message
Fathi Boudra (fboudra) wrote :

Fair enough. Closing as wontfix.

Changed in linaro-linux-baseline:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.