SMI issue on Compaq Deskpro EN

More
10 Apr 2012 13:32 #19091 by arsenix
After reviewing the hardware list in the wiki a while back I noticed that the compaq deskpro EN was listed as a good machine. By sheer coincendence I just happened to have one laying around. It is a nice machine particularly since it is very compact.

I have installed the latest EMC2 on it but am having some issues with SMI jitter. The machine posts excellent latency times (under 10uS normally, max under 17uS or so during heavy graphics). The issue is that when the CPU is heavily loaded (with burnmmx or similar) I get jitter spikes whenever the fan changes speed. I'm talking jitter on the order of 14mS (yes milleseconds). I have already disabled power management in the BIOS as suggested by the wiki entry for the machine. If I load the rtai_smi.ko module the problem goes away (but the fan doesn't change speed either...).

Unfortunately there is no option in the bios for setting the fan to max... altough I can load the machine up and then load the SMI module when the fans aer already at max speed. Reading online it appears that the machine has a "hidden" SMBUS which is where the SMI does its fan control. I may be able to get access to that bus and then run a userspace fan control script. Still looking into this.

Anyone have any tips?


James

Please Log in or Create an account to join the conversation.

More
10 Apr 2012 14:58 #19097 by ArcEye
Hi

Are you able to measure the voltage at the fan when at full speed?
I imagine the fan is variable voltage and it may well be near 12v at full speed, but you will have to investigate.

I would be very tempted to hard wire the CPU fan to a feed from the main PSU, dropped to the required voltage if necessary, instead of its dedicated plug on the MB.

That should keep the processor cool and enable you to eliminate SMI spikes via the rtai_smi module in a very simple manner.

I would be interested in a lspci -vv print from your machine to match the exact chipset against the list I have, for which the smi fix is effective.

regards

Please Log in or Create an account to join the conversation.

More
10 Apr 2012 15:08 #19099 by arsenix
Hot-wiring the fans could be a solution. This machine has three variable speed fans but I could do them all.

I saw some conversations on RTAI groups to the effect that folks who turned on ACPI kernels got fan control and low jitter without disabling SMI... but information was a bit slim.

Here is an lspci dump from the machine.
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 01)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 01)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio Controller (rev 01)
02:04.0 Bridge: PLX Technology, Inc. PCI9030 32-bit 33MHz PCI <-> IOBus Bridge
02:08.0 Ethernet controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (rev 01)
02:09.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
02:0a.0 VGA compatible controller: ATI Technologies Inc 3D Rage I/II 215GT [Mach64 GT] (rev 41)

Please Log in or Create an account to join the conversation.

More
10 Apr 2012 15:29 #19101 by ArcEye
Hi

Thanks for the print, yes the 82801BA is definitely on the list of those that work.

I saw some conversations on RTAI groups to the effect that folks who turned on ACPI kernels got fan control and low jitter without disabling SMI...

If you fancy taking that further, it would benefit a lot of people if it works.

I found that only one of the ICH8 family of chips which appear in later Intel boards, the ICH8_4, is accepted by the rtai_smi module.
Hacking it to get it to accept the other 7 sub-sets, worked so far as loading the module went, but made matters worse not better, regards latency.

Presumably the bits set by the module were changed in location and/or purpose in these later chips, so any other method of achieving the same would be interesting.

regards

Please Log in or Create an account to join the conversation.

More
29 Jul 2013 18:10 #37206 by arsenix
I forgot to follow up on this thread a year ago when I was fooling with this.

I ended up figuring out how to unhide the SMI bus on this machine ( lists.lm-sensors.org/pipermail/lm-sensors/2008-June/023367.html ) then disabled the SMI ( wiki.linuxcnc.org/cgi-bin/wiki.pl?FixingSMIIssues ). Once SMI is disabled and the SMBUS is unhidden you can then control the fan with standard Linux userland applications through the machine's I2c fan control bus. Once this is done the latencies stay nice and low.

Unfortunately for the little Deskpro I managed to find an older (but still much faster than the Deskpro) Athlon machine that I also had laying around which seemed to work perfectly under EMC so I will likely just use this machine instead.


James

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum