4 G of RAM under 32bit Ubuntu

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
madcow
Junior Member
Junior Member
Posts: 283
Joined: Fri Apr 06, 2007 6:21 pm
Location: Milwaukee, WI

4 G of RAM under 32bit Ubuntu

#1 Post by madcow » Wed Mar 25, 2009 10:13 pm

Install PAE enabled kernel

Open terminal and type the following command:
$ sudo apt-get update
$ sudo sudo apt-get install linux-headers-server linux-image-server linux-server

Once kernel images installed, just reboot your workstation, type:
$ sudo reboot

yak
ThinkPadder
ThinkPadder
Posts: 1256
Joined: Thu Dec 06, 2007 3:17 pm
Location: NRW, Germany

Re: 4 G of RAM under 32bit Ubuntu

#2 Post by yak » Thu Mar 26, 2009 3:15 am

What ThinkPad have you tested this on? Because it certainly won't work on all of them...

A tip: always provide as much info as possible if you post such thing.
ThinkPad™ X201 / AFFS-120
i5-560M 2.67Ghz, 8GB RAM, Samsung 840 Pro 256GB SSD, Win 8 Pro 64-bit, UltraBase X200, ThinkPad Compact USB Keyboard,
Dell U2713HM (2560x1440, IPS), ExpressCard USB 3.0 (2 ports, flush), Nexus 7+10

madcow
Junior Member
Junior Member
Posts: 283
Joined: Fri Apr 06, 2007 6:21 pm
Location: Milwaukee, WI

Re: 4 G of RAM under 32bit Ubuntu

#3 Post by madcow » Thu Mar 26, 2009 9:00 am

You are right.

This assumes that your bios supports 4 G or more.

This will work with Thinkpad with newer chipset (x61, t61, r61, and up).

maciejs
Freshman Member
Posts: 63
Joined: Mon Apr 07, 2008 12:00 pm
Location: Dublin, Ireland

Re: 4 G of RAM under 32bit Ubuntu

#4 Post by maciejs » Mon Mar 30, 2009 1:58 pm

Very nice! (-:

I, however, decided to go for 64bit version since from what I have heard server kernel is optimized in a different way than desktop kernel which may result in decreased performance in certain scenarios. Obviously it is not an option when you have 32bit CPU but machines with 32bit CPU and 4GB of RAM are not that common...

I did not have any serious trouble with 64bit OS apart from not being able to install few relatively obscure pieces of software but that was not something I could not live without (-;

Good tip nonetheless, thanks
i run linux on my thinkpad x200s; it's stable, fast, secure and it's a great way to stay in shape

gongo2k1
Sophomore Member
Posts: 200
Joined: Mon Jun 30, 2008 10:25 pm

Re: 4 G of RAM under 32bit Ubuntu

#5 Post by gongo2k1 » Tue Mar 31, 2009 9:19 pm

There shouldn't be any performance degradation using the bigmem kernel, though it's worth noting the following things:

1. The chipset has to be able to address more than 4Gb of memory.
2. The chipset should have a memory remap function available in BIOS. This allows you to reclaim the address space lost to MMIO by hoisting it up to the 64Gb region.
3. Most 32-bit drivers are NOT Large Address Aware so do not enable 64-bit address space for PCI resources from the BIOS. Specifically, the 32-bit Nvidia drivers will not function if the motherboard assigns resources higher than 4Gb. It's better to just use the memory remap function above, the performance hit isn't bad.
4. It's still a 32-bit operating system so no single process can have more than 4Gb address space (unless it's LAA and then it'll use PAE to page in and out of the various 4Gb segments, but almost no 32-bit software does this).


I'm using 8Gb ram right now in a 32-bit environment (Debian Lenny) and it's helpful for running VMs and the extra memory is used as system cache for disk reads and such.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests