PDA

View Full Version : Picking the Kernel thats Right for You (Possible Speed Increase)


Pages : [1] 2

poofyhairguy
November 3rd, 2005, 08:37 PM
STAFF NOTE:

Since the naming convention -- and the generic kernel -- changed after version 6.06, Dapper Drake, selecting a different kernel may or may not have any effect on your system. Please research the kernel options (http://packages.ubuntu.com/) that match your release, remembering that the default kernel -- linux-generic (http://packages.ubuntu.com/feisty/base/linux-generic) in Feisty -- in some versions of Ubuntu is probably already appropriate for your CPU.

Thanks.
K.Mandla

-----------

Disclaimer

This section is about messing with the kernel and that can be tricky business. Has never messed up for me, but it is a little nerdy. Look here if you want to learn and maybe get a speed boast (or if you have a dual core/dual processor/hyperthreading machine because you WILL get a performance boost). Use at you own risk, I am not a kernel developer or anything.

Be sure not to install the linux-image package instead or things will probably break! If you have done that just install the correct package and things will fix themselves.

***********************

Introduction

I have noticed some recent confusion in the forum when it comes to kernels, so I want to explain some things I have discovered. I hope it helps.

So you just installed Ubuntu but you don't think its going as fast as you think it should? Maybe you have just been advised to install a new kernel so you want to know more.

In Synaptic, if you search for “linux-image” you will find many kernels. Each its follows by some numbers and letters in some order. I will now explain those differences and what each means.

Notes:

- This guide does not apply to the PPC or 64 bit version of Ubuntu.

- If you have a heavily modified setup this might not work. For example if you have installed some drivers "by hand" and not from the repositories.

- Its hard to measure the speed increase, so if in doubt leave it out. Don't follow the guide if you are uncomfortable

- You can always boot back into you old kernel if things mess up. When the OS Menu appears at boot (called the Grub menu) just hit down and then hit enter on the first line with a "386" in it. You might have to hit the ESC key when you boot to pull up this menu.

- My steps will rewite your grub, so if you have a custom grub save it somewhere.

The Many Kinds of Kernels

386 – the default kernel in Ubuntu is the 386 kernel (but I hear its really a 486 kernel). What that means is that its the most compatible kernel because it supports the oldest tech. Here is wiki page to learn more:

http://en.wikipedia.org/wiki/Intel_80386

686 – The kernel that is recommended for use with any Intel Processors in a computer that are more recent then a Pentium Pro. So even old Pentium 2s and 3s can get in on the act. Installing this kernel with may improve performance.

http://en.wikipedia.org/wiki/Pentium_Pro

k7 – This kernel is recommended for a computer with a Athlon or newer AMD CPU. New 64 bit AMD cpus can use it as well if you have the 32 bit version of Ubuntu installed. Installing this kernel with may improve performance.

http://en.wikipedia.org/wiki/Athlon

smp – This kernel is NEEDED to use both CPUs in a multi-CPU setting. The kernel is also required to “enable” hyperthreading in modern Pentium 4 CPUs. Also needed for dual core processors (the letters stand for Symmetric Multiprocessing). Very important to install this, as it WILL improve performance. Sorry to bold it but I think this one is the most important.

http://en.wikipedia.org/wiki/Symmetric_multiprocessing

How to Install New Kernels

You need to install the file below as indicated:

For a modern Pentium 2+ (686) kernel:

sudo apt-get install linux-686

For a modern Pentium 2+ kernel for dual processors, dual cores, or hyperthreading:

sudo apt-get install linux-686-smp

For a Athlon (k7) or for a Athlon 64 (with 32 bit Ubuntu) kernel.

sudo apt-get install linux-k7

For a Athlon (k7) kernel for dual processors or dual cores:

sudo apt-get install linux-k7-smp

Conclusion

I wish you the best of luck and please post comments if you notice any improvements or any problems.

Note About Nvidia

The Nvidia driver is not an open source driver. It is "restricted" because of that fact.

Therefore the actual official Nvidia driver's kernel module (the part that interacts with the kernel to make it work) is in the restricted package. If you follow my guide those packages should be installed automatically (they are for me) but they don't for legacy cards. If you have a Nvidia card older than a Geforce 3 (except maybe the Geforce 2 MX) you have to install the legacy drivers.

Every time you switch to another kernel you have to reinstall the nvidia drivers for that specific kernel if you have used the nvidia installer.

OR

If you use the drivers from the repos then you will need the restricted modules for your kernel (only the ones for the i386 kernel are installed by default). If apt-get did not install these automatically with my guide you MUST do it! In other words, boot as usual, and if you are stuck to the command line type:


sudo apt-get install linux-restricted-modules-`uname -r`

OR (if you use the nvidia legacy drivers)

sudo apt-get install linux-restricted-modules-`uname -r`-nvidia-legacy

kvidell
November 3rd, 2005, 08:45 PM
Is it a relevant point to mention how to clean up one's GRUB menu.lst if they find one they like but don't want 3 extraeneous kernel options listed?

poofyhairguy
November 3rd, 2005, 08:51 PM
Is it a relevant point to mention how to clean up one's GRUB menu.lst if they find one they like but don't want 3 extraeneous kernel options listed?

I thought about that, but that can get REALLY tricky and with the other options at least the person using the guide can go back to a safe spot. I also left out how to uninstall old kernels for the same reason. Going back to the old kernel in grub has saved my hide more than once....so...

kvidell
November 3rd, 2005, 08:56 PM
Ah, okay.. Understandable.
I've just been lucky with ubuntu kernels then... I've never had to revert back to an older one, even with my dual proc box...
*keeps his fingers crossed*
- K

sk545
November 3rd, 2005, 09:17 PM
so which one do i use for a athlon 64 3000+ (lets say i want it running 32 bit apps)? Should i use kernel k7 or 686?

poofyhairguy
November 3rd, 2005, 09:24 PM
so which one do i use for a athlon 64 3000+ (lets say i want it running 32 bit apps)? Should i use kernel k7 or 686?

If you have the 32 bit version of Ubuntu installed on there, then the k7 one. If you have the 64 bit version installed this guide does not apply.

teaker1s
November 3rd, 2005, 09:49 PM
sorry to sound thick but synaptic or apt-get don't find the k7 for my amdxp2200

so is this direct from debian and if so how will it differ from a patched kernel

also second question konsole see's i686 which I thought was 64 bit only see below

teaker1s@ubuntu:~$ uname -a
Linux ubuntu 2.6.12-9-386 #1 Mon Oct 10 13:14:36 BST 2005 i686 GNU/Linux

found k7 in synaptic today

Biased turkey
November 3rd, 2005, 11:16 PM
I installed ubuntu 32 bits 5.10 on my Athlon64.
Just saw this interesting trhead ( thanks ) and right away installed the k7 kernel using synaptic.
When booting the k7 kernel, Xorg doesn't start. I'm stucked in console mode.Of course, booting back with the original kernel works OK.
I have an Nforce4 mobo and an Nvidia 6600 video board.
What should I do to be able to boot the k7 kernel and be able to use the graphic mode ?
tia for any help.

poofyhairguy
November 3rd, 2005, 11:52 PM
I installed ubuntu 32 bits 5.10 on my Athlon64.
Just saw this interesting trhead ( thanks ) and right away installed the k7 kernel using synaptic.
When booting the k7 kernel, Xorg doesn't start. I'm stucked in console mode.Of course, booting back with the original kernel works OK.
I have an Nforce4 mobo and an Nvidia 6600 video board.
What should I do to be able to boot the k7 kernel and be able to use the graphic mode ?
tia for any help.


Make SURE you have the official nvidia drivers installed from the repo. The Ubuntu Guide says how.

stubby
November 4th, 2005, 01:01 AM
My notebook is a Pentium M, so is that the 686 kernel ?

kvidell
November 4th, 2005, 01:02 AM
My notebook is a Pentium M, so is that the 686 kernel ?
That would be the boat I'm in, works great :)

stubby
November 4th, 2005, 01:19 AM
works great :)

that's all i needed to hear =)

M7S
November 4th, 2005, 01:43 AM
Maybe it should be worth mentioning that nvidia (and perhaps also ati) users who use nvidia's (or ati's) propriarity drivers have to install the linux-restricted-modules for their kernel to be able to use X. At least I had to when I changed my kernel some time ago.

Regards,
M7S

GoA
November 4th, 2005, 01:54 AM
I have AMd athlon 2800+ and I am using 686 kernel. Previously I had K7 but then I tryed the 686 version. Only different wchic I have found out between 686, K7 and 383 is the fact that 386 kernel doesn't support 1 gb of memory. No speed difference otherwise and I think it doesn't matter are you using K/ or 686 with a new AMD processor.

poofyhairguy
November 4th, 2005, 01:58 AM
Maybe it should be worth mentioning that nvidia (and perhaps also ati) users who use nvidia's (or ati's) propriarity drivers have to install the linux-restricted-modules for their kernel to be able to use X. At least I had to when I changed my kernel some time ago.

Regards,
M7S

Thats why its important to install the

linux-686

package instead of the Linux-image package.

poofyhairguy
November 4th, 2005, 01:59 AM
I have AMd athlon 2800+ and I am using 686 kernel. Previously I had K7 but then I tryed the 686 version. Only different wchic I have found out between 686, K7 and 383 is the fact that 386 kernel doesn't support 1 gb of memory. No speed difference otherwise and I think it doesn't matter are you using K/ or 686 with a new AMD processor.

I have thought that maybe the improvement in speed was just in everyone's mind (including my own) so that why I tried not to use concrete language. Thanks for the tip about the RAM.

donar73
November 4th, 2005, 03:38 AM
It would be interesting to know which processor-specific optimizations (mmx, sse, 3dnow etc.) are compiled into each of these kernels. Do you have any information about this?
The reason why I'm asking is, that it seems to me that my Athlon XP 2800+ (Barton) works slightly faster (or maybe I should call it *smoother*) with the 686-kernel than with the K7-one... :confused:

Cyril
November 4th, 2005, 04:15 AM
I installed the 686-smp kernel.

When I boot using the 686-smp-kernel, the boot screen shows the kubuntu logo instead of the ubuntu one. Anyone knows why this happens and how can it back to the ubuntu logo?

tseliot
November 4th, 2005, 06:05 AM
I installed ubuntu 32 bits 5.10 on my Athlon64.
Just saw this interesting trhead ( thanks ) and right away installed the k7 kernel using synaptic.
When booting the k7 kernel, Xorg doesn't start. I'm stucked in console mode.Of course, booting back with the original kernel works OK.
I have an Nforce4 mobo and an Nvidia 6600 video board.
What should I do to be able to boot the k7 kernel and be able to use the graphic mode ?
tia for any help.
The problem is that every time you switch to another kernel you have to reinstall the nvidia drivers for that specific kernel if you have used the nvidia installer. (you can use my guide for that)

OR

If you use the drivers from the repos then you will need the restricted modules for your kernel (only the ones for the i386 kernel are installed by default). In other words, boot as usual, and if you are stuck to the command line type:


sudo apt-get install linux-restricted-modules-`uname -r`

OR (if you use the nvidia legacy drivers)

sudo apt-get install linux-restricted-modules-`uname -r`-nvidia-legacy


Then type

startx


Enjoy


P.S. Jonathan, I think you should add it to your guide so as to avoid some problem.

DoeRayMe
November 4th, 2005, 09:42 AM
Just want to say thank you, my computer is around 50% faster

thank you again

yesplease
November 4th, 2005, 11:18 AM
Thanks PoofyHairguy, I have been searching for this information recently. In return I made you famous on the dutch Ubuntu forum :) .

Like Donar73 I am interested in the processor-specific optimizations that are implemented (in my case for a k8 processor). Do you have a link to a summary of this info?

@tseliot: In Synaptic one can make more specific choices, for example linux-restricted-modules 2.6.12-9-k7 for modern nvidia video-cards, or an smp version or a legacy version. I dont know if this matters much, but I just thought to mention it.

tseliot
November 4th, 2005, 11:33 AM
@tseliot: In Synaptic one can make more specific choices, for example linux-restricted-modules 2.6.12-9-k7 for modern nvidia video-cards, or an smp version or a legacy version. I dont know if this matters much, but I just thought to mention it.

