Maxim Sobolev wrote: > i586_bzero() bandwidth = -2082577916 bytes/sec > bzero() bandwidth = 184877056 bytes/sec
It seems that on a fast machines with a lot of cache long type is not sufficient to print i586_bzero bandwith values in bytes/s (in my case it was slightly overruned). Following is the patch: --- npx.c.orig Sat May 15 01:14:13 1999 +++ npx.c Sat May 15 02:01:51 1999 @@ -696,8 +696,8 @@ if (usec <= 0) usec = 1; if (bootverbose) - printf("%s bandwidth = %ld bytes/sec\n", - funcname, (long)(BUFSIZE * (int64_t)1000000 / usec)); + printf("%s bandwidth = %ld Kbytes/sec\n", + funcname, (long)(BUFSIZE * (int64_t)1000000 / (1024*usec))); free(buf, M_TEMP); return (usec); } To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message