From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 7993 invoked from network); 17 Dec 1998 15:09:43 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 17 Dec 1998 15:09:43 -0000 Received: from peak3.cs.hut.fi (peak3.cs.hut.fi [130.233.192.128]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id JAA32074 for ; Thu, 17 Dec 1998 09:59:46 -0500 Received: from localhost (hmallat@localhost) by peak3.cs.hut.fi (8.8.7/8.8.5) with SMTP id QAA19745 for ; Thu, 17 Dec 1998 16:58:22 +0200 Date: Thu, 17 Dec 1998 16:58:21 +0200 (EET) From: Hannu Mallat To: axp-list@redhat.com Subject: Re: LX164 and rpcc In-Reply-To: <19981217123625.G2290@zib.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 17 Dec 1998, Thorsten Koch wrote: > On my 21164A/533-UX/2 with RH 5.1 I get > > [/tmp]$ cc -O6 -mcpu=21164 -g xx.c > [/tmp]$ ./a.out 1 [ ... snip snip ... ] > b9a99cef 08f21b7f ... b9a85f49 08f29404 : c29bb86e ... c29af34d : ffff3adf > > This doesn't change much with the argument. it's allways ffxxxxxx in the > last column. After posting, I realized that if the file is on an NFS mount, the '1k effect' takes place, otherwise not, and I get ff...... counts, too, with any argument when on a device directly hooked to the machine. > The question is if the correction value works correct with > system calls. I've instrumented about every libc I/O routine used by cpp, cc1, as and ld in my test runs; fclose is the only routine that gives me a headache. e.g. doing a write() and a close() instead of fwrite() and fclose() works nicely and produces decent numbers. I haven't yet looked into libc sources to see if some particular syscall fclose uses causes the odd behaviour. Hannu