Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* SX/PYXIS timekeeping problem
@ 1998-01-22  0:15 Aleksandr Pilosov
  0 siblings, 0 replies; 12+ messages in thread
From: Aleksandr Pilosov @ 1998-01-22  0:15 UTC (permalink / raw)


I have a big problem with Alpha SX machine.
After upgrading to 2.0.33 kernel (by applying axp-patch.2.0.32 against
2.0.33 vanilla kernel), time seemed to speed up 2x...I did a hack on
kernel, skipping every second timer interrupt, it booted up with correct
speed, but is now slowing down, time running 20% slower than should be
normally...

Thing that looks wierd to me, and may be causing the problem:
grep cycle /proc/cpuinfo
cycle frequency [Hz]    : 0

Since bunch of code in arch/alpha/kernel/time.c relies on
hwrpb->cycle_freq, I think this may be causing it...

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <Pine.GSO.3.96.980122150229.14430A-100000@utopia.poly.edu>]
* Re: SX/PYXIS timekeeping problem
@ 1998-01-22 17:14 Przemek Klosowski
  1998-01-22  7:53 ` Jay.Estabrook
  0 siblings, 1 reply; 12+ messages in thread
From: Przemek Klosowski @ 1998-01-22 17:14 UTC (permalink / raw)


I'm afraid MILO is going to have a hard time figuring out what the cycle freq
   needs to be set to. AlphaBIOS probably knows but I don't know how MILO could
   get that info from it, and SRM usually sets the field accurately (and no MILO
   is needed using SRM console).

Sorry if this is naive, but doesn't alpha have a cycle counter? On Pentium, I
have done things like 
	cnt=RDMTR();
	sleep(1);
	cnt = RDMTR() - cnt;
where RDMTR is an assembler inline reading the pentium cycle counter register.
For a 166 MHz pentium this returns pretty close to 166,000,000.

			przemek klosowski <przemek@nist.gov>  (301) 975-6249
			NIST Center for Neutron Research (bldg. 235), E111 
			National Institute of Standards and Technology
			Gaithersburg, MD 20899,      USA
                        .. and for spam extractors, FCC Commisioners' email is: 
			wkennard@fcc.gov,sness@fcc.gov,pmisener@fcc.gov,mpowell@fcc.gov

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <Pine.GSO.3.96.980121231848.23843D-100000@utopia.poly.edu>]
[parent not found: <199801220238.VAA01871@alpha1.estabrook.org>]
[parent not found: <19980121182444.08211@dot.cygnus.com>]
[parent not found: <Pine.GSO.3.96.980121212845.7205B-100000@utopia.poly.edu>]
[parent not found: <Pine.GSO.3.96.980121190111.22441H-100000@utopia.poly.edu>]
* SX/PYXIS timekeeping problem
@ 1998-01-22  0:15 Aleksandr Pilosov
  0 siblings, 0 replies; 12+ messages in thread
From: Aleksandr Pilosov @ 1998-01-22  0:15 UTC (permalink / raw)


-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~1998-01-23  0:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-22  0:15 SX/PYXIS timekeeping problem Aleksandr Pilosov
     [not found] <Pine.GSO.3.96.980122150229.14430A-100000@utopia.poly.edu>
1998-01-23  0:07 ` Ladislav Zejda
  -- strict thread matches above, loose matches on Subject: below --
1998-01-22 17:14 Przemek Klosowski
1998-01-22  7:53 ` Jay.Estabrook
1998-01-22 18:10   ` Richard Henderson
     [not found] <Pine.GSO.3.96.980121231848.23843D-100000@utopia.poly.edu>
1998-01-22  6:08 ` Alan Young
     [not found] <199801220238.VAA01871@alpha1.estabrook.org>
1998-01-22  4:57 ` Aleksandr Pilosov
     [not found] <19980121182444.08211@dot.cygnus.com>
1998-01-22  2:32 ` Aleksandr Pilosov
     [not found] <Pine.GSO.3.96.980121212845.7205B-100000@utopia.poly.edu>
1998-01-22  2:30 ` Chris Frost
     [not found] <Pine.GSO.3.96.980121190111.22441H-100000@utopia.poly.edu>
1998-01-22  2:24 ` Richard Henderson
1998-01-22  2:38 ` Jay.Estabrook
1998-01-22  0:15 Aleksandr Pilosov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox