Re: Solaris tmpfs vs. Linux RAMdisk

Walter Hofmann (Walter.Hofmann@physik.stud.uni-erlangen.de)
Fri, 16 Apr 1999 21:46:09 +0200 (MEST)


-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 15 Apr 1999 owner-linux-kernel-digest@vger.rutgers.edu wrote:

> PS: There is a bug in the benchmark program I posted yesterday. It should be
> using the tv_usec field to calculate microseconds instead of the tv_sec
> field. I reran the tests with this fix in and it does not make a
> significant difference in the results.

I get the following results:

wh@frodo:~ > ./test /home/wh
Did 14137 loops in 2.99 seconds (4724.35 loops/sec)
wh@frodo:~ > ./test /tmp
Did 15923 loops in 2.99 seconds (5322.36 loops/sec)
wh@frodo:~ > ./test /usr/local/tmp
Did 28783 loops in 3.00 seconds (9596.10 loops/sec)

/home and /tmp are on the same ext2 partition (486M, 84% filled)
/usr is an (soft-)raid0 array (4G, 81% filled, 2 disks)

There is virtually no disk access during the test, the results are stable
over many runs.

Yet there is one big question: Why is the raid0-array twice as fast when
there is no disk access???

Walter

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCVAwUBNxeThfzeA3/eVHOFAQHW+AQAsAVQcqyEDlVcZcCYta11Iw9jhXP5pbrP
xlUjLyiCsf3kwq437dkPOZaw5iqZguLtzMWmHiDh95zkI6WNgxhT0IMv2PqAvDKc
e+XnlHxPia3fTTx2PLY80u3iqNrC86yTd2+6a77sOoDSTgLUATYynAJb8xDeWnn/
rYos6QeCwQo=
=rWUv
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/