Solved

AIX j2_maxPageReadAhead vs maxpgahead

Posted on 2012-04-02
8
1,237 Views
Last Modified: 2012-04-18
In AIX

# ioo -a|grep head
           j2_maxPageReadAhead = 128
           j2_minPageReadAhead = 2
                    maxpgahead = 8


what is the difference between
j2_maxPageReadAhead vs maxpgahead ?
and why minpgahead is not showing?
0
Comment
Question by:it-rex
  • 4
  • 4
8 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 37798164
>> why minpgahead is not showing? <<

minpgahed is not showing because since AIX 6.1 it's a "restricted" tunable. These values are only visible when the -F flag is specified:

ioo -F -a | grep head


>>what is the difference ... <<

j2_maxPageReadAhead and  j2_minPageReadAhead are for sequentially accessed files on jfs2 (Enhanced Journaled File System).

maxpgahead and minpgahead are for files residing on Jfs (Journaled File System).

The "j2_..." tunable values don't have to be powers of 2, unlike the non-jfs2 tunables.

Besides that purpose and impact of both sorts of values are the same, and the same rules apply.

wmp
0
 
LVL 11

Author Comment

by:it-rex
ID: 37798239
How can I tell which file system I have?
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 37798269
Issue

lsfs

You will see the respective filesystem type in column 4 ("VFS").
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 11

Author Comment

by:it-rex
ID: 37800709
lsfs
Name            Nodename   Mount Pt               VFS   Size    Options    Auto Accounting

/dev/oraclelv08 --         /ora08                 jfs2  --      rw         yes  no


this is the one used by ASM right?
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 37800952
OK, it looks like being used by Oracle.

But doesn't ASM use its own filesystem implementation, acfs?
0
 
LVL 11

Author Comment

by:it-rex
ID: 37801043
Do you mean OCFS?
that if you are using RAC but we are not it is just a stand alone server using ASM.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 37801142
Anyway, ASM works on raw volumes, the I/O subsystem is directly handled by the Oracle kernel.

So standard AIX tuning will have no effect.

The filesystem whose characteristics you posted is a regular AIX jfs2 filesystem, so the "j2_..." tuning paraneters apply.

Seems we have disparate notions of ASM here ...

Try in SQL*Plus

SET PAGESIZE 100
SELECT VOLUME_NAME, VOLUME_DEVICE FROM V$ASM_VOLUME;

(in a non-ASM instance you won't get any output)

and

SET PAGESIZE 100
SELECT NAME FROM V$DATAFILE;
0
 
LVL 11

Author Closing Comment

by:it-rex
ID: 37860494
thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Audit HISTFILE for all users on AIX 9 146
Sparc Solaris hangs without crash dump & no events from messages 3 87
cron job says it ran, no results 25 122
lunix and unix command 21 87
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question