Re: time/procinfo

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Sat, 20 Jul 1996 17:17:56 +0200 (MET DST)


> Hi... I just received my Alpha machine yesterday, and I was wondering a
> few things... (I'm running Red Hat 3.0.3 kernel 1.3.90)
> 1) when I time a function, it time seems to be way off, and the CPU usage
> is DEFINITELY off. (13633%!) Is there a fix for this?

from Stephen Tweedie:
: A fixed time is on linux.dcs.ed.ac.uk:/pub/linux/axp-rpms. Enjoy.

> 2) the same goes for procinfo... cpu usage is way over 100%
>
> Also... Will Linux AXP be moving to ELF / dynamic libs anytime soon?

it's already moving! you should join the axplinux-libc@azstarnet.com
mailing list if you're interested in this...

on Tue, 16 Jul David Mosberger-Tang wrote

: Subject: glibc/ELF Linux/Alpha is self-hosting
:
: [Oh, well, in all the excitement I misspelled my own mailing list...]
:
: It is my pleasure to announce that the GNU libc/ELF based Linux/Alpha
: system is now self-hosting. This means that many packages starting
: from aboot all the way to zlib has been built against glibc and with
: shared libraries. Even the nasty bits such as the kernel and the
: PALcode have been built with the ELF tools. The only exception to
: this rule is the X server---the machine I'm doing this on has a TGA,
: for which there is no server source code yet. By now, the Linux
: kernel, GNU C library, X11 libraries and clients, Emacs, as well as
: several many packages have been built with the self-hosted system.
:
: The result is quite impressive: what I have built so far fits on a
: single 1GB drive with room to spare (and that includes all the
: sources!). In fact, not counting the sources on that drive, the
: system takes up about 252MB of disk space. Of course, this is not a
: complete installation (e.g., TeX has not been built yet), but it does
: include your basic X11 system, Emacs, etc. As more X binaries are
: built, the disk-space saved due to shared libraries will become even
: more significant.
:
: So what's the point of this announcement? Well, if you're a
: distributor, this is probably a good point to start switching to
: glibc/ELF. To avoid painful experiences, it may be better for
: "end-users" to wait for such a distribution to arrive. The reason for
: this is two-fold. First, upgrading incrementally is difficult because
: the include files changed completely and because several important
: system files changed their file format (e.g., utmp, I think the
: timezone file may be different, too). Second, some key tools needed
: to build the ELF/glibc system are based on pre-releases which cannot
: be made available widely. But for those that want ELF/glibc really
: bad and _now_, feel free to join the axplinux-libc@azstarnet.com
: majordomo mailing list and get it going yourself. As I said in an
: earlier mail: be prepared for more than a weekend's worth of
: work... ;-)
:
: Some credit to the giants on whose shoulders this effort rests:
:
: First, and foremost, thank Richard Henderson and Eric Youngdale for
: their excellent ELF, dynamic-linker, and binutils work (and everything
: else I forgot to mention).
:
: As for glibc, Roland McGrath (FSF) and Ulrich Drepper (Cygnus) have
: done a tremendous job in fixing bugs and bringing glibc up to snuff.
: They also have been very patient in dealing with my constant prodding
: and pushing. That alone should speak volumes... :-))
:
: Last but not least, much thanks to DEC Semiconductor for being so
: generous in supporting Linux/Alpha development. Having a machine that
: builds stuff faster than I can reach for a cup of coffee helps a lot
: in keeping caffeine at a non-lethal level... ;-)
:
: If you want to get serious about moving to glibc/ELF, it's best to
: discuss the details on axplinux-libc@azstarnet.com. A README file
: with some initial instructions is at:
:
: ftp://ftp.azstarnet.com/pub/linux/axp/glibc/README

and yesterday Richard Henderson wrote on this list:

: Subject: A basic Alpha/ELF environment
:
: I've put together a tarball of a basic ELF environment to aid those
: who want to get into ELF, but don't want all the birth pains.
:
: ftp://atheist.tamu.edu/pub/richard/linux/axp/elfball.tar.gz
:
: is the package; appended is the readme.
:
: r~
: -----
: The elfball is a big tar file of a very basic Alpha/ELF environment.
: It should contain everything needed to build just about everything.
: [Update: I just realized it does not contain gperf, m4 or autoconf.
: These will be needed to build glibc but should themselves be trivial
: to build in this environment.]
:
: Its raison d'etre is to save someone else the trouble of bootstrapping
: themselves into ELF. It is not intended as an end-user distribution
: itself but as an aid to those building such distributions.
:
: The package must believe that it is installed in "/". Rather than
: damage your existing system by actually installing it in you root
: directory, it is better to chroot a shell in the top level of the
: elfball. The chroot.c program in this directory is sufficient. Note
: that it must be run setuid root.
:
: In summary:
: $ mkdir ~/elfball
: # cd elfball; tar zxfv ../elfball.tar.gz
: $ chroot ~/elfball /bin/sh
:
: I've found it very convenient to have one window in the chroot'ed ELF
: environment and one window in the normal environment. In the normal
: window I pull things off the CD, extract and patch them up, then I
: build and install the package in the ELF window.
:
: As always, let me know if anything goes wrong.
:
:
: r~
: -----
: rth@tamu.edu

Harald

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^