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

  • Register

IBM Power Systems Blog

Power Systems
  • Front Page
  • Categories
  • Archives
  • Latest comments
  • « Optimising Power with Affinity Groups
  • p7 vs p8 Real World Core Reductions »

AIX NIM Server Tuning

Posted by steve on 19 Jul 2017 in AIX Tuning, NIM Tips

Here are some tuning options you should consider implementing on your NIM Server.  Generally, most NIM servers are probably fairly small with may be one or two vCPUs and perhaps 8GB of RAM.  The don't do very much work unless you are installing new LPARs or they are a repository for your mksysb backups every night.

You can refer to my detailed blog post here:  aix-nim-server-tuning

 

Turn off JFS file caching.

Most mksysb images are probably larger than the amount of memory in your NIM server, so there is no point caching the JFS reads or writes on this filesystem.  The lpp_source and SPOT directories are generally read or written once with little (if any) re-read or re-write of data.

The exception to this would be if you are installing multiple AIX LPARs in parallel, in which case you could temporarily turn JFS caching back on (# mount -o remount,rw,norbrw,noatime /export/lpp_source or spot)

# mount -o remount,rw,rbrw,noatime /export/mksysb

# mount -o remount,rw,rbrw,noatime /export/lpp_source

# mount -o remount,rw,rbrw,noatime /export/spot

# chfs -a options=rw,noatime,rbrw /export/mksysb

# chfs -a options=rw,noatime,rbrw /export/lpp_source

# chfs -a options=rw,noatime,rbrw /export/spot

 

 

 

Free Memory Pools.

The mksysb images being read or written to the /export/mksysb mount are large, you should ensure that you have enough free memory for the IO buffers.  If you are suffering from 'free frame waits' you need to increase the free memory pools.

<code># vmstat -s | grep 'free frame waits'

357746    free frame waits

 

Increase the free memory pool size.  These numbers may look big, but they are the number of 4K pages to keep on the free list per memory pool, so they equal 40MB and 48MB respectivly.  If your NIM Server has 8GB of memory, that is not a very big free memory pool size.

# vmo -po maxfree=12288 -o minfree=10240

 

Sequential read ahead and write behind.

The mksysb images are generally very large and you will be reading and writing them sequentially, so tuning the sequential read ahead and write behind.

# ioo -po j2_nPagesPerWriteBehindCluster=256 -o j2_maxPageReadAhead=1024

 

Dynamic IO Buffers.

Lastly, allow AIX to dynamically allocate the maximum number of IO buffers if it needs them.

<code># ioo -po j2_dynamicBufferPreallocation=256

 

 

 

Tags: AIXFree MemoryJFSJFS2Memory PoolNIM Server TuningTuningfree frame waitsioomaxfreeminfreemksysbmountrbrwvmovmstat

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 • Forums software

CMS with Bootstrap
Cookies are required to enable core site functionality.