Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Time to build kernel (kernelbench)
       [not found] <346CE3E7.34BE1F64@treblig.org>
@ 1997-11-15  1:56 ` Armin Ollig
  0 siblings, 0 replies; 8+ messages in thread
From: Armin Ollig @ 1997-11-15  1:56 UTC (permalink / raw)


dave,

the 'kernel-compile' benchmark does say little or nothing about how well a
systems or cpu performs. 
generally it can be said that cisc code is faster to comile than risc code
(which is an *advantage* of the risc architecture, not a drawback!).

besides that to many other parameters are taken into account like  how
many jobs does make launch (make -j 20 boot != make boot) how well does
the kernel work, how fast is the compiler itself etc etc etc

a good over-all benchmark is the spec95 although the intel cpus do look
better at the spec bench than they are in the real word (intel has its own
spec-benchmark-specialist compilers whereas sun, digital and hp have to
compile the spec-bench with them normal 'everydays-work' compilers. also
in real live fast movement and copy of data (slow on x86) is more
important than pure arithmetics (fast on x86).

another good bench is bytemark. 
for infos about the benchmark look at www.byte.com. you can also download
the sources there....

my system is an alpha 21164A at 500mHz, PC164 motherboard 128MB
ram(memory bus 'only' 128bit(leaving one memory bank free)) , 1MB 
L3 cache. i run the precompiled windows NT bytemark from www.byte.com.

it gives me 7.X ints and 8.X floats, pentium 90 is 1 int and 1 float.
this is fast. faster than SMP x86.

but......
....dont expect linux to run that fast as the benchmarks might promise.
gcc does not produce well optimised alpha code, and the linux system is
not as optimised as the older  intel port. and ofcause disk-performance is
very important on how fast an OS seems to run.

best regards,
--armin

 ---------------------------------------------------------------------
|        Name: armin ollig         Email: armin@data.tops.net         |
|                                                                     |
| We don't care.  We don't have to.  We're the Systems Administration |
 ---------------------------------------------------------------------

On Fri, 14 Nov 1997, Dave Gilbert wrote:

> OK - as I'm considering a 21164PC its time for me to ask the 'speed'
> question.
> Now some people like SPECint (I do - but I've already got that answer),
> others like BOGOmips (bah..), but my favorite is time to build kernel.
> 
> So for your configuration (what ever it is - say a netcard and some scsi
> please, modularised???) how long does it take to build a 2.1.6x kernel?
> i.e. to do:
> 
> make dep && make clean && make zImage && make modules
> 
> (From a directory containing a previously built copy of the kernel).
> 
> Well thats the benchmark I'd like to see!
> (Call me insane if you must....)
> 
> Dave
> -- 
> ---------------------------------------------------- Man can not live  -
>  David Alan Gilbert - gro.gilbert @ treblig.org ---- by bread alone. He 
> ---------------------------------------------------- needs chocolate.  -
> 
> -- 
> 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
> 
> 

-- 
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] 8+ messages in thread

* Re: Time to build kernel (kernelbench)
       [not found] <Pine.BSF.3.96.971115022711.20731A-100000@data.tops.net>
@ 1997-11-15 17:14 ` Volker Barthelmann
  0 siblings, 0 replies; 8+ messages in thread
From: Volker Barthelmann @ 1997-11-15 17:14 UTC (permalink / raw)


On Sat, 15 Nov 1997, Armin Ollig wrote:

> the 'kernel-compile' benchmark does say little or nothing about how well a
> systems or cpu performs. 

Agreed.

> generally it can be said that cisc code is faster to comile than risc code
> (which is an *advantage* of the risc architecture, not a drawback!).

Why? Being slower to compile surely seems like a drawback to me. Usually
it doesn't matter but why should it be an advantage?

> another good bench is bytemark.

IMHO it's pretty bad und can't be really trusted. Last time I tried to
build it on Linux/Alpha I ran into a bug which caused core-dumps due to
reading uninitialized floating-point-data. Trying to build it on another
system resulted in lots of problems due to inconsistent declarations and
use of library-functions (clock) without error-checking.
Also the dynamic scaling basically prevents me from measuring/checking the
time with a clock.

And a benchmark claimed to be portable shouldn't use #ifdef SOMEOS all
over the place...

Volker

-- 
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] 8+ messages in thread

* Re: Time to build kernel (kernelbench)
       [not found] <Pine.LNX.3.95.971115175901.2041B-100000@vb.franken.de>
@ 1997-11-16 12:04 ` Christoph Zens
  0 siblings, 0 replies; 8+ messages in thread
From: Christoph Zens @ 1997-11-16 12:04 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]

>> generally it can be said that cisc code is faster to comile than risc code
>> (which is an *advantage* of the risc architecture, not a drawback!).

>Why? Being slower to compile surely seems like a drawback to me. Usually
>it doesn't matter but why should it be an advantage?

The more you cut down the code into little pieces (load/store/add...) before
running it, the less time is needed by the CPU to interpret the commands at
runtime. And, yes, CICS-CPUs are heavily micro-coded (not hard-wired), and
thus behave like an interpreter.

Having to perform only some basic operations, the RISC can take much more
advantage out of syncronous pipes. Ever heard of a CISC-CPU with a 17-stage
pipeline?

You also would not want to say:
"BASIC is the best coice, because it doesn't need *any* compile-time..."

--
    _
 _ //
 \X/  Christoph Zens <e9126506@student.tuwien.ac.at>

Na, da waren die Ohren wieder mal größer als die Nase...

-- 
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] 8+ messages in thread

* Re: Time to build kernel (kernelbench)
       [not found] <937.259T2384T7845497@student.tuwien.ac.at>
@ 1997-11-16 21:54 ` Volker Barthelmann
  0 siblings, 0 replies; 8+ messages in thread
From: Volker Barthelmann @ 1997-11-16 21:54 UTC (permalink / raw)


On 16 Nov 1997, Christoph Zens wrote:

> >> generally it can be said that cisc code is faster to comile than risc code
> >> (which is an *advantage* of the risc architecture, not a drawback!).
> 
> >Why? Being slower to compile surely seems like a drawback to me. Usually
> >it doesn't matter but why should it be an advantage?
> 
> The more you cut down the code into little pieces (load/store/add...) before
> running it, the less time is needed by the CPU to interpret the commands at
> runtime.

That sounds like a gross oversimplification. I only have a 21164 but if
you're right byte-loads will be slower on the 21164a, because they are no
longer split into several instructions? :-)

> And, yes, CICS-CPUs are heavily micro-coded (not hard-wired), and
> thus behave like an interpreter.

AFAIK current CISC-CPUs do not use microcode for most heavily-used
instructions - and RISC basically has only those instructions anyway.

> Having to perform only some basic operations, the RISC can take much more
> advantage out of syncronous pipes. Ever heard of a CISC-CPU with a 17-stage
> pipeline?

Of course RISC has advantages. Being able to make them faster and/or
cheaper is the single important advantage of RISC. This may imply longer
compilation-time and people are willing to accept that drawback to gain
the other advantage. Nevertheless longer compilation-times are still a
drawback (and I'm not saying that RISC necessarily implies longer
compilation-times).

> You also would not want to say:
> "BASIC is the best coice, because it doesn't need *any* compile-time..."

I do say: "An interpreted language usually has the advantage of much
shorter turn-around-times."

Volker

-- 
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] 8+ messages in thread

* Re: Time to build kernel (kernelbench)
       [not found] <Pine.LNX.3.95.971116223918.14061A-100000@vb.franken.de>
@ 1997-11-17  1:21 ` Christoph Zens
  0 siblings, 0 replies; 8+ messages in thread
From: Christoph Zens @ 1997-11-17  1:21 UTC (permalink / raw)


>That sounds like a gross oversimplification. I only have a 21164 but if
>you're right byte-loads will be slower on the 21164a, because they are no
>longer split into several instructions? :-)

>AFAIK current CISC-CPUs do not use microcode for most heavily-used
>instructions - and RISC basically has only those instructions anyway.

You didn't get me right. The Story went about complex CISC instructions.
Either your compiler splits them up (costs time) and the CPU needs overall
less microcode to do the job, or you leave them alone (fast) and the CPU
uses more and complex microcode to execute them "online".

The point is, that different execution times, and in particular the different
instruction fetch times of the higher level CISC instructions, do not go well
with syncronous pipelines.

So it seems to be an advantage if the compilation process takes more time,
for in turn it produces rather uniform machine instructions (to come back
to the original question).

BTW: what "current CISC-CPUs" are you thinking of?

>Of course RISC has advantages.

It depends on what you are doing.

--
    _
 _ //
 \X/  Christoph Zens <e9126506@student.tuwien.ac.at>

-- 
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] 8+ messages in thread

* Re: Time to build kernel (kernelbench)
@ 1997-11-17 14:08 David Alan Gilbert
  0 siblings, 0 replies; 8+ messages in thread
From: David Alan Gilbert @ 1997-11-17 14:08 UTC (permalink / raw)


Hi,
  I should have made clear: I know that its not a fair test to compare
machines compiling kernels for different machines; but I'm still
interested in the time.

Maybe its not fair comparison - but I don't know any good comparisons
(other than SPECint - which isn't freely available).

Dave

-- 
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] 8+ messages in thread

* Re: Time to build kernel (kernelbench)
       [not found] <1164.260T375T1413372@student.tuwien.ac.at>
@ 1997-11-17 14:51 ` Volker Barthelmann
  0 siblings, 0 replies; 8+ messages in thread
