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

Notices


Reply
  Search this Thread
Old 10-13-2005, 12:16 PM   #1
tisource
Member
 
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
amarok complains about HyperTheading, but can't get HT turned off


I have noticed that several important linux apps are unstable on my Hyper-Threaded workstation (3 GHz P4). amarok (v. 1.3.3) is one of them. It complains when I start it that HyperThreading is enabled.

/proc/cpuinfo shows 2 cpus.

I read that you can use the noht option to disable HyperThreading support. However, it isn't working. My machine still shows 2 CPUs, and amarok still insists HT is enabled.

This is an exerpt of my /boot/grub/menu.lst:

title SUSE Linux 9.3 - No HyperThreading
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 vga=0x31a selinux=0 splash=silent resume=/dev/hda6 showopts noht
initrd (hd0,4)/boot/initrd

The machine boots okay, but HT is still on

I could disable it in the bios, but I have a Windows XP Professional dual-boot setup on this box, and the HT comes in handy when running my large publishing/pagination apps. Disabling it in the bios is something I'd like to avoid, if possible.

Is there something else I can do here that would help the situation? Is my grub config okay?

Thanks
 
Old 10-13-2005, 06:13 PM   #2
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Have you tried acpi=off in your grub line?
 
Old 10-17-2005, 07:12 PM   #3
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
ACPI is power management, though... The threading is what is causing amarok to throw up.

Has this 'noht' parameter been taken out of the kernel?
 
Old 10-17-2005, 09:40 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Turning off ACPI is often the solution to a lot of different problems in Linux, none of which appear to have anything to do with power management, and when I googled the noht thing some people were suggesting you need to turn ACPI off. Did you have any luck w/ it?
 
Old 10-17-2005, 09:56 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
You can disable Hyperthreading usually from your computers BIOS settings.
 
Old 10-30-2005, 04:41 PM   #6
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
ACPI doesn't help, and because this is a dual-boot machine, I cannot turn HT off in the BIOS (I find it very useful when I'm in Windows).
 
Old 10-30-2005, 04:54 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally posted by tisource
ACPI doesn't help, and because this is a dual-boot machine, I cannot turn HT off in the BIOS (I find it very useful when I'm in Windows).
What type of kernel are you running? Is it SMP enabled? Are you running Xeon processors? From what I've read, the noht option only works for the Xeon processors, well at least everything mentioned with the noht option mentions Xeon's.

And if you did pass this option, what does it look like in your grub configuration?

Should usually look something like this:

kernel /vmlinuz-2.4.18-24.7.x ro root=/dev/hda1 noht
 
Old 11-25-2005, 10:26 PM   #8
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
I had to install the non-smp kernel (2.6.x), and it all works fine. I didn't turn hyperthreading off in the bios...

The machine is a Dell Dimension 3000 (pretty plain-jane machine) - Pentium 4 3.0 GHz processor.
 
Old 11-29-2005, 01:30 AM   #9
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Recompile the kernel, with SMT disabled (but if you're on a Pentium D/Dual Core/Dual Xeon/other SMP variant, make sure you keep SMP enabled)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg complains about codec pi314159 Linux - Software 1 11-14-2005 03:38 PM
g++ complains about global variables copolii Programming 3 09-18-2005 08:43 PM
Trying but getting turned off lmanwarren Slackware 3 05-01-2005 12:40 PM
firefox complains about my profile being in use renna Linux - Software 4 02-02-2005 12:53 PM
Help: complains that I can't post URLs, but I have none. mithrascruor LQ Suggestions & Feedback 3 11-14-2004 10:14 PM

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

All times are GMT -5. The time now is 08:10 PM.

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