LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 12-27-2004, 04:37 PM   #1
BamaSam
LQ Newbie
 
Registered: Dec 2004
Location: Alabama
Distribution: Fedora on 3Ghz P4 w/ 1Gig of ram
Posts: 4

Rep: Reputation: 0
Greener than grass newbie.................


FC3 dual boot with XP and the FC3 seems to be slower than the XP. Is this normal? Dell 4600 w/ 3Ghz P4 with 1 Gig ram. Any pointers for a newbie would be greatly appreciated.
 
Old 12-27-2004, 06:09 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Rep: Reputation: 46
This is normally caused by unneeded services (like mail servers, etc) running by default. Turning off all the services you don't need should speed things up.

Here are a few that are next to useless on a desktop machine that can be safely turned off:

postfix
sendmail
apache
cups (if you don't have a printer)
smb (if you don't file share with windows machines)
sshd (again, if no local network or if you don't need remote access, shut her down).

Last edited by Pcghost; 12-27-2004 at 06:10 PM.
 
Old 12-27-2004, 10:33 PM   #3
harrygraham
Member
 
Registered: Apr 2001
Location: Ottawa, Canada
Distribution: Ubuntu Gnome
Posts: 153

Rep: Reputation: 16
Talking Try this

You could see a significant speed increase if the kernel was tuned a bit . What I do even before turning off the unneeded services is to make a kernel specifically for my Pentium 4 proccessor. And since your machine is so fast it shouldn't take a lot of time! This is how I do it. All legal resposibility lies with you, of course. But it's not risky because you will always have the generic kernel to boot from if the new kernel doesn't work.

First, make sure you have the kernel development tools and kernel source installed, and upen up an X console as root user.

Second, as root user cd to your /usr/src/linux2.4 directory.

Third, vi the Makefile and take the hash mark (#) out of line 79.

Fouth, make a preliminary config file by issuing the command "make oldconfig".

Fifth, copy the hidden config file to another directory like so... cp .config /home

Sixth, clear out all the old files in the source like so... make mrproper

Seventh, copy the config file back like so.... cp /home/.config /usr/src/linux2.4

Eighth, start your X configuration program - I like it better than menuconfig..... make xconfig

Ninth, select Pentium 4 processor, and not much else, unless you want to gamble. Save & exit.

This is where the fun starts.... make dep

Next, make clean

Next, make the kernel like so... make bzImage

Next, make the kernel modules.... make modules

Next, install the modules.... make modules_install

Next, install the new kernel like so... make install


And voila! You will have both your old kernel and new one, as well as Windows XP to boot from when you restart your computer!
You can then see for yourself what only one change to the kernel can do. Compare and see.

And if it will do that for only one change, imagine how fast it would be if you made a kernel to match only the hardware you have!


Hope this helps,


Harry
 
Old 12-28-2004, 10:33 AM   #4
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,090

Rep: Reputation: 41
Re: Try this

Quote:
Originally posted by harrygraham
You could see a significant speed increase if the kernel was tuned a bit . What I do even before turning off the unneeded services is to make a kernel specifically for my Pentium 4 proccessor. And since your machine is so fast it shouldn't take a lot of time! This is how I do it. All legal resposibility lies with you, of course. But it's not risky because you will always have the generic kernel to boot from if the new kernel doesn't work.

First, make sure you have the kernel development tools and kernel source installed, and upen up an X console as root user.

Second, as root user cd to your /usr/src/linux2.4 directory.

Third, vi the Makefile and take the hash mark (#) out of line 79.

Fouth, make a preliminary config file by issuing the command "make oldconfig".

Fifth, copy the hidden config file to another directory like so... cp .config /home

Sixth, clear out all the old files in the source like so... make mrproper

Seventh, copy the config file back like so.... cp /home/.config /usr/src/linux2.4

Eighth, start your X configuration program - I like it better than menuconfig..... make xconfig

Ninth, select Pentium 4 processor, and not much else, unless you want to gamble. Save & exit.

This is where the fun starts.... make dep

Next, make clean

Next, make the kernel like so... make bzImage

Next, make the kernel modules.... make modules

Next, install the modules.... make modules_install

Next, install the new kernel like so... make install


And voila! You will have both your old kernel and new one, as well as Windows XP to boot from when you restart your computer!
You can then see for yourself what only one change to the kernel can do. Compare and see.

And if it will do that for only one change, imagine how fast it would be if you made a kernel to match only the hardware you have!


Hope this helps,


Harry
he is running FC3, your kernel guide is for a 2.4 kernel.. odds are he is running a 2.6 kernel. last FC3 does not come with the kernel source so it would need be downloaded and installed first.
 
Old 12-28-2004, 11:26 AM   #5
harrygraham
Member
 
Registered: Apr 2001
Location: Ottawa, Canada
Distribution: Ubuntu Gnome
Posts: 153

Rep: Reputation: 16
Unhappy Ooopps!

Thanks for pointing this out. I thought I downloaded Fedora 3 but guess it was only Fedora 1.
 
Old 12-29-2004, 08:36 AM   #6
BamaSam
LQ Newbie
 
Registered: Dec 2004
Location: Alabama
Distribution: Fedora on 3Ghz P4 w/ 1Gig of ram
Posts: 4

Original Poster
Rep: Reputation: 0
Can the same thing be accomplished by compiling your own kernel? Is that what your instructions are?
 
Old 12-29-2004, 08:51 AM   #7
harrygraham
Member
 
Registered: Apr 2001
Location: Ottawa, Canada
Distribution: Ubuntu Gnome
Posts: 153

Rep: Reputation: 16
I think you should do both - turn off unneccessary processes and also recompile the kernel. But as pointed out the steps involved aren't the same for Fedora Core 3. Sorry for the confusion.

Harry
 
Old 12-29-2004, 08:54 AM   #8
BamaSam
LQ Newbie
 
Registered: Dec 2004
Location: Alabama
Distribution: Fedora on 3Ghz P4 w/ 1Gig of ram
Posts: 4

Original Poster
Rep: Reputation: 0
Same steps right? I found a tutorial on here for fedora compile. Anything short of the machine catching fire is reversible.
 
Old 12-29-2004, 11:02 AM   #9
harrygraham
Member
 
Registered: Apr 2001
Location: Ottawa, Canada
Distribution: Ubuntu Gnome
Posts: 153

Rep: Reputation: 16
Same steps but no need for "make dep".
 
Old 12-29-2004, 05:45 PM   #10
BamaSam
LQ Newbie
 
Registered: Dec 2004
Location: Alabama
Distribution: Fedora on 3Ghz P4 w/ 1Gig of ram
Posts: 4

Original Poster
Rep: Reputation: 0
Well.....................i compiled me a new kernel and all I missed was my modem driver. Seems to open apps faster. No fires or smoke ......so it must be somewhat successful. Thanks for the advise.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Grass cannot find mysql fani Linux - Software 2 07-25-2005 07:39 AM
Grass and qGIS problem (version 6.0 on suse 9.2) oldforce Linux - Software 0 03-31-2005 02:26 AM
Grass maddness DrD Linux - Software 4 11-17-2004 12:42 AM
APT Repositories for GRASS GIS? cgoerner Linux - Software 2 06-22-2004 07:55 AM
Problems using Grass 5.0.3 as user not root WESS126 Linux - Software 2 04-19-2004 02:20 AM


All times are GMT -5. The time now is 06:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration