From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f48e5,d756ac687dbfb75c X-Google-Attributes: gidf48e5,public X-Google-Thread: 114b0c,d756ac687dbfb75c X-Google-Attributes: gid114b0c,public X-Google-Thread: 102b75,d756ac687dbfb75c X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,d756ac687dbfb75c X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-12-08 08:11:34 PST Xref: sparky comp.arch:11472 comp.sys.dec:6368 comp.sys.hp:13857 comp.sys.sgi:17580 Newsgroups: comp.arch,comp.sys.dec,comp.sys.hp,comp.sys.sgi Path: sparky!uunet!pipex!warwick!doc.ic.ac.uk!cc.ic.ac.uk!imperial.ac.uk!vulture From: vulture@imperial.ac.uk (Thomas Sippel - Dau) Subject: Re: Comparison of Alpha, MIPS and PA-RISC-II wanted Message-ID: <1992Dec8.155021.206@cc.ic.ac.uk> Sender: vulture@carrion.cc.ic.ac.uk (Thomas Sippel - Dau) Nntp-Posting-Host: cscgc Reply-To: cmaae47@imperial.ac.uk Organization: Imperial College of Science, Technology and Medicine References: <1992Nov30.160802.22319@e2big.mko.dec.com> <1992Dec1.060448.841@jyu.fi> <1992Dec2.062304.3125@jyu.fi> <723400829.5181@minster.york.ac.uk> Date: Tue, 8 Dec 92 15:50:21 GMT In article <723400829.5181@minster.york.ac.uk>, mjl-b@minster.york.ac.uk writes: - - Even that's not enough -- it gets far worse. Caches, MMUs, paging, DMA and a - host of other effects can render your carefully constructed benchmark results - meaningless. Benchmarking OSes is _extremely hard_. It can be done, if you keep your objective in mind. True, industry benchmarks suffer from the "Molehill effect": A certain task is accepted as a benchmark and the time it take the machine to do it is quoted, whicg is all very sporting as long as moles are doing it. It is often followed by cries of "unfair" when somebody then brings out a Caterpillar Truck and cleans up. But it is difficult to see how manufacturers of computers can do anything else, as the resulting numbers must be comparible. It is also not realistic to set up "standard tasks" that should be run in an hour in a few years time, but unfortunately take several months to run with today's computers. As a user, however, you can do a lot better, by taking a scaleable task and testing the machine to breakdown. And many finite element tasks are easily scaleable, just increase the mesh size, and take note whether the problem complexity grows linear or with the cube (or whatever) of the parameter. This gives you in particular an idea of where a system breaks down first. Take an example I once had, I used a matrix inversion by an algorithm similar to gaussian elimination on two machines, fred and bill, and I increased the matrix size. I got the following results: machine N arraysize real time user time system time % name bytes 000 h:m:s h:m:s h:m:s fred 100 160 0:05.4 0:01.2 0.0 23 fred 200 640 0:25.3 0:08.3 0.0 33 fred 500 4,000 9:51.4 3:53.8 0.6 40 fred 1000 16,000 2:02:18.4 38:10.6 3.0 31 fred 1500 36,000 154:31:54.7 3:12:01.9 6.5 2 bill 100 160 3.2 1.8 0.0 56 bill 100 160 4.0 1.8 0.0 40 bill 200 640 30.0 13.9 1.2 50 bill 200 640 41.0 15.0 0.1 36 bill 500 4,000 10:53.0 5:10.7 3.8 48 bill 1000 16,000 1:15:03.5 45:08.3 59.6 61 bill 1000 16,000 1:19:09.3 45:22.0 1:00.0 59 bill 1500 36,000 9:21:58.0 2:56:07.8 29:59.3 37 Both machines had 32 Mbytes memory, for small arrays fred was a little faster in user time spent. For the last size tested (1500x1500), bill got nominally a better user time than fred, but had a significant system time overhead, so that fred was still "faster". But looking at the real time required, bill did that overnight, while fred spent almost a week. The reason is that naive Gaussian elimination algorithms have an almost random memory access pattern and page furiously once the matrix is no longer completely in memory. Thus, bill could still be used for tasks of this ilk if they were handled sensibly, like only one of them and not during the day, while on fred this task would have prompted administrative action. Needless to say, bill felt "strained" while this was going on, fred totally bombed out (ever tried editing a file when character echo takes a minute :-() Such scale tests to destruction also allow you to see what configuration is still suitable. Just a fast CPU does not help if you cannot add enough memory so that your typical tasks can make use of the CPU speed. Unfortunately test results like that are almost impossible to report ... Thomas -- *** This is the operative statement, all previous statements are inoperative. * email: cmaae47 @ ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet) * voice: +44 71 589 5111 x4937 or 4934 (day), or +44 71 823 9497 (fax) * snail: Imperial College of Science, Technology and Medicine * The Center for Computing Services, Kensington SW7 2BX, Great Britain