Skip to contentSkip to conversation

amd athlon cooling on kt266/266a chipset

PATCH Daniel Nofftz 9 participants 16 messages Jan 23, 2002 – Jan 25, 2002 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · Martin Eriksson

Problems (in Windows, with similar patches) have mostly been sound skips and general "skippy" behaviour (not the peanut butter). My VIA KT133 based mobo with Athlon 1000 had major sound skips, both with onboard VIA sound and SB512. Also the graphics in most 3D games stuttered badly.

this is the first time i hear about such problems ...
i have no problems at all and it works great under linux and win 2k (vcool) ... there are no sound skips or skippy behaviors ...

daniel

# Daniel Nofftz
# Sysadmin CIP-Pool Informatik
# University of Trier(Germany), Room V 103
# Mail: [email protected]

#2 lore raw

[Also follow up to my success message befor in this thread]

Quoted 5 lines · Daniel Nofftz
Quoted 4 lines · Martin Eriksson

Problems (in Windows, with similar patches) have mostly been sound skips and general "skippy" behaviour (not the peanut butter). My VIA KT133 based mobo with Athlon 1000 had major sound skips, both with onboard VIA sound and SB512. Also the graphics in most 3D games stuttered badly.

Oups. Just tried vlc and indeed: skippy sound and picture loss after switching to fullscreen :( Also uncommon delays on startup noticable.

Will revert it for now (vlc is more important:).

Hans-Peter

Quoted 10 lines

this is the first time i hear about such problems ...
i have no problems at all and it works great under linux and win 2k (vcool) ... there are no sound skips or skippy behaviors ...

daniel

# Daniel Nofftz
# Sysadmin CIP-Pool Informatik
# University of Trier(Germany), Room V 103
# Mail: [email protected]

#3 lore raw
Quoted 4 lines · Hans-Peter Jansen

Oups. Just tried vlc and indeed: skippy sound and picture loss after switching to fullscreen :( Also uncommon delays on startup noticable.

Will revert it for now (vlc is more important:).

what is vlc ?

daniel

# Daniel Nofftz
# Sysadmin CIP-Pool Informatik
# University of Trier(Germany), Room V 103
# Mail: [email protected]

#4 lore raw
Quoted 8 lines · Daniel Nofftz
Quoted 4 lines · Hans-Peter Jansen

Oups. Just tried vlc and indeed: skippy sound and picture loss after switching to fullscreen :( Also uncommon delays on startup noticable.

Will revert it for now (vlc is more important:).

what is vlc ?

video lan client - http://www.videolan.org

Quoted 14 lines

daniel

# Daniel Nofftz
# Sysadmin CIP-Pool Informatik
# University of Trier(Germany), Room V 103
# Mail: [email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 7 lines
-------------------------------------------------------------------------- 
Joel Jaeggli	      Academic User Services   [email protected]    
--    PGP Key Fingerprint: 1DE9 8FCA 51FB 4195 B42A 9C32 A30D 121E      --
The accumulation of all powers, legislative, executive, and judiciary, in 
the same hands, whether of one, a few, or many, and whether hereditary, 
selfappointed, or elective, may justly be pronounced the very definition of
tyranny. - James Madison, Federalist Papers 47 -  Feb 1, 1788
#5 lore raw
In reply to Daniel Nofftz

On Wednesday, 23. January 2002 21:16, Hans-Peter Jansen wrote:
[-]

Quoted 4 lines

BTW: Would some enlighted kernel brain explain, why
[ ] RTC stores time in GMT
is only available, when APM is enabled. Does this mean, I cannot define my RTC mode when using ACPI?

Hans-Peter,
as you have ACPI running already, you should have noticed that "your" clock (RTC) is in GMT time without a separate switch.

Mine is (compare with send time):

/home/nuetzel> cat /proc/driver/rtc
rtc_time : 02:33:14
rtc_date : 2002-01-24
rtc_epoch : 1900
alarm : 00:00:00
DST_enable : no
BCD : yes

24hr            : yes
square_wave     : no
alarm_IRQ       : no
update_IRQ      : no
periodic_IRQ    : no
periodic_freq   : 1024
batt_status     : okay

Regards,
Dieter

Signature · 6 lines
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: [email protected]
#6 lore raw
In reply to Daniel Nofftz
Quoted 21 lines · Dieter Nützel

On Wednesday, 23. January 2002 21:16, Hans-Peter Jansen wrote:
[-]

Quoted 4 lines

BTW: Would some enlighted kernel brain explain, why
[ ] RTC stores time in GMT
is only available, when APM is enabled. Does this mean, I cannot define my RTC mode when using ACPI?

Hans-Peter,
as you have ACPI running already, you should have noticed that "your" clock (RTC) is in GMT time without a separate switch.

Mine is (compare with send time):

/home/nuetzel> cat /proc/driver/rtc
rtc_time : 02:33:14
rtc_date : 2002-01-24
rtc_epoch : 1900
alarm : 00:00:00
DST_enable : no
BCD : yes

Quoted 7 lines
24hr            : yes
square_wave     : no
alarm_IRQ       : no
update_IRQ      : no
periodic_IRQ    : no
periodic_freq   : 1024
batt_status     : okay

Hi Dieter,

it took you 22 sec. to finish and send your mail. Pretty quick :)

My RTC seems totally bogus:

elfe:~# date; clock; cat /proc/driver/rtc 
Thu Jan 24 13:42:03 CET 2002
Thu Jan 24 19:12:04 2002  -0.144010 seconds
rtc_time        : 18:12:04
rtc_date        : 2002-01-24
rtc_epoch       : 1900
alarm           : 09:30:15
DST_enable      : no
BCD             : yes
24hr            : yes
square_wave     : no
alarm_IRQ       : no
update_IRQ      : no
periodic_IRQ    : no
periodic_freq   : 1024
batt_status     : okay

I thought, ntpd would take care of the RTC:

Jan 23 23:38:02 elfe xntpd[356]: ntpd 4.1.0 Fri Sep 21 14:42:26 GMT 2001 (1)
Jan 23 23:38:02 elfe xntpd[356]: signal_no_reset: signal 13 had flags 4000000
Jan 23 23:38:02 elfe xntpd[356]: precision = 9 usec
Jan 23 23:38:02 elfe xntpd[356]: kernel time discipline status 0040
Jan 23 23:38:02 elfe xntpd[356]: frequency initialized 58.785 from 

/etc/ntp.drift

Obviously it doesn't.

I will take a look in the SuSE /etc/init.d scripts for this...

Quoted 2 lines

Regards,
Dieter

Cheers,
Hans-Peter

#7 lore raw
Quoted 2 lines

I thought, ntpd would take care of the RTC:

It doesn't. init scripts on boot sync the date to the rtc, if your date isn't near what it should be then ntp wont work. It has to at least be close then run date --systohc or something like that.

#8 lore raw
In reply to Daniel Nofftz

----- Original Message -----
From: "Daniel Nofftz" <[email protected]>
To: "Martin Eriksson" <[email protected]>
Cc: "Ed Sweetman" <[email protected]>; "Vojtech Pavlik" <[email protected]>; "Timothy Covell" <[email protected]>; "Dieter N?tzel" <[email protected]>; "Dave Jones" <[email protected]>; "Andreas Jaeger" <[email protected]>; "Martin Peters" <[email protected]>; "Linux Kernel List" <[email protected]>
Sent: Wednesday, January 23, 2002 8:21 PM
Subject: Re: [patch] amd athlon cooling on kt266/266a chipset

Quoted 3 lines · Martin Eriksson
Quoted 2 lines

Problems (in Windows, with similar patches) have mostly been sound skips

and

Quoted 1 line
Quoted 1 line

general "skippy" behaviour (not the peanut butter). My VIA KT133 based

mobo

Quoted 7 lines
Quoted 2 lines

with Athlon 1000 had major sound skips, both with onboard VIA sound and SB512. Also the graphics in most 3D games stuttered badly.

this is the first time i hear about such problems ...
i have no problems at all and it works great under linux and win 2k (vcool) ... there are no sound skips or skippy behaviors ...

Well I guess it's very mobo-dependent then. What I remember from the VCool program is that it made windows go crazy on me. I dont know exactly what happened, just that I removed vcool very quickly.

I just tried the function again, not using vcool, instead *only* enabling bit 8 of register 0x52 ("Disconnect Enable When STPGNT Detected") with the following results:

* No other (major) load than Winamp: Minor sound skips
* Winamp when reading from hard disk: Major sound skips
* Winamp when using distributed.net client: Almost no sound skips (one or two on a 4 minute tune)
* Winamp when using distributed.net & using hard disk: Almost no sound skips

As both the HD controller and soundcard does much DMA, I guess it has some connection to DMA transfers on the PCI bus?

OS: Windows 2000 Pro
Northbridge: VIA KT133
Southbridge: VIA 686B
CPU: Athlon(B) 1GHz

(Sorry, Linux is running on my BP6)

_____________________________________________________

|  Martin Eriksson <[email protected]>
|  MSc CSE student, department of Computing Science
|  Umeå University, Sweden
#9 lore raw
Quoted 14 lines · Martin Eriksson

Well I guess it's very mobo-dependent then. What I remember from the VCool program is that it made windows go crazy on me. I dont know exactly what happened, just that I removed vcool very quickly.

I just tried the function again, not using vcool, instead *only* enabling bit 8 of register 0x52 ("Disconnect Enable When STPGNT Detected") with the following results:

* No other (major) load than Winamp: Minor sound skips
* Winamp when reading from hard disk: Major sound skips
* Winamp when using distributed.net client: Almost no sound skips (one or two on a 4 minute tune)
* Winamp when using distributed.net & using hard disk: Almost no sound skips

Quoted 7 lines

As both the HD controller and soundcard does much DMA, I guess it has some connection to DMA transfers on the PCI bus?

OS: Windows 2000 Pro
Northbridge: VIA KT133
Southbridge: VIA 686B
CPU: Athlon(B) 1GHz

i agree that this could be connected with dma transfers ... maybe the disconnect procedure disturbs dma transfers on slower cpus, where the disconnect/reconnect procedure takes to long ?
maybe it is realy a metter of the motherboard ? who realy knows ? maybe a amd/via guru could answer this question ... at the moment i can't answer it ... and my system isn't affected by this sound skips ... so i even can'T make testes on it ...
maybe someon with this skips could make some tests ? disabling/enabling dma , change some timings for pci bus in bios or such things ?

daniel

# Daniel Nofftz
# Sysadmin CIP-Pool Informatik
# University of Trier(Germany), Room V 103
# Mail: [email protected]

#10 lore raw
Quoted 10 lines · Daniel Nofftz
Quoted 7 lines · Disconnect

1.3G here.. how much faster does it need to be? (didn't test audio/video streams due to the unusability of my keyboard.. I can reboot and try it if it would be useful.)

calibrating APIC timer ...
..... CPU clock speed is 1302.9962 MHz.
..... host bus clock speed is 200.4608 MHz.

Quoted 8 lines

ok ... does not look like a speed problen :)
i have 1,4g and it works like a charm ....

hmmm ... maybe acpi problems with the different motherboards ? buggy implemention of the acpi functions in the bios ? or maybee a fsb problem (have 133mhz fsb ... does someone with 133mhz fsb have problems to?)

i have no real idea at the moment ...

I found some additional info for you.

Our famous German c't magazin have:
http://www.heise.de/ct/01/18/036/default.shtml

And you should have a look into this AMD doku (sadly _NO_ AMD 750/760 infos):
"AMD Athlon Processor Model 4 Revision Guide" www.amd.com/products/cpg/athlon/techdocs/pdf/23614.pdf

AMD could be easily enlighten us, of course!

-Dieter

Signature · 6 lines
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: [email protected]
#11 lore raw
In reply to Daniel Nofftz
Quoted 21 lines · Dieter Nützel
Quoted 9 lines · Daniel Nofftz
Quoted 7 lines · Disconnect

1.3G here.. how much faster does it need to be? (didn't test audio/video streams due to the unusability of my keyboard.. I can reboot and try it if it would be useful.)

calibrating APIC timer ...
..... CPU clock speed is 1302.9962 MHz.
..... host bus clock speed is 200.4608 MHz.

Quoted 8 lines

ok ... does not look like a speed problen :)
i have 1,4g and it works like a charm ....

hmmm ... maybe acpi problems with the different motherboards ? buggy implemention of the acpi functions in the bios ? or maybee a fsb problem (have 133mhz fsb ... does someone with 133mhz fsb have problems to?)

i have no real idea at the moment ...

I found some additional info for you.

Quoted 8 lines

Our famous German c't magazin have:
http://www.heise.de/ct/01/18/036/default.shtml

And you should have a look into this AMD doku (sadly _NO_ AMD 750/760 infos): "AMD Athlon Processor Model 4 Revision Guide" www.amd.com/products/cpg/athlon/techdocs/pdf/23614.pdf

AMD could be easily enlighten us, of course!

Addition:

Sound skip related (Creative SoundBlaster etc.)

Sorry in German, too:

http://www.heise.de/ct/foren/go.shtml?read=1&msg=11&g=200118036

So I think most trouble should be solvable when we get _MUCH_ better support by the hardware vendors!

Cheers,
Dieter

#12 lore raw

Hi,

I have been watching this thread for a while now. I am surprised everybody is happy with the temperature drops they get and don't look a bit further. I might be sounding like a *ickhead but here go my .02 euros:

With STOPGNT enabled, the disconnection happens by the northbridge actually halting the FSB for the CPU until the next interrupt. The continuous dis/reconnection causes increased lattency on the PCI bus and strictly timed PCI transfers needed by TV-Tuner cards/software or sound software suffer greatly from this. It also results in poorer hd performance.

Also with such a power hungry CPU as the Athlon, bus dis/reconnection results in current demand changing from 40A to 5A to 40A ... every few ms. This puts your motherboards' voltage regulator under unecessary strain as well those in your PSU.

Furthermore, CPUs do like lower operating temperatures, but even more they like constant temperatures. Differences like 10-15C every now and then (load/idle) put the cpu die under mechanichal strain from thermal contraction/expansion.

Finally, this procedure can actually *hide* severe cooling inefficiency of the system. People seem to go with the moto: STOPGNT lowers my temperature, so it is a good thing. Well, it doesn't. Run SETI@HOME and you are back where you started. It can take only a hot summer day and you have a fried chip.

There was a thought by somebody, that you should only enable disconnection after some time of inactivity. This sounds better, but then, don't we have S1/S3 for this already?

This feature of the AMD processors seemed like a real bargain once but now, I doupt there is one motherboard vendor out there that allows you to control it in the BIOS (like they used too). Even more, they suggest you leave this feature alone. A walk in troubleshooting/support forums suggests the same: It is a feature you can do without, you'd be better off with a cooler that can cool and a well ventilated case.

Sorry for the length,

-Kostas

#13 lore raw
Quoted 41 lines · Liakakis Kostas

Hi,

I have been watching this thread for a while now. I am surprised everybody is happy with the temperature drops they get and don't look a bit further. I might be sounding like a *ickhead but here go my .02 euros:

With STOPGNT enabled, the disconnection happens by the northbridge actually halting the FSB for the CPU until the next interrupt. The continuous dis/reconnection causes increased lattency on the PCI bus and strictly timed PCI transfers needed by TV-Tuner cards/software or sound software suffer greatly from this. It also results in poorer hd performance.

Also with such a power hungry CPU as the Athlon, bus dis/reconnection results in current demand changing from 40A to 5A to 40A ... every few ms. This puts your motherboards' voltage regulator under unecessary strain as well those in your PSU.

Furthermore, CPUs do like lower operating temperatures, but even more they like constant temperatures. Differences like 10-15C every now and then (load/idle) put the cpu die under mechanichal strain from thermal contraction/expansion.

Finally, this procedure can actually *hide* severe cooling inefficiency of the system. People seem to go with the moto: STOPGNT lowers my temperature, so it is a good thing. Well, it doesn't. Run SETI@HOME and you are back where you started. It can take only a hot summer day and you have a fried chip.

There was a thought by somebody, that you should only enable disconnection after some time of inactivity. This sounds better, but then, don't we have S1/S3 for this already?

This feature of the AMD processors seemed like a real bargain once but now, I doupt there is one motherboard vendor out there that allows you to control it in the BIOS (like they used too). Even more, they suggest you leave this feature alone. A walk in troubleshooting/support forums suggests the same: It is a feature you can do without, you'd be better off with a cooler that can cool and a well ventilated case.

Quoted 4 lines

Sorry for the length,

-Kostas

I was getting at this earlier. Though the Athlon XP's are much better power-wise than the earlier athlon's. I wouldn't suggest doing it to any athlon under XP. But then again, the XP is supposed to have something similar to clock stepping to gradually move from full power to lower power, which decreases mechanical stress and psu stress. I remember when the same concerns were brought over the HLT idle trick but obviously the HLT instruction isn't harmful enough. Would be nice to look at the latencies with say, Robert Love's preempt stat patch of a kernel running with no power management, then with HLT, then with the vcl patch.

Nice rule of thumb though. If your cpu _ever_ gets into the 50C range
your case and or hsf is not efficient enough for your hardware. Anything above 50 and you're shortening the life of the cpu. Relying on idle tricks isn't going to help you.

I'd recommend this patch for Athlon XP's since they're the only chips that have motherboards built to handle this kind of thing (assuming you didn't buy some cheap brand). Don't use it on anything earlier. Not that I dont believe that the chip can take the punishment, but I dont believe that the motherboard and cpu can if not built to XP specifications.

#14 lore raw
Quoted 4 lines · Ed Sweetman

I was getting at this earlier. Though the Athlon XP's are much better power-wise than the earlier athlon's. I wouldn't suggest doing it to any athlon under XP. But then again, the XP is supposed to have

I reckon a >1600MHz XP (1800+) has about the same or more power than the 1400MHz T-bird. So it should basically be the same regarding the STPGNT/disconnect.

Quoted 2 lines

something similar to clock stepping to gradually move from full power to lower power, which decreases mechanical stress and psu stress. I

I guess this is the PowerNOW! feature of the mobile Athlons/Durons with the Palomino core. I think this is totaly different than STPGNT. And this would be worth implementing if it can be supported on desktop Athlon/Duron models/mobos.

Anybody has more info about this?

Quoted 5 lines

remember when the same concerns were brought over the HLT idle trick but obviously the HLT instruction isn't harmful enough. Would be nice to look at the latencies with say, Robert Love's preempt stat patch of a kernel running with no power management, then with HLT, then with the vcl patch.

True. Although an tv tunner card output on screen tells the tale pretty well :-)