You're absolutely right, I'll modify the command. As far as "smp" is concerned it's included in the "uname -r" (i.e. if you use a smp kernel the restricted modules for smp will be installed).

These ones are the right commands:

sudo apt-get install linux-restricted-modules-`uname -r`

OR (if you use the nvidia legacy drivers)

sudo apt-get install linux-restricted-modules-`uname -r`-nvidia-legacy

I find them useful especially if you are stuck in the command line and you don't want to restart your computer

teaker1s
November 4th, 2005, 01:10 PM
have booted k7 kernel and so far it appears that metacity etc run faster thanks-as for not removing old kernel I agree at least it's a safety net if things go wrong

Biased turkey
November 4th, 2005, 01:37 PM
The problem is that every time you switch to another kernel you have to reinstall the nvidia drivers for that specific kernel if you have used the nvidia installer. (you can use my guide for that)

OR

If you use the drivers from the repos then you will need the restricted modules for your kernel (only the ones for the i386 kernel are installed by default). In other words, boot as usual, and if you are stuck to the command line type:


sudo apt-get install linux-restricted-modules-`uname -r`

OR (if you use the nvidia legacy drivers)

sudo apt-get install linux-restricted-modules-`uname -r`-nvidia-legacy


Then type

startx


Enjoy


P.S. Jonathan, I think you should add it to your guide so as to avoid some problem.

Thanks for the info, it looks like that it'll solve my problem
I use the drivers from the repository ( I don't want to live at the bleeding edge, I'm a coward lol ) so it looks like I'll have to install the restricted modules.How did you know that's those modules are only installed with the default ( i386 ) kernel

I'm confused with those restricted and legacy modules etc...
Why are they required ?
Is there any good link that explains their requirements ?

I like HOWTOs, they solve problems, but I would like to see some WHYTOs, that goes a little deeper and give more details.

poofyhairguy
November 4th, 2005, 01:38 PM
P.S. Jonathan, I think you should add it to your guide so as to avoid some problem.

Done. Thanks for the heads up.

poofyhairguy
November 4th, 2005, 01:43 PM
Thanks for the info, it looks like that it'll solve my problem
I use the drivers from the repository ( I don't want to live at the bleeding edge, I'm a coward lol ) so it looks like I'll have to install the restricted modules.How did you know that's those modules are only installed with the default ( i386 ) kernel

I'm confused with those restricted and legacy modules etc...
Why are they required ?
Is there any good link that explains their requirements ?

I like HOWTOs, they solve problems, but I would like to see some WHYTOs, that goes a little deeper and give more details.

The Nvidia driver is not an open source driver. It is "restricted" because us nerds can't treat it like our own like we can with OSS stuff and because it has a semi- harsh license for distribution.

Therefore the actual official Nvidia driver's kernel module (the part that interacts with the kernel to make it work) is in that restricted package. If you have a Nvidia card older than a Geforce 3 (except maybe the Geforce 2 MX) you have to install the legacy drivers. All of these things might be installed so that you can use the driver.

poofyhairguy
November 4th, 2005, 01:47 PM
I installed the 686-smp kernel.

When I boot using the 686-smp-kernel, the boot screen shows the kubuntu logo instead of the ubuntu one. Anyone knows why this happens and how can it back to the ubuntu logo?


Uninstall the kubuntu-artwork-usplash package.

phanboy_iv
November 4th, 2005, 01:49 PM
Just installed the 686 kernal on my laptop's 1.4 Ghz. Celeron M.
Works beautifully. Thanks! So simple too.(in my case, that is.)

tseliot
November 4th, 2005, 01:50 PM
If you have a Nvidia card older than a Geforce 3 (except maybe the Geforce 2 MX) you have to install the legacy drivers. All of these things might be installed so that you can use the driver.

Below are the legacy GPUs that are no longer supported in the unified driver.
These GPUs will continue to be maintained through the special legacy NVIDIA
GPU driver releases.

NVIDIA chip name Device PCI ID
------------------------------- -------------------------------
RIVA TNT 0x0020
RIVA TNT2/TNT2 Pro 0x0028
RIVA TNT2 Ultra 0x0029
Vanta/Vanta LT 0x002C
RIVA TNT2 Model 64/Model 64 Pro 0x002D
Aladdin TNT2 0x00A0
GeForce 256 0x0100
GeForce DDR 0x0101
Quadro 0x0103
GeForce2 GTS/GeForce2 Pro 0x0150
GeForce2 Ti 0x0151
GeForce2 Ultra 0x0152
Quadro2 Pro 0x0153

tseliot
November 4th, 2005, 01:51 PM
Done. Thanks for the heads up.
you're welcome

poofyhairguy
November 4th, 2005, 01:53 PM
Thanks PoofyHairguy, I have been searching for this information recently. In return I made you famous on the dutch Ubuntu forum :)

You are welcome.


Like Donar73 I am interested in the processor-specific optimizations that are implemented (in my case for a k8 processor). Do you have a link to a summary of this info?


I honestly don't know. I bet a doc somewhere says, or push comes to shove, there is tons of info about this on Gentoo forum.

william_nbg
November 4th, 2005, 02:50 PM
First: Thanks for the how to.

I'm still fairly new with Linux so I want to be sure of this before I lose my X.

I have the amd64 3200+ and a 6600 nvidia card.

I installed 5.10 i386 as a fresh install, upgraded to the i686 kernel, and then installed the nvdia driver from the repo. as usual.

Everything works great. But were never happy with that until we try everything or bring down the house, whichever comes first. Meaning, I'd like to give the K7 a try.

My question: should I remove the i686 kernel and the nvidia driver and then install the K7 and the new nvidia driver before rebooting - note the i383 kernel is still installed??

tseliot
November 4th, 2005, 02:54 PM
My question: should I remove the i686 kernel and the nvidia driver and then install the K7 and the new nvidia driver before rebooting - note the i383 kernel is still installed??
No, please don't remove anything. Just install the new kernel and its restricted modules as described in the guide

yesplease
November 4th, 2005, 03:44 PM
I like to use synaptic because it gives more info.

Search on linux-k7 gives version 2.6.12.16, and there is a correspondent version of linux-restricted-modules. These versions depend on the latest package, but is that stable?

Earlier I searched for kernel k7 and found linux-image-2.6.12-9-k7 and linux headers of the same version. (There is a correspondent version of linux restricted modules, so that is ok.) It seems to me that linux kernel still has to built from this linux-image and headers ?? , but would that give a more stable version?

poofyhairguy
November 4th, 2005, 04:29 PM
I like to use synaptic because it gives more info.

Search on linux-k7 gives version 2.6.12.16, and there is a correspondent version of linux-restricted-modules. These versions depend on the latest package, but is that stable?

Earlier I searched for kernel k7 and found linux-image-2.6.12-9-k7 and linux headers of the same version. (There is a correspondent version of linux restricted modules, so that is ok.) It seems to me that linux kernel still has to built from this linux-image and headers ?? , but would that give a more stable version?

The

linux-* (linux-686, linux-k7, etc.)

packages are meta packages (like ubuntu-desktop). They point to other packages. That way instead of installing just the kernel image or headers by themselves and messing everything up because you did not install the restricted packages, it gets everything you need. My guide is straight forward on this.

yesplease
November 4th, 2005, 04:38 PM
But is version 2.6.12.16 stable, because I remember that ubuntu is stable is at 2.6.12.9 right now?

Edit: I see now that linux-386 is version 2.6.12.16 is installed, and that is the same version number, so that must be ok.

Apparently I am in a paranoid mood today :) , thanks for your answers.

TheIdiotThatIsMe
November 4th, 2005, 05:23 PM
After asking a question about i386 and i686 in another thread, I was pointed over to this guide and followed the instructions. I have a Pentium 4 with HT, and installed the 686-SMP. I just wanted to say thanks! I've noticed a great improvement in the speed of the system. Many programs that took around 5 to 8 seconds to load now load almost instantly! OpenOffice.org now loads in about 1/3 of the time it used to. Also in Konqueror, especially when reading NTFS disks, it slowed considerably when loading a folder with a large amount of files, but now doesn't stall at all. So once again, thanks a bunch!

Griff
November 4th, 2005, 06:49 PM
Installed the k7 via apt-get and everything went smoothly. Restarted, but there was no selection as to which kernal to boot to at startup. It boots straight to k7 with no problems, but what happened for me to not be able to choose?

tseliot
November 4th, 2005, 07:03 PM
Installed the k7 via apt-get and everything went smoothly. Restarted, but there was no selection as to which kernal to boot to at startup. It boots straight to k7 with no problems, but what happened for me to not be able to choose?
It boots in your latest kernel. If you want to select your kernel keep on pressing ESC as soon as you turn your computer on until you get to the GRUB menu. Then you can select the boot you need and press ENTER

Biased turkey
November 4th, 2005, 09:59 PM
To Tseliot:
I followed your suggestion:
sudo apt-get install linux-restricted-modules-`uname -r`
And here I am with my brand-new k7 kernel and Xorg working.
Thanks a bunch.

To poofyhairguy:
Please, couldn't the starting post emphasise that step ? it should clear some confusion.

zerhacke
November 5th, 2005, 06:29 PM
Nevermind, I didn't realize this was in Breezy's area. I'm still using Hoary.

crypto178
November 5th, 2005, 07:22 PM
Thanks for the HOW-TO.

Are there any cpu benchmarking programs on linux?

poofyhairguy
November 5th, 2005, 09:19 PM
After asking a question about i386 and i686 in another thread, I was pointed over to this guide and followed the instructions. I have a Pentium 4 with HT, and installed the 686-SMP. I just wanted to say thanks! I've noticed a great improvement in the speed of the system. Many programs that took around 5 to 8 seconds to load now load almost instantly! OpenOffice.org now loads in about 1/3 of the time it used to. Also in Konqueror, especially when reading NTFS disks, it slowed considerably when loading a folder with a large amount of files, but now doesn't stall at all. So once again, thanks a bunch!

No problem. People with hyperthreading or dual CPUs or dual core have the most to gain from this guide.

TimelessRogue
November 5th, 2005, 09:45 PM
My initial installation of Beezy was with the default 2.6.12-9-i386 kernel ... it was relatively painless and trouble free and I was satisfied with everything including speed.

However, earlier this evening and even before reading this post, I installed the 2.6.12-9-k7 kernel via Synaptic. This was also a painless, trouble free operation and seems to have resulted in a speed increase both in booting and during use ... perhaps actual, perhaps perceptual.

And boot-up options include both kernels should I choose to revert.

bionnaki
November 6th, 2005, 01:57 AM
I have a pentium 4 2.4ghz - I should use the 686, right?

linbetwin
November 6th, 2005, 02:13 AM
I have an AMD Athlon XP and switching to k7 made Nautilus crash all the time. So I went back to 386.

kvidell
November 6th, 2005, 02:17 AM
I have a pentium 4 2.4ghz - I should use the 686, right?
That is indeed the correct selection for your archetecture and processor type :)
- K

bionnaki
November 6th, 2005, 02:25 AM
thanks!

Biased turkey
November 6th, 2005, 11:13 AM
to Poofyhairguy:
I apology for stating that your original post should be edited and add:
sudo apt-get install linux-restricted-modules-`uname -r`

Because after installing the K7 kernel on both my gaming rig ( AMD 64 ) and my firewall router ( Athlon XP ) I realised that using the command line or using synaptic are 2 different options:

If I use synaptic to add the new ( K7 ) kernel, then after that I have to reboot ( In console mode ) and run :
sudo apt-get install linux-restricted-modules-`uname -r`

But if I just type from the command line:
sudo apt-get install linux-k7
It will automatically install the restricted modules.

No opinion, JUST THE FACTS, MA'AM

kleeman
November 6th, 2005, 11:45 AM
One interesting question poofy:
Can you run a smp kernel on a Pentium M and is hyperthreading present at all for such chips?

I was told about 6-12 months ago that this (running smp with an M) was unwise because the kernel support for speed stepping the cpu up and down did not work with smp kernels. Any thoughts? Perhaps the latest kernel is better or perhaps it's irrelevant since ht is not possible with the M......

