Steve's Power Systems BlogPower BlogContactLog inRegister
  • Power Blog
  • Contact

  • Register

IBM Power Systems Blog

Power Systems
  • Front Page
  • Categories
  • Archives
  • Latest comments
  • « PowerHA 72 clstat not working after Upgrade
  • Setting new device attributes with chdef »

Tuning vSCSI Adapter Settings

Posted by steve on 18 Oct 2016 in AIX Tuning, AIX Tips

There are three settings that can be tuned for vSCSI Adatpers in AIX, these are rw_timeout, vscsi_err_recov and vscsi_path_to.  The following is my understanding of these tuning options and the various settings allowed per attribute.

 

What is rw_timeout?

The vSCSI rw_timeout settings helps the AIX client adapter to detect a hung I/O request, only if the rw_timeout value is greater than 0 (zero).  The minimum value for rw_timeout is 120 and the maximum value is 3,600.  Any value entered between 1 and 119 will be changed to 120 when the adapter is next configured or the LPAR rebooted.  When enabled, all IOs are timed and if and single IO does not respond within the rw_timeout setting, the vSCSI adapter causes the IO to timeout.  The vSCSI adapter is then closed and an attempt to reopen the adapter is made with the VIO Server.  If dual vSCSI adatpers to different VIO Servers are configured, the 2nd vSCSI adapter will be used.

 

 

What is vscsi_err_recov?

The vscsi_err_recov options is very similar to the fc_err_recov for fibre adapters.  This settings allows the vSCSI adatper to detect link errors between the vSCSI adapter and the VIO Server adapter or the backend storage device.   Fast I/O failure may be desirable in situations where multipathing software is being used. Setting 'vscsi_err_recov' to 'fast_fail' may decrease the I/O fail times due to link loss between the storage device and switch and allow faster failover to alternate paths.  In single-path configurations, especially configurations with a single-path to a paging device, the default 'delayed_fail' setting is the recommended setting.

 

What is vscsi_path_to?

If no I/O requests issued to the VSCSI server adapter have been serviced within the number of seconds specified by the VSCSI path timeout value, one more attempt is made to contact the VSCSI server adapter, waiting up to 60 seconds for a response.  If, after 60 seconds, there is still no response from the server adapter, all outstanding I/O requests to that adapter are failed and an error is written to the client logical partition error log.  If MPIO is being used, the MPIO Path Control Module will retry the I/O requests down another path.  Otherwise, the failed requests will be returned to the application.

 

Tags: AIXdelayed_failfast_failrw_timeoutvSCSIvscsi_err_recovvscsi_path_to

No feedback yet


Form is loading...

July 2026
Mon Tue Wed Thu Fri Sat Sun
    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    
 << <   > >>

IBM Power Systems Blog

IBM Power Systems - Administration, Tuning and Optimisation. These posts are my own personal opinions and comments only.

Search

Categories

  • All
  • AIX Tips
  • AIX Tuning
  • Command Line Tips
  • HMC Tips
  • LPM Information
  • NIM Tips
  • Performance Testing
  • Power System Affinity
  • PowerHA Tips
  • SRIOV and vNIC
  • Scripts and One Liners
  • VIO Server Tips

Recent Posts

  • AIX NIM Hints and Tips
  • Finding Multiple Install Sources for AIX
  • PowerHA and EMC Busy Devices
  • AIX Random Password Generation
  • VIO Server 3.1.0 and ssh host keys
  • VIO Server 3.1.0 Items to Review
  • Just when you thought you understood idle CPU time!!
  • 40Gbit Adapter Performance Testing
  • LPM Copy Time Statistics
  • IBM HMC Upgrades

Recent Comments

  • steve on How to configure IBM SRIOV Adapters
  • Howard Coles on How to configure IBM SRIOV Adapters
  • steve on AIX mpstat and lssrad part 1
  • Charin Kumjudpai on AIX mpstat and lssrad part 1
  • Gagandeep on LPM and multiple vSwitches
  • Fant Steele on VIO Server 3.1.0 and ssh host keys
  • steve on AIX NIM Hints and Tips
  • alan wilcox on AIX NIM Hints and Tips
  • steve on AIX buf_mode attribute for Virtual Ethernet Adapters
  • Bernhar on AIX buf_mode attribute for Virtual Ethernet Adapters
  • Gery on Reading VLANs from the SEA Adapter
  • steve on Reading VLANs from the SEA Adapter
  • patrice on Reading VLANs from the SEA Adapter
  • steve on Reading VLANs from the SEA Adapter
  • steve on AIX buf_mode attribute for Virtual Ethernet Adapters
  • Chris K. on AIX buf_mode attribute for Virtual Ethernet Adapters
  • jovi on AIX or VIOS Errors: 29FA8C20 and 7BFEEA1F
  • steve on AIX or VIOS Errors: 29FA8C20 and 7BFEEA1F
  • jovi on AIX or VIOS Errors: 29FA8C20 and 7BFEEA1F
  • steve on Creating EtherChannel Devices from Command Line

This collection ©2026 by Stephen Diwell • Contact • Help • Content Mangement System

Community software
Cookies are required to enable core site functionality.