From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LKyIn-00059R-FR for garchives@archives.gentoo.org; Thu, 08 Jan 2009 17:04:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 007BAE028C; Thu, 8 Jan 2009 17:04:11 +0000 (UTC) Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.155]) by pigeon.gentoo.org (Postfix) with ESMTP id 699C9E028C; Thu, 8 Jan 2009 17:04:10 +0000 (UTC) Received: by yx-out-1718.google.com with SMTP id 4so3029702yxp.46 for ; Thu, 08 Jan 2009 09:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=jX3DBZz7JB20/5XUagLo4SO5x1CZpUdhl+w5DxHc/9c=; b=WU+3Ye3wQnWXVgHQ2uqW+wDbcng/4PjqtKXCipM9sBex2bMc+Hc0TKTyXXbN+zlFQo Ygv5fS2xtSwmwwpcAVtkKfPmmmQtT1eW7K5QbDpQfXelRN1i5Lm6nbPfdOIjZHsN2e40 JHXjmSgVKHq79yyh/wkABrrAzsQU6B7TdXIp0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XptHoUCBfbQoWTjKY51FLbo92qAKYLURgP0Ghyhu3C+Je9EuGZbU8lXx5cKzlSJGga bvescq2xsgm6LuNYzJZD5ZPwrHUEFtMNlkobN3F3pKQxYbHvuUtkwJPHy32w7MujGGSg 288CAKHSnjCqjxEgiUJTZ5LilJKCC0lh1awzA= Received: by 10.150.177.20 with SMTP id z20mr2329188ybe.89.1231434248638; Thu, 08 Jan 2009 09:04:08 -0800 (PST) Received: by 10.151.26.1 with HTTP; Thu, 8 Jan 2009 09:04:08 -0800 (PST) Message-ID: <6b75ae110901080904o9ee880bk561fa8c7110df401@mail.gmail.com> Date: Thu, 8 Jan 2009 11:04:08 -0600 From: t35t0r To: gentoo-cluster@lists.gentoo.org Subject: Re: [gentoo-cluster] Iozone on multiple nodes using ssh Cc: gentoo-user In-Reply-To: <7797aa370901080712r1ba26311l1b9f2802c65eb27b@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-cluster@lists.gentoo.org Reply-to: gentoo-cluster@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7797aa370901080712r1ba26311l1b9f2802c65eb27b@mail.gmail.com> X-Archives-Salt: 5c15d96c-d5b8-4a21-a833-4cd719ba879e X-Archives-Hash: a9dc3c411d998cf14ea1131656715887 Not on gentoo but on RHEL. Run this script on master host. It will run iozone for small to large file sizes (up to 1G). ---- cut ---- #!/bin/sh # full path to iozone executable iozoneExec="/home/somewhere/bin/iozone" # full path to the host file hostFile="/home/somewhere/iozoneHostsAwesomeFS.txt" # the number of hosts in the host file numHosts="16" # the record size or block size to use in all transfers recordSize="32k" # the file output prefix (the final file name will be ${filePrefix}-${recordSize}:${fs}k.xls or .out depending on whether it is the excel file or log file, where ${fs} is the file size for the transfer in KB (incrementally generated by the loop)). filePrefix="cluster-awesomeFS" # file sizes from 32k to 1g increasing by powers of 2 export rsh="ssh" export RSH="ssh" for ((i=5;i<=20;i+=1)); do fs=$((2**$i)) $iozoneExec -RcTM -t $numHosts -b ${filePrefix}-${recordSize}:${fs}k.xls -r $recordSize -s ${fs}k -+m $hostFile > ${filePrefix}-${recordSize}:${fs}k.out done ---- cut ---- ---- cut ---- sample hosts file: # hostname directoryForTestFiles pathToIozoneOnEachHost node1 /net/NAS/awesomeFS /home/somewhere/bin/iozone node2 /net/NAS/awesomeFS /home/somewhere/bin/iozone node3 /net/NAS/awesomeFS /home/somewhere/bin/iozone ---- cut ---- On Thu, Jan 8, 2009 at 9:12 AM, Chuanwen Wu wrote: > Hi, > I am trying to use iozone to test my cluster with ssh but not rsh, but > I still can't running iozone on multiple nodes.