From: Volker Barthelmann @ 1997-11-17 14:51 UTC (permalink / raw)


On 17 Nov 1997, Christoph Zens wrote:

> You didn't get me right. The Story went about complex CISC instructions.
> Either your compiler splits them up (costs time) and the CPU needs overall
> less microcode to do the job, or you leave them alone (fast) and the CPU
> uses more and complex microcode to execute them "online".

I think I did understand you, I just don't think it's that simple. There
are several factors to take into account.

> The point is, that different execution times, and in particular the different
> instruction fetch times of the higher level CISC instructions, do not go well
> with syncronous pipelines.

Agreed.

> So it seems to be an advantage if the compilation process takes more time,
> for in turn it produces rather uniform machine instructions (to come back
> to the original question).

But longer compilation-time per se is a drawback. I guess we can agree on
that.

> BTW: what "current CISC-CPUs" are you thinking of?

68060 or PentiumII

Volker

-- 
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] 8+ messages in thread

* Re: Time to build kernel (kernelbench)
       [not found] <Pine.LNX.3.95.971117153506.2500B-100000@vb.franken.de>
@ 1997-11-18 11:15 ` Armin Ollig
  0 siblings, 0 replies; 8+ messages in thread
From: Armin Ollig @ 1997-11-18 11:15 UTC (permalink / raw)


On Mon, 17 Nov 1997, Volker Barthelmann wrote:

> On 17 Nov 1997, Christoph Zens wrote:
> 
> > So it seems to be an advantage if the compilation process takes more time,
> > for in turn it produces rather uniform machine instructions (to come back
> > to the original question).

thats what i ment :)

> 
> But longer compilation-time per se is a drawback. I guess we can agree on
> that.
> 
> > BTW: what "current CISC-CPUs" are you thinking of?
> 
> 68060 or PentiumII

threre are more diffs between risc and cisc cpus. *one* difference is
microcode and hard-wired instructions. there're a *lot* more.
for example the PPC 620 specification says it has *more* instructions than
the x86 instruction set has. does this fact will make the PPC620 a cisc
cpu ? 
no.
on the other hand we have the fact that intel can hardwire more and more
of them x86 instr. every year. so if i get you right you would call
intels x86 computers risc if they have (maybe 1998) all instructions hard
wired ?
i would not do so. i would call them a ward-wired cisc or a tuned cisc.

thats the reason why intel will jump out of the x86 one-way-street to them
'merced' risc chip.

risc and cisc cpus are different in there concept and microcode and stuff
is just the outer expression of a basically different design.

> 
> Volker

--armin

-- 
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] 8+ messages in thread

end of thread, other threads:[~1997-11-18 11:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.BSF.3.96.971115022711.20731A-100000@data.tops.net>
1997-11-15 17:14 ` Time to build kernel (kernelbench) Volker Barthelmann
     [not found] <Pine.LNX.3.95.971117153506.2500B-100000@vb.franken.de>
1997-11-18 11:15 ` Armin Ollig
     [not found] <1164.260T375T1413372@student.tuwien.ac.at>
1997-11-17 14:51 ` Volker Barthelmann
1997-11-17 14:08 David Alan Gilbert
     [not found] <Pine.LNX.3.95.971116223918.14061A-100000@vb.franken.de>
1997-11-17  1:21 ` Christoph Zens
     [not found] <937.259T2384T7845497@student.tuwien.ac.at>
1997-11-16 21:54 ` Volker Barthelmann
     [not found] <Pine.LNX.3.95.971115175901.2041B-100000@vb.franken.de>
1997-11-16 12:04 ` Christoph Zens
     [not found] <346CE3E7.34BE1F64@treblig.org>
1997-11-15  1:56 ` Armin Ollig

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