From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a247b9f21a6d13d6 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-08-27 07:03:58 PST Path: gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!tis.com!mjr From: mjr@tis.com (Marcus J. Ranum) Newsgroups: comp.sys.dec Subject: Re: Our DEC Alpha is the slowest on this code .... Date: 27 Aug 1993 13:55:09 GMT Organization: Trusted Information Systems, Inc. Distribution: usa Message-ID: <25l3nt$l15@sol.TIS.COM> References: <25juna$n5e@polaris.unm.edu> NNTP-Posting-Host: otter.tis.com espen@unm.edu (Peter Espen) writes: >We have come across some sort of weakness on the Dec Alpha that causes >a real slowdown in execution speed. Even the Apple Quadra 900 running A/UX >runs rings around the Alpha on the following little test program. Anyone >know why? > [source deleted] The test program you posted is entirely file I/O -- so what you're measuring is the implementation of the filesystem and I/O system calls more than the speed of the processor chip. It's not a question of "execution speed", it's a totally I/O bound application. Try running it on the Alpha with a RAM disk and see how fast it is. ;) That being said, you've got major differences between the various implementations of the filesystems on the boxes you list. It also depends on the sizes of the buffer caches, and the cache flushing strategy that the system in question uses. ULTRIX used to get bitten by the same "benchmark" you posted, because it queues blocks for write immediately after the cache is updated, while other systems such as SunOs queue blocks for deferred write. There used to be (still is, no doubt) a value in the ULTRIX kernel (delay_wbuffers) that could be enabled, to prevent this type of behavior if an application required it. In fact, the code you post looks suspiciously like the random write "benchmark" that Sun sales support folks were urging people to run against ULTRIX boxes, because it was designed with knowledge of how ULTRIX' filesystem worked to make it look bad. Where did you say you got that code? :) Filesystems are the land of infinite tradeoffs. You can always find a test that will make any given filesystem look worse than another [running it on an RA-81 is a simple means ;)] I haven't got access to OSF/1 or an Alpha or benchmarks for their filesystem, but if you want more accurate information for how a given box's filesystem throughput is, I suggest you look at something like Unix World's tested mettle column, and see how the various systems stack up. Their I/O benchmarks are a little broader and more general. mjr.