Archive for July, 2008

solaris disk IO benchmark

one guy got these settings off a comodity MOBO (zfs-discuss)

Here’s bonnie++ output with default settings:

Version 1.03 ——Sequential Output—— –Sequential Input- –Random-

-Per Chr- –Block– -Rewrite- -Per Chr- –Block– –Seeks–

Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP

sonas 4100M 138010 74 144083 33 76546 19 138071 90 185735 15 464.7 1

——Sequential Create—— ——–Random Create——–

-Create– –Read— -Delete– -Create– –Read— -Delete–

files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP

16 24307 99 +++++ +++ +++++ +++ 24438 99 +++++ +++ +++++ +++ sonas,4100M,138010,74,144083,33,76546,19,138071,90,185735,15,464.7,1,16,24307,99,+++++,+++,+++++,+++,24438,99,+++++,+++,+++++,+++

root@sonas:/etc# dladm show-dev

LINK STATE SPEED DUPLEX

rge0 up 1000Mb full

A bit speed testing with dd:

root@sonas:/etc# dd if=/dev/zero of=/storagepool/users/test.dump bs=128k

2035941376 bytes (2.0 GB) copied, 23.6579 seconds, 86.1 MB/s

Leave a Comment

zfs tuning performance atime

If you don’t care about tracking file access times, turn it off. (zfs set atime=off datapool)

Leave a Comment

Solaris swap and dump

There was a great list on zfs-discuss titled: swap & dump on ZFS volume

i am keeping the conclusion here for my reference.

Based on the collected information, I would take following approach as far as calculating size of swap and dump devices on ZFS volumes in Caiman installer is concerned.

[1] Following formula would be used for calculating

swap and dump sizes:

size_of_swap = size_of_dump = MAX(512 MiB, MIN(physical_memory/2, 32 GiB))

User can reconfigure this after installation is done on live system by “zfs set” command.

[2] dump device will be considered optional

dump device will be created only if there is appropriate space available on disk provided.

Minimum disk space required will not take into account dump device, thus allowing user to install on small disks.

Recommended disk size (which now covers one full upgrade plus 2GiB space for additional software) will take into account dump device as well. Dump device will be then created if user dedicates at least recommended disk space for installation.

Please feel free to correct me, if I misunderstood some point.

Leave a Comment