+--server-tuning
|   +--dd
|   +--fdtree
|   +--fs
|   +--loader
|   +--memcached
|   +--metadata
|   +--network
|   +--perflog
|   |   +--cron-perflog
|   |   +--sample-output
|   +--postgres
|   +--postmark
|   +--raid
|   +--ram
|   +--scaling
|   +--swap

Metadata benchmark

==> RUN <==

    #!/bin/ksh
    # Driver for benchmark
    
    PATH=/sbin:/bin:/usr/bin
    export PATH
    systype=$(uname -s)
    
    timer () {
        case "$systype" in
            FreeBSD) cmd=/usr/bin/time ;;
    
==> fdtree <==

    #!/bin/bash
    #########################################################################
    #                                                                       #
    #  Copyright (c) 2004, The Regents of the University of California      #
    #  See the file COPYRIGHT for a complete copyright notice and license.  #
    #                                                                       #
    #########################################################################
    #
    # FILE AND DIRECTORY TREE CREATION/REMOVAL TIMING TEST
    # ************************* WARNING ON ******************************
    
==> results <==

    I ran these benchmarks on several servers with wildly different results.
    Here's a short summary with elapsed times - more detailed results are in
    separate server* files.
    
    Server 1:
        CPU:              Intel Pentium 4 CPU 2800 MHz
        Number of CPUs:   1
        Main Memory:      512 MB Synchronous SDRAM PC266
        Manufacturer:     Dell OptiPlex GX260
        OS:               FreeBSD 6.1-RELEASE
    
==> server1 <==

    Test run on:
    /dev/ad0s1f on /rd01 (ufs, local, noatime, nosuid, soft-updates)
    
    Filesystem  1K-blocks      Used    Avail Capacity  Mounted on
    /dev/ad0s1f 230216764 137251688 74547736    65%    /rd01
    
    Small Files - Shallow Directory Structure
    FreeBSD 6.1-RELEASE
    fdtree-1.0.2: starting at ./LEVEL0.server1.71911/
        creating/deleting 3 directory levels with 20 directories at each level
    
==> server2 <==

    Test run on:
    /dev/da1s1d on /mir01 (ufs, local, noatime, nosuid, soft-updates)
    
    Filesystem  1K-blocks        Used     Avail Capacity  Mounted on
    /dev/da1s1d 1513289848 1119099254 273127408    80%    /mir01
    
    Small Files - Shallow Directory Structure
    FreeBSD 6.1-RELEASE
    fdtree-1.0.2: starting at ./LEVEL0.server2.56639/
        creating/deleting 3 directory levels with 20 directories at each level
    
==> server3 <==

    Test run on:
    /rd07 on /dev/dsk/c1t9d0s6 read/write/nosetuid/nodevices/intr/largefiles/logging/xattr/noatime/onerror=panic/dev=1d8000e on Sat Jul 11 20:55:12 2009
    
    Filesystem            kbytes    used   avail capacity  Mounted on
    /dev/dsk/c1t9d0s6    137049731 34288509 100020228    26%    /rd07
    
    Small Files - Shallow Directory Structure
    SunOS 5.10
    fdtree-1.0.2: starting at ./LEVEL0.server3.14025/
        creating/deleting 3 directory levels with 20 directories at each level
    
==> server3.vmstat <==

    % uptime
      9:47pm  up 63 days  0:54,  2 users,  load average: 0.29, 0.30, 0.40
    
    % vmstat -s
              0 swap ins
              0 swap outs
              0 pages swapped in
              0 pages swapped out
     2131775320 total address trans. faults taken
      398978457 page ins
    
==> server4 <==

    Test run on:
    
    /dev/mapper/VolGroup00-LogVol04 on /shares type ext3
        (rw,nodev,noatime,nodiratime,data=journal)
    
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/mapper/VolGroup00-LogVol04 2999605896 552639792 2294594904  20% /shares
    
    Small Files - Shallow Directory Structure
    Linux 2.6.18-92.el5
    
==> server5 <==

    Test run on:
    /re01 on /dev/dsk/c1d1s0 read/write/nosetuid/nodevices/intr/largefiles/logging/xattr/onerror=panic/dev=1980080 on Sat Jul 11 20:51:25 2009
    
    Filesystem            kbytes    used   avail capacity  Mounted on
    /dev/dsk/c1d1s0      76917740 17850667 58297896    24%    /re01
    
    Small Files - Shallow Directory Structure
    SunOS 5.10
    fdtree-1.0.2: starting at ./LEVEL0.server5.25692/
        creating/deleting 3 directory levels with 20 directories at each level
    
==> server6 <==

    Test run on:
    /dev/ad0s1h on /mir01 (ufs, local, noatime, nosuid, soft-updates)
    
    Filesystem  1K-blocks Used     Avail Capacity  Mounted on
    /dev/ad0s1h 283690294   28 260995044     0%    /mir01
    
    Small Files - Shallow Directory Structure
    FreeBSD 6.2-RELEASE
    fdtree-1.0.2: starting at ./LEVEL0.server6.13179/
        creating/deleting 3 directory levels with 20 directories at each level
    
==> server7 <==

    Test run on:
    /dev/sdb6 on /rd02 type ext3 (rw,nodev,noatime,nodiratime,data=journal)
    
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/sdb6            349330704    478204 331107508   1% /rd02
    
    Small Files - Shallow Directory Structure
    Linux 2.6.18-92.el5
    fdtree-1.0.2: starting at ./LEVEL0.server7.19025/
        creating/deleting 3 directory levels with 20 directories at each level
    

Metadata benchmark Tue, 05 Jul 2011 18:24:26 -0400