LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-22-2010, 04:03 PM   #1
multios
Member
 
Registered: Mar 2006
Location: Homer, Alaska USA
Distribution: OpenBSD, FreeBSD, Slackware64-current
Posts: 276

Rep: Reputation: 58
512m ram kernel


My main computer (HP Pavilion 510n) only allows 512 meg ram.
I've never built a kernel for Slackware.
I'm running 13.0 :
2.6.29.6 #1 Mon Dec 7 16:34:06 CST 2009 i686 Intel(R) Celeron(TM)CPU 1200MHz GenuineIntel GNU/Linux

Would there be any advantage to build a new kernel for 512 megs ram maximum? I do basic stuff with this: browse, email, video clips, music...

Thanks.
 
Old 10-22-2010, 04:56 PM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
You would save about 5MB of memory or about 1% of physical RAM so not really worth it unless your talking less than 128MB physical RAM to start with.
 
Old 10-22-2010, 05:41 PM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Turning off the highmem support (I think the first of the 3 settings allows for upto 1GB RAM - if I remember rightly) will also save you a tiny bit of overhead on page translations, but I doubt you'd notice it. It all adds up though. On a machine with limited resources like that, it's probably worth fine tuning a kernel config. A little bit here and a little bit there can add up. Just don't expect miracles.

Besides, if you've not done it before then it's worth doing for the learning experience.
 
Old 10-22-2010, 05:57 PM   #4
multios
Member
 
Registered: Mar 2006
Location: Homer, Alaska USA
Distribution: OpenBSD, FreeBSD, Slackware64-current
Posts: 276

Original Poster
Rep: Reputation: 58
Thanks guys.
I'll at least start reading Alien Bob's page about building a new kernel.
I didn't mention that I use IceWM, which helps, but I use firefox and sometimes thunderbird.
I use thunderbird at times and then use mutt at times, which helps also.
 
Old 10-23-2010, 08:37 PM   #5
forrest44
Member
 
Registered: May 2004
Location: In the staple gun
Distribution: slackware4life
Posts: 119

Rep: Reputation: 15
Man I remember when only expensive computers had 512mb
I used to run Slackware with KDE 3.x (10.0/11.0) on a PC with around 160mb RAM, it was fine
Even on a 64mb machine it was OK, if you weren't doing too much (firefox = bad for memory)

Don't know about KDE 4.x mem usage, you should be fine with 3.x, even with 4.x it should be ok
 
Old 10-23-2010, 08:43 PM   #6
forrest44
Member
 
Registered: May 2004
Location: In the staple gun
Distribution: slackware4life
Posts: 119

Rep: Reputation: 15
I doubt you'll see much difference with a custom kernel, but it could save a few MB if you leave out drivers you don't need and such. EG when I tried loading Slackware 12.2 onto a 64mb machine, all the included kernels on the boot CD ran out of memory (these were the huge kernels, mind you)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PNY 512M Memory stick error- cannot read sector 0 hal8000b Linux - Hardware 1 12-16-2007 12:16 AM
256m out of 512m RAM detected pengu Linux - Hardware 13 07-14-2007 09:34 AM
using dd to copy 512M drive to 1GB drive DavidHB Linux - Hardware 1 12-12-2006 11:34 AM
Suse 10 Live DVD boot - Out of Memory on Tecra 8100/512M DFossmeister SUSE / openSUSE 0 11-02-2005 07:23 PM
broken rh9 in 1950r (raid-5, dual-p3, 512M memory)...used to work better than this guest22 Red Hat 0 10-28-2004 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration