INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Jobs from Indeed

lspv -u

lspv -u

(OP)
how could I guess on client lpar side what type of storage (real storage box/type) is mapped to it from vios? I have no access to vios.

should client lpar using such VSCSI disks have installed any host attachment kit so there are valid ODM entries and I can see proper disk type on lsdev? Now i see just Virtual SCSI Disk Drive - even disks are not tuned well (default queue_depth is there 3) due to missing ODM's rules for that IBM disks. Yes, I guess these are some IBM's as lspv -u shows UUID strings with "FAStT03IBMfcp05VDASD03AIXvscsi"

RE: lspv -u

The vscsi disks are native to AIX, no HAS required.
The queue depth of 3 is default.
DON'T mess with the attributes if you cannot make similar changes on the VIO or you may lose the disk access...

RE: lspv -u

(OP)
hmmm,

are you sure that queue_depth=3 on VSCSI disks will not be botle neck if the real storage mapped on VIOS has set queue_depth=20?

RE: lspv -u

Depends on how many VTDs are mapped to the adapter.
Queue depth of 3 on a vscsi client disk gives 85 luns per adapter with dual VIO, and a couple left over for the vsci frame work - vscsi limit is 512 - dual vio, 85 luns, three queues per, you do the maths...
Less luns will let you have more queuedepth, more luns / queue depth will prevent them from configuring properly, your choice ;)

RE: lspv -u

(OP)
but isn't queue_depth related with storage vendor? with default 3 I observe huge sqfulls on iostat.

besides, on page http://www.ibmsystemsmag.com/linuxonpower/tipstech...
there is an statement:

"With vSCSI and NPIV, it’s important to ensure that all disks are set with reserve_policy=no_reserve. With vSCSI, you should also check queue_depth on the VIO server for each hdisk and on the client as well. The client will most likely default to the SCSI value of 3 and you may need to increase this. Don’t make it higher than whatever it is on the VIO server."

so on both, VIOS and client LPAR to get better i/o and performance benefits of modern storage solutions

update: in IBM redbook "IBM PowerVM Virtualization Introduction and Configuration" SG24-7940-05 there a statement:

"The queue depth value for each disk using MPIO on the client partition, which
determines how many requests the disk head driver will queue to the virtual
SCSI client driver at any one time, must be configured to match the queue depth
value used for the physical disk on the Virtual I/O Server. It must be changed
using the chdev command as shown in the following example:
chdev -l hdisk0 -a queue_depth=20 -P"

RE: lspv -u

Yeah, and with all that, what do you propose?
Bump it to a queue depth of 20 for each lun, with 50 luns on a vscsi adapter - and then sit and watch as they don't configure...

Sorry, not sure I get your point.

If you want max transfer, bump the queue depth, just make sure you don't max the adapter - configure more adapters / less luns per adapter as you increase the queue depth.

You'll have to try it to be sure how it works out...

RE: lspv -u

(OP)
I have less than 5 LUNS per NPIV client

RE: lspv -u

?

RE: lspv -u

(OP)
IBM suggest to increase queue_depth in case iostats shows high sqfull valuse - this is what I observe here

there is never problem with queue_depth on physical servers (VIOS) as corresponding drivers/software change AIX defaults in ODM (or adds customization for specific disks types)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close