Quoted 4 lines

Nice rule of thumb though. If your cpu _ever_ gets into the 50C range
your case and or hsf is not efficient enough for your hardware. Anything above 50 and you're shortening the life of the cpu. Relying on idle tricks isn't going to help you.

I hope everybody could see it this way.

-K.

#15 lore raw
In reply to Ed Sweetman
Quoted 6 lines · Liakakis Kostas

I guess this is the PowerNOW! feature of the mobile Athlons/Durons with the Palomino core. I think this is totaly different than STPGNT. And this would be worth implementing if it can be supported on desktop Athlon/Duron models/mobos.

Anybody has more info about this?

I checked in powernow-k7.c to the cpufreq CVS today. So far it doesn't do anything other than detect the ability to scale voltage/speed. I'll add that later.

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
#16 lore raw
In reply to Daniel Nofftz
Quoted 6 lines · Ed Sweetman
Quoted 2 lines

I thought, ntpd would take care of the RTC:

It doesn't. init scripts on boot sync the date to the rtc, if your date isn't near what it should be then ntp wont work. It has to at least be close then run date --systohc or something like that.

Which is why it's a good idea to have ntpdate run on startup to get the clock sync'd to one ntp server and then that will guarentee that ntpd will start up happily and be happy etc.

Matthew

Signature · 6 lines
Matthew Sackman
Nottingham
England

BOFH Excuse Board:
excessive collisions & not enough packet ambulances