sailor420
November 6th, 2005, 02:00 PM
Just a warning, this overwrites GRUB's menu.lst, so if you have changed anything (added initNG, framebuffer, etc), it will be overwritten. Back it up first :)

william_nbg
November 6th, 2005, 02:50 PM
Thanks again for your tip on the kernels.

I installed the k7 kernel according to your 'how to' and everything seems to be working hunky-dory. Compared to the 686 kernel I'll need more time for testing.

One newbie question: It boots automatically into the k7 kernel as expected, but, of course, the 686 and 383 kernels are still installed. Can I safely take them out, or at least the 686, or is it better to just leave them in??

raublekick
November 6th, 2005, 05:21 PM
<edit> nevermind

thanks, poofy

poofyhairguy
November 6th, 2005, 05:24 PM
One interesting question poofy:
Can you run a smp kernel on a Pentium M and is hyperthreading present at all for such chips?

I was told about 6-12 months ago that this (running smp with an M) was unwise because the kernel support for speed stepping the cpu up and down did not work with smp kernels. Any thoughts? Perhaps the latest kernel is better or perhaps it's irrelevant since ht is not possible with the M......

Since the M's do not need hyperthreading (HT as made to make up for problems in the Pentium 4 chips) I do not recommend using the smp kernel till dual core models are made.

poofyhairguy
November 6th, 2005, 05:28 PM
One newbie question: It boots automatically into the k7 kernel as expected, but, of course, the 686 and 383 kernels are still installed. Can I safely take them out, or at least the 686, or is it better to just leave them in??

My official recommendation is not to do that. But if you want you can uninstall the other kernel images.

Biased turkey
November 6th, 2005, 10:45 PM
JUST THE FACTS, MA'AM
Is there any benchmark I can use to compare the default 386 vs. the K7 kernel performances ?

astronerd
November 7th, 2005, 08:58 PM
Is there a command to check to see if your hyperthreading has been activated and you are using it? I have a 686 installed on a P4 3.0 Ghz and need to see if I should use the 686smp(I am pretty sure its HT, but need to check....)
Thanks

poofyhairguy
November 7th, 2005, 09:04 PM
Is there a command to check to see if your hyperthreading has been activated and you are using it? I have a 686 installed on a P4 3.0 Ghz and need to see if I should use the 686smp(I am pretty sure its HT, but need to check....)
Thanks

Add the "system monitor" applet to your Gnome panel, then click on it. When it comes up, under the "Resources" tab it will tell you if the system detect two CPUs. That means its working.

yesplease
November 8th, 2005, 08:25 AM
I use an AMD k8 processor, single core, and installed the k7 kernel. Install was very easy, but there was no discernible increase in performance in comparison to the i368 kernel. However, I havent found general benchmarks programs yet to test performance, and i368 cant use all of your memory when you have 1GB, while the k7 kernel can. (Edit: I think this last bit is outdated information; the i368 can handle 1GB of memory now).

Performance on both kernels is good, I do not have programs that start up or react very slow, so I have no complaints about that.

I installed the k7 kernel with synaptic. Search for linux k7 gives:
linux-k7 version 2.6.12.16
mark additional required changes:
linux-image-2.6.12-9-k7
linux-image-k7
linux-restricted-modules-2.6.12-9-k7 (non-free NVIDIA, etc.)
linux-restricted-modules-k7
total 70.6 MB
Grub automatically got an extra entry: Ubuntu, kernel 2.6.12-9-k7

Maverick911
November 8th, 2005, 11:41 AM
Hi PHG,

When I first installed ubuntu it booted up into an SMP kernel. I figured this was an error since I'm on a laptop with a P4 Pro 3.2 Ghz. I switched to 2.6.14-686 kernel. Then I read this: (bold added by me)
smp – This kernel is NEEDED to use both CPUs in a multi-CPU setting. The kernel is also required to “enable” hyperthreading in modern Pentium 4 CPUs. Also needed for dual core processors (the letters stand for Symmetric Multiprocessing). Very important to install this, as it WILL improve performance. Sorry to bold it but I think this one is the most important.

If I read this right, you are saying that I should have an smp kernel even though I only have 1 processor. Is this right?

Just wondering:???:

poofyhairguy
November 8th, 2005, 12:55 PM
Hi PHG,

When I first installed ubuntu it booted up into an SMP kernel. I figured this was an error since I'm on a laptop with a P4 Pro 3.2 Ghz. I switched to 2.6.14-686 kernel. Then I read this: (bold added by me)

If I read this right, you are saying that I should have an smp kernel even though I only have 1 processor. Is this right?

Just wondering:???:


Hyperthreading is a trick in which Intel forced the single Pentium 4 chips to act like two chips in order to overcome huge problems with the Pentium 4 design. If you have hyperthreading you need the smp kernel to enable it.

ephman
November 8th, 2005, 10:20 PM
hi,

if i upgrade to the 686 from the 386, can i delete the 386 kernel? and when i restart i assume it'll just automatically see the 686 kernel right (i know silly question, but i'm neurotic)?

thanks,
ephman

ephman
November 8th, 2005, 11:05 PM
yup deleted all the 386's...

cool,
ephman

iltofa
November 9th, 2005, 05:59 AM
Hi everybody!

I'm using a PC with AMD Athlon XP cpu.
The default package installed was Linux-386.
Today I've apt-get installed linux-k7... not benchmarked anything at all yet, but it seems faster.

Anyway I'm not going to benchmark the system and, if everything continue to works, I'll remove the 386 kernel...

adamb10
November 9th, 2005, 10:42 AM
How do you remove kernels?
I have a Athlon XP so I need the k7 kernel?

Maverick911
November 9th, 2005, 02:39 PM
Hyperthreading is a trick in which Intel forced the single Pentium 4 chips to act like two chips in order to overcome huge problems with the Pentium 4 design. If you have hyperthreading you need the smp kernel to enable it.
Hi everyone,

I installed the 2.6.12-9-686-smp kernel on my laptop which has a P4 3.2GHz processor. When I boot into the smp kernel, bootup takes 5 to 6 minutes as opposed to less than a minute with the 686 2.6.12-9-686 kernel.
After logging in everthing loads and runs very, very slow.
System monitor resources shows 2 CPU's with usage fluctuating between 25% and 90%.
Processes shows that gnome is using most of the CPU%. In the plain 686 kernel, gnome only uses 2 to 3%.
Does anyone have any ideas on what the problem might be?:confused:

der_joachim
November 9th, 2005, 03:09 PM
How do you remove kernels?
I have a Athlon XP so I need the k7 kernel?

sudo apt-get remove linux-386

HOWEVER!!! Do this with care and after considerable testing! You have to edit your Grub config by hand after removal of your old kernel.

For the record: switching from linux-386 to linux-k7 not only sped up my system, it also reduced heat production for my Athlon Furnace XP 1800+. :p

iltofa
November 9th, 2005, 04:15 PM
How do you remove kernels?
I have a Athlon XP so I need the k7 kernel?

Yes, I think, but I'm a newbie! :D

To remove the kernels, I use Aptitude (command shell) or Synaptic (GUI).
The packets will be: linux-386, for the latest 386 kernel and then after reboot, any
packet named linux-image-[version of previous kernel]-386.
May be this will also automatically remove the relative entries in the grub start menu...

May be an ubuntu expert would use apt-get -remove uninstall.... or something like that, but I'm not sure about the sintax...:confused:

DDM
November 9th, 2005, 05:18 PM
I've been using the k7 kernel for a short while now, was previously using the 686. When I'm compiling something and co a ./configure I still get this:

[checking build system type... i686-pc-linux-gnu]

Is this a standard thing or is there some sort of speed loss involved with the resulting binaries?

poofyhairguy
November 9th, 2005, 08:00 PM
Hi everyone,

I installed the 2.6.12-9-686-smp kernel on my laptop which has a P4 3.2GHz processor. When I boot into the smp kernel, bootup takes 5 to 6 minutes as opposed to less than a minute with the 686 2.6.12-9-686 kernel.
After logging in everthing loads and runs very, very slow.
System monitor resources shows 2 CPU's with usage fluctuating between 25% and 90%.
Processes shows that gnome is using most of the CPU%. In the plain 686 kernel, gnome only uses 2 to 3%.
Does anyone have any ideas on what the problem might be?:confused:


Maybe the power saving feature is messing up. I don't know hwo to fix it really, just use the 686 kernel.

guyomarj
November 9th, 2005, 09:04 PM
Hi,

I've just installed the k7 kernel. I figured out that it was the right for me since I have a 750MgH AMD Athlon. All went well. I'm currently running on the k7 kernel. But I have two question:


Why is there still a "i686" thing when I run the command:
jyves@ubuntu:~$ uname -a
Linux ubuntu 2.6.12-9-k7 #1 Mon Oct 10 13:47:52 BST 2005 i686 GNU/Linux


I also have a Nvidia card:
Section "Device"
Identifier "NVIDIA Corporation NV28 [GeForce4 Ti 4200 AGP 8x]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NoLogo"

How do I know that I'm running the good driver? After the build of the k7 kernel, I didn't do anything about it. Everything seems to work, do I have still to apt-get the restricted modules like specified in the how-to?


Thx...

tomrules345
November 10th, 2005, 02:56 AM
Hi i was just wondering if you could tell me how to save my grub file because i am running a dualboot with windows xp. I have a Dimension 4600 with a 3.0ghz HT processor with 4gb RAM so which kernel should i use because i dont seem to be able to use all my ram with the defult Kernel

iltofa
November 10th, 2005, 05:57 AM
I also have a Nvidia card:
...
How do I know that I'm running the good driver?


I too. Just follow the instruction on http://www.ubuntuforums.org/showthread.php?t=75074
by tseliot.

After that you should see the nvidia logo during bootup, only if it hasn't been disabled during installation.

An easy test may be the screensaver "humfo's tunnel". It doesn't start with a wrong driver...:)

poofyhairguy
November 10th, 2005, 06:08 AM
Hi i was just wondering if you could tell me how to save my grub file because i am running a dualboot with windows xp. I have a Dimension 4600 with a 3.0ghz HT processor with 4gb RAM so which kernel should i use because i dont seem to be able to use all my ram with the defult Kernel

Unless you did some stuff to your grub by hand, it will be fine.

sailor420
November 10th, 2005, 06:33 AM
4gb RAM so which kernel should i use because i dont seem to be able to use all my ram with the defult Kernel

You've gotta enable large memory support in the kernel to do that, which may (though I'm not sure, someone around here probably knows more) involve recompiling your kernel.

See here. (http://www.ubuntuforums.org/showthread.php?t=85064)

tseliot
November 10th, 2005, 08:18 AM
You've gotta enable large memory support in the kernel to do that, which may (though I'm not sure, someone around here probably knows more) involve recompiling your kernel.

See here. (http://www.ubuntuforums.org/showthread.php?t=85064)
Well this was true in Hoary but in Breezy even i386 kernel (which comes with Ubuntu by default) supports up to 4GB RAM by default.

sailor420
November 10th, 2005, 11:47 AM
Well this was true in Hoary but in Breezy even i386 kernel (which comes with Ubuntu by default) supports up to 4GB RAM by default.

OK then. That's good to know.

tseliot
November 10th, 2005, 12:56 PM
Why is there still a "i686" thing when I run the command:
jyves@ubuntu:~$ uname -a
Linux ubuntu 2.6.12-9-k7 #1 Mon Oct 10 13:47:52 BST 2005 i686 GNU/Linux


I don't know why but it seems that's the way it works (for me too)

I also have a Nvidia card:
Section "Device"
Identifier "NVIDIA Corporation NV28 [GeForce4 Ti 4200 AGP 8x]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NoLogo"

How do I know that I'm running the good driver? After the build of the k7 kernel, I didn't do anything about it. Everything seems to work, do I have still to apt-get the restricted modules like specified in the how-to?


Thx...

When you installed the package "linux-image-k7" Synaptic installed automatically also the restricted module for your kernel. Moreover the package "nvidia-glx" is the same for all the architectures (k7, i686, etc.).

Don't you worry, you have the right version of the drivers (otherwise they wouldn't work and you wouldn't even see the graphical interface)

guyomarj
November 10th, 2005, 01:51 PM
Thx tseliot... I got another one for you ;): Is there an "How to tweak Nvidia Settings", because I want to get as much as I can from my videocard but I don know how to use the Nvidia Setting application.

tseliot
November 10th, 2005, 02:49 PM
Thx tseliot... I got another one for you ;): Is there an "How to tweak Nvidia Settings", because I want to get as much as I can from my videocard but I don know how to use the Nvidia Setting application.

No, sorry (since I don't use my nvidia card for playing games,etc.) but you can always have a look at the unofficial nvidia forums and ask questions there (where you can find the developers of the drivers and some linux geek):
http://www.nvnews.net/vbulletin/forumdisplay.php?f=14

JimLittle
November 17th, 2005, 04:57 PM
WRT the question about the kernel to install for a Pentium M.

Yes you want the 686.

http://www.intel.com/pressroom/kits/quickreffam.htm

dudus
November 17th, 2005, 11:45 PM
Just installed the k7 kernel here and everything went fine. Thank you very much

domino
November 18th, 2005, 07:27 AM
Thanks for the information. I posted this in the n00b forum, but I think this is a more appropriate thread for such question.

I have a P4 2.8C HT processor. All this time, I was under the impression that the 686-smp kernel was better than the 386 kernel. I looked at the boot logs and I noticed that on the i686-smp, HT was disabled! So I'm saying to myself, @#&%^!? Being relatively new Linux, this is NOT GOOD, correct? How can I enable HT on the kernel I'm using?

unmae -r = 2.6.12-9-686-smp

If you need to know more, just tell me what commands to copy/past.

kenweill
November 18th, 2005, 08:00 PM
I have tried running the command:

sudo apt-get install linux-686

But it just displays:

E: Coudn't find package linux-686

What else can i do about this?

tseliot
November 19th, 2005, 05:35 AM
I have tried running the command:

sudo apt-get install linux-686

But it just displays:

E: Coudn't find package linux-686

What else can i do about this?
sudo gedit /etc/apt/sources.list

uncomment (i.e. remove the "##" before the lines) all the lines beginning with "deb-http" and "deb-src" but the backports.

Save and exit

Then:
sudo apt-get update

sudo apt-get install linux-686

erikpiper
November 19th, 2005, 04:53 PM
yessir!

mcrofutt
November 20th, 2005, 10:13 AM
:) Thanks for this,poofyhairguy! The 686 kernel seems to make quite a difference in my AMD 1,2G :KS .

Off topic: I ALSO live in Texas. NE part of the state, up near Texarkana. Where do you call home?


You Ubuntu Team members do a GREAT job! Keep up the good work!

gk_jam
November 20th, 2005, 05:03 PM
I installed ubuntu x86 on my pc with an AMD Athlon 64 3200+. As expected, it initially used the i386 kernel, but I followed the instructions in this thread to install the k7 kernel and rebooted. Everyhting seems to be working fine. My question, when I type 'uname -m' I get 'i686', and when I type 'uname -r' I get '2.6.12-9-k7'. Is that ok, or should the machine name match the kernel release?

poofyhairguy
November 20th, 2005, 08:11 PM
:) Thanks for this,poofyhairguy! The 686 kernel seems to make quite a difference in my AMD 1,2G :KS .

Off topic: I ALSO live in Texas. NE part of the state, up near Texarkana. Where do you call home?


College Station and no problem.

poofyhairguy
November 20th, 2005, 08:11 PM
I installed ubuntu x86 on my pc with an AMD Athlon 64 3200+. As expected, it initially used the i386 kernel, but I followed the instructions in this thread to install the k7 kernel and rebooted. Everyhting seems to be working fine. My question, when I type 'uname -m' I get 'i686', and when I type 'uname -r' I get '2.6.12-9-k7'. Is that ok, or should the machine name match the kernel release?


Its ok, unless you soon find a big problem in function.

ekravche
December 4th, 2005, 08:27 AM
for the pentium 4 515 2.93Mhz should I install the 686 kernel or the 686-smp kernel?

Thank you in advance.

^NoX
December 4th, 2005, 11:01 AM
for the pentium 4 515 2.93Mhz should I install the 686 kernel or the 686-smp kernel?

Thank you in advance.

I don't think that this is P4.. I think it's a Celeron.
http://processorfinder.intel.com/scripts/list.asp

ekravche
December 4th, 2005, 07:31 PM
I don't think that this is P4.. I think it's a Celeron.
http://processorfinder.intel.com/scripts/list.asp

It's a p4 trust me. I have 1Mb L2 cache, while celerons only have 256Kb. Anyhooo, if you look on the intel's site you'll see (http://www.intel.com/products/processor_number/proc_info_table062705.pdf). Nonetheless, my cpu doesn't support HT from the looks of it and the 686-smp kernel doesn't boot at all. The 686 kernel works great and I've noticed some performance increase.


If anyone needs help deciding which kernel they need to install this link can help those with an intel cpu http://www.intel.com/products/processor_number/proc_info_table062705.pdf.

bored2k
December 4th, 2005, 07:32 PM
for the pentium 4 515 2.93Mhz should I install the 686 kernel or the 686-smp kernel?

Thank you in advance.
Does it have HT-tech? If not, use regular 686 kern.

poofyhairguy
December 4th, 2005, 09:34 PM
I think I found out why Hyperthreading gets kinda second class status in Linux. Turns out it hurts server performance:

http://news.zdnet.co.uk/hardware/0,39020351,39237341,00.htm

And we all know that almost EVERY Linux distro (even Ubuntu) fancies itself to exist on a server. That said I hear that in Windows HT makes things feel more responsive.

masingerz
December 16th, 2005, 12:53 AM
Dear Forum

I have a P4 3.2 Ghz 800mhz with 1M L2 with HT, please advise on how to get the HT kernel installed.

regards Masingerz

avilella
December 20th, 2005, 10:33 AM
any of those kernel working with 4G RAM Dell Dimension 5000?

ShirishAg75
December 20th, 2005, 03:28 PM
sudo gedit /etc/apt/sources.list

uncomment (i.e. remove the "##" before the lines) all the lines beginning with "deb-http" and "deb-src" but the backports.

Save and exit

Then:
sudo apt-get update

sudo apt-get install linux-686


Just saw this & couldn't help wondering, why the backports should be commented? Noob here but would like to know.

tseliot
December 20th, 2005, 04:58 PM
Just saw this & couldn't help wondering, why the backports should be commented? Noob here but would like to know.
You shouldn't keep the backports enabled all the time. Use them only when you need it (but the backports won't damage your Ubuntu installation).

Anyhow if you need to install a new kernel there's no problem whatsoever.

ShirishAg75
December 21st, 2005, 03:36 AM
can u tell why backports shouldn't be enabled all the time. I'm trying to also look the issue up at the wiki but if not there then it should be added if there's a reason to be used sparingly. I know there is some difference between apt-get update & apt-get upgrade but haven't been able to know the difference. Maybe related or not? Sorry for going off-topic here.

tseliot
December 21st, 2005, 06:16 AM
can u tell why backports shouldn't be enabled all the time. I'm trying to also look the issue up at the wiki but if not there then it should be added if there's a reason to be used sparingly. I know there is some difference between apt-get update & apt-get upgrade but haven't been able to know the difference. Maybe related or not? Sorry for going off-topic here.
The backports are packages which have been ported from Dapper Drake (the development/unstable version of Ubuntu). Therefore you'd better not keep them enabled when you update your system (but it won't break anything).

Please read this document (it explains it's safe to use them):
http://ubuntuforums.org/showthread.php?t=40291

rajaiskandarshah
December 22nd, 2005, 04:23 PM
upgraded from linux-386 to linux-686 via synaptic on my acer travelmate 2301lci notebook with intel celeron m 320 1.3ghz processor and 512mb ddr ram.

starting oo.o1.9.x is now about 50% faster. in i386 about 25 sec, in i686 about 15 sec. speed is very noticeable when opening large files (more than 1mb). a ms word file of 4mb size opened up in about 10 sec. a ms ppt file of 1mb size opened up in about 15 sec.

myha
December 23rd, 2005, 03:40 AM
Hi all!

I'm having a little trouble here and I need some help...

I installed linux-686 kernel (have pentium M) and everything worked ok, the speed increase was noticable. But today I booted up my computer (with 686 kernel) and there was an update from 2.6.12-9-686 to 2.6.12-10-686 kernel. I installed kernel, rebooted and now I get:

RAMDISK: ran out of compressed data
invalid compressed format (err=1)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

:/
I only have 1 686 kernel in my grub, it somehow erased 9-686 and left only 01-686.
When I boot with my old kernel (386) everything is ok, and the grub parameters are the same as with the 686.

Any idea?

edit: Can someone tell me which package to remove and than to install again? Everything with linux*-686 maybe?

kleeman
December 23rd, 2005, 09:19 AM
Hi all!

I'm having a little trouble here and I need some help...

I installed linux-686 kernel (have pentium M) and everything worked ok, the speed increase was noticable. But today I booted up my computer (with 686 kernel) and there was an update from 2.6.12-9-686 to 2.6.12-10-686 kernel. I installed kernel, rebooted and now I get:

RAMDISK: ran out of compressed data
invalid compressed format (err=1)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

:/
I only have 1 686 kernel in my grub, it somehow erased 9-686 and left only 01-686.
When I boot with my old kernel (386) everything is ok, and the grub parameters are the same as with the 686.

Any idea?

edit: Can someone tell me which package to remove and than to install again? Everything with linux*-686 maybe?
Sounds a bit like corrupted downloads of the new kernel. Try reinstalling linux-image-**-686 (synaptic can do this- look in packages menu)

myha
December 23rd, 2005, 09:55 AM
Hi!

I reinstalled everything with *686 from synaptics and it works again! :)

Thank you very much!

br, Miha

canadianwriterman
December 23rd, 2005, 09:59 AM
I have an AMD Athlon 2000XP (which is not 64 bit) and installed the k7 kernel last night. I can't say I really notice any difference. Anyone else with a similar experience?

Also, I notice in some previous threads that the file to install is kernel-k7. I installed one called image-kernel-**-k7. Is there a difference?

punkr0x
December 23rd, 2005, 12:02 PM
Hey guys, forgive my ignorance: is an AMD mobile semperon 2800+ a k7 processor? (Which kernel is best suited for my processor?)

tseliot
December 23rd, 2005, 12:07 PM
Also, I notice in some previous threads that the file to install is kernel-k7. I installed one called image-kernel-**-k7. Is there a difference?
No, it's the same kernel. The main difference between linux-k7 and linux-image-2.6.12-10-k7(etc.) is that the former is a kind of metapackage which installs also the restricted modules and headers (things you can do whenever you want)

tseliot
December 23rd, 2005, 12:07 PM
Hey guys, forgive my ignorance: is an AMD mobile semperon 2800+ a k7 processor? (Which kernel is best suited for my processor?)
Yes, that's right.

canadianwriterman
December 25th, 2005, 02:20 PM
No, it's the same kernel. The main difference between linux-k7 and linux-image-2.6.12-10-k7(etc.) is that the former is a kind of metapackage which installs also the restricted modules and headers (things you can do whenever you want)

Should I install the restricted modules and headers? What do they do?

tseliot
December 25th, 2005, 02:27 PM
Should I install the restricted modules and headers? What do they do?
Kernel headers are useful if e.g. you need to install the drivers for your graphic card or compile the modules for vmware, etc. In other words it's almost like having the kernel source.

The restricted modules contain the modules (which are already compiled for your kernel) such as:
- madwifi (Atheros)
- fglrx (ATI)
- nvidia
- fcdsl, fcdsl2, fcdslsl, fcdslslusb, fcdslusb, fcdslusb2, fcdslusba,
fcpci, fcpcmcia, fcpcmcia_cs, fcusb, fxusb (AVM ISDN)
- ltmodem (Winmodem)

These modules are "restricted" because they are not available under a
completely Free licence.

