Iozone benchmark using ssh (iozone_ssh) (fwd)

Dean Hildebrand dhildebz at eecs.umich.edu
Thu Jun 24 11:12:20 EDT 2004


I modified iozone to use ssh as well.  It is a 3 letter replacement from
'rsh' to 'ssh'.  Ok, slightly more than that.  Also remember you need
to be able to use ssh between your nodes without passwords.  Here is what
I did:

--- original/iozone.c   2003-12-14 14:20:26.000000000 -0500
+++ openfix/iozone.c    2004-04-14 22:04:58.000000000 -0400
@@ -19171,18 +19147,7 @@
 char *shell;
 #endif
 {
-       char *value;
-       value=(char *)getenv("RSH");
-       if(value)
-       {
-               strcpy(shell,value);
-               return;
-       }
-#ifdef _HPUX_SOURCE
-       strcpy(shell,"remsh");
-#else
-       strcpy(shell,"rsh");
-#endif
+       strcpy(shell,"ssh");
        return;
 }


On Thu, 24 Jun 2004, Chuck Lever wrote:

> i'm not sure nfs-perf is active any longer, so i'm forwarding to this
> list.
>
> 	- Chuck Lever
> --
> corporate:	<cel at netapp dot com>
> personal:	<chucklever at bigfoot dot com>
>
> ---------- Forwarded message ----------
> Date: Mon, 21 Jun 2004 18:16:58 -0700
> From: Jeff Johnson <jeff.johnson at wsm.com>
> To: nfs-perf at citi.umich.edu
> Subject: Iozone benchmark using ssh (iozone_ssh)
>
> Greetings,
>
> 	I read on your website where you modified iozone to run over ssh
> instead of rsh. Would you care to share a patch of the changes you made?
>
> 	I am trying to use iozone to benchmark a NFS server in a Rocks cluster
> where rsh is not installed and not allowed due to security.
>
> 	I have tried to modify iozone v3.218 source myself to use ssh but it is
> a trainwreck on execution.
>
> Thanks,
>
> Jeff
>
>
> --
> Jeff Johnson <jeff.johnson at wsm.com>
> Western Scientific, Inc
> http://www.wsm.com
>
> Powerful cluster computing, server and storage solutions.
>
> "Rome did not create a great Empire by holding meetings. They did it by
> killing all those who opposed them."
>
>
>
> _______________________________________________
> NFSv4 mailing list
> NFSv4 at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4
>



More information about the NFSv4 mailing list