VMware Cloud Community
dm001
Contributor
Contributor

iscsi vm - performance less than expected

Hi All,

Although not supported its always good to experiment. I have tried setting up a VM (tried various os's - solaris, ubuntu) as a iscsi target however when vm's sitting on this target write data performance is less than expected and I am seeing "read'" happening on the disk during the write process. Is this a VMFS alignment issue? All storage is happening local on a single disk.

I have attached a picture to better describe what I am trying to do. (similar to a Sanmelody setup)

Thanks in advance.

Tags (4)
0 Kudos
6 Replies
AntonVZhbankov
Immortal
Immortal

By default all VMDKs are created in ZeroedThick mode. So you can try to inflate all VMDKs to EagerZeroedThick mode with "vmkfstools -k" command and then check speed again.

zeroedthick (default) .

Space required for the virtual disk is allocated during creation. Any data remaining on the physical device is not erased during creation, but will be zeroed out at a later time during virtual machine read and write operations.

eagerzeroedthick

Space required for the virtual disk is allocated at creation time. Unlike with the zeroedthick format, the data remaining on the physical device is zeroed out during creation. Disks in this format might take much longer to create than other types of disks.


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos
dm001
Contributor
Contributor

So if I write to the 2K3 VM Disk 2 - do you think its correct to see "reads" happening on the 500GIG physical disk?

or would this setup with writing to the iSCSI create an extra write process?

0 Kudos
AntonVZhbankov
Immortal
Immortal

How much reads are happenning when you try to write?


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos
dm001
Contributor
Contributor

all that I can think of is I am now having "double" writes - write once, read, then write again for the same data

0 Kudos
AntonVZhbankov
Immortal
Immortal

You will get double writes in case of ZeroedThick disk. Write zeroes, then write data if it is first write attempt on block.


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos
dm001
Contributor
Contributor

Thanks for the reply's Anton.

You do see that my iSCSI target's 200Gig disk is actually a VMDK sitting on the 500Gig physical.

So we have 500gig VMFS formatted ---> 200GIG VMDK sitting on this ---> this vmdk disk is presented to a vm running solaris to make a iscsi target ->> presented to esx as iSCSI VMFS format -->> 2k3VM disk 2 20gig VMDKis sitting on this iscsi target.

thanks again.

0 Kudos