Clustered iSCSI Performance

NickF

Guru
Joined
Jun 12, 2014
Messages
763
Hi all,

This is probably untreaded water, but I am just wondering if any other folks out there have been playing with this. I have 3 mini computers (6c/12t, 16GB RAM, 2x512GB ssd mirrored) and I am playing around with iSCSI inside of TrueCommand.

Performance consistency is odd.
This is setup with 3 nodes in TC:
1676570954327.png


This is a single node setup in TN SCALE (one of same computers from above), notice the difference in read IOPS and latency, as well as the higher write and mixed performance in general.
1676571713544.png


To be clear, I am not expecting a high level of performance with my systems here. I am just trying to figure out what relative performance should look like vs a single node. I am aware that 16GiB of RAM is not recommended for iSCSI, and I am not trying to build a production system here. Rather, I am trying to figure out how this feature works...

I also only see one node at a time actually seeing IO...which is why I am confused. If theres a performance penalty for syncing the data between 3 nodes, I get that. BUt I am only seeing IO on a single node at a time.....
1676570778814.png

1676570803069.png



Am I misunderstanding this feature?

This is supposed to sync the data between all the nodes right??
 

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
No. Clustering only works for SMB shares that you create through the TrueCommand UI. iSCSI is not part of a cluster, and usually is a poor fit for clustering due to the fact that most block workloads are highly latency sensitive. Clustering adds additional latency to the mix (thanks physics!) which usually makes it less desirable for block workloads.
 

NickF

Guru
Joined
Jun 12, 2014
Messages
763
No. Clustering only works for SMB shares that you create through the TrueCommand UI. iSCSI is not part of a cluster, and usually is a poor fit for clustering due to the fact that most block workloads are highly latency sensitive. Clustering adds additional latency to the mix (thanks physics!) which usually makes it less desirable for block workloads.
I hear you. But I’m confused.
When I went through the wizard in TrueCommand and then subsequently went to to Windows ISCSI imitator, after putting only one nodes IP in it auto discovered the other nodes
1676572562085.png


And only one device shows up when I auto configured on the next tab. From a user perspective it seems like it’s building a cluster…See my other thread. If it’s not then the wizard in TC is fundamentally confusing by it's design. Why would it present it to me like this?

1676572843840.png

1676572815161.png


It even calls it a Block Device Group

1676572889994.png


And then when i look at the nodes themselves, they have these weird notes
1676572947800.png


Like theres some sort of GUID that TC is tracking and its the same on each node.
1676572983634.png


Thread 'Missing Features for ISCSi, Plus Data Loss Possible...'
https://www.truenas.com/community/threads/missing-features-for-iscsi-plus-data-loss-possible.107842/
 
Last edited:

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
Ok, I think I see why that is confusing. The TC iSCSI wizard is primarily aimed at helping to make a bunch of devices at once. But that is != to clustering. I'll point some of the devs at this thread to review and see if we can help make this clearer.
 

NickF

Guru
Joined
Jun 12, 2014
Messages
763
Ok, I think I see why that is confusing. The TC iSCSI wizard is primarily aimed at helping to make a bunch of devices at once. But that is != to clustering. I'll point some of the devs at this thread to review and see if we can help make this clearer.
To your original point that’s why I was playing around with this, I was trying to figure out what the expected performance penalty was supposed to be for a feature that doesn’t exist how I had understood it. Lol

What’s stranger is that I actually did see a difference in performance that now I cannot explain why. More tinkering to do
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
Interesting that it picked up portals on the other nodes through dynamic discovery. Do you get different behavior if you connect/discover targets through a VMware initiator vs. a Windows one?

Re: performance; do the systems all have similar BIOS power-saving configurations? RND4K I've found to be especially sensitive to that.
 

NickF

Guru
Joined
Jun 12, 2014
Messages
763
Well I can
Interesting that it picked up portals on the other nodes through dynamic discovery. Do you get different behavior if you connect/discover targets through a VMware initiator vs. a Windows one?

Re: performance; do the systems all have similar BIOS power-saving configurations? RND4K I've found to be especially sensitive to that.
My VMWare host has been decomed, I can unbury it and try when I have some time.

In any case, the WWNs of the LUNs are different (they are supposed to be if its not a cluster) I also have COVID with a high fever so I could be losing my mind.

1676583678985.png

1676583700075.png
 
Top