Wthreads issue

88 views
Skip to first unread message

HIMANSHU

unread,
Jun 28, 2008, 8:46:19 AM6/28/08
to open-iscsi
I am having "Wthreads 8" in my IET "/etc/ietd.conf"
So after restarting target module and daemon,Initiator failed to
connect to it due to absense of Wthreads.

How to specify "Wthreads 8" in "/etc/iscsi/iscsid.conf"?

node.session.iscsi.Wthreads = 8 OR

node.conn[0].iscsi.Wthreads = 8 OR

It is not supported by Open-iSCSI.

HIMANSHU

unread,
Jun 28, 2008, 8:48:42 AM6/28/08
to open-iscsi

# ietadm --op show --tid=1

Wthreads=8
Type=0
QueuedCommands=32

Mike Christie

unread,
Jun 28, 2008, 4:34:13 PM6/28/08
to open-...@googlegroups.com
HIMANSHU wrote:
>
> # ietadm --op show --tid=1
>
> Wthreads=8
> Type=0
> QueuedCommands=32
>

For open-iscsi you would set

# To control how many commands the session will queue set
# node.session.cmds_max to an integer between 2 and 2048 that is also
# a power of 2. The default is 128.
node.session.cmds_max = 128

# To control the device's queue depth set node.session.queue_depth
# to a value between 1 and 128. The default is 32.
node.session.queue_depth = 32

HIMANSHU

unread,
Jul 3, 2008, 2:01:18 AM7/3/08
to open-iscsi
Sorry Mike.

It was already there in "iscsid.conf" obviously.My mistake..
I was having problem due to header and data digest and not Wthreads.

Max commands queued will be 128 here.
Then what is the significance of device's queue depth?

Is there any document for detailed understanding of each and every
parameter of "iscsid.conf".
README isn't tooooo technical?Right?otherwise I will have to google
for each....:)


Reply all
Reply to author
Forward
0 new messages