* Re: Time to build kernel (kernelbench) [not found] <346CE3E7.34BE1F64@treblig.org> @ 1997-11-15 1:56 ` Armin Ollig 1997-11-15 15:07 ` Time to build kernel geerten kuiper 1997-11-15 18:45 ` bert hubert 2 siblings, 0 replies; 10+ 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] 10+ messages in thread
* Re: Time to build kernel [not found] <346CE3E7.34BE1F64@treblig.org> 1997-11-15 1:56 ` Time to build kernel (kernelbench) Armin Ollig @ 1997-11-15 15:07 ` geerten kuiper 1997-11-15 18:45 ` bert hubert 2 siblings, 0 replies; 10+ messages in thread From: geerten kuiper @ 1997-11-15 15:07 UTC (permalink / raw) At 23:51 14/11/97 +0000, 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....) As Armin Ollig pointed out in his reply, this way of benchmarking does not really give you a direct comparison between alpha & intel, simply because its a completely different program you're running. He suggests the bytemark, but running then under NT is not a good idea either (can runnung anything under NT ever be a good idea ?), because NT - even on alpha - is only 32 bits, so it does not use the full power of the CPU. When you want to use the kernel build time for a benchmark, keep in mind what it is you're measuring. For instance, on the older alpha's (notably the UDB) a kernel build will take a disappointingly long time, due to the limited memory bandwith, masking the powers of this system in other areas, which make it still a nice little box for uses where memory bandwith is less crucial. Now, for what it's worth: I usually time only the "make boot" part (do not use make zImage, which is only good for intel) kernels 2.0.29 - 2.0.31 PC164, 366 MHz, 128 bit wide memory path: about 7:30 minutes PC164, 366 MHz, 256 bit wide memory path: about 7:00 minutes Pentium, 90 MHz, similar configuration: about 20:00 minutes Note: building a kernel is very much CPU bound, therefore a faster clock should give a better result (as far the memory bandwith allows: if the board you're considering is (similar to) the PC164, 8x16Mb will be better than 4x32Mb. But...) ... Caveat: surprisingly, other programs I ran as a benchmark (e.g. rendering a POVray image) actually got slower after I put four more SIMMs in the PC164. (Does anyone care to offer an explanation ?) Note: building a kernel is very much CPU bound, therefore using make -j will not do you much good, unless you have multiple CPUs. Linux SMP is not supported on alpha (yet). And again, even if you are going to do a lot of compiling on your system, this is ot the right benchmark. You should care about the speed of the resulting program, not the speed of the build. Good luck though,.. Groeten, Geerten. Geerten Kuiper | "It is customary to append a signature or Corn. Houtmanstraat 113 | .sig to a mail message, usually containing 2593 RG Den Haag | information on the author, along with a Nederland | joke or a motto." | Olaf Kirch | LINUX Network Administrators Guide -- 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] 10+ messages in thread
* Re: Time to build kernel [not found] <346CE3E7.34BE1F64@treblig.org> 1997-11-15 1:56 ` Time to build kernel (kernelbench) Armin Ollig 1997-11-15 15:07 ` Time to build kernel geerten kuiper @ 1997-11-15 18:45 ` bert hubert 2 siblings, 0 replies; 10+ messages in thread From: bert hubert @ 1997-11-15 18:45 UTC (permalink / raw) On Fri, 14 Nov 1997, Dave Gilbert wrote: > 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: This benchmark is only useful when comparing between identical architecture Alphas. Compiling a kernel on a i386 architecture is quite different from compiling one on a RISC Alpha processor > (Call me insane if you must....) This would be going too far, but be cautious when comparing compilation times. -- 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] 10+ messages in thread
[parent not found: <Pine.BSF.3.96.971115022711.20731A-100000@data.tops.net>]
* 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; 10+ 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] 10+ messages in thread
[parent not found: <Pine.LNX.3.95.971115175901.2041B-100000@vb.franken.de>]
* 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; 10+ 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] 10+ messages in thread
[parent not found: <937.259T2384T7845497@student.tuwien.ac.at>]
* 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; 10+ 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] 10+ messages in thread
[parent not found: <Pine.LNX.3.95.971116223918.14061A-100000@vb.franken.de>]
* 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; 10+ 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] 10+ messages in thread
* Re: Time to build kernel (kernelbench) @ 1997-11-17 14:08 David Alan Gilbert 0 siblings, 0 replies; 10+ 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] 10+ messages in thread
[parent not found: <1164.260T375T1413372@student.tuwien.ac.at>]
* 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; 10+ 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] 10+ messages in thread
[parent not found: <Pine.LNX.3.95.971117153506.2500B-100000@vb.franken.de>]
* 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; 10+ 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] 10+ messages in thread
end of thread, other threads:[~1997-11-18 11:15 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <346CE3E7.34BE1F64@treblig.org>
1997-11-15 1:56 ` Time to build kernel (kernelbench) Armin Ollig
1997-11-15 15:07 ` Time to build kernel geerten kuiper
1997-11-15 18:45 ` bert hubert
[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.971115175901.2041B-100000@vb.franken.de>
1997-11-16 12:04 ` Christoph Zens
[not found] <937.259T2384T7845497@student.tuwien.ac.at>
1997-11-16 21:54 ` Volker Barthelmann
[not found] <Pine.LNX.3.95.971116223918.14061A-100000@vb.franken.de>
1997-11-17 1:21 ` Christoph Zens
1997-11-17 14:08 David Alan Gilbert
[not found] <1164.260T375T1413372@student.tuwien.ac.at>
1997-11-17 14:51 ` Volker Barthelmann
[not found] <Pine.LNX.3.95.971117153506.2500B-100000@vb.franken.de>
1997-11-18 11:15 ` Armin Ollig
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox