VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 18 Replies Last post: Jul 29, 2008 7:48 AM by getut   Go to original post
Click to view Peter_vm's profile Guru 9,058 posts since
Feb 1, 2006
You can't buy support for Beta or RC1 products.

Re: Tips for Improving Performance On Linux Host

16. Jul 22, 2008 10:10 AM in response to: Peter_vm
Click to view getut's profile Enthusiast 43 posts since
Mar 2, 2007

<sigh> I may have finally found my performance issue. Unfortunately I cannot go through steps to put an older linux on the machine again to see if the kernel version is what is causing this.

BUT, with that said. It seems that under Hardy Heron, my cache is not enable for the controller.

http:// 163.044342 sd 0:2:0:0: sda 1464074240 512-byte hardware sectors (749606 MB)
http:// 163.044388 sd 0:2:0:0: sda Write Protect is off
http:// 163.044390 sd 0:2:0:0: sda Mode Sense: 1f 00 10 08
http:// 163.044492 sd 0:2:0:0: sda Write cache: disabled, read cache: disabled, supports DPO and FUA
http:// 163.044617 sd 0:2:0:0: sda 1464074240 512-byte hardware sectors (749606 MB)
http:// 163.044662 sd 0:2:0:0: sda Write Protect is off
http:// 163.044665 sd 0:2:0:0: sda Mode Sense: 1f 00 10 08
http:// 163.044744 sd 0:2:0:0: sda Write cache: disabled, read cache: disabled, supports DPO and FUA
http:// 163.044749 sda: sda1 sda2 <<6>ata1.00: ATAPI: TSSTcorp CD-RW/DVD-ROM TS-H492C, DE02, max UDMA/33
http:// 163.067845 sda5 >
http:// 163.067958 sd 0:2:0:0: sda Attached SCSI disk
http:// 163.068118 sd 0:2:1:0: sdb 1464074240 512-byte hardware sectors (749606 MB)
http:// 163.068160 sd 0:2:1:0: sdb Write Protect is off
http:// 163.068163 sd 0:2:1:0: sdb Mode Sense: 1f 00 10 08
http:// 163.068240 sd 0:2:1:0: sdb Write cache: disabled, read cache: disabled, supports DPO and FUA
http:// 163.068377 sd 0:2:1:0: sdb 1464074240 512-byte hardware sectors (749606 MB)
http:// 163.068419 sd 0:2:1:0: sdb Write Protect is off
http:// 163.068422 sd 0:2:1:0: sdb Mode Sense: 1f 00 10 08
http:// 163.068518 sd 0:2:1:0: sdb Write cache: disabled, read cache: disabled, supports DPO and FUA
http:// 163.068523 sdb: sdb1
http:// 163.068713 sd 0:2:1:0: sdb Attached SCSI disk
http:// 163.068804 sd 0:2:2:0: sdc Very big device. Trying to use READ CAPACITY(16).
http:// 163.068843 sd 0:2:2:0: sdc 4392222720 512-byte hardware sectors (2248818 MB)
http:// 163.068897 sd 0:2:2:0: sdc Write Protect is off
http:// 163.068900 sd 0:2:2:0: sdc Mode Sense: 1f 00 10 08
http:// 163.068991 sd 0:2:2:0: sdc Write cache: disabled, read cache: disabled, supports DPO and FUA
http:// 163.069095 sd 0:2:2:0: sdc Very big device. Trying to use READ CAPACITY(16).
http:// 163.069149 sd 0:2:2:0: sdc 4392222720 512-byte hardware sectors (2248818 MB)
http:// 163.069217 sd 0:2:2:0: sdc Write Protect is off
http:// 163.069220 sd 0:2:2:0: sdc Mode Sense: 1f 00 10 08
http:// 163.069306 sd 0:2:2:0: sdc Write cache: disabled, read cache: disabled, supports DPO and FUA
http:// 163.069311 sdc: sdc1

It is a PERC 5/i from Dell/LSI. We opted not to go with the battery backed cache because it is on a 2kva UPS which is attached to a standby generator.

I CANNOT get the cache enabled. It seems I need a program called megacli which is only provided in 32bit, not 64bit. I can't find any resources for a ready to use 64bit version or instructions on how to run the 32 bit one on my 64bit Hardy. If I ever get the cache enabled I'll report back if it fixed my issue.

Re: Tips for Improving Performance On Linux Host

17. Jul 24, 2008 1:05 AM in response to: getut
Click to view Ikkezelf's profile Lurker 1 posts since
Jan 8, 2007

Hej,

Try using Ext3 on the partition you are using for your VM's. I had a similar issue on OpenSuse 10.3 when using XFS. Performance improved dramatically when I switched to Ext3.

Make sure to tweak your Ext3 parameters, so the journalling is acting XFS-like.

I found this link very useful: http://wiki.centos.org/HowTos/Disk_Optimization

In short: use the largest block size available, disable directory index feature, use a stride size appropriate for your block size, use writeback journalling mode, use following mount options: noatime,data=writeback,noacl,nodiratime.

Normally adding acache battery will enable the write cache on your RAID controller (at least it does on my HP raid)

Good luck,

Steven

Re: Tips for Improving Performance On Linux Host

18. Jul 29, 2008 7:50 AM in response to: Ikkezelf
Click to view getut's profile Enthusiast 43 posts since
Mar 2, 2007
Ughh.

I finally got the MegaCli tool to install on 64bit Ubuntu and now I am more confused than ever.


MegaCli reports the following for all 3 volumes.


Default Cache Policy: WriteBack, ReadAhead, Direct, Write Cache OK if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Direct, Write Cache OK if Bad BBU


As I said in previous post... dmesg reports this for all volumes:


Write cache: disabled, read cache: disabled, supports DPO and FUA


Does anyone have any suggestions on what is going on? Maybe cacheing still isn't the cause of my slowness on later kernels.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities