* Kernel compiled with Compaq C Compiler booted
@ 1999-10-27 4:00 bvermeul
0 siblings, 0 replies; 13+ messages in thread
From: bvermeul @ 1999-10-27 4:00 UTC (permalink / raw)
I just wanted to let ya'll know that I just booted my Miata with
a kernel compiled with the Compaq C Compiler (ccc). It's still up
(after 2 hours), and it's looking good for now. 2.3.22 compiled
(with a patch from Andrea Arcangeli for the pci problem in there)
out of the box, and it is running just fine... :)
Regards,
Bas Vermeulen
--
"God, root, what is difference?"
-- Pitr, User Friendly
"God is more forgiving."
-- Dave Aronson
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
[not found] <199910301934.NAA08797@gortel.phys.ualberta.ca>
@ 1999-10-31 4:00 ` bvermeul
1999-10-31 4:00 ` Eberhard Burr
0 siblings, 1 reply; 13+ messages in thread
From: bvermeul @ 1999-10-31 4:00 UTC (permalink / raw)
To: Michal Jaegermann
On Sat, 30 Oct 1999, Michal Jaegermann wrote:
> In article <slrn81ei08.rbv.bvermeul@devel.blackstar.nl> you wrote:
> : I just wanted to let ya'll know that I just booted my Miata with
> : a kernel compiled with the Compaq C Compiler (ccc).
>
> Does that mean that ccc groks assembler and inline assembler
> syntax used by gcc, together with constraints specifications, or
> you recompiled fragments using assembler with gcc?
It means that I screwed up... I set HOSTCC to ccc, and that works just
fine, except that the kernel doesn't get compiled with that... *grmbl*
Me and my big mouth...
Bas
--
"God, root, what is difference?"
-- Pitr, User Friendly
"God is more forgiving."
-- Dave Aronson
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
1999-10-31 4:00 ` bvermeul
@ 1999-10-31 4:00 ` Eberhard Burr
1999-11-01 5:00 ` Ryan M Rafferty
0 siblings, 1 reply; 13+ messages in thread
From: Eberhard Burr @ 1999-10-31 4:00 UTC (permalink / raw)
bvermeul@devel.blackstar.nl writes:
> It means that I screwed up... I set HOSTCC to ccc, and that works just
> fine, except that the kernel doesn't get compiled with that... *grmbl*
just curious: why would you want to do that anyway?
kind Regards,
--
Eberhard Burr check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
for PGP Key -- #include <stddisc.h> -- electric cookie follows
We don't need no education, we don't need no thought control.
-- Pink Floyd
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
1999-10-31 4:00 ` Eberhard Burr
@ 1999-11-01 5:00 ` Ryan M Rafferty
1999-11-01 5:00 ` Eberhard Burr
1999-11-01 5:00 ` Peter Onion (system owner)
0 siblings, 2 replies; 13+ messages in thread
From: Ryan M Rafferty @ 1999-11-01 5:00 UTC (permalink / raw)
I would think that the benefits of compiling the kernel using Compaq's
much-speedier-than-egcs compiler are fairly obvious.
Faster compiler generally implies a faster kernel, though of course
that simplistic relationship will not hold true in all cases.
Ryan
Eberhard Burr (Eberhard.Burr@gmx.de) wrote:
: bvermeul@devel.blackstar.nl writes:
: > It means that I screwed up... I set HOSTCC to ccc, and that works just
: > fine, except that the kernel doesn't get compiled with that... *grmbl*
: just curious: why would you want to do that anyway?
: kind Regards,
: --
: Eberhard Burr check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
: for PGP Key -- #include <stddisc.h> -- electric cookie follows
: We don't need no education, we don't need no thought control.
: -- Pink Floyd
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
1999-11-01 5:00 ` Ryan M Rafferty
1999-11-01 5:00 ` Eberhard Burr
@ 1999-11-01 5:00 ` Peter Onion (system owner)
1999-11-01 5:00 ` Ryan M Rafferty
1 sibling, 1 reply; 13+ messages in thread
From: Peter Onion (system owner) @ 1999-11-01 5:00 UTC (permalink / raw)
In article <7vivhj$bng@portal.gmu.edu>,
rraffer1@osf1.gmu.edu (Ryan M Rafferty) writes:
> I would think that the benefits of compiling the kernel using Compaq's
> much-speedier-than-egcs compiler are fairly obvious.
>
> Faster compiler generally implies a faster kernel, though of course
> that simplistic relationship will not hold true in all cases.
I would be amazed if it held in any cases...
A faster compiler could mean that its not spending any time looking for
optimisaton of the code it produces, thus resulting in a much slower
kernel.
Peter.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
1999-11-01 5:00 ` Peter Onion (system owner)
@ 1999-11-01 5:00 ` Ryan M Rafferty
1999-11-03 5:00 ` Peter Onion (system owner)
0 siblings, 1 reply; 13+ messages in thread
From: Ryan M Rafferty @ 1999-11-01 5:00 UTC (permalink / raw)
Well I should clarify that by using the phrase "faster compiler" I meant
a compiler that produces more highly optimized code, not a compiler
that completes its task in less time. Because we're discussing this
in comp.os.linux.alpha, I assume you are familiar with Compaq's excellent
C compiler, which produces code that has been found to exceed EGCS
on most benchmarks and "real-life" tasks on the Alpha platform.
Peter Onion (system owner) (ponion@catbert.alien.bt.co.uk) wrote:
: In article <7vivhj$bng@portal.gmu.edu>,
: rraffer1@osf1.gmu.edu (Ryan M Rafferty) writes:
: > I would think that the benefits of compiling the kernel using Compaq's
: > much-speedier-than-egcs compiler are fairly obvious.
: >
: > Faster compiler generally implies a faster kernel, though of course
: > that simplistic relationship will not hold true in all cases.
: I would be amazed if it held in any cases...
: A faster compiler could mean that its not spending any time looking for
: optimisaton of the code it produces, thus resulting in a much slower
: kernel.
: Peter.
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
1999-11-01 5:00 ` Ryan M Rafferty
@ 1999-11-01 5:00 ` Eberhard Burr
1999-11-01 5:00 ` Ryan M Rafferty
1999-11-01 5:00 ` Peter Onion (system owner)
1 sibling, 1 reply; 13+ messages in thread
From: Eberhard Burr @ 1999-11-01 5:00 UTC (permalink / raw)
rraffer1@osf1.gmu.edu (Ryan M Rafferty) writes:
> I would think that the benefits of compiling the kernel using Compaq's
> much-speedier-than-egcs compiler are fairly obvious.
>
> Faster compiler generally implies a faster kernel, though of course
> that simplistic relationship will not hold true in all cases.
I would think that a system which spends substantial amounts of time
in kernelland is seriously flawed in it's hardware. The most I can get
is somewhere fairly below 10% CPU time in kernel but then all data
paths are saturated anyway. (remote X saturating the network, full
speed download over the modem and find saturating the disk...) I
suspect I wouldn't realize the difference if it was at only 2% CPU in
kernel.
don't mistake a faster kernel for a faster computer. The scheduler and
some parts of the VM layer could win, of course.
kind Regards,
--
Eberhard Burr check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
for PGP Key -- #include <stddisc.h> -- electric cookie follows
And you can't get any Watney's Red Barrel,
because the bars close every time you're thirsty...
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
1999-11-01 5:00 ` Eberhard Burr
@ 1999-11-01 5:00 ` Ryan M Rafferty
1999-11-02 5:00 ` Eberhard Burr
0 siblings, 1 reply; 13+ messages in thread
From: Ryan M Rafferty @ 1999-11-01 5:00 UTC (permalink / raw)
Eberhard Burr (Eberhard.Burr@gmx.de) wrote:
: rraffer1@osf1.gmu.edu (Ryan M Rafferty) writes:
: > Faster compiler generally implies a faster kernel, though of course
: > that simplistic relationship will not hold true in all cases.
: I would think that a system which spends substantial amounts of time
: in kernelland is seriously flawed in it's hardware. The most I can get
: is somewhere fairly below 10% CPU time in kernel but then all data
: paths are saturated anyway. (remote X saturating the network, full
: speed download over the modem and find saturating the disk...) I
: suspect I wouldn't realize the difference if it was at only 2% CPU in
: kernel.
Of course. But an improved kernel would certainly benefit old, slow
systems that spend a lot of time doing a lot of varied tasks, such
as my old noname-based server that handles all the menial tasks on
the network, from ip-masq and dial-up to printserving (using printer
filters + ghostscript), NFS, SAMBA sharing, and even running Bnetd!
Honestly, even with these tasks running simultaneously the system
appears to have pep to spare. But if I decide to bog the machine further
with more tasks, I would appreciate speedier code in the kernel
"just in case." Of course, you might well argue that I should stop
being so cheap and just upgrade the workhorse :).
: don't mistake a faster kernel for a faster computer. The scheduler and
: some parts of the VM layer could win, of course.
I'm not mistaking anything. But depending on the tasks of a particular
machine, further kernel optimizations may or may not enhance overall
performance. The key is to "optimize the inner loop", as it were.
I do believe that compiling GNU LibC would likely yield more overall
benefit than the kernel, however. It would be interesting to attempt
that and run an empirical benchmark or two.
Ryan
: kind Regards,
: --
: Eberhard Burr check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
: for PGP Key -- #include <stddisc.h> -- electric cookie follows
: And you can't get any Watney's Red Barrel,
: because the bars close every time you're thirsty...
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
1999-11-01 5:00 ` Ryan M Rafferty
@ 1999-11-02 5:00 ` Eberhard Burr
1999-11-02 5:00 ` Roger Dooley
1999-11-02 5:00 ` Ryan M Rafferty
0 siblings, 2 replies; 13+ messages in thread
From: Eberhard Burr @ 1999-11-02 5:00 UTC (permalink / raw)
rraffer1@osf1.gmu.edu (Ryan M Rafferty) writes:
> Of course. But an improved kernel would certainly benefit old, slow
> systems that spend a lot of time doing a lot of varied tasks, such
> as my old noname-based server that handles all the menial tasks on
> the network, from ip-masq and dial-up to printserving (using printer
> filters + ghostscript), NFS, SAMBA sharing, and even running Bnetd!
Most of the tasks you name are IO-bound, so the point of saturated
IO-paths still stands.
> Honestly, even with these tasks running simultaneously the system
> appears to have pep to spare. But if I decide to bog the machine further
> with more tasks, I would appreciate speedier code in the kernel
> "just in case." Of course, you might well argue that I should stop
> being so cheap and just upgrade the workhorse :).
I certainly know how to appreciate an old box if it's doing its job
well.
> : don't mistake a faster kernel for a faster computer. The scheduler and
> : some parts of the VM layer could win, of course.
> I'm not mistaking anything. But depending on the tasks of a particular
> machine, further kernel optimizations may or may not enhance overall
> performance. The key is to "optimize the inner loop", as it were.
Of course. The tasks you name (Samba, NFS, dial-up) are IO-bound and
therefore, I would'nt expect the kernel to be the 'inner loop'. To me
it seems avoiding latencies is much more crucial to those tasks than
anything else. With this respect, I found that changes in the kernel
structure (comparing 2.0 with 2.2) made much more difference than the
choice of compiler (I was still using i86 when 2.2 came out, so I can
only judge the differences between gcc/egcs there).
Then there are things like Ghostscript, which doesn't spend all that
much time in kernel anyway. Optimizing the application seems worth the
effort and as you say:
> I do believe that compiling GNU LibC would likely yield more overall
> benefit than the kernel, however. It would be interesting to attempt
> that and run an empirical benchmark or two.
Yes, that's my point, too. However, I'd start by picking some easier
examples... Most likely, you're a better programmer than me, but
having failed on XEmacs myself (even with gcc, it's tricky), I find
porting libc to another compiler to be rather adventurous.
While speaking of XEmacs: is it normal that it runs twice as slow
on my SX164 than it ran on my old AMD-K6-166?
kind Regards,
--
Eberhard Burr check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
for PGP Key -- #include <stddisc.h> -- electric cookie follows
The meek will inherit the earth -- if that's OK with you.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
1999-11-02 5:00 ` Eberhard Burr
1999-11-02 5:00 ` Roger Dooley
@ 1999-11-02 5:00 ` Ryan M Rafferty
1 sibling, 0 replies; 13+ messages in thread
From: Ryan M Rafferty @ 1999-11-02 5:00 UTC (permalink / raw)
Eberhard Burr (Eberhard.Burr@gmx.de) wrote:
: Yes, that's my point, too. However, I'd start by picking some easier
: examples... Most likely, you're a better programmer than me, but
: having failed on XEmacs myself (even with gcc, it's tricky), I find
: porting libc to another compiler to be rather adventurous.
: While speaking of XEmacs: is it normal that it runs twice as slow
: on my SX164 than it ran on my old AMD-K6-166?
I'm not familiar with the innards of Emacs or XEmacs, so what I say is
likely to be completely bogus. But a few things to look for might be
byte-oriented memory accesses or manipulations; I remember reading that
on some Alpha implementations byte-sized access has to be emulated in
PALcode and therefore can be quite slow, whereas on older systems that
were designed with byte-sized operations in mind (such as x86) the cost
is not so high. However, I thought the 21164PC (which the SX uses) had
byte-operation extensions built in...
Ryan
: kind Regards,
: --
: Eberhard Burr check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
: for PGP Key -- #include <stddisc.h> -- electric cookie follows
: The meek will inherit the earth -- if that's OK with you.
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
1999-11-02 5:00 ` Eberhard Burr
@ 1999-11-02 5:00 ` Roger Dooley
1999-11-03 5:00 ` Eberhard Burr
1999-11-02 5:00 ` Ryan M Rafferty
1 sibling, 1 reply; 13+ messages in thread
From: Roger Dooley @ 1999-11-02 5:00 UTC (permalink / raw)
Did you apply the IDE patch? That sped up my disk performance.
Eberhard Burr wrote:
...
> While speaking of XEmacs: is it normal that it runs twice as slow
> on my SX164 than it ran on my old AMD-K6-166?
>
> kind Regards,
> --
> Eberhard Burr check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
> for PGP Key -- #include <stddisc.h> -- electric cookie follows
> The meek will inherit the earth -- if that's OK with you.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
1999-11-01 5:00 ` Ryan M Rafferty
@ 1999-11-03 5:00 ` Peter Onion (system owner)
0 siblings, 0 replies; 13+ messages in thread
From: Peter Onion (system owner) @ 1999-11-03 5:00 UTC (permalink / raw)
In article <7vk61g$pif@portal.gmu.edu>,
rraffer1@osf1.gmu.edu (Ryan M Rafferty) writes:
> Well I should clarify that by using the phrase "faster compiler" I meant
> a compiler that produces more highly optimized code, not a compiler
> that completes its task in less time. Because we're discussing this
> in comp.os.linux.alpha, I assume you are familiar with Compaq's excellent
> C compiler, which produces code that has been found to exceed EGCS
> on most benchmarks and "real-life" tasks on the Alpha platform.
Ok I take your point, but what you were saying seemed rather obvious !
Peter.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Kernel compiled with Compaq C Compiler booted
1999-11-02 5:00 ` Roger Dooley
@ 1999-11-03 5:00 ` Eberhard Burr
0 siblings, 0 replies; 13+ messages in thread
From: Eberhard Burr @ 1999-11-03 5:00 UTC (permalink / raw)
Roger Dooley <rdooley@tstc.edu> writes:
> Did you apply the IDE patch? That sped up my disk performance.
no, but I've switched to SCSI ages ago :-)
kind Regards,
--
Eberhard Burr check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc
for PGP Key -- #include <stddisc.h> -- electric cookie follows
Generally speaking, the Way of the warrior is resolute acceptance of death.
-- Miyamoto Musashi, 1645
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~1999-11-03 5:00 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-27 4:00 Kernel compiled with Compaq C Compiler booted bvermeul
[not found] <199910301934.NAA08797@gortel.phys.ualberta.ca>
1999-10-31 4:00 ` bvermeul
1999-10-31 4:00 ` Eberhard Burr
1999-11-01 5:00 ` Ryan M Rafferty
1999-11-01 5:00 ` Eberhard Burr
1999-11-01 5:00 ` Ryan M Rafferty
1999-11-02 5:00 ` Eberhard Burr
1999-11-02 5:00 ` Roger Dooley
1999-11-03 5:00 ` Eberhard Burr
1999-11-02 5:00 ` Ryan M Rafferty
1999-11-01 5:00 ` Peter Onion (system owner)
1999-11-01 5:00 ` Ryan M Rafferty
1999-11-03 5:00 ` Peter Onion (system owner)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox