Posts tagged ·

IBM

·...

IBM Entitled software support website moved…

Comments Off

IBM website sucks in the way the it keep changing the link without redirecting the old link.

 

Here is the latest IBM Entitled software support website :

http://www-304.ibm.com/servers/eserver/ess/OpenServlet.wss

Comments Off

Optimizing Sybase Adaptive Server Enterprise (ASE) for IBM AIX

Comments Off

This is a paper from IBM and Sybase to assist database administrators (DBAs) and UNIX system administrators (SAs) working together. This white paper helps these professionals achieve the best possible performance from the Sybase Adaptive Server Enterprise (ASE) on IBM Power Systems running in the IBM AIX operating environment.

The focus of this white paper is on Sybase ASE 15.0.2 through ASE 15.5, running under AIX 5.3, 6.1, and 7.1 on the IBM POWER6 and IBM POWER7 processor-based servers. The recommendations of the original version of this white paper, published in March 2006, applied to IBM AIX 5L logical partitions (LPARs) with dedicated processors, memory, and devices. The 2009 revision of the paper also addressed all relevant aspects of IBM PowerVM including shared-processor LPARs (referred to as IBM Micro-Partitioning) and virtual I/O, features which are only available in the POWER 5, POWER6, and POWER7 processor-based servers with AIX 5.3 or later releases. The current revision of the white paper extends coverage to POWER7, enhancements to virtual I/O, and AIX 7.1 where relevant to ASE. Recent field and lab experience with POWER7 processor-based servers is applied to new or revised best practice recommendations. The recommendations apply to ASE Cluster Edition for AIX except where noted.

 

Full PDF:  Optimizing Sybase Adaptive Server Enterprise(ASE) for IBM AIX

Comments Off

SAS 9.2 on IBM AIX 7.1: Tuning guideline

Comments Off

SAS 9.2 on IBM AIX 7.1:

Tuning guidelines

 

This paper provides a starting point for performance optimization from a system-wide perspective to create an enhanced environment for SAS 9.2 on IBM® POWER® processor-based servers that run IBM AIX® 7.1.

 

§ Technology levels:

Use the latest version of AIX 7 Version 7.1 with the latest maintenance level and fix pack. Refer to the following website: ibm.com/support/fixcentral

At publication of this paper, TL00 with fix pack is considered to be the latest technology level.

 

§ IBM Hardware Managements Console (HMC):

Keep the HMC and microcode up-to-date.

You can search update bulletins for HMC and microcode at:

www14.software.ibm.com/webapp/set2/subscriptions/pqvcmjd

 

§ VMM:

AIX 7.1 default VMM parameters are mostly tuned for optimal SAS performance, except for one parameter. If needed, you can change the other values by using the AIX vmo command. It is suggested that you start with the following parameter value:

nokilluid=10

minfree=use greater of 960 or (128 * number of logical processors)

maxfree=(minfree + j2_maxPageReadAhead * number of logical processors)

Note: The following have been designated as restricted values in AIX 7 and should not be changed unless asked by AIX support. These values are already in-line with what SAS recommends.

 

  • maxperm%
  • maxclient%
  • strict_maxclient
  • strict_maxperm

 

§ I/O:

Tune I/O at the filesystem layer by using the AIX ioo command to enable Enhanced Journaled File System (JFS2) to perform efficient caching. It is suggested that you start with the following parameter values:

j2_dynamicBufferPreallocation=256

j2_nBufferPerPagerDevice=2048 j2_maxPageReadAhead=1024 j2_minPageReadAhead=16

j2_nPagesPerWriteBehindCluster=64

 

For higher workloads, it is recommended to increase the value of j2_maxPageReadAhead upto 2048.

 

§ Network:

Tune network parameters by using the no command. If SAS applications (such as SPDS, SPDE and/or SAS/CONNECT) are being used, set the following parameter value:

tcp_nodelayack=1

 

 

§ Maximum user process:

If the maximum number of processes for a single user exceeds 2000, increase the value of maxuproc to prevent SAS processes from abnormal shutdown or delay.

Increase the maxuproc setting by using the AIX smit or chdev command, for example: chdev –l sys0 –a maxuproc=<new value>

 

 

§ User limits:

Increase user-process resource limits for SAS users and database instances as appropriate (for example, unlimited or some tuned value for all resources (Refer to the Note).

In the /etc/security/limits file, set -1 for all resources.

Note: The default AIX user-process resource limits might be too low for SAS power users or large enterprise-class deployments of SAS. When SAS processes end because of attempts to exceed these resource limits, the system administrator typically sets all user-process resource limits to unlimited (a numeric value of -1) for users who run SAS. The problem with this approach is that the increased multithreading and scalability support in newer versions of SAS, coupled with an unlimited setting for user-process resource limits, allows other users to potentially exhaust system resources such as processor, memory I/O, and paging space. Before increasing user-process resource limits, such as memory, to very high values, carefully consider the potential consequences.

 

 

§ Paging space:

Configure the paging space to include at least the following suggestions:

Place paging spaces on dedicated disks to eliminate I/O contention.

 

Use multiple paging spaces that are spread across multiple disks.

 

Make the primary paging space hd6 a little bigger than the secondary paging spaces.

 

Ensure that the paging space is sufficient to support the number of concurrent SAS processes (because the number of SAS processes can be dynamic, depending on application workload).

 

§ Volume groups (VGs):

Use the AIX Scalable or Big volume group.

The scalable VG implementation provides configuration flexibility with respect to the number of physical volumes (PVs) and logical volumes (LVs) that a given instance of the new VG type can accommodate. The configuration options allow any scalable VG to contain 32, 64, 128, 256, 512, 768, or 1024 disks and 256, 512, 1024, 2048, or 4096 LVs. You do not need to configure the maximum values of 1024 PVs and 4096 LVs when creating the VG to account for potential future growth. You can increase the initial settings later, as required.

 

§ Disk layout:

Minimize disk contention between SAS temporary space and data spaces.

Avoid disk contention by placing SAS temporary-space file systems and SAS data file systems on physically separate disks.

 

Use multiple storage-server controllers to further separate and isolate the I/O traffic between SAS temporary and data spaces.

 

Use multiple mount points for SAS file systems. Place the operating system, SAS, user, SAS temporary space and SAS data file systems on separate physical disks.

 

Consider creating multiple SAS WORK areas that can be used by groups of SAS users.

 

Create separate JFS2 log files on separate physical disks for each SAS file system.

 

Spread the I/O workload across many physical disk spindles rather than across fewer, larger-capacity disks. Determine the sizing, based on the quantity of disks rather than disk capacity. Do not wrap logical unit numbers (LUNs) around the same spindle sets.

 

Do not share disk spindles with a RDBMS.

 

 

§ Release-behind mechanism for JFS2:

This feature allows the file system to release the file pages from file system buffer cache as soon as an application has read or written the file pages.

 

 

This feature helps when the SAS application performs a great deal of sequential reads or writes and most often, once accessed, these file pages are not accessed again in the near future. This feature can be configured on a file system basis. When using the mount command, enable release-behind by specifying one of the three flags below:

Release-behind sequential read flag (-rbr),

 

Release-behind sequential write flag (-rbw),

 

Release-behind sequential read and write flag (-rbrw).

 

§ Host bus adapters (HBAs):

Use an adequate number of HBAs from storage to the host server to provide the required application bandwidth.

Consider high-performance storage channels, such as Fibre Channel technology instead of slower mediums.

 

If possible, use dynamic multipathing to spread the I/O load across multiple adapters.

 

§ Redundant Array of Independent Disks (RAID):

Implement storage system RAID striping across multiple physical disks.

Use RAID10 or RAID5, depending on the level of redundancy and total capacity instead of the usable capacity that is needed for each file system type.

 

Use Logical Volume Manager (LVM) striping instead of concatenation.

 

 

§ LVM striping:

When choosing the disk stripe or segment size, or array stripe size, note that AIX file systems are aligned on a 16 KB boundary.

A strip is the size of data to be written to each physical disk in the array. A stripe is the size of the full write across all the physical disks in the array. For example: strip size x number of disks = stripe size

 

The AIX LVM stripe size that you can select from the smit lv create panel is actually the single strip size (not stripe). In other words, it is the size of data to be written to each of the array disks; it is not the full stripe size across all the physical disks. Consider using an LVM stripe size of 64 K or 128 K. Stripe sizes of 256 K or 512 K has shown better I/O performance in the case of SAS 9.2 workloads.

 

Synchronize SAS BUFSIZE with the storage-system stripe size and the AIX LVM stripe size (if using LVM striping) and VMM read-ahead increments.

 

Synchronizing I/O sizes streamlines I/O processing and reduces the number of I/O requests to the storage subsystem.

 

 

§ Resources:

For detailed tuning information, refer to the following publications:

Best Practices for Configuring your IO Subsystem for SAS9 Applications http://support.sas.com/rnd/papers/sgf07/sgf2007-iosubsystem.pdf

How to Maintain Happy SAS Users http://support.sas.com/resources/papers/happyIT.pdf

 

AIX 6 best practices for SAS on IBM POWER6

http://www.sas.com

 

Comments Off