[stgt] iscsi load generator and benchmark tool

Pasi Kärkkäinen pasik at iki.fi
Tue Dec 29 22:35:55 CET 2009


On Fri, Sep 25, 2009 at 02:39:59PM +1000, ronnie sahlberg wrote:
> List,
> 
> You might find this tool useful.
> I recently added very simple iscsi support to DBENCH ( http://dbench.samba.org )
> so that dbench has a minimal iscsi initiator built in.
> 
> This is sometimes useful since it allows to bypass any iscsi initiator
> layer, like open-iscsi, on the host and to get full control of exactly
> what commands will be issued to the target and accurate measures since
> one can know that the data was served across the network and not from
> a local cache.
> It is also useful since it can generate very high loads, much higher
> than I have been anble to generate by doing i/o through a lun mapped
> through the built in initiator in linux.
> 
> Here i am mainly interested in high load for very small i/o sizes. I
> use 1k i/o size in my tests to be as pathological in my tests as
> possible. But you can run tests with any i/o size.
> 
> 
> The basic syntax is :
> 
> $ ./dbench -B iscsi --loadfile=iscsi.txt --iscsi-lun=1
> --iscsi-portal=10.0.0.71 --iscsi-port=3260
> --iscsi-target=iqn.2007-03:mptest --warmup=0 --run-once 1
> 
> to run the loadfile once and then exit and with 1 client.
> 
> or
> 
> $ ./dbench -B iscsi --loadfile=iscsi.txt --iscsi-lun=1
> --iscsi-portal=10.0.0.71 --iscsi-port=3260
> --iscsi-target=iqn.2007-03:mptest --warmup=0 --timelimit=5 10
> 
> to run the loadfile over and over until the time runs out  and using
> 10 threads of execution.
>

Will it make 10 logins to the iSCSI target, one login for each thread?

-- Pasi

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list