From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,b65daf642a0d026a,start X-Google-Attributes: gid111c93,public From: bmeyer@bruce.cs.monash.edu.au Subject: Could someone with a 164PC please test something? Date: 1998/08/27 Message-ID: <6s5dtb$gt4$1@wombat.cs.monash.edu.au>#1/1 X-Deja-AN: 385351754 Organization: This is innd taking over... NNTP-Posting-Date: Fri, 28 Aug 1998 04:10:10 EST Reply-To: bmeyer@bruce.cs.monash.edu.au Newsgroups: comp.os.linux.alpha Hi, I have recently hacked together a much faster RC5 core for linux/AXP machines, using a combination of handoptimized assembler and homebrewed scheduler. The resulting code needs only 650 clock cycles per key on an 21164A (and should take the same number of cycles on the 21164, as it doesn't use any of the new features of the 21164A). However, it turned out that, with all loops unrolled, the working code set is about 10k, i.e. 2k more than fits into 1st level cache. It _seems_ as if this doesn't slow the 21164A down at all (i.e. it seems as if instructions can be loaded from 2nd level cache at a rate of 2 per cycle, keeping both integer pipelines happily running). BUT.... .. I am wondering what will happen on an 21164PC. IIRC, it also has 8k direct mapped instruction cache, and _no_ builtin 2nd level cache. So the cache-thrashing might hurt?!? Unfortunately, I don't have a 164SX board (anybody wanna make a donation? :-), so I can't try. If you do have one, I'd be grateful if you could download either the ready-built executable http://www.cs.monash.edu.au/~bmeyer/rc5_linux-axp_built.tar.gz or the much smaller source only archive http://www.cs.monash.edu.au/~bmeyer/rc5_linux-axp_source.tar.gz, run the benchmark (rc564test -benchmark), and mail me the keyrates you get and the operating frequency of your machine. Bernie P.S.: This is the core only --- it is a test, not a usable key cracker! -- ============================================================================ "It's a magical world, Hobbes ol' buddy... ...let's go exploring" Calvin's final words, on December 31st, 1995