Difference between revisions of "Iometer"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
(59 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{|align="right"
+
<metadesc>How to download and set up IOMeter to run on Linux in 10 minutes. Tested on SUSE, Ubuntu and Fedora.</metadesc>
|[[image:Snapshot-iometer.png|right|thumb|451px|IOMeter running under WinE (click to enlarge).]]
 
|}
 
  
IOMeter is a disk I/O [[benchmark]]. You can measure e.g. your harddisk's speed for 4K block size, 50% read, 0% random and so on.
+
<pic src="http://www.linuxintro.org/images/Snapshot-iometer.png" align=right width=50% />
  
Here I give an example how to make [http://www.iometer.org/ IOMeter] run on Linux. Note that the GUI ("iometer") only exists for Windows while the Linux packages only contain the backend ("dynamo"). To get it going I used [http://wiki.linuxintro.org/wiki/Wine WinE] 1.3.32 on Kubuntu Linux 11.10 x64 and IOMeter 2006.07.27 for Windows. I did not use the source code nor the Linux binaries.
+
IOMeter is a disk I/O [[benchmark]]. You can measure e.g. your harddisk's speed for 4K block size, 50% read, 0% random and so on.  
  
* Install some wine dependencies
+
Here I give an example how to make [http://www.iometer.org/ IOMeter] run on Linux. Note that the GUI ("iometer") only exists for Windows while the Linux packages only contain the backend ("dynamo"). Here is how to do it using [[WinE]] and IOMeter 2006.07.27 for Windows. [[Find out your distribution]] and proceed accordingly
sudo apt-get install gcc flex bison xserver-xorg-dev libfreetype6-dev make
+
 
* Install wine
+
= Install IOMeter =
  wget http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.3.32.tar.bz2
+
No matter if you are running 64bit Linux or 32bit, to install and start IOMeter under Linux do the following:
  bunzip2 wine-1.3.32.tar.bz2
+
* [http://prdownloads.sourceforge.net/iometer/iometer-2006_07_27.linux.i386-bin.tgz?download Download IOMeter]
  tar xvf wine-1.3.32.tar
+
<source>
  cd wine-1.3.32
+
cd
  ./configure && make && make install
+
  wget http://downloads.sourceforge.net/project/iometer/iometer-stable/2006-07-27/iometer-2006_07_27.linux.i386-bin.tgz
* [http://sourceforge.net/projects/iometer/files/iometer-stable/2006-07-27/iometer-2006.07.27.win32.i386-setup.exe/download download IOMeter from sourceforge]
+
</source>
 +
* unpack it
 +
<source>
 +
  cd
 +
  tar xvzf iometer-2006_07_27.linux.i386-bin.tgz
 +
</source>
 +
* start the dynamo backend
 +
<source>
 +
  cd iometer-2006_07_27.linux.i386-bin/src
 +
  ./dynamo
 +
</source>
 +
<ul>
 +
<li /> To [[install]] wine [[find out your distribution]] and proceed accordingly:
 +
<ul>
 +
<li /> for SUSE:
 +
<source>
 +
yast -i wine
 +
</source>
 +
<li /> for Raspbian, Debian, Ubuntu, Flubuntu, Kubuntu and Edubuntu:
 +
<source>
 +
apt-get install wine
 +
</source>
 +
<li /> for Fedora and Red Hat:
 +
<source>
 +
yum install wine
 +
</source>
 +
</ul>
 +
<li /> [http://sourceforge.net/projects/iometer/files/iometer-stable/2006-07-27/iometer-2006.07.27.win32.i386-setup.exe/download download IOMeter (the front-end) from sourceforge]
 +
</ul>
 +
<source>
 
  cd
 
  cd
 
  wget http://downloads.sourceforge.net/project/iometer/iometer-stable/2006-07-27/iometer-2006.07.27.win32.i386-setup.exe
 
  wget http://downloads.sourceforge.net/project/iometer/iometer-stable/2006-07-27/iometer-2006.07.27.win32.i386-setup.exe
 +
</source>
 
* install IOMeter like this
 
* install IOMeter like this
 +
<source>
 
  cd
 
  cd
 
  wine iometer-2006.07.27.win32.i386-setup.exe
 
  wine iometer-2006.07.27.win32.i386-setup.exe
* Start dynamo
+
</source>
 +
* Start wine
 +
<source>
 
  cd
 
  cd
  cd ".wine/drive_c/Program Files/Iometer.org/Iometer 2006.07.27"
+
  cd ".wine/drive_c/Program Files (x86)/Iometer.org/Iometer 2006.07.27"
wine Dynamo.exe
 
* start IOMeter
 
 
  wine Iometer.exe
 
  wine Iometer.exe
 +
</source>
 +
 +
= Use Iometer =
 
* delete all workers but one by clicking onto "Disconnect Selected Worker or Manager"
 
* delete all workers but one by clicking onto "Disconnect Selected Worker or Manager"
 
* select "Access Specifications" -> 512B; 100% Read; 0% random -> Add
 
* select "Access Specifications" -> 512B; 100% Read; 0% random -> Add
 
* select "Disk Targets" -> Maximum Disk Size -> 5000 Sectors
 
* select "Disk Targets" -> Maximum Disk Size -> 5000 Sectors
* select a target. In this example, let's just choose C:.
+
* select a target. In this example, let's just choose sdh.
 
* select Test Setup -> Run Time -> 2 Seconds  
 
* select Test Setup -> Run Time -> 2 Seconds  
 
* click on "Start Tests"
 
* click on "Start Tests"
 
* as file name, enter example -> Ok
 
* as file name, enter example -> Ok
 
* find your data at ~/.wine/drive_c/Program Files/Iometer.org/Iometer 2006.07.27/example.csv
 
* find your data at ~/.wine/drive_c/Program Files/Iometer.org/Iometer 2006.07.27/example.csv
 +
* or click on "Results Display":
 +
 +
<pic src=http://www.linuxintro.org/images/Iometer-results-display.png width=50% caption="Results Display under IOMeter." align=text />
  
= TroubleShooting =
+
= TroubleShooting =
 
dynamo prints debugging output that is quite usable and understandable.
 
dynamo prints debugging output that is quite usable and understandable.
  

Latest revision as of 06:49, 13 April 2020


IOMeter is a disk I/O benchmark. You can measure e.g. your harddisk's speed for 4K block size, 50% read, 0% random and so on.

Here I give an example how to make IOMeter run on Linux. Note that the GUI ("iometer") only exists for Windows while the Linux packages only contain the backend ("dynamo"). Here is how to do it using WinE and IOMeter 2006.07.27 for Windows. Find out your distribution and proceed accordingly

Install IOMeter

No matter if you are running 64bit Linux or 32bit, to install and start IOMeter under Linux do the following:

<source>

cd
wget http://downloads.sourceforge.net/project/iometer/iometer-stable/2006-07-27/iometer-2006_07_27.linux.i386-bin.tgz

</source>

  • unpack it

<source>

cd
tar xvzf iometer-2006_07_27.linux.i386-bin.tgz

</source>

  • start the dynamo backend

<source>

cd iometer-2006_07_27.linux.i386-bin/src
./dynamo

</source>

<source>

cd
wget http://downloads.sourceforge.net/project/iometer/iometer-stable/2006-07-27/iometer-2006.07.27.win32.i386-setup.exe

</source>

  • install IOMeter like this

<source>

cd
wine iometer-2006.07.27.win32.i386-setup.exe

</source>

  • Start wine

<source>

cd
cd ".wine/drive_c/Program Files (x86)/Iometer.org/Iometer 2006.07.27"
wine Iometer.exe

</source>

Use Iometer

  • delete all workers but one by clicking onto "Disconnect Selected Worker or Manager"
  • select "Access Specifications" -> 512B; 100% Read; 0% random -> Add
  • select "Disk Targets" -> Maximum Disk Size -> 5000 Sectors
  • select a target. In this example, let's just choose sdh.
  • select Test Setup -> Run Time -> 2 Seconds
  • click on "Start Tests"
  • as file name, enter example -> Ok
  • find your data at ~/.wine/drive_c/Program Files/Iometer.org/Iometer 2006.07.27/example.csv
  • or click on "Results Display":

Results Display under IOMeter.

TroubleShooting

dynamo prints debugging output that is quite usable and understandable.

Usability Problems

  • what is a worker? Why do you need more than one? This could be a lot clearer by a simple tooltip.
  • why do you delete a worker by clicking on "Disconnect Selected Worker or Manager"
  • what is a manager? Why do I need to know?