Difference between revisions of "Iometer"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
(36 intermediate revisions by 5 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).]]
+
 
|}
+
<pic src="http://www.linuxintro.org/images/Snapshot-iometer.png" align=right width=50% />
  
 
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.  
 
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.  
Line 7: Line 7:
 
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
 
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
  
= Start IOMeter =
+
= Install IOMeter =
 
+
No matter if you are running 64bit Linux or 32bit, to install and start IOMeter under Linux do the following:
== SUSE Linux 12.1 x64 ==
 
 
* [http://prdownloads.sourceforge.net/iometer/iometer-2006_07_27.linux.i386-bin.tgz?download Download IOMeter]
 
* [http://prdownloads.sourceforge.net/iometer/iometer-2006_07_27.linux.i386-bin.tgz?download Download IOMeter]
 +
<source>
 
  cd
 
  cd
 
  wget http://downloads.sourceforge.net/project/iometer/iometer-stable/2006-07-27/iometer-2006_07_27.linux.i386-bin.tgz
 
  wget http://downloads.sourceforge.net/project/iometer/iometer-stable/2006-07-27/iometer-2006_07_27.linux.i386-bin.tgz
 +
</source>
 
* unpack it
 
* unpack it
 +
<source>
 
  cd
 
  cd
 
  tar xvzf iometer-2006_07_27.linux.i386-bin.tgz
 
  tar xvzf iometer-2006_07_27.linux.i386-bin.tgz
 +
</source>
 
* start the dynamo backend
 
* start the dynamo backend
  cd iometer-2006_07_27.linux.i386-bin
+
<source>
 +
  cd iometer-2006_07_27.linux.i386-bin/src
 
  ./dynamo
 
  ./dynamo
* Install wine
+
</source>
 +
<ul>
 +
<li /> To [[install]] wine [[find out your distribution]] and proceed accordingly:
 +
<ul>
 +
<li /> for SUSE:
 +
<source>
 
  yast -i wine
 
  yast -i wine
* [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>
 +
<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
 +
</source>
 
* Start wine
 
* Start wine
 +
<source>
 
  cd
 
  cd
 
  cd ".wine/drive_c/Program Files (x86)/Iometer.org/Iometer 2006.07.27"
 
  cd ".wine/drive_c/Program Files (x86)/Iometer.org/Iometer 2006.07.27"
 
  wine Iometer.exe
 
  wine Iometer.exe
 
+
</source>
== Kubuntu 11.10 x64 ==
 
* Install some wine dependencies
 
sudo apt-get install gcc flex bison xserver-xorg-dev libfreetype6-dev make
 
* Install wine
 
wget http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.3.32.tar.bz2
 
bunzip2 wine-1.3.32.tar.bz2
 
tar xvf wine-1.3.32.tar
 
cd wine-1.3.32
 
./configure && make && make install
 
* [http://sourceforge.net/projects/iometer/files/iometer-stable/2006-07-27/iometer-2006.07.27.win32.i386-setup.exe/download download IOMeter from sourceforge]
 
cd
 
wget http://downloads.sourceforge.net/project/iometer/iometer-stable/2006-07-27/iometer-2006.07.27.win32.i386-setup.exe
 
* install IOMeter like this
 
cd
 
wine iometer-2006.07.27.win32.i386-setup.exe
 
* Start dynamo
 
cd
 
cd ".wine/drive_c/Program Files/Iometer.org/Iometer 2006.07.27"
 
wine Dynamo.exe
 
* start IOMeter
 
wine Iometer.exe
 
 
 
== Fedora 16 x32 ==
 
* install wget
 
* unpack it
 
cd
 
tar xvzf iometer-2006_07_27.linux.i386-bin.tgz
 
* start the dynamo backend
 
cd iometer-2006_07_27.linux.i386-bin/src
 
./dynamo &
 
* install wine
 
yum install wine
 
: confirm with y when asked
 
* download IOMeter from Sourceforge
 
cd
 
wget http://downloads.sourceforge.net/project/iometer/iometer-stable/2006-07-27/iometer-2006.07.27.win32.i386-setup.exe
 
* install IOMeter:
 
cd
 
wine iometer-2006.07.27.win32.i386-setup.exe
 
* start IOMeter:
 
cd
 
cd ".wine/drive_c/Program Files/Iometer.org/Iometer 2006.07.27"
 
wine Iometer.exe
 
  
 
= Use Iometer =
 
= Use Iometer =
Line 87: Line 69:
 
* or click on "Results Display":
 
* or click on "Results Display":
  
[[image:iometer-results-display.png|451px|"Results Display" under IOMeter.]]
+
<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?