Author Topic: System time runs twice normal speed on FC4 SMP kernel  (Read 2905 times)

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
On my desktop:

Pentium 4 HT 3.02 Ghz
1 GB RAM
SiS chipset
Nvidia GeForce 4 Ti graphics card

The system time runs twice as fast as normal running the Fedora Core 4 SMP kernel and Hyper-threading support on (2 seconds system time = 1 second real time). The problem goes away if I turn HT off and go to non-SMP kernel ... but it runs 20-40% slower than with HT on and SMP, so I leave HT on and use SMP. It doesn't bother me too much, with a few exceptions such as the delay times are all 1/2 as long as they should be so if I hold a key down for just a bit too long it'll quickly fill the page with that character, and hotkeys are problem like when I want a terminal it's hard to get just 1 terminal to pop up ... usually 10-20 pop up :( Anyway ... I've posted this question in other places and it looks like it happens on other distros as well ... like Ubuntu and Suse and others, and that there is no real solution ... it just a kernel bug. I hope this is not the case :( I don't have access to my desktop right now ... it's at my other house ... so I can't try out things to see if they work, but as soon as I get access I'll try to implement the solutions ... maybe I could set up some remote desktop stuff.

Lead Head

  • Global Moderator
  • Member
  • ***
  • Posts: 1,508
  • Kudos: 534
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #1 on: 20 March 2006, 21:01 »
I have even heard of similar bugs with Windows and hyper thread, to me it looks like you are going to have to live without HT and SMP:(
sig.

piratePenguin

  • VIP
  • Member
  • ***
  • Posts: 3,027
  • Kudos: 775
    • http://piratepenguin.is-a-geek.com/~declan/
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #2 on: 20 March 2006, 22:22 »
Sounds like a major kernel bug.
I'd try compiling 2.6.16 (just released today). There's new SMP fixes in basically every linux release...

Do all people with P4 HT have this problem?
"What you share with the world is what it keeps of you."
 - Noah And The Whale: Give a little love



a poem by my computer, Macintosh Vigilante
Macintosh amends a damned around the requested typewriter. Macintosh urges a scarce design. Macintosh postulates an autobiography. Macintosh tolls the solo variant. Why does a winter audience delay macintosh? The maker tosses macintosh. Beneath female suffers a double scum. How will a rat cube the heavier cricket? Macintosh calls a method. Can macintosh nest opposite the headache? Macintosh ties the wrong fairy. When can macintosh stem the land gang? Female aborts underneath macintosh. Inside macintosh waffles female. Next to macintosh worries a well.

WMD

  • Global Moderator
  • Member
  • ***
  • Posts: 2,525
  • Kudos: 391
    • http://www.dognoodle99.cjb.net
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #3 on: 20 March 2006, 22:43 »
Quote from: piratePenguin
Do all people with P4 HT have this problem?

Not me.
My BSOD gallery
"Yes there's nothing wrong with going around being rude and selfish, killing people and fucking married women, but being childish is a cardinal sin around these parts." -Aloone_Jonez

Aloone_Jonez

  • Administrator
  • Member
  • ***
  • Posts: 4,090
  • Kudos: 954
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #4 on: 20 March 2006, 22:50 »
Cool, does everything else run at twice the speed? :D
This is not a Windows help forum, however please do feel free to sign up and agree or disagree with our views on Microsoft.

Oh and FUCKMicrosoft! :fu:

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #5 on: 21 March 2006, 00:30 »
I think you need to pass disable_timer_pin_1 as an arguement to your kernel.

Test that it is fixed by running:
time sleep 10

Which should take 10 seconds of real time.
Contains scenes of mild peril.

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #6 on: 21 March 2006, 01:37 »
Once you get your system time under control, you probably should set up ntpd anyway.

Atomic clock accuracy ROX!
In brightest day, in darkest night, no evil shall escape my sight....

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #7 on: 21 March 2006, 03:56 »
Quote from: KernelPanic
I think you need to pass disable_timer_pin_1 as an arguement to your kernel.

Test that it is fixed by running:
time sleep 10

Which should take 10 seconds of real time.

ok how do I do that ? how do I pass commands to the kernel ? just type it in the console ?

Aloone_Jonez

  • Administrator
  • Member
  • ***
  • Posts: 4,090
  • Kudos: 954
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #8 on: 21 March 2006, 10:58 »
I don't know, as an educated guess I think he means you alter the bootloader configuration file where it loads the kernel, this will depend on whether you use Grub or Lilo.
This is not a Windows help forum, however please do feel free to sign up and agree or disagree with our views on Microsoft.

Oh and FUCKMicrosoft! :fu:

piratePenguin

  • VIP
  • Member
  • ***
  • Posts: 3,027
  • Kudos: 775
    • http://piratepenguin.is-a-geek.com/~declan/
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #9 on: 21 March 2006, 17:07 »
Yea. If you use grub, add to the kernel line 'disable_timer_pin_1' in /boot/grub/menu.lst
"What you share with the world is what it keeps of you."
 - Noah And The Whale: Give a little love



a poem by my computer, Macintosh Vigilante
Macintosh amends a damned around the requested typewriter. Macintosh urges a scarce design. Macintosh postulates an autobiography. Macintosh tolls the solo variant. Why does a winter audience delay macintosh? The maker tosses macintosh. Beneath female suffers a double scum. How will a rat cube the heavier cricket? Macintosh calls a method. Can macintosh nest opposite the headache? Macintosh ties the wrong fairy. When can macintosh stem the land gang? Female aborts underneath macintosh. Inside macintosh waffles female. Next to macintosh worries a well.

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #10 on: 21 March 2006, 21:07 »
Ok, I'll do that thanks ...

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #11 on: 15 May 2006, 06:01 »
The newer kernel versions fix this (at least on my computer)

hm_murdock

  • VIP
  • Member
  • ***
  • Posts: 2,629
  • Kudos: 378
  • The Lord of Thyme
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #12 on: 24 July 2006, 08:16 »
Clock runs at twice speed?

Cool.
Go the fuck ~

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: System time runs twice normal speed on FC4 SMP kernel
« Reply #13 on: 24 July 2006, 20:30 »
well it did with the older smp kernels ... not anymore ... it wasn't as cool as you think, pretty much anything reliant on the system clock ran twice as fast ... no wonder some of the games I played at the time seemed rather difficult.