Re: increasing page size

Larry McVoy (lm@bitmover.com)
Wed, 08 Jul 1998 14:18:32 -0700


: Here is an example of code that can allow to check the results below:
: (No need to say that results also depend on the CPU, memory bandwitch,

You folks may want to check out the very first program from lmbench, called
lmdd - it's essentially a benchmarking version of dd. A fair number of
nerdy disk and file system guys love this program (I know several disk
drive makers use it for testing, it was wacked to know about SGI's XFS
and BDS, etc.).

You can do

Sequential, varying the block size:

for bs in 512 1k 2k 4k 8k 16k 32k 64k 512k 1m
do lmdd if=/dev/sda bs=$bs move=500m
done

Randoms, same thing:

for bs in 512 1k 2k 4k 8k 16k 32k 64k 512k 1m
do lmdd if=/dev/sda bs=$bs rand=1g count=100
done

Etc. There are a lot of different things you may want to measure, and I
suspect taht everything you've ever wanted is in there and if it isn't,
tell me, and I'll add it :-)

Get lmdd, and lmbench, from http://www.bitmover.com/lmbench which contains
a pointer to ftp://ftp.bitmover.com/lmbench/ - the latest is alpha9. Unpack
it and build it like you are going to do a run and then cp the binary
out of ../bin/`whatever your host type may be`/lmdd to /usr/sbin.

Have fun. If you are interested in this sort of thing, you may want
to get on the lmbench-users alias on bitmover, we periodically nerd out
about tools like this. That's a good place to ask for more features,
too.

--lm

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu