LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 02-07-2019, 10:50 AM   #1
jodytek404
LQ Newbie
 
Registered: Feb 2019
Posts: 5

Rep: Reputation: Disabled
disk algorithm=shortest_queue


any of you guys have experience with PURE on AIX and the recommendation for shortest_queue attribute? Possibly in a shared storage pool, in vios cluster?
 
Old 02-07-2019, 12:07 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,143

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
I haven't worked with Pure, but with most other fibre-channel SANS. My experience is that shortest_queue will only make a difference from round_robin if you have I/Os that are very mixed in size (like a lot of very small and very large I/Os). If you are writing to a filesystem, then I/O size tends to be a narrow range of sizes due to block caching, so you normally won't see frequent queue hangs due to large I/Os blocking the ones behind them in the queue. Not sure about the effect of VIOS since it wasn't used on the systems I worked with. If you do have a lot of mixed-size I/Os, then shortest_queue will reduce average latency somewhat. Best to try it in your environment and measure with nmon to see how it does.
 
Old 02-07-2019, 12:53 PM   #3
jodytek404
LQ Newbie
 
Registered: Feb 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks smallpond, I will take a closer look at the nmon io
 
Old 02-09-2019, 01:59 PM   #4
wingnut64
Member
 
Registered: Sep 2004
Distribution: AIX, RHEL, Ubuntu
Posts: 51

Rep: Reputation: 23
I've been running AIX on Pure for a few years (VFC NPIV). Their recommendation has been round_robin and I haven't had any issues with it. In talking with their engineers, they seem to prefer having all their I/O evenly spread between their array controller ports. For example on VMware ESX hosts they want a path selection policy to switch adapters with every single I/O operation, and in newer versions that have that set as the default.

So I would say that unless you hear otherwise or have a special case it is probably best to use round_robin.
 
Old 02-21-2019, 04:51 PM   #5
Yordan
Member
 
Registered: Nov 2004
Posts: 57

Rep: Reputation: 15
Have a look here :

https://www.ibm.com/support/knowledg...trlmodatts.htm

Quote:
This algorithm is similar to the round_robin algorithm. However, the shortest_queue algorithm distributes I/O operations based on the number of pending I/O operations on each path. The path that currently has the fewest pending I/O operations is selected for the next operation. The path priority attribute is ignored when the algorithm is set to shortest_queue.
So, like usual, start with the round_robin algorithm. However if you see a non-symmetrical I/O distribution and not the same number of I/O's on all your fiber adapters, you may give shortest_que a try, this could help in case of a hardware problem on one of your paths.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Kernel Programming Project - How to implement a IO/disk scheduling algorithm? momersaleem Programming 5 04-04-2014 01:38 PM
Linux Kernel Programming Project - How to implement a IO/disk scheduling algorithm? momersaleem Linux - Software 2 03-26-2014 04:11 PM
How to change disk size by editing disk information on the hard disk? xptchina Linux - Virtualization and Cloud 2 12-16-2010 08:12 AM
token bucket algorithm vs Leaky bucket algorithm xeon123 Linux - Networking 2 03-26-2007 04:57 AM
floppy only reads first disk, if new disk is inserted data from first disk is shown. lakosked Debian 3 02-18-2006 08:44 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration