Any advice on disabling hyperthreading and the smp kernel?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Any advice on disabling hyperthreading and the smp kernel?
Hi all,
I have a Pentium 4 x86_64 with hyperthreading.
I'm using Suse 10.0 with the 2.6.13-15.8-smp kernel.
I also have an nVidia FX3400 graphics card.
Now, I just got some software that highly recommends disabling hyperthreading for best performance.
I know I can disable HT in the BIOS but my concern is with the kernel.
I believe the SMP kernel is for dual processors or hyperthreading... How will it behave if I disable HT?
Will I need to get a new kernel?
Will I need to reinstall the nVidia driver or any other driver?
Can I have the option to switch between no HT and HT?
This is all very confusing for me so any help would be much appreciated.
SMP refers to "Symmetric Multi-Processing Support".
And this feature (of the kernel) is to be used to processors with Hyperthreading.
If you don't use this feature, you won't use the "Hyperthreading" feature of the processor. I think you may want to use it, since you have paid for it. ;-)
So there is no problem using the SMP kernel without hyperthreading?
It's odd that a computationally intensive piece of software like the one I'm trying to use (Nastran finite element solver) can't handle hyper threading! You'd think it would be happy with the extra computing power...
I read up on the difference between the two 64-bit architectures... it's very interesting, apparently nobody uses the Intel 64 bit very much because it's so expensive, and the AMD x86_64, which is just an extension of the good old x86 architecture to 64 bits, works well and is much cheaper, so it is supported by many applications while the IA64 is not. So Intel went and made a chip that copies the chip that AMD copied from them. Or something. And that's how Intel has an x86_64.
It's all rather confusing and I wish things would just work!! But I'm learning the hard way that things often require a lot of work on the user's part!
To disable SMP support, which will in turn disable ht support.
Then, benchmark the application in question.
If you see an improvement when disabling SMP then you might want to recompile the kernel with SMP disabled - it will save a (miniscule) bit of memory to compile without SMP support.
Distribution: RHEL 3/4 Servers - FC 5 x64 on the desktop - Edubuntu for the kiddies
Posts: 53
Rep:
Quote:
Originally Posted by MamaWombat
It's odd that a computationally intensive piece of software like the one I'm trying to use (Nastran finite element solver) can't handle hyper threading! You'd think it would be happy with the extra computing power...
Keep in mind that hyper threading isn't more hourse power per se. It's a virtual thread that can be used for a 2nd process if the first one is not using all of the CPU. It let's your PC start another task before the first one is finished but it doesn't give you more horse power. With apps that would normaly need most of a processor you may not see much gain from HT.
As to your smp question...looks like other have you taken care of already.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.