× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: iSCSI performance

btaroli
Prodigy

iSCSI performance

I have read different threads in the forums about iSCSI performance woes. I just wanted to post my own experience just recently, in the hopes it may add a data point to this and perhaps help me understand if there is antyhing I could be doing differently in settings that might help this.

 

I'm doing some test installations of Oracle Key Vault (an appliance for which they publicly offer ISOs for scripted installation) and just have been running a test where I have one using a 240GB thick iSCSI LUN (connected via Virtualbox storage layer) and another using a 240GB thin provisioned VDI over CIFS. Both of these are VBox VMs (5.1.28) with 2 CPU, 3GB RAM and running on a macOS host (10.13+supplement).

 

I am obvserving that the VDI-based VM is totally kicking the ass of the iSCSI LUN VM for package installation and DB setup. These VM aren't pushing much CPU but they're doing a fair mount of I/O. I have been watching htop on the NAS as well and it's not very busy at all. I expect lots of a small random I/O.

 

I don't really have a specific expectation for how well iSCSI /should/ be performing, but the difference between these two is glaring. And it leads me to wonder if iSCSI could be doing better. As I noted, there are several iSCSI threads... but rathe than pollute one of those I figured I'd start one specifically on this since I was comparing a CIFS VDI to an iSCSI LUN.

 

Oh, and I did happen to catch the VM with iSCSI throw some errors during the install.. or at least warnings.

 

VirtualBox_orakeyvault_07_10_2017_13_20_16.png

 

There is no shell access to the VM after it's built (the appliance erects a firewall during the build and no shell access is available on the console), but I have found I can mount the filesystems when booted from a LiveCD in a pinch. 😉

 

Any thoughts? Configuration bits I might check?

Model: RN628X|ReadyNAS 628X - Ultimate Performance Business Data Storage - 8-Bay
Message 1 of 5
mdgm-ntgr
NETGEAR Employee Retired

Re: iSCSI performance

Are you using thick LUNs with bit-rot protection and snapshots disabled?

Message 2 of 5
btaroli
Prodigy

Re: iSCSI performance

Sorry for the late response! Well, I was using both thick and thin LUNs (called out in original post). I did not enable bitrot protection, because I'd presume COW would just slow things down. Indeed, I don't even run VMs normally (in my Linux environments where I use btrfs) from paths with COW enabled.

 

Message 3 of 5
mdgm-ntgr
NETGEAR Employee Retired

Re: iSCSI performance

Thick LUNs are best for VMs. Yes, leaving bit-rot protection disabled is best as well.

Message 4 of 5
btaroli
Prodigy

Re: iSCSI performance

Well, that's the counter-intutive part. I was eventually comparing a thick iSCSI LUN (no COW) and a thin-provisioned VDI (file) hosted on a CIFS share (a share *with* COW) and still the VDI thoroughly outperformed the iSCSI LUN. That's what gave rise to me wondering what it was about iSCSI that sucked so much.

Message 5 of 5
Top Contributors
Discussion stats
  • 4 replies
  • 1892 views
  • 1 kudo
  • 2 in conversation
Announcements