Saturday, November 27, 2010

IOMeter

Document: http://iometer.cvs.sourceforge.net/viewvc/iometer/iometer/Docs/Iometer.pdf

Windows: install IOMeter (it includes both dynamo and iometer GUI)

Linux: the linux package only includes dynamo (the runtime engine). It does not include GUI. So you need to connect dynamo to the Windows box on which IOMeter is installed. Use following command to start dynamo

sudo ./dynamo -i iometer_computer_host -n manager_name -m manager_computer_host

Parameters:
iometer_computer_host: host/ip where IOMeter GUI is run (Windows box)
manager_computer_host: host/ip where dynamo is run
manager_name: name of the dynamo manager (can be arbitrary. used to distinguish different dynamo managers connecting to the same IOMeter server)

Several options that are confusing

  1. Disk Targets > # of Outstanding I/Os
    "specifies the maximum number of outstanding asynchronous I/O operations per disk the selected worker(s) will attempt to have active at one time."
    "This control can be overridden by the # of Outstanding I/Os control group in the Test
    Setup tab (depending on the Cycling Options)."
  2. Test Setup > Cycling Options
    "The Cycling Options control group specifies the series of tests that is run for each access specification."
    • Number of workers per manager
      Workers are added in the order they are shown in the Topology panel
    • Number of targets per worker
      selected targets are added to each worker in the order they are shown in the Disk Targets or Network Targets tab for that worker.
    • Number of outstanding I/O operations per target (disk workers only).
    Cycling Options
    1. Normal - run all selected targets for all workers.
      In all managers, all works are active and each work uses all its selected targets. "The number of outstanding I/Os per disk is specified by the # of Outstanding I/Os field in the Disk Targets tab."
    2. Cycle Workers -- add step workers using all selected targets at a time
      "This test type increases the number of workers for each manager in each test.". In each test, the first N (depending on iteration and step) workers listed in Topology panel are used.
    3. Cycle Targets -- add step targets for all workers at a time.
      This test type increases the number of targets for each worker in each test.
    4. Increment Targets Parallel -- add step targets to all managers at a time.
      Test # Manager 1  Manager 2  Targets per Manager
      Worker 1  Worker 2  Worker 1  Worker 2 
      1 1 target  0 targets  1 target  0 targets  1 target 
      2 2 targets  0 targets  2 targets  0 targets  2 targets 
      3 2 targets  1 target  2 targets  1 target  3 targets 
      4 2 targets  2 targets  2 targets  2 targets  4 targets 
    5. Increment Targets Serial -- add step targets at a time.
       Test #    Manager 1    Manager 2    Total Targets 
       Worker 1    Worker 2    Worker 1    Worker 2    
       1    1 target    0 targets    0 targets    0 targets    1 target  
       2    2 targets    0 targets    0 targets    0 targets    2 targets  
       3    2 targets    1 targets    0 targets    0 targets    3 targets  
       4    2 targets    2 targets    0 targets    0 targets    4 targets  
       5    2 targets    2 targets    1 target    0 targets    5 targets  
       6    2 targets    2 targets    2 targets    0 targets    6 targets  
       7    2 targets    2 targets    2 targets    1 target    7 targets  
       8    2 targets    2 targets    2 targets    2 targets    8 targets  
    6. Cycle Targets and Workers -- add step targets at a time spread across workers
      Test  #  Worker 1  Worker 2  Worker 3  Targets  per Manager 
      1 1 target  0 targets  0 targets  1 target 
      2 2 targets  0 targets  0 targets  2 targets 
      3 1 target  1 target  0 targets  2 targets 
      4 2 targets  2 targets  0 targets  4 targets 
      5 1 target  1 target  1 target  3 targets 
      6 2 targets  2 targets  2 targets  6 targets 
    7. Cycle # Outstanding I/Os -- run step outstanding I/Os on all disks at a time.
    8. Cycle # Outstanding I/Os and Targets -- run step outstanding I/Os on step targets at a time

Not all managers have the same number of works. Not all works have the same number of targets. Read following paragraph to see how IOMeter handles it.

"The ending value for each sequence is determined differently for each quantity. For the number of workers per manager, it is determined by the manager with the most workers in the Topology panel. For the number of targets per worker, it is determined by the worker with the most targets selected in the Disk Targets or Network Targets tab. For the outstanding I/Os per target, it is determined by the # of Outstanding I/Os control group in the Test Setup tab.
    If not all managers have the same number of workers, or not all workers have the same number of targets, those managers/workers with less than the maximum number of workers/targets will repeat at their highest value while other managers/workers continue to increase.  "

In Disk Targets Tab, "A yellow icon with a red slash through it means that the drive needs to be prepared before the test starts".

"Yellow disk icons represent logical drives (i.e. those with a drive letter). They are shown only if they are writable. Disk workers access logical drives by reading and writing a file called iobw.tst in the root directory of the drive. If this file exists, the drive is shown with a plain yellow icon; if the file does not exist, the drive is shown with a red slash through the icon. (If this file exists but is not writable, the drive is considered read-only and is not shown at all.)
    If you select a drive that does not have an iobw.tst file, Iometer will begin the test by creating this file and expanding it until the drive is full (this is shown as “Preparing Drives” in the status bar). You can change the size of this file to control how much of the disk Iometer can use by setting the Maximum Disk Size control to the desired size (in sectors).
    Blue disk icons represent physical drives. They are shown only if they contain nothing but free space (no defined partitions). Disk workers access physical drives by writing direct to the raw disk. Physical drives do not use an iobw.tst file. Running with physical drives is recommended."

1 comment:

venky said...

hi i am using iometer ...so please tell me how to use