canadianwriterman
December 25th, 2005, 02:33 PM
Thanks, tseliot. Sounds like those are capabilities I haven't needed. I'll probably leave well enough alone and not install them for now. I was curious about whether they would enhance the performance of the K7 kernel, as I haven't seen any difference between it and the i386 kernel I have been running under.

tseliot
December 25th, 2005, 05:05 PM
... as I haven't seen any difference between it and the i386 kernel I have been running under.
that's the reason of the title of this thread: "Picking the Kernel thats Right for You (Possible Speed Increase)".
Not everybody has a speed increase.

infoseeker
December 25th, 2005, 06:19 PM
I have a Celeron D at 2.8 GHz
I presume the 686-smp kernel would be ok?

tseliot
December 25th, 2005, 06:22 PM
I have a Celeron D (with HT) at 2.8 GHz
I presume the 686-smp kernel would be ok?
686 for sure. I don't know if "smp" is right for you though (anyhow it won't do any damage)

eriqk
December 25th, 2005, 08:28 PM
I would like to upgrade to the K7 kernel. Does this affect anything I've compiled myself? Do I need to rebuild anything?

Groet, Erik

poofyhairguy
December 26th, 2005, 12:49 AM
I would like to upgrade to the K7 kernel. Does this affect anything I've compiled myself? Do I need to rebuild anything?

Groet, Erik


Unless you compiled your own kernel or kernel drivers (such as Nvidia by hand), its fine.

quonsar
December 26th, 2005, 01:32 AM
wow. installed the 2.6.12-10-686 kernel on this 1.4 ghz celeron and this 3 week n00b is getting a whole new respect for ubuntu. big diff on this box! gnome is very much snappier now! then i installed firefox 1.5 and now i'm surfing like greased lightning. :-D

byen
January 5th, 2006, 10:01 PM
Hey poofy,
Just installed the k7 kernal for my amd and so far it looks good.will try to update here if any wierdness occurs. So if anyone has an AMD XP 2800+ processor....i can surely say this install would work for you too.
Thanks yet again poofy and goodluck.

PS- I get the kubuntu boot splash for some reason instead of ubuntu... I tried removing kubuntu usplash through synaptic but the problem persists. Not a big deal but Id rather have ubuntu there..... any ideas?
thanks guys.

byen
January 6th, 2006, 01:19 AM
ok never mind. I fixed it. If anyone comes across a similar problem do this:
Open the terminal and type:
sudo update-alternatives --config usplash-artwork.so
(this will open a selection box that lets you decide which splash you would prefer 1.default(ubuntu) 2.kubuntu and 3.xubuntu. select one and then press <enter>)
Now enter:
sudo dpkg-reconfigure linux-image-`uname -r`
(this will build your choice into the initramfs) (enter)

It will take about 10-30 seconds and thats it you are done.
Restart and enjoy!

poofyhairguy
January 6th, 2006, 01:26 AM
Hey poofy,
Just installed the k7 kernal for my amd and so far it looks good.will try to update here if any wierdness occurs. So if anyone has an AMD XP 2800+ processor....i can surely say this install would work for you too.
Thanks yet again poofy and goodluck.

PS- I get the kubuntu boot splash for some reason instead of ubuntu... I tried removing kubuntu usplash through synaptic but the problem persists. Not a big deal but Id rather have ubuntu there..... any ideas?
thanks guys.


Glad to help. Anything thats an Athlon should be able to use a K7 kernel.

I use upower personally:

https://wiki.ubuntu.com/Upower?highlight=%28upower%29

zahidism
January 6th, 2006, 08:10 PM
hmm, i have a 2.0 ghz Pentium M dothan, do you think installing the 686 will increase performance? im worried it might a.) ruin my ATI driver (although i never installed one i just use the 2d one ubuntu installed) and b.) ruin my ndiswrapper driver because i spent hours upon hours fixing that. do you think those are possibilities?

poofyhairguy
January 6th, 2006, 08:32 PM
hmm, i have a 2.0 ghz Pentium M dothan, do you think installing the 686 will increase performance? im worried it might a.) ruin my ATI driver (although i never installed one i just use the 2d one ubuntu installed) and b.) ruin my ndiswrapper driver because i spent hours upon hours fixing that. do you think those are possibilities?


If you EVER are worried about something like this...then just don't. Really. It won't make a huge difference.

zahidism
January 6th, 2006, 08:33 PM
hmm, well i just updated and everything seems to be working fine. how do i tell what kernel im running? (i know i clicked it in GRUB but i just want to see it in the terminal)

tseliot
January 7th, 2006, 05:02 AM
hmm, well i just updated and everything seems to be working fine. how do i tell what kernel im running? (i know i clicked it in GRUB but i just want to see it in the terminal)
type:
uname -r

Zlatan
January 25th, 2006, 06:23 AM
should i care to install a new kernel if i'm using 2.6.12-10-386 on my old amd athlon 1600+ and nvidia geforce2 64mb and with 256mb RAM?
thank you

oimon
January 25th, 2006, 10:19 AM
It would be interesting if we could quantify these speed increases with a benchmark tool, rather than guesswork.
Anyone know of a good tool to test it before and after?

It would be particularly useful to make a list with results from different CPUs

zasf
January 25th, 2006, 04:45 PM
sudo apt-get install linux-686

I recently compiled my own kernel, following tseliot's guide for both fun and challenge. Are these kernel just precompiled ones with processor specific options?

I checked my own kernel config and I noticed that I didn't flag the right cpu (686 I guess since I have a pentium M), can you take a look at it (attachment)? Should I recompile?

Thanks

EDIT: I recompiled it with Pentium-M option enabled and took the chance to install new ati drivers :cool:

matteo@ubuntu:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON X700 Generic
OpenGL version string: 2.0.5582 (8.21.7)

matteo@ubuntu:~$ uname -r
2.6.12-z2

thoffmeyer
January 25th, 2006, 09:09 PM
awsome guide, thanks :)

Twizz
January 26th, 2006, 12:46 AM
Thanks a lot. This worked really good for me. I run a P4 2.8GHz HT computer. I noticed things like OO, and AmaroK loading a lot faster.

stalefries
January 26th, 2006, 08:54 AM
just installed 686, no hitches yet!

eriqk
January 26th, 2006, 06:08 PM
Unless you compiled your own kernel or kernel drivers (such as Nvidia by hand), its fine.

Alright, that's very cool.
Sorry about the late reply, btw.

Groet, Erik

dcast
January 26th, 2006, 10:26 PM
a little bit of a speed increase with my p3 thanks a lot.

kenweill
February 7th, 2006, 02:44 AM
I have a question.

What if i install and use linux-686, can I still install 'package-386.deb' files?
Or I should have to install 'package-686.deb' files?

I was just confused. Installing 386.deb files under 686 linux kernel.

Subbu.exe
February 7th, 2006, 02:56 AM
I'm a Little Confused, The Stock Kernel Which Comes with the CD is Linux-386,
I Had to Compile my Own Kernel Because I Had to Add some Drivers for my Lan Card. I Selected the Processor as Opetron/Athlon64/K8, But I havent Installed K7, Since I Hace Compiled my Own Kernel Do I Have to Install K7 too?

tseliot
February 7th, 2006, 06:59 AM
I'm a Little Confused, The Stock Kernel Which Comes with the CD is Linux-386,
I Had to Compile my Own Kernel Because I Had to Add some Drivers for my Lan Card. I Selected the Processor as Opetron/Athlon64/K8, But I havent Installed K7, Since I Hace Compiled my Own Kernel Do I Have to Install K7 too?
No, what you chose is ok. Stick to your kernel.

tseliot
February 7th, 2006, 07:00 AM
I have a question.

What if i install and use linux-686, can I still install 'package-386.deb' files?
Or I should have to install 'package-686.deb' files?

I was just confused. Installing 386.deb files under 686 linux kernel.
You can install 386.deb with a 686 or a k7 kernel. Don't you worry ;)

VCSkier
February 7th, 2006, 03:14 PM
please excuse me if my question is stupid; i'm very new to linux...

how does this compare to the vanilla kernel or nitro kernel?

tseliot
February 7th, 2006, 03:25 PM
please excuse me if my question is stupid; i'm very new to linux...

how does this compare to the vanilla kernel or nitro kernel?
What do you mean?
A vanilla kernel is the kernel source from kernel.org
A nitro kernel is a vanilla kernel which has been patched with a nttro patch and should perform better but it might cause you problems (never tried myself though).
Ubuntu kernels (the ones which this guide refers to) are vanilla kernels patched by Ubuntu developers with their patches. You can find them in the repositories. They should work fine (I use them all the time).

If you are a newbie you should stick to Ubuntu kernels for now. Use 686 if you use a pentium or k7 if you use an AMD CPU.

VCSkier
February 7th, 2006, 11:47 PM
thanks tseliot. *goes to work on 686 kernel*

MystaMax
May 24th, 2006, 05:05 PM
Hello I have attempted the instructions here and I am having problems. 1st thing I noticed is that the howto states not to install the image packages (also clarified here (http://www.ubuntuforums.org/showpost.php?p=466105&postcount=15)), but after running "sudo apt-get install linux-686-smp" it states it'll install:


linux-image-2.6.12-10-686-smp
linux-image-686-smp
linux-restricted-modules-2.6.12-10-686-smp
linux-restricted-modules-686-smpI also got the same results when attempting this through synaptic.

After installing these packages (just to see if it'll work) I am unable to use X once I log in. After logging in, it'll lock up maybe after 20 seconds. I have a thread (http://www.ubuntuforums.org/showthread.php?p=1029751) started which has notes on what I've done. I got some help from some folks on IRC (great place for quick support btw) stating that he had similar problems and that I need to make some changes to my xorg.conf file. Which I did, and it worked just fine for a while at least. I attempted to VNC to the server from my house (the server is @ work) and the computer locked up, just as it had previously done.

I'm in a real bind, and not sure what to be looking for. I dont even know why its locking up (possibly something w/ X, not sure). Even if I did, I do not know how to diagnose the problem. Can someone help me out? Thanks. Here are my system specs:

Dell PowerEdge 2850 (2U Server)
ATI Technologies, Inc. Radeon 7000 VE
Intel Xeon Dual 2.8
2 GIGS of RAM
700 GIGS setup in a RAID-5 (6 Total hard drives)

Thread w/ details on my issue (http://www.ubuntuforums.org/showthread.php?p=1029751)

Getwild2
May 26th, 2006, 08:33 AM
This is a total noob question but I am a noob, therefore it is okay. ](*,)

I'm brand-new to Ubuntu and even Linux in general. I was talking to my buddy at work who runs Gentoo and he mentioned having multiple kernels to fall back on so that spawned my research.

I run an AMD Athlon XP processor, so I would need the K7. IF I run sudo apt-get install linux-k7, is it going to just install an 'additional' kernel that will show up in Grub on my next boot? Will it mess anything up with my current kernel? Anything additional I'd need to do for this secondary kernel?

Also, is there such a thing as saving an additional copy of my current kernel the way it is right now so revert back to if I stumble upon issues later? Meaning, sort-of like the Windows Snapshot utility? I ask because I JUST set my system up and it is running very well. I would like to revert back to this point if at all possible in the event there is a major catastrophe. I wondered if a backup copy of my current kernel is possible or is what I am seeking.

Thanks for the kernel education, this is a great thread.

jazzgossen
May 27th, 2006, 08:00 AM
I run an AMD Athlon XP processor, so I would need the K7. IF I run sudo apt-get install linux-k7, is it going to just install an 'additional' kernel that will show up in Grub on my next boot? Will it mess anything up with my current kernel? Anything additional I'd need to do for this secondary kernel?


Exactly. The kernel itself will not be changed. You can just select whichever kernel you want to run when you boot. The kernel itself doesn't change any of your settings, so it is perfectly safe to try it. Something that can happen though, is that you have some kernel modules that aren't in the new kernel. In that case, some things won't work, but you will still be able to simply reboot with your old kernel instead.

zigoto
May 30th, 2006, 10:02 AM
Hi, i have installed 686 smp and work fine... But when grubs start i have 2 kernel versions, how can i remove

ubuntu, Kernel 2.6.15-23-386
ubuntu, Kernel 2.6.15-23-386(recovery mode)



Regards!

zigoto
May 30th, 2006, 04:04 PM
Hi, if i install 686 the openoffice does not work!
What can i do??

msekolpsu
May 30th, 2006, 11:23 PM
How would I get the correct setup going for an Intel Pentium D 805?

It's a dual core 64-bit processor. I can get both processors to show up running the i386 distro and then adding in the linux-686-smp and headers.

however...

when I go to run VMWare, it tells me that 64 bit guest OSes won't run, which I'm assuming means I'm not in 64 bit mode.

I tried running the AMD64 distro, but that's a no go either because I can't get both processors to show up (since the linux-686-smp doesn't work in that build). Any thoughts? Is there any way to confirm the 64-bit mode?

Great thread btw

Thanks!

Keith_Beef
May 30th, 2006, 11:56 PM
Why is there still a "i686" thing when I run the command:
jyves@ubuntu:~$ uname -a
Linux ubuntu 2.6.12-9-k7 #1 Mon Oct 10 13:47:52 BST 2005 i686 GNU/Linux




man uname

The i686 is what you would get from just uname -m to find out the CPU type.

K.

Keith_Beef
May 31st, 2006, 12:14 AM
I've read through this thread with interest.

I can't remember what the box said, when I bought this CPU. Here's what /proc/cpuinfo tells me:

$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(tm)
stepping : 0
cpu MHz : 1152.769
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 2277.37

So I downloaded and installed the linux-k7 virtual package, and I'll try running that K7 kernel tomorrow.

Several posts in the thread claim things like "definite speed increase", "gnome is snappier", even that the CPU temperature is lower.

Are there any benchmarking utilities I can use to see if there really is any performance gain?

I'm trying right now to get lm-sensors and the Gnome Sensors Applet 1.5.2 working, to check the temperatures...

$ sensors
Philips -i2c-2-60
Adapter: bt878 #0 [sw]

tveeprom-i2c-2-50
Adapter: bt878 #0 [sw]

and the applet tells me "No sensors found"


Beef.

tommcd
May 31st, 2006, 10:00 AM
Thanks for this great thread! This cleared up a lot of confusion for me about the various kernels. I did:
sudo apt-get install linux-k7
for my AMD socket 754 Athlon64 2800+ CPU and it installed perfectly, along with the linux-restricted-modules for k7.

tom@ubuntu02:~$ uname -r
2.6.12-10-k7
tom@ubuntu02:~$

ELD
June 5th, 2006, 11:06 AM
I have an AMD Athlon XP so do i installed the k7 kernel?

bruce89
June 8th, 2006, 04:12 PM
I don't think creating a spesification is a good idea, especially one with such a long name - https://launchpad.net/distros/ubuntu/+spec/ubuntu386-right-kernel-automatic-picking

syxbit
June 10th, 2006, 04:04 AM
i have a core duo, so i'm gonna try
sudo apt-get install linux-686-smp
i assume thist works in Dapper ?

btw. from what i understand, i just type the above code, then reboot into that kernel, and then install my ati drivers just the same as i did before ?
another question. Does the above code just give me the 686smp kernel version of the latest kernel, or is it an older kernel ?
i'm wondering, cause this was written in the days of breezy.
thanks

pubwho
June 10th, 2006, 08:07 AM
It doesn't seem to work for me. What am I doing wrong?

$ sudo apt-get install linux-restricted-modules-`uname -r`-nvidia-legacy
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package linux-restricted-modules-2.6.15-23-k7-nvidia-legacy

OPaul
June 11th, 2006, 11:39 AM
I installed 686-smp, but when I boot up only 686 and 386 are in the grub menu (I was previously using 686). When I look in Synaptic it shows 686-smp installed. But in the /boot/ folder I don't see 686-smp. Does 686-smp overwrite 686 and keep the 686 name? How can I tell if Hyperthreading is running?

Twizz
June 11th, 2006, 04:19 PM
I installed 686-smp, but when I boot up only 686 and 386 are in the grub menu (I was previously using 686). When I look in Synaptic it shows 686-smp installed. But in the /boot/ folder I don't see 686-smp. Does 686-smp overwrite 686 and keep the 686 name? How can I tell if Hyperthreading is running?
I think if you go to System Monitor, under the Resources tab, it should show 2 CPU's running. When I boot up it only sayd 686, and I have the smp one installed.

OPaul
June 12th, 2006, 12:21 PM
I think if you go to System Monitor, under the Resources tab, it should show 2 CPU's running. When I boot up it only sayd 686, and I have the smp one installed.
Should it show 2 even if I have 1?

Twizz
June 12th, 2006, 04:03 PM
It should if you have the hyperthreading on your P4. It makes it so it works as 2 CPU's even if you have one.

OPaul
June 12th, 2006, 04:29 PM
It should if you have the hyperthreading on your P4. It makes it so it works as 2 CPU's even if you have one.
Well I'm pretty sure I have one of the three P4-Ms with HT, but the Resources tab is only showing 1 CPU. Is there another way I can tell if I'm running the 686-smp kernel and not just 686?

Twizz
June 12th, 2006, 05:53 PM
It should be uname -a I would of posted this before, but I just figured it out. Still learning my way around linux.

OPaul
June 12th, 2006, 06:00 PM
It should be uname -a I would of posted this before, but I just figured it out. Still learning my way around linux.
Ah, I was doing uname -r. Yea, -a says smp. Thanks.

Now does this mean my processor doesn't support HT? Because I do only have 1 CPU listed in Monitor.

Twizz
June 12th, 2006, 06:35 PM
I think it dosent then. But I'm not 100% sure on that.

Krusty Ruffle
June 13th, 2006, 03:33 AM
It doesn't seem to work for me. What am I doing wrong?

$ sudo apt-get install linux-restricted-modules-`uname -r`-nvidia-legacy
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package linux-restricted-modules-2.6.15-23-k7-nvidia-legacy

I'm just guessing, but I think you need a space between `uname -r` & -nvidia-legacy

jakeee
June 13th, 2006, 04:42 AM
I have question. uname -m tells that my processor is i686. My processor is AMD Athlon XP 1600+. So should I pick 686 or k7?

galeron
June 13th, 2006, 09:08 PM
On 6.06 with a Pentium 4 HT processor, I get the following:

****@ubuntu:~$ sudo apt-get install linux-686-smp
Password:
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package linux-686-smp

Anyne knows why this is happening?

Twizz
June 14th, 2006, 02:17 AM
On 6.06 with a Pentium 4 HT processor, I get the following:

****@ubuntu:~$ sudo apt-get install linux-686-smp
Password:
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package linux-686-smp

Anyne knows why this is happening?
Wild Guess but maybe you dont have the repository you need selected. I think I'm wrong... but who knows...

lzap
June 18th, 2006, 04:15 PM
Yes

?????
June 18th, 2006, 05:35 PM
How do I disable the effect you see when you use a launcher on the panel?


(New kernel, 686)

chameleonkid
June 19th, 2006, 01:04 AM
Do I have to just delete the old kernals from the GRUB menu.lst or from the /boot? OR both? I am curious because I got the GRUB error 15 a few days back which caused me some headaches...

lzap
June 19th, 2006, 01:23 AM
Just from grub. To uninstall old versions of kernel use Synaptic! You need to remove linux-image-[old version] etc

gmanpsycho
June 19th, 2006, 04:55 PM
OK I downloaded the SMP kernel (thanks for the guide). However when I boot up into it, I have no sound and I'll need to re-install my nVidia drivers and also reconfigure my wireless card. But I'm puzzled about some of the other information in this thread. I am currently running the 686 kernel (I have a Dell Inspiron 5150 P4 3.2GHz with HT) and I see two CPUs in the System Monitor (see partial screenshot). After booting up with the SMP kernel I still only see 2 CPUs in Sys Monitor.

nealklomp
June 20th, 2006, 04:42 AM
dell inspiron 6m, running 6.06, went up to 686, more responsive and stable. Less degradation of0 performance when OS is under strain. In Xfce it is stupid fast, although in Gnome the drop off is not as much as before.
Thanks Poof and TS.

Franko30
June 21st, 2006, 06:51 AM
Hello,

in Ubuntu 6.06 LTS, did anybody encounter the following bug?

https://launchpad.net/distros/ubuntu/+source/linux-meta/+bug/50180

Secenario: Gnome desktop loaded, no special applications running.

With the linux-686 kernel and a Pentium M processor (like on my Latitude X1) the CPU load never drops below 40-50%. Whereas, using the linux-386 kernel in the same scenario, CPU load drops to 5-6%.

I switched back to only using the linux-386 kernel.

Cheers

Franko30

Gr4v3
June 21st, 2006, 10:54 PM
Hey thanks for all your works keep up guys

snek
June 23rd, 2006, 06:17 AM
I was wondering if there's a K8 32bit kernel..
Cuz I have a Sempron64 3400+ but am running 32bit ubuntu.
Right now I am using the K7 kernel which seems to be working fine, but I guess it would be even more optimised if I could run a K8 kernel?

dronepower
June 24th, 2006, 04:39 AM
thanks for the help

Brando569
June 24th, 2006, 05:27 PM
I was wondering if there's a K8 32bit kernel..
Cuz I have a Sempron64 3400+ but am running 32bit ubuntu.
Right now I am using the K7 kernel which seems to be working fine, but I guess it would be even more optimised if I could run a K8 kernel?

yea i wish there was the same thing since i have an amd64 x2 +3800 but im running the k7 kernel. hopefully 64 bit will be (easily) usable soon....

DavidFourer
June 25th, 2006, 08:38 PM
I installed the 686 kernel with synaptic first and then again as suggested here with sudo apt-get install linux-686. Either way, I get a peculiar slow-down. All the menues operate with delays. I have to click the trackpad buttons real slowly. It seems the hold-up is with some simple graphic rendering. Also some other minor bugs I don't understand.

Rebooting and seldecting 386 kernel from the GRUB menu fixes the problem (thanks for your help on this). My Dell inspiron 6000 packing slip says I have Intel Celeron M processor.

First, how do I set the grub to boot 386 kernel automatically, for the time being. 2)what might be wrong? 3)what processor speed diagnostics come with Dapper and do I really want the 686 kernel?

I was having a lot of trouble with Breezy and the Dapper upgrade was a big help. Everything worked well after that, untill I tried to install the 686 kernel.

OPaul
June 25th, 2006, 11:09 PM
First, how do I set the grub to boot 386 kernel automatically, for the time being.
Temporary, you can modify the /boot/grub/menu.lst file, and place the 386 section above the 686.

Schroeder
July 1st, 2006, 11:26 PM
So, since I am running Dapper Drake on a Acer Centrino Laptop I thought it would be a good idea to upgrade from 386 to a 686 kernel (2.6.15-25-686). Installation worked like a charm and there were no errors whatsoever (boot up fine).

Is there a difference between SMP and not-SMP kernels? I tried installing apt-get install linux-686-smp first and then realized that my processor doesnt have hyperthreading. So I deinstalled and installed with apt-get install linux-686. Now, uname -a still says the 686 SMP kernel is installed. Whats up with that? :-s

I noticed a slight overall speed increase using the new kernel but it definitely didnt change too much.

Chris

OPaul
July 2nd, 2006, 01:04 AM
... So I deinstalled and installed with apt-get install linux-686. Now, uname -a still says the 686 SMP kernel is installed. Whats up with that? :-s ...
Chris
I also noticed this when going back to just 686 from 686-SMP.

Exile29
July 4th, 2006, 01:31 AM
I have an AMD64 3200.
I was running 386 but after reading this post I switched to k7.
Works great! Thanks!!!

nickless
July 4th, 2006, 05:01 AM
This is really nice! I was always too lazy to built my own kernel, well it seemed not very easy, too. I installed the k7 alternative and Im pretty shure that everything is a little faster now :D and even my mother could have typed this in the terminal and reboot. NVDIA card works fine, too.
Thanks!

PingunZ
July 4th, 2006, 08:14 AM
If I install the k7 kernel, will I be able to run 32bit-only software ?


Grtz PingunZ

raffytaffy
July 6th, 2006, 06:22 PM
Sony Vaio VGN-FS660/W with 1.7ghz pentium M ..changed to i686 kernel..rebooted..works good...not much differance...still testing everything

michael1977
July 7th, 2006, 12:03 AM
I recently installed the k7 kernel I am running a laptop with an AMD XP+ 3000 with 1 gb ram. I did not have to re-install the nvidia drivers I had installed under 386 in fact in my terminal it stated the change for the nvidia drivers downloaded them installed them and bang I was up and running again and did not loose XGL Compiz through the whole thing. I did use the terminal to install as opposed to synaptic. Graphics card is Nvidia Geforce go 420 something.

I have noticed at least maybe just in my mind that things are a tiny bit more responsive when opening and closing programs. Could be wishfull thinking lol.

rgsproductions
July 9th, 2006, 02:23 AM
New to ubuntu. install, setup and documentation is great. Upgraded kernal from 386 to K7 with the nvidia drivers in 10 min and all is fantastic. I did it through synaptic and everything was configured right. Great forum

william_nbg
July 28th, 2006, 08:12 AM
I have a noob hardware question.

Last year a picked up an amd 64 bit, 939 pin cpu from a friend.

OK, I knew enough to install the K7 kernel - no problem, works good.

Though, as I was looking in the device manager I noticed the cpu says it's a K8 hyper-transport: my question is, because I don't have the paperwork on this cpu is, how do I tell if it's a dual core and should be using the dual core cpu??

tseliot
July 28th, 2006, 08:24 AM
I have a noob hardware question.

Last year a picked up an amd 64 bit, 939 pin cpu from a friend.

OK, I knew enough to install the K7 kernel - no problem, works good.

Though, as I was looking in the device manager I noticed the cpu says it's a K8 hyper-transport: my question is, because I don't have the paperwork on this cpu is, how do I tell if it's a dual core and should be using the dual core cpu??

It's not dual core. Mine has "hyper-transport" too

william_nbg
July 28th, 2006, 08:37 AM
Thanks for the quick reply!

Another hardware noob question if you have a second.

If I got an amd dual core do you need a special motherboad for it as well, or will it run on the same 939 socket board?

william_nbg
July 28th, 2006, 09:01 AM
OK - now I'm just being lazy.

I had a look on the asus site (my board is an asus a8n) and according to their site it should work??

jharris
July 28th, 2006, 09:34 AM
Thanks for the quick reply!

Another hardware noob question if you have a second.

If I got an amd dual core do you need a special motherboad for it as well, or will it run on the same 939 socket board?
You'll be fine with a regular AMD Dual Core X2 on a 939 socket. However, if you decide to opt for an X2 AM2, you'll need a new 940 socket motherboard.

Malta Soron
July 28th, 2006, 07:02 PM
Actually a AM2 motherboard. There are also 940 pin motherboards on the market, but they aren't compitable with AM2.

william_nbg
July 28th, 2006, 07:32 PM
One more simple hardware question:

Maybe this is just a Windows-mind-wrap feeling, which I haven't yet shaken loose. If I pop off the 64 bit amd, and pop on a 64 bit dual core amd, would I have to do a fresh install or would it work well on the same install??

Any major hardware change on windows I would have done a fresh install.:sad:

jms1989
August 2nd, 2006, 05:17 AM
Hi, My computer is running a Pentium 4 HT (Hyper-threading) 2.8GHz proccesser on a dual boot system, What would be the recommanded kernal?

Ftpmaster
August 2nd, 2006, 05:36 AM
Hi, My computer is running a Pentium 4 HT (Hyper-threading) 2.8GHz proccesser on a dual boot system, What would be the recommanded kernal?

686-smp of course.

evil_elman
August 2nd, 2006, 12:02 PM
I'm running both the 386 and 686 kernels on my laptop (which have got a Pentium M 1.6 GHz with 533MHz FSB, 'Centrino mkII') for testing purposes.

Whenever I run the 686 kernel the computer is slower. I can really notice it. For example, the animation for minizing windows is slower, mounting the / file system during boot i slower, buttons reacting to mouse clicks are slower, video playback is not possible (jerky) and general 2D is slower when moving windows on top of other windows (it doesn't repaint the window in the background properly).

My fglrx driver works fine with both 386 and 686 kernerls. The 2D is fairly sluggish with 386 kernel as well but I can live with that. Not as bad as witht he 686 kernel, though.

SimplyMEPIS 6, SUSE Linux 10.1 and the Edgy Knot 1 release with 686 kernels works fine, but not Dapper for some reason.

Any ideas?

Complete HW specs and other general info can be found here: http://www.rotoni.net/travelmate_4601LCi.html

gurgle
August 2nd, 2006, 12:33 PM
what smp kernel can i use for ubuntu 64-bit version?

H.E. Pennypacker
August 2nd, 2006, 06:22 PM
Some people have reported that switching to the 686 kernel on an Intel Celeron M processor results in a speed difference, but I have not found that to be true in my case. I switched back to 386, but for no particular purpose. Speed is the same on both kernels.

MyBigToe
August 14th, 2006, 12:44 PM
I installed the 686 kernel (Intel P4 3.06ghz), but after booting to the sign in screen, i have keyboard/mouse issues.

Either my keyboard wont work or my mouse and keyboard wont work, but the keyboard worled when selecting which to boot from on the Grub menu.
Have had no problems with 386 kernel.

Any suggestions?

techgnome
August 14th, 2006, 01:47 PM
Hi, I posted this first on the laptop board (since it concerns my Vaio laptop), but thought I would try here, too.

I am running Ubuntu 6.06 on a Sony Vaio SZ240 with a Core Duo processor. I have followed all of the core duo recommendations I can find online for getting the dual processor feature running to no effect. I started with the Live CD install, then ran sudo apt-get update && sudo apt-get install linux-686-smp. After rebooting, /proc/cpuinfo atill shows only one processor. Booting this same system into Windows XP shows both processors running, so I know it can work. Here is a capture of both my uname -a and cat /proc/cpuinfo:

$ uname -a
Linux techgnome 2.6.15-26-686 #1 SMP PREEMPT Thu Aug 3 03:13:28 UTC 2006 i686 GNU/Linux

$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 14
model name : Genuine Intel(R) CPU T2300 @ 1.66GHz
stepping : 8
cpu MHz : 1667.113
cache size : 2048 KB
physical id : 0
siblings : 1
core id : 255
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx pni monitor est tm2 xtpr
bogomips : 2003.30

Anyone have any ideas? Thanks in advance!

Klaidas
August 14th, 2006, 04:02 PM
A very nice guide.
And I finally installed a 686 kernel! :)

OPaul
August 15th, 2006, 02:30 PM
686-smp of course.
I'm a little confused. I thought SMP was a method that two processors used to communicate with one another. So what advantage does installing it with 1 processor have?

FizDev
August 15th, 2006, 02:55 PM
Well if your processor supports HyperTrading (HT) you should get the smp kernel... otherwise..
(HT is a little bit as if you had 2 processors instead of just one)

secretlondon
August 15th, 2006, 08:59 PM
It looks like you can't not install an SMP kernel if you have an AMD K7 CPU.

I've got one 32 bit Athlon XP and noticed that I had an SMP kernel installed. It looks like linux-k7 and linux-k7-smp both depend upon the same packages.

vilto
August 25th, 2006, 01:08 PM
i have done every thing listed in the tutorial but .....instead of increasing the speed it decreased......im using amd athlon x2 3800+
i installed k7-smp

expecially when im using firefox its going to 40% and another around 50% some times even more......remaining all seam to be fine

im new to linux .....plz explain whts the problem is and how to fix it

vilto
August 25th, 2006, 10:34 PM
got the problem its not kernel issue but about nvidia drivers

msolano
August 26th, 2006, 12:49 PM
Hi!. I did the :
"For a modern Pentium 2+ kernel for dual processors, dual cores, or hyperthreading:
sudo apt-get install linux-686-smp"

because i have a Intel Dual Core 2.8MHz.

I have a big problem with this 'cause when i boot Ubuntu with 686 kernel version my 'Mounting file system' (second step) freeze the computer.

Is there somebody with the same issue? do you know something about this?

THanks! ](*,)

pansz
September 4th, 2006, 08:19 AM
My notebook is a Pentium M, so is that the 686 kernel ?

Of course, Yes.

cactaur
September 4th, 2006, 06:37 PM
I installed the 686 kernel, but when I boot up, the keyboard and mouse do not respond. Tried it many times, stays consistent. When I use the 386 kernel, everthing's fine. Anyone know what's wrong?

djRobbieF
September 4th, 2006, 07:54 PM
I wanted to try this, because I'm all about the speed - but after doing the Kernel update, I can no longer get on my wireless network. The wireless settings are still there, but apt no longer connects, and I cannot browse, so I'm guessing I've lost my wireless card.
Is there a way to do the kernel update, but then restore drivers that "come with" the initial ubuntu install so I can still use my wireless?

THANKS!!

EDIT>> ISSUE RESOLVED. I posted in another thread the resolution.

djRobbieF
September 7th, 2006, 12:28 PM
HUGE speed increases - thank you!

I posted my procedure and story here:
http://www.blog.djrobbief.com/?p=17

mighty_myte
September 7th, 2006, 10:39 PM
I just found out my kernel does not support 3dnow etc.
Recently i installed winxp and was surprised by it's speed,
hopefully this will make things better.

By the way: seems like apt-get installs the Nvidia-legacy drivers automaticly.

I'll reboot now, hopefully able to post some good news.. :rolleyes:

aos101
September 10th, 2006, 08:33 AM
smp – This kernel is NEEDED to use both CPUs in a multi-CPU setting. The kernel is also required to “enable” hyperthreading in modern Pentium 4 CPUs. Also needed for dual core processors (the letters stand for Symmetric Multiprocessing). Very important to install this, as it WILL improve performance. Sorry to bold it but I think this one is the most important.[/B]

http://en.wikipedia.org/wiki/Symmetric_multiprocessing
How do I know if SMP support is working? I'm running Kubuntu 6.06 on a P4 3.06GHz HT processor, and I first saw point 10 here (http://tips.linux.com/article.pl?sid=06/06/08/1651225&tid=50) and installed the 686 kernel (package linux-image-2.6.15-26-686). Now I saw this HOWTO so ran this to ensure I have SMP support for my processor with HT:
sudo apt-get install linux-686-smp
uname -r returns:
adam@kubuntu:~$ uname -r
2.6.15-26-686
So would I have SMP support after that? Thanks for any help.

missmoondog
September 10th, 2006, 09:35 AM
just tried this on my old 800mhz celery system. along with the "how to" trick of enabling profile readahead i found yesterday, the system is not much, if any, snappier than before. always wondered if i could use the 686 kernel though.

missmoondog
September 11th, 2006, 08:41 AM
now, i just tried this on an amd athlon xp 3000+. whoa!! slow down horsey!!
for one thing, i was using the default 386 kernel. now using the k7.

simple question though. it did automatically install the nvidia drivers, but do i have to run that command (sudo nvidia-glx-config enable) to enable/update them again? i did still get the nvidia splash screen up. just wondering if it automatically update the /etc/X11 file, before i go screwing around with that!

thanks

edit:
nope didn't have to run that command to enable them again. cool!

bitwise5
September 11th, 2006, 10:46 PM
I've seen plenty of this:


k7 – This kernel is recommended for a computer with a Athlon or newer AMD CPU.


But what about the kernels optimized for K8? I haven't found them in default Ubuntu repositories.
Anyone using them with Ubuntu?

Thanks-

Crashmaxx
September 12th, 2006, 07:10 PM
Doing this how-to I can only get the 2.6.15-23-686 kernel. How do I get it to upgrade to the 2.6.15-26-686 kernel? My laptop upgraded to 26 automatically, but the desktop won't. Any help?

kleeman
September 12th, 2006, 09:25 PM
Go to synaptic and search for "linux-image" You will see the 26-686 version listed. Install it. The 23 version will remain on your system unless you choose to remove it manually (to save space).

Crashmaxx
September 12th, 2006, 09:50 PM
It isn't listed, just the 26-386, not the 26-686.

kleeman
September 13th, 2006, 08:58 AM
Well that is mighty odd. Both are on my system which is very standard. You may want to checks your repositories carefully and update synaptic. If the 686 is there for 23 and the 386 for 26 it is very odd that the 686 for 26 is not there.

tylerjames
September 14th, 2006, 10:02 PM
I've got a Dell Inspiron 6400 with a Centrino Duo 1.83Ghz

Just installed the 686-smp kernel and now I have no sound!!!

Please help!

swaaye
September 18th, 2006, 07:45 PM
I was wondering if there's a K8 32bit kernel..
Cuz I have a Sempron64 3400+ but am running 32bit ubuntu.
Right now I am using the K7 kernel which seems to be working fine, but I guess it would be even more optimised if I could run a K8 kernel?

K8 is actually extremely similar to a K7. There are only a few changes to the execution core. The biggest changes between Athlon64 and Athlon are 64->128-bit L2 cache data bus, x64, and the integrated memory controller.

Personally I doubt that these kernel versions do much in terms of performance, other than the obvious benefit of the SMP kernel. You'd need to profile what is actually slowing your system down, and I bet it's not the kernel. The GUI is going to be a lot more demanding than anything else I imagine. A recompiled kernel probably nets a small percentage boost for the kernel itself.

buffy^
September 19th, 2006, 10:50 AM
I would really like to know to remove my old kernels.
Please could you advise, thanks.

Thanks i sorted it.

OPaul
September 19th, 2006, 12:59 PM
I would really like to know to remove my old kernels.
Please could you advise, thanks.

Thanks i sorted it.

You can remove them via Synaptic Package Manager.

swaaye
September 20th, 2006, 03:25 PM
By the way, the Pentium Pro fits in the 686 family too. Pentium II is actually slower than Pentium Pro per clock. :)

cactaur
September 20th, 2006, 09:04 PM
When I use the 686-kernel, my keyboard and mouse do not work, I can't even log in. Is there a way to fix it, or is it just because the 686 isn't right for my processor. I have a Pentium 4 3.2 gHz. My Conky says that it should be 686 compatible, but it doesn't work. Any recommendations. Oh, and the 386 kernel works wonderfully.

MattM
September 21st, 2006, 06:34 AM
<deleted>

jdunn
September 21st, 2006, 09:34 AM
I have Kubuntu Dapper installed on a P4. I've been using the 686 kernel and have had trouble lately installing the 686-SMP kernel (So I can enable support for Hyper Threading). I need help. Details are in this thread:

http://www.ubuntuforums.org/showthread.php?t=262089

Aberrix
October 18th, 2006, 11:22 AM
Is this

Linux haddax 2.6.15-27-k7 #1 SMP PREEMPT Sat Sep 16 02:35:20 UTC 2006 i686 GNU/Linux

the proper kernel I should have for my system? I installed the linux-k7-smp I am just looking for a confirmation that everything looks right now. Thanks in advance

rigol
November 20th, 2006, 12:36 PM
[edit]Stupid me. Alright, I figured out by myself.

DigitalDingo
November 20th, 2006, 01:55 PM
I may need some help here...
I use a dual core cpu on an i386 laptop (ASUS A6Ja), so I chose “sudo apt-get install linux-686-smp”. What do I do now? When I reboot there's no change to GRUB, and the “uname -r” gives: “2.6.17-10-generic”.
Don't I need to configure GRUB?

DigitalDingo
November 20th, 2006, 05:17 PM
Sorry, just forget about that post. I just read that Ubuntu Edgy has dual core support as standard...

rajaiskandarshah
December 7th, 2006, 03:34 AM
looked at synaptic for linux-686 and the note says obsolete by linux-generic (it's not marked).

does this mean that i have linux for 686 already ?

TDsai
December 15th, 2006, 03:42 AM
Hi i have the same question as rajaiskandarshah.

dmesg
CPU: Hyper-Threading is disabled <<< is this relevant on edgy?

cat /proc/cpuinfo |grep processor
processor : 0
processor : 1

uname -a
Linux ubuntus 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux

mells
December 17th, 2006, 05:47 PM
sorry, fairly new. I've used the SMP upgrade to the kernel has it worked?

output:

carl@Angel:~$ uname -r
2.6.17-10-generic
carl@Angel:~$ uname -a
Linux Angel 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux
carl@Angel:~$

WebMania
December 25th, 2006, 01:40 PM
Fine, took your k7-smp example, and my AMD 64 X2 (am3 socket) is now real fast with 6.10 Kubuntu. Great help. Only my beloved Firefox shows now a little trouble. If scrolling a large screen, it goes very slow and the mouse is frozen till scrolling is finished. And its going often to teh top or bottom even if want only scroll one line. Konqueror does not show that mouse freezing! Only FF. Only advise on that? I did reinstall my Nividia drivers twice. and restarted twice, but... Any idea on that?
But nevermind your above advise with smp was a great help. Thank you a very much, and allow me to wish you a peaceful Xmas and a great 2007.

Theimon
December 25th, 2006, 11:01 PM
I chose the k7 kernel (going with the advice of this threads first post) at first which gave me a slight performance increase. But now I have built my own, with features specific for my cpu and with a lot less stuff I don't need etc....it's not mindblowing but it's still some performance gain. I'd recommend it to anyone :) Include some C flags as well, just for the fun of it and you're ready to go.
Still this thread is very good to start from... :)

WebMania
December 27th, 2006, 05:03 AM
I getting a bit crazy, yesterday all worked fine and today all back to 2.6.17-10-386!
... to shorten my post.
I have a AMD 64 X2 processor and only the 2.6.17-10-generic OS supports that fine!
No need under 6.10 for any 686 or k7/k8 variant!!
So I installed GrubEd and set the default OS to 2.6.17-10-generic.
So far so fine but then an new trouble came to the light!!

The Monitor driver was set to vesa... Makes all video output slow and it freeze the mouse whilst scrolling a page.
As I have on board Gforce6100 Nvidia and all Nvidia drivers installed, I did set it to Gforce6 and as result Generic crashes and disables the X server!!! Whilst the 386 version -which only supports the first processor- works fine with that settings. Guess its a bug in that generic version...

Any idea on how to set under 2.6.17-10-generic Kernel an Acer AL1916 LCD Monitor with the Nvidia Gforce6100 card without to crash the Generic X server???

RESOLVED:
did use : sudo apt-get install nvidia-glx linux-restricted-modules-`uname -r`
and all works now finest!!

happy-and-lost
January 2nd, 2007, 10:31 AM
I've probably missed a vital step... but just doing sudo apt-get install linux-686 doesn't do anything, it's still using the generic 386 kernel and there's nothing new in my menu.lst.

chinocracy
January 5th, 2007, 02:00 AM
I will try the 686 kernel on my Celeron 1.2 Tualatin Socket 370. Please comment if this is compatible.
Also, my install method is that I will download the linux-image-* and other deb files elsewhere, then put them into my computer and manually install. I'm on dial-up at home, so installing it from there is going to take eons. Thus, my deb-take-home method. Please comment on this, and on how multiple deb files could be installed at once. Thanks.

cd-r80
January 5th, 2007, 12:07 PM
Where from that grub reads partitions? It throws /root to wrong place! Fstab = /dev/hda7 & grub puts it to /dev/hda8.

Quickcam modules do not work. zb1211b wireless neither, but I already knew it.

Perhaps little faster Duron 750MHz, now. Or can a human notice +10-15% speed?
A small benchmark test?

chinocracy
January 5th, 2007, 01:33 PM
Follow up to my last post. I tried what I described. Works. Speed difference not too noticed. But it works.

drippy
January 6th, 2007, 03:15 AM
Hi!. I did the :
"For a modern Pentium 2+ kernel for dual processors, dual cores, or hyperthreading:
sudo apt-get install linux-686-smp"

because i have a Intel Dual Core 2.8MHz.

I have a big problem with this 'cause when i boot Ubuntu with 686 kernel version my 'Mounting file system' (second step) freeze the computer.

Is there somebody with the same issue? do you know something about this?

THanks! ](*,)

msolano, I don't know if you ever fixed this problem, but I am getting the same thing. I installed 686-smp (on a P4 w/ HT), and the computer completely freezes when loading the second step of "mounting file system". Is there any way to get a more detailed output to see what is happening at that step?

mlissner
January 7th, 2007, 03:24 AM
Hey, I just installed the smp kernel on my dual core, and when I booted it, dual core worked but my wireless card was gone! Any ideas? Does this mean I need a custom kernel, cause, though that sounds kind of fun, I'm not sure I'm interested in that kind of craziness yet.

Help?

.::welemski::.
January 17th, 2007, 12:02 PM
What's the best kernel for Pentium D820 (Dual Core)?

nickless
January 19th, 2007, 08:14 PM
not shure what happened
I use Ubuntu 6.10 and installed as in Dapper via apt:
apt-get install linux-k7 linux-headers-k7 nvidia-kernel-source
but this time the new kernel didn't get added to menu.lst

EDIT: Ok I tried to find the kernel now... but I didn't succeed.
should be something like /boot/vmlinuz-2.6.15-26-k7
well.. nothing there :(

Ted_Smith
January 23rd, 2007, 03:28 PM
Hi

Firslty, thanks for writing this great HOWTO. I have recently brought home from a work A Dell Precision P530 that has two Xeon 1.7Ghz Processors in it (it was about £6000 5 years ago!).

I have been running it with Ubuntu for a few weeks not realising it was not utilising both CPU's! Now, having installed the 686 kernel using the easy to follow instructions, it is. As a result it is churning through my work units from World Community Grid (www.worldcommunitygrid.org) for the Ubuntu Linux Team (http://www.worldcommunitygrid.org/team/viewTeamInfo.do?teamId=69P91PFQP1) twice as fast!!

In addition, there's a point raised twice (between pages 1 - 8 by which time I gave up reading) about the generic 386 kernel not being able to address more than 1Gb of RAM, and the second entry loosly suggests that it now does due to updates to it. Well I have 1.5Gb on my AMD machine and this is the output of my 'cat /proc/meminfo' :


MemTotal: 1556280 kB
MemFree: 841116 kB
Buffers: 92900 kB
Cached: 316236 kB
SwapCached: 0 kB
Active: 380248 kB
Inactive: 273392 kB
HighTotal: 655296 kB
HighFree: 163336 kB
LowTotal: 900984 kB
LowFree: 677780 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 204 kB
Writeback: 0 kB
Mapped: 321576 kB
Slab: 43716 kB
CommitLimit: 778140 kB
Committed_AS: 488568 kB
PageTables: 2004 kB
VmallocTotal: 114680 kB
VmallocUsed: 28868 kB
VmallocChunk: 84468 kB


Which seems to confirm that it can address > 1.5Gb RAM.

Cheers

Ted

golem3
January 25th, 2007, 02:21 AM
I'd be curious to see benchmarks. I run Pentium M (Sonoma) and the 686 "feels'" better. I don't know how much of a placebo effect it is.

firstc624
January 25th, 2007, 08:02 PM
that is weird, i just did the guide for the k7 kernel and it didn't add anythign to my rub menu....how come?

BunnyEars
January 26th, 2007, 03:31 PM
I just installed Ubuntu 6.10 Edgy (default install) on Jan 20 2007. On a Athlon XP 2600.

$uname -a
2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux

I am a new user, but this is what i understand. Correct me if wrong, cos many newbies read these posts.

** For all those who visited this forum thread looking to use processor specific kernels, the current version (6.10 default/generic) has made the k7/686/686-smp kernels OBSOLETE (only for upgrades). I think it applies to all the other processor specific kernels.

**As proof, refer to the "uname -a" output (in Ub 6.10). It says SMP, i686 in the default installation.
Also In Synaptics Pkg Mgr (Ub 6.10), search for "linux-k7". It will describe as OBSOLETE by linux-generic. Same for linux-686/linux-686-smp.

** edit -This might explain why some of the late2006/2007 kernel modifications by users don't show any changes in GRUB. The initial "processor specific kernels" thread was made in year 2005.

Correct me if Wrong. Hope this clarifies for the newbies :).
Jan 2007.