Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old May 19th, 2008
PaulClayton's Avatar
PaulClayton Offline
Member
 
Join Date: December 2007
Posts: 38
VIO versus direct attached

Have a question on the above using VIO to offer up SCSI disks, versus going direct. What is the performance loss when using VIO versus direct attached.

My tests show up about 35% loss using VIO.
Any thought on this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old May 19th, 2008
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: VIO versus direct attached

It all depends on your I/O pattern. If you use the VIO and its LVM then its a big hit. If you give each LPAR its own disks then you only have to arbitrate the SCSI bus.

What exactly are you testing?
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old May 20th, 2008
PaulClayton's Avatar
PaulClayton Offline
Member
 
Join Date: December 2007
Posts: 38
Re: VIO versus direct attached

My testing is fairly simple.
SAN<-->SVC<-->VIO<-->LPAR

I pass the disk straight through, and don't use LVM on the VIO for this.

Simply testing on the client LPAR this command
dd if=/dev/zero of=/test/test count=102400 bs=8192
I get about 47Mbytes per sec.

Now remove the device from the LPAR, and create a LVM on the VIO, and run the same test on the same physical device, I get 70Mbytes per sec.
Hence the question, of is this normal. I can't find anything, that would suggest that this is, but I did find some docs, that suggested, that IO would be significantl;y reduced in the VIO configuration, and higher throughput would require directly attached disk to obtain maximum. I am trying to obtain some baseline numbers to ensure that my set up is correct, and we don't have an underlying problem anywhere.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old July 30th, 2008
mdulson's Avatar
mdulson Offline
Junior Member
 
Join Date: July 2008
Posts: 3
Re: VIO versus direct attached

Hi,

I've had the same questions myself, and found the attached pdf lurking on the IBM website. My initial findings on using direct versus virtualised disks (when pasing through SAN based LUNS rather than LVM based) couldn't find any performance difference - it's worth bearing in mind that the effect of cache in SAN arrays means that repeating the same experiment twice can see vastly improved/differing results.

It's also worth bearing in mind that if the disks are being used in a cluster, that you're clustering software supports virtualised disks (I seem to recall that HACMP didn't support VIOS supplied disk that were being provided by an SVC


Matt
Attached Files
File Type: pdf virtual_scsi.pdf (280.0 KB, 10 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old July 30th, 2008
PaulClayton's Avatar
PaulClayton Offline
Member
 
Join Date: December 2007
Posts: 38
Re: VIO versus direct attached

I think there is a cut of point with virtualized disks in performance. We have some LVMs on our VIOS, that have 30 LVs on them, and performance really sucks. Max I can get out these disks is 14Mbyte per second versus 200Mbyte per per second on direct attached.
I think part of the problem lays with the initial set up of the LVM on VIOS, in that the disks were not configure in a stripe, and only a concat.
From a maintenance aspect, passing the disks through is far less complex, and if you run dual VIOS, then I would recomend going direct disk rather than virtual disks, as LVM adds another layer of complexity in that you have to set concurrent LVM on your VIOS to get a dual VIOS operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old July 30th, 2008
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: VIO versus direct attached

Paul, I've tried striping the disks in a RAID set and then using the LVM on that set - and the performance is just as bad as when you use concat Volume Groups. The troble is the Logical Volume Manager at the VIO level (in my opinion).

Every write you do at an LPAr level has to go through the chain:
OS Write to File System -> OS Write to Logical Volume -> OS Write to Virtual Disk -> VIO Wite to Logical Volume -> VIo Write to Physical Disks. There are simply too many layers in there for there to vbe a decent performance.

Its a handy thing to be able to do for a aplay around environemnt, but for any production environment they LPARS need eithe r pass through Physcal or SAN disks and not LVs off of shared disks.

incidentally - my timings and exams largely concur with yours.
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old July 30th, 2008
PaulClayton's Avatar
PaulClayton Offline
Member
 
Join Date: December 2007
Posts: 38
Re: VIO versus direct attached

IBM seem to recommend this process, but I suppose for cash strapped customers, the LVM virtual disk route is OK, providing you know that
A) Performance may be an issue.
B) moving your LVMs to disk pass through is not going to possible unless you have addition disk to migrate.

One of the advantages we have found with this disk pass through, is the ease of migrating systems from our P5 to P6 environment.
On the P6 we set up disk pass through, configured the LVMs on the client partition, then exported the VG and attached them to the P5 VIO, and set them up as pass through on the P5 to the client partition. Re-imported, copied the data, and reversed the operation.
When doing the data copies, my read disk ran at 100% busy and my disks to be written to were running between 6-10% busy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old July 30th, 2008
Administrator's Avatar
Administrator Offline
Administrator
 
Join Date: May 2006
Posts: 111
Blog Entries: 3
Re: VIO versus direct attached

Areyou making sure that you change the queue depth on the LPAR to match the queue depth on the VIO server?

The default settings are:

fibre channel VIO - Queue depth of 10
VSCSI on LPAR - Queue depth of 3

What you need to do is tune both values properly. The LUN at the VIO server should have a queue depth equal to 3 times the number of physical devices that support the LUN.

I have a 2 TB LUN, which I assign to my VIO servers. It is an SVC vdisk. The mdisk group it was provisioned from is made up of 8 7+P arrays from my DS8300.

That means my VIO LUN is created from 56 drives and should have a queue depth of 168.

On the VIO servers:
chdev -dev hdiskX -attr queue_depth=168 pv=yes reserve_policy=no_reserve

Now create the vdev

On the LPAR, after running cfgmgr but before anything else:
chdev -l hdiskX -a queue_depth=168

Rerun your tests after tuning queue_depth and see if there is any improvement.
__________________
$ PATH=pretending!/usr/ucb/which sense
no sense in pretending!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old July 30th, 2008
PaulClayton's Avatar
PaulClayton Offline
Member
 
Join Date: December 2007
Posts: 38
Re: VIO versus direct attached

Interesting. I tried your suggestion, and it has made a difference. Previously the max read throughput I could get on a specific server was 14Mbyte. This has jumped to 57Mbyte per sec.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48