LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-16-2003, 02:17 PM   #1
cokeonice
Member
 
Registered: Mar 2003
Location: Nebraska, USA
Distribution: None right now.
Posts: 33

Rep: Reputation: 15
Question Compiling kernel and other programs?


Hi! Total newb here. I asked this question in another thread as a response to a post there...SO, I do not believe this will be considered cross posting (is was not my thread?). But to the point...

...I have seen in a few threads where people mention recompiling the kernel to run best on your particular CPU/hardware. Where can I learn how to do this?

If my machine (Mandrake Linux 9.0) is already set up and running, will recompiling the kernel impact it?

Is it beneficial, or even a practice to recompile other programs as well to take advantage of the particular machines hardware?

This particular machine was a set aside (from upgrades) that I decided to use as my first Linux box. It is a Celeron 1.0Ghz, with a 20GB HD and 768MB RAM. Mandrake 9.0, after it has booted, at the initial signon screen says it is running on an i686. Is that good enough? Or does recompiling the kernel make it even better?

Thanking you in advance. blah blah blah
XOXOXOXO
 
Old 04-16-2003, 02:32 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
i686 is your processor architecture. That's the latest type atm.
MandrakeSoft tweaks the kernel for faster performance already, requiring an i586 or better processor. Normally i386 is ok for linux.
If you do recompile the kernel you may loose their tweaks.

Recompiling your software from source should make it a bit faster.

What do you plan to do with this box?
 
Old 04-16-2003, 02:41 PM   #3
Rodcl
Member
 
Registered: Apr 2002
Location: Manchester, England
Distribution: Slackware 9.1
Posts: 113

Rep: Reputation: 15
use www.google.com/linux there are lots of really good guides on how to upgrade/update your kernel.
Most linux distros have most of the features like raid or different FS or certain networking options enabled enlarging the kernel and making it slow but installable in most x86 computers.By compiling the kernel, customizing it to your needs
and circumstances (ie. server, client, laptop or just a gaming machine)it will be smaller and faster!!
It will have to take a good knowledge on the hardware of your PC like mainboard chipset, sound card? network card? if you want to access a windows PC over network (SMB)? and so on
 
Old 04-16-2003, 02:42 PM   #4
cokeonice
Member
 
Registered: Mar 2003
Location: Nebraska, USA
Distribution: None right now.
Posts: 33

Original Poster
Rep: Reputation: 15
this box

Actually, I am already using this box as my web server hosting my own domain (just a family thing really). I let my brothers and sisters have their own pages and e-mail.

I have built another machine now too. It is an AMD Duron 1300 with a low end 10GB HD and only 256MB RAM. I am thinking about using that as an initial workstation and try to get used to Linux on other levels. If I completely convert then I will ditch XP on my P4.

I should probably try some other distros and xWindow environments. I have seen other people profess things other than KDE or Gnome. Don't remember all the names. I will have to research that too.

At 41, I am like Leonardo Davinci at 81, "I am still learning".
 
Old 04-16-2003, 02:44 PM   #5
cokeonice
Member
 
Registered: Mar 2003
Location: Nebraska, USA
Distribution: None right now.
Posts: 33

Original Poster
Rep: Reputation: 15
thanks

Quote:
Originally posted by Rodcl
use www.google.com/linux there are lots of really good guides on how to upgrade/update your kernel.

...

mainboard chipset, sound card? network card? if you want to access a windows PC over network (SMB)? and so on
Thanks for the tip, rodcl!
 
Old 04-16-2003, 02:45 PM   #6
cokeonice
Member
 
Registered: Mar 2003
Location: Nebraska, USA
Distribution: None right now.
Posts: 33

Original Poster
Rep: Reputation: 15
thanks

Quote:
Originally posted by Proud
i686 is your processor architecture.

...

What do you plan to do with this box?
Thanks Proud and see the post above explaining the box.
 
Old 04-16-2003, 02:47 PM   #7
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Ouch, use edit, dont triple post.

Window Managers:
Flux/Black/Open -box and Enlightenment?

Np

Last edited by Proud; 04-16-2003 at 02:48 PM.
 
Old 04-16-2003, 02:51 PM   #8
cokeonice
Member
 
Registered: Mar 2003
Location: Nebraska, USA
Distribution: None right now.
Posts: 33

Original Poster
Rep: Reputation: 15
Re: Ouch, use edit, dont triple post.

Quote:
Originally posted by Proud
Window Managers:
Flux/Black/Open -box and Enlightenment?

Np
One other time when I installed Mandrake, I opted to use a different xWindow, I think it might have been 'black' something. Anyway, it came up with essentially an empty screen as I recall. No apps. Like in KDE and Gnome you have quite a lot of apps accessible through the menus. This had nothing. Just the option to shutdown or run a terminal (as I best recall).

I notice your subject line: "Re: Ouch, use edit, dont triple post."

I qouted this one, I should use 'Edit'? I can edit other peoples posts?
 
Old 04-16-2003, 02:57 PM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
No, you can only edit your own. I mean you should have edited any afterthough replies into your post instead of clocking up two more. Saves time, space, effort, etc

I opted to install Other WMs as well as KDE and GNOME. They're often much much faster and lighter on your system resources but do need tweaking to your preferences. Sometimes just pushing the mouse buttons can help a lot
 
Old 04-17-2003, 10:43 PM   #10
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Re: Re: Ouch, use edit, dont triple post.

Quote:
Originally posted by cokeonice
One other time when I installed Mandrake, I opted to use a different xWindow, I think it might have been 'black' something. Anyway, it came up with essentially an empty screen as I recall. No apps. Like in KDE and Gnome you have quite a lot of apps accessible through the menus. This had nothing. Just the option to shutdown or run a terminal (as I best recall).
It has everything - just edit ~/.blackboxmenu (or something like - I forget - haven't had X for awhile) to make it say what you want and a right click opens up everything without any junk on a desktop you wouldn't ordinarily see much of anyway. And it's got the little toolbar with the clock on it - that's not an empty screen - that's pure wasteful eye candy.

Oh - topic. Proud's got it right, of course - recompiling seems to me to be a skill or art - you might make it faster or you might make it slower - maybe even make it not runnable at all. I had no choice - CORE requires compiling your own. I didn't know what the hell I was doing and ended up runnable and maybe fast, but I left some stuff out so have to do it again - maybe could patch or tweak, but I'm just going to start over. So, theoretically, yeah, it could make it better and it's the only way to get a truly optimal system - but practically, it would depend on thoroughly understanding your hardware and the kernel.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Programs Faxanadu Linux - Software 3 05-30-2005 01:51 AM
Compiling Programs Thorrn4 Linux - Software 6 03-26-2005 12:25 AM
compiling programs disorderly Linux - Newbie 2 10-17-2003 12:48 PM
compiling c,c++ programs ksd Linux - Newbie 9 10-13-2003 08:23 AM
Compiling Programs Jabber63 Linux - Software 3 08-06-2003 02:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:42 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