Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: time(1) incorrect (Re) ... times(3) strange; clock_t == long
@ 1996-03-04 23:48 Kendall Clark
  0 siblings, 0 replies; 6+ messages in thread
From: Kendall Clark @ 1996-03-04 23:48 UTC (permalink / raw)


In case anyone is interested in other sources for Alpha motherboards and
systems, I am forwarding this message to axp-list.

>    Thank you for your interest in Microway.  We sell the Microway Screamer
>    Alpha motherboard alone or configured in a system.  The prices for the
>    motherboard alone are as follows:
>
>
>        266 mhz 21164 that will run NT , LINUX..................  $4995
>
>        300 mhz 21164 that will run NT , LINUX .................  $5595
>        
>        333 mhz 21164 that will run NT , LINUX .................   CALL
>
>        300 mhz 21164 that will run NT, DEC UNIX and LINUX .....  $8800
>
>        333 mhz 21164 that will run NT, DEC UNIX and LINUX .....   CALL
>
>        (INCLUDES 2 MEGS OF CACHE)
>
>    Systems are $8995, $9,995, and $12,500 for the above motherboards
>    where prices are quoted. For systems featuring the 333 mhz chip, please
>    call.
>
>
>    BASE SYSTEMS INCLUDE:
>
>        Microway Screamer Motherboard
>
>        Full-Size Server Tower TL17
>
>        PS/2 400 Watt Power Supply
>
>        2 MB 10 NS CACHE
>
>        32 MB DRAM, Upgradable to 512 MB
>
>        FAST SCSI PCI Controller
>
>        1GB FAST SCSI-2 Drive
>
>        Plextor 6X Internal CD-ROM (SCSI)
>
>        # 9 GXE64 PCI 2MB
>
>        3.5" 1.44 MB Floppy
>
>        2 Serial, I Parallel Port
>
>        101 Enhanced PS/2 Keyboard
>
>        PS/2 Mouse
>
>    We also have NDP Fortran, C/C++, and Pascal compilers for Alpha hardware
>    running NT, DEC UNIX, or LINUX.
>
>    For comparison, the closest DEC system would be the DEC WORKSTATION 600.
>    It is a single 21164 processor running at 300 mhz on the same motherboard
>    design.  Microway's systems offer excellent technical support and
>    custom systems at substantial savings.
>
>    The "NT" designation on the processor indicates that the chip supports
>    the NT and the LINUX operating systems.  For DEC UNIX support, you would
>    need to purchase the more expensive processor that does not have the
>    "NT" designation.  This is DEC's way of marketing the chip for NT usage.
>    The processors are otherwise functionally equivalent.
>
>    Please let me know if you have further questions.  I will be glad to help
>    you.  If you would like to receive more information or a quote on
>    Microway's custom Alpha or Pentium systems please send me your fax number
>    or postal mailing address.
>
>    Sincerely,
>
>    Mike Browne
>    Sales Representative
>    mike@microway.com
>    Phone: (508) 746-7341
>    FAX:   (508) 746-4678

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: time(1) incorrect (Re) ... times(3) strange; clock_t == long
@ 1996-03-04 22:43 David Mosberger-Tang
  0 siblings, 0 replies; 6+ messages in thread
From: David Mosberger-Tang @ 1996-03-04 22:43 UTC (permalink / raw)


>>>>> On Thu, 29 Feb 96 16:57:41 +0100, "Fred Roy" <froy@gr.osf.org> said:

  Fred> P.S.: could somebody compile it on a recent RedHat AXP Linux
  Fred> and tell me if it behaves the same way ? Thanks a lot.

It has the same (erroneous) behavior.  I ran across this while working
on GNU libc and it's fixed in my sources now, but I was hoping on not
having to do another libc-4.6.27-based release.  If you can't wait to
have this fixed, let me know and I'll see about it.

	--david

PS: All it should take is to replace libc/sysdeps/linux/alpha/times.c
with times.S containing the following lines (and updating the
Makefile).

#include <sysdep.h>

SYSCALL__ (times, 1)
	RETSYS(__times)

^ permalink raw reply	[flat|nested] 6+ messages in thread
* time(1) incorrect (Re) ... times(3) strange; clock_t == long
@ 1996-02-29  9:53 froy
  1996-02-29 14:43 ` Craig Groeschel
  1996-02-29 15:42 ` Erik Troan
  0 siblings, 2 replies; 6+ messages in thread
From: froy @ 1996-02-29  9:53 UTC (permalink / raw)


Erik> On Tue, 12 Dec 1995, Nigel Metheringham wrote:

	> Imagine my suprise when I found that apparently the beast does 
	> infinite dhrystones per second.... some system!

Erik> We told you these Alpha's are fast!

	> /usr/bin/time was returning 0 for sys and elapsed time under all 
	> circumstances - user time appeared OK.
	> Recompiling (ie installing the SRPM and building it), fixed that.
	> Presumably something in the kernel has changed???
	> I am using a 1.3.46 kernel, built here.

Erik> I'm rebuilding it here as well. I'll make a new RPM available today
Erik> (time-1.6-3).

I replayed this time(1) story 2.5 months later, on my BLADE_0.3 platform.
I think it is [was] due to times(3) which uses [used] to return a
value in ~seconds, not in clock ticks unless redefining HZ to 1
(HZ is set to 1024 by <asm/param.h> for a "noname" board, & Digital Unix
uses the same setting).
Does anybody know how it has been fixed (e.g. by a change to the libraries,
to the system header files, to the kernel...) ?

I have also a question on clock_t: it's a `long' on BLADE_0.3 (<asm/types.h>)
but an `int' on Digital Unix (<sys/types.h>). While perhaps sometimes
hidden by the Alpha chip tolerant endianess, it should make a (small) hole in
binary compatibility of Linux/Alpha with Digital Unix. I'd like to
understand the advantage of preferring `long' to `int': is it because
Linux/Intel's clock_t is also `long' ?

Thanks a lot,
fred

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

end of thread, other threads:[~1996-03-04 23:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.91.960229104046.22036A-100000@redhat.com>
1996-02-29 16:41 ` time(1) incorrect (Re) ... times(3) strange; clock_t == long Richard Henderson
1996-03-04 23:48 Kendall Clark
  -- strict thread matches above, loose matches on Subject: below --
1996-03-04 22:43 David Mosberger-Tang
1996-02-29  9:53 froy
1996-02-29 14:43 ` Craig Groeschel
1996-02-29 15:42 ` Erik Troan

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