Gentoo Archives: gentoo-cluster

From: Eric Thibodeau <kyron@××××××××.com>
To: gentoo-cluster@l.g.o
Cc: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-cluster] Iozone on multiple nodes using ssh
Date: Sat, 10 Jan 2009 02:30:54
Message-Id: 49680859.9020701@neuralbs.com
In Reply to: Re: [gentoo-cluster] Iozone on multiple nodes using ssh by t35t0r
1 t35t0r wrote:
2 > Not on gentoo but on RHEL.
3 I see nothing that is RHEL specific below...
4 > Run this script on master host. It will run
5 > iozone for small to large file sizes (up to 1G).
6 >
7 > ---- cut ----
8 >
9 > #!/bin/sh
10 >
11 > # full path to iozone executable
12 > iozoneExec="/home/somewhere/bin/iozone"
13 > # full path to the host file
14 > hostFile="/home/somewhere/iozoneHostsAwesomeFS.txt"
15 > # the number of hosts in the host file
16 > numHosts="16"
17 > # the record size or block size to use in all transfers
18 > recordSize="32k"
19 > # the file output prefix (the final file name will be
20 > ${filePrefix}-${recordSize}:${fs}k.xls or .out depending on whether it
21 > is the excel file or log file, where ${fs} is the file size for the
22 > transfer in KB (incrementally generated by the loop)).
23 > filePrefix="cluster-awesomeFS"
24 >
25 > # file sizes from 32k to 1g increasing by powers of 2
26 > export rsh="ssh"
27 > export RSH="ssh"
28 > for ((i=5;i<=20;i+=1)); do
29 > fs=$((2**$i))
30 > $iozoneExec -RcTM -t $numHosts -b
31 > ${filePrefix}-${recordSize}:${fs}k.xls -r $recordSize -s ${fs}k -+m
32 > $hostFile > ${filePrefix}-${recordSize}:${fs}k.out
33 > done
34 >
35 > ---- cut ----
36 >
37 > ---- cut ----
38 >
39 > sample hosts file:
40 >
41 > # hostname directoryForTestFiles pathToIozoneOnEachHost
42 > node1 /net/NAS/awesomeFS /home/somewhere/bin/iozone
43 > node2 /net/NAS/awesomeFS /home/somewhere/bin/iozone
44 > node3 /net/NAS/awesomeFS /home/somewhere/bin/iozone
45 >
46 > ---- cut ----
47 >
48 > On Thu, Jan 8, 2009 at 9:12 AM, Chuanwen Wu <wcw8410@×××××.com> wrote:
49 >
50 >> Hi,
51 >> I am trying to use iozone to test my cluster with ssh but not rsh, but
52 >> I still can't running iozone on multiple nodes.
53 >>
54 >
55 >

Replies

Subject Author
Re: [gentoo-cluster] Iozone on multiple nodes using ssh t35t0r <t35t0r@×××××.com>