Date: Sun, 12 Nov 1995 16:05:57 +0200 From: System Daemon <daemon@bee.cs.kiev.ua> Message-ID: <199511121405.QAA12160@bee.cs.kiev.ua>
next in thread | raw e-mail | index | archive | help
Ron G. Minnich (rminnich@Sarnoff.COM) wrote: > this program does a very simple thing: > 1) open a file > 2) call write with an invalid address, viz: > write(fd, x, 5); > where x is (void *) 0x40000000 [...] > Numbers ( i just do wall clock time, since to first order it's all system) > linux, p100, 3.8 seconds > Irix, 150 Mhz. r4600 63 seconds > Solaris, 66 Mhz. sparc-20 68 seconds > FreeBSD, p90 290 seconds well, on my machine ( FreeBSD dog.farm.org 2.0.5-RELEASE FreeBSD 2.0.5-RELEASE #16: Sat Oct 28 00:13:32 EET 1995 dk@dog.farm.org:/xusr/src/sys/compile/FARM i386 ) I get: dog:~/tmp> cc -o bb bb.c dog:~/tmp> ./bb usage: ./bb file-to-create [count [debug]] Exit 1 dog:~/tmp> ./bb zuka 100 one illin: Bad address created zuka Exit 23 dog:~/tmp> ls -la zuka -rwxrwxr-x 1 dk cs 5 Nov 12 01:28 zuka dog:~/tmp> od -x zuka * dog:~/tmp> (file consists of 5 zero bytes). So, what's special with this test program? > Yup, freebsd is really basically 70 times slower than linux on this one. I suppose my system is faster ;-) p.s. I have tried it with 0x40000000 changed to 0xdeadbeef ;-), with same result.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511121405.QAA12160>