Upgrade RAM before installing Ubuntu?
-
Carbonfish
- Posts: 41
- Joined: Wed Jul 26, 2006 12:35 am
- Location: Portland, Oregon
- Contact:
Upgrade RAM before installing Ubuntu?
Hi all,
I just bought a factory re-furbed T23 (which I won't receive until Thursday) with the intention of wiping the HDD and installing Ubuntu. I am not interested in dual-booting Windows 2K and Ubuntu, as I am sort of anti-windows, so I just want to get Windows off of the machine as quickly as I can (if I never even see it boot that will be fine with me). I have never migrated from one OS to another before, only upgraded the same OS. So my question is; Since the T23 only has 256 MB of SDRAM right now (or so the vendor said), and I want to upgrade to 512 MB minimum or 1 GB if I can afford it, should I install the RAM before I wipe the drive and install Linux? Or does it matter?
I searched the forum for similar questions, but nothing jumped out at me.
TIA for your advice.
Kent
I just bought a factory re-furbed T23 (which I won't receive until Thursday) with the intention of wiping the HDD and installing Ubuntu. I am not interested in dual-booting Windows 2K and Ubuntu, as I am sort of anti-windows, so I just want to get Windows off of the machine as quickly as I can (if I never even see it boot that will be fine with me). I have never migrated from one OS to another before, only upgraded the same OS. So my question is; Since the T23 only has 256 MB of SDRAM right now (or so the vendor said), and I want to upgrade to 512 MB minimum or 1 GB if I can afford it, should I install the RAM before I wipe the drive and install Linux? Or does it matter?
I searched the forum for similar questions, but nothing jumped out at me.
TIA for your advice.
Kent
-
christopher_wolf
- Special Member
- Posts: 5741
- Joined: Sat Oct 08, 2005 1:24 pm
- Location: UC Berkeley, California
- Contact:
... and Linux is not memory-hungry. You may be just fine with 256 MB. I'm running XFCE on my desktop running Gentoo, memory usage is below 40 MB with GUI loaded. 1 GB is probably waste of good money (and unnecessary power consumption + heat). You better leave it as it is for now, monitor memory usage and add if necessary.
I think there is a world market for maybe five computers.
—IBM Chairman Thomas Watson, 1943
—IBM Chairman Thomas Watson, 1943
-
christopher_wolf
- Special Member
- Posts: 5741
- Joined: Sat Oct 08, 2005 1:24 pm
- Location: UC Berkeley, California
- Contact:
Well, it doesn't take up a significant amount *more* of power you know. You can skin down Ubuntu to such a point where it will be happy with as much memory as you have that ships with the T23 already. Although, 1GB is nice simply because of the extra breathing room you get with it (plus, think of XGL/Compiz!
)
IBM ThinkPad T43 Model 2668-72U 14.1" SXGA+ 1GB |IBM 701c
~o/
I met someone who looks a lot like you.
She does the things you do.
But she is an IBM.
/~o ---ELO from "Yours Truly 2059"
~o/
I met someone who looks a lot like you.
She does the things you do.
But she is an IBM.
/~o ---ELO from "Yours Truly 2059"
-
Carbonfish
- Posts: 41
- Joined: Wed Jul 26, 2006 12:35 am
- Location: Portland, Oregon
- Contact:
@Carbonfish
Here's the recipe for you (256 MB):
After you have Ubuntu installed and do your everyday job keep an eye on swap size. If it is mostly under 5 MB then you wont gain any performance increase by adding RAM. If it's often more than 10 MB then adding RAM is recommended. If it keeps growing over 50 MB then lack of RAM is a serious bottleneck for you.
But, things are a little different for laptops.
First, one more RAM module in your laptop won't draw significant power, that's true. However, when running on battery even 5 watts makes some difference. OTOH, with a laptop you may want the HDD to spin down to save battery even more. With 2.6 kernels you can adjust the swappiness sysctl (which is 60 by default). Once you are sure you have enough RAM set the wm.swappiness to 20 or 15. With such a low value kernel will rather flush buffers than swap (and spin up the HDD).
To adjust swappiness add following to your startup scripts:
sysctl -w vm.swappiness=15
Or, if your distro has /etc/sysctl.conf, add a line there:
vm.swappiness = 15
Happy tuning!
Here's the recipe for you (256 MB):
After you have Ubuntu installed and do your everyday job keep an eye on swap size. If it is mostly under 5 MB then you wont gain any performance increase by adding RAM. If it's often more than 10 MB then adding RAM is recommended. If it keeps growing over 50 MB then lack of RAM is a serious bottleneck for you.
But, things are a little different for laptops.
First, one more RAM module in your laptop won't draw significant power, that's true. However, when running on battery even 5 watts makes some difference. OTOH, with a laptop you may want the HDD to spin down to save battery even more. With 2.6 kernels you can adjust the swappiness sysctl (which is 60 by default). Once you are sure you have enough RAM set the wm.swappiness to 20 or 15. With such a low value kernel will rather flush buffers than swap (and spin up the HDD).
To adjust swappiness add following to your startup scripts:
sysctl -w vm.swappiness=15
Or, if your distro has /etc/sysctl.conf, add a line there:
vm.swappiness = 15
Happy tuning!
I think there is a world market for maybe five computers.
—IBM Chairman Thomas Watson, 1943
—IBM Chairman Thomas Watson, 1943
-
Carbonfish
- Posts: 41
- Joined: Wed Jul 26, 2006 12:35 am
- Location: Portland, Oregon
- Contact:
-
- Similar Topics
- Replies
- Views
- Last post
-
-
X1 Carbon (5th gen, 2017) : 8gb Ram or 16gb Ram , i5 or i7
by asterinex » Tue Apr 25, 2017 4:12 am » in ThinkPad X1/X1C - 26 Replies
- 2061 Views
-
Last post by w0qj
Sat Apr 29, 2017 11:22 am
-
-
-
The Newest GPD Pocket with Z8750 CPU Windows 10 System or Ubuntu 16.04
by laozhu » Thu Jan 12, 2017 5:02 am » in Off-Topic Stuff - 12 Replies
- 1432 Views
-
Last post by QWERTY Andreas
Wed Feb 15, 2017 3:52 am
-
-
-
How to improve audio on a Thinkpad T530 under Ubuntu?
by wrybread » Sun Mar 05, 2017 2:14 am » in Linux Questions - 1 Replies
- 1193 Views
-
Last post by wrybread
Fri Apr 07, 2017 5:38 pm
-
-
-
RAM Upgrade for T410
by SetNug » Sun Jan 08, 2017 7:23 am » in ThinkPad T400/410/420 and T500/510/520 Series - 1 Replies
- 757 Views
-
Last post by RealBlackStuff
Sun Jan 08, 2017 8:05 am
-
Who is online
Users browsing this forum: No registered users and 0 guests



