Subject: RE: problems regarding libc
To: Pai-Hsiang Hsiao <port-hpcmips@netbsd.org>
From: TAKEMURA, Shin <takemura@netbsd.org>
List: port-hpcmips
Date: 12/24/1999 00:21:40
-----Original Message-----
From: Pai-Hsiang Hsiao <shawn@eecs.harvard.edu>
To: port-hpcmips@netbsd.org <port-hpcmips@netbsd.org>
Date: Saturday, December 18, 1999 10:17 AM
Subject: problems regarding libc
>I ran NetBSD on NEC Mobile Pro 800 for couple days now.
>
>I tried to run hbench-OS (a pathced version of lmbench) on that,
>and results are surprisingly contradicted.
>
>The libc's bzero reports only 4MB/s bandwidth, while unrolled
>write reports 150MB/s. I doubt that there might have something
>wrong with libc's assembly version of bzero, even bcopy (pipe has
>low bandwidth, too)
>If I am right, this might bring the device's performance up to
>couple times faster.
I wrote a simple program, which call bzero(1MB) 100 times and
ran it within time command on my MC-R500. The time command
says it takes 6.5 sec, so I roughly got 16MB/s. Is that enough?
(MC-R500 has VR4111 of which clock is 78MHz or 100MHz.)
Takemura