LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-13-2007, 11:31 AM   #1
MoghNX01
Member
 
Registered: Mar 2004
Location: Leeds, West Yorkshire, UK
Distribution: OpenSUSE 10.3 x86_64
Posts: 69

Rep: Reputation: 15
Intel SpeedStep and Hyperthreading causes system hang


Bit of a hardware dilemma!

I have an Intel Pentium D 3.00GHz running on an Asus P5ND2-SLI Deluxe motherboard, running openSUSE 10.3 on kernel 2.6.22.

When I *don't* enable Intel SpeedStep technology and/or hyperthreading in the BIOS, the system goes very sluggishly when doing anything remotely complex (running a processor-intensive application, doing 3D drawing, etc). When I *do* enable either or both of them, the system runs like a dream, but hangs within minutes. And I really mean *hang* - nothing shows up in error logs, but the system completely freezes - I can't switch to a text console, I can't even use Magic SysRq keys. The only thing that works is a total reboot.

Any ideas as to what would cause this?
 
Old 11-17-2007, 08:01 AM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 997

Rep: Reputation: 130Reputation: 130
With my VIA Epia system I had to disable the dynamic CPU clock change when in X - not doing this would hang my system. This means that if...
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
...returned "ondemand" or "conservative" the system would hang after a few minutes if I wouldn't change that value to "performance" or "powersave" with...
Code:
echo "performance" >> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
.
Hyperthreading used to work well with all my systems.
 
Old 11-17-2007, 08:54 AM   #3
MoghNX01
Member
 
Registered: Mar 2004
Location: Leeds, West Yorkshire, UK
Distribution: OpenSUSE 10.3 x86_64
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Pearlseattle View Post
With my VIA Epia system I had to disable the dynamic CPU clock change when in X - not doing this would hang my system. This means that if...
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
...returned "ondemand" or "conservative" the system would hang after a few minutes if I wouldn't change that value to "performance" or "powersave" with...
Code:
echo "performance" >> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
.
Hyperthreading used to work well with all my systems.
You say hyperthreading used to work well with all your systems - do you think this is some sort of kernel bug, then?

How would I go about changing my system so that the cpufreq governor is permanently set to Performance, say?
 
Old 11-17-2007, 09:16 AM   #4
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 997

Rep: Reputation: 130Reputation: 130
Change the kernel config under "Power management options => CPU frequency scaling" or add in your "etc/init.d" a script that executes the above statement after boot - there are probably other options.
The first thing I would try in your case is to install an older and/or a newer kernel version and see if that fixes the problem. I didn't try version 2.6.22 yet - still on 2.6.21 and didn't have any problems with speedstep.
Don't know about hyperthreading and it sounds very strange to me that if you don't enable hyperthreading & speedstep your system gets very slow. Perhaps you should disable both of them and check your logs in order to find out what's going on. Disabling speedstep in the BIOS should make the CPU run at full power and hyperthreading itself gives only 15% more power if enabled, so it shouldn't make a lot of difference if dis/ or enabled.
 
Old 11-23-2007, 09:42 AM   #5
MoghNX01
Member
 
Registered: Mar 2004
Location: Leeds, West Yorkshire, UK
Distribution: OpenSUSE 10.3 x86_64
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Pearlseattle View Post
Change the kernel config under "Power management options => CPU frequency scaling" or add in your "etc/init.d" a script that executes the above statement after boot - there are probably other options.
The first thing I would try in your case is to install an older and/or a newer kernel version and see if that fixes the problem. I didn't try version 2.6.22 yet - still on 2.6.21 and didn't have any problems with speedstep.
Don't know about hyperthreading and it sounds very strange to me that if you don't enable hyperthreading & speedstep your system gets very slow. Perhaps you should disable both of them and check your logs in order to find out what's going on. Disabling speedstep in the BIOS should make the CPU run at full power and hyperthreading itself gives only 15% more power if enabled, so it shouldn't make a lot of difference if dis/ or enabled.
Alas I tried this to no effect. The command executed succesfully but the system hung not long thereafter.

I've tried various versions of the kernel too, without luck. Incidentally both Hyperthreading and SpeedStep options are only available to me in the BIOS once I have selected "Limit CPUID MaxVal" to Enabled. Once either is "Enabled" though, the system seems to hang
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel Core Duo SpeedStep not working in FC6 sn_piranha Linux - Laptop and Netbook 21 12-15-2006 05:55 AM
Intel 845G X Server Hang phowlett Linux - Hardware 0 09-19-2005 02:54 PM
Possible problem between hyperthreading and raid sata adapter: System lag xaviv Linux - Hardware 5 02-17-2005 06:00 AM
Intel SpeedStep for Centrino w/kernel 2.4.22 v2-ncl Linux - Laptop and Netbook 4 07-01-2004 05:57 PM
Hyperthreading SMP hang feldux Fedora 3 06-20-2004 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:17 AM.

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