AIX j2_maxPageReadAhead vs maxpgahead

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?
LVL 11
it-rexAsked:
Who is Participating?
 
woolmilkporcConnect With a Mentor Commented:
>> 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
 
it-rexAuthor Commented:
How can I tell which file system I have?
0
 
woolmilkporcCommented:
Issue

lsfs

You will see the respective filesystem type in column 4 ("VFS").
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
it-rexAuthor Commented:
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
 
woolmilkporcCommented:
OK, it looks like being used by Oracle.

But doesn't ASM use its own filesystem implementation, acfs?
0
 
it-rexAuthor Commented:
Do you mean OCFS?
that if you are using RAC but we are not it is just a stand alone server using ASM.
0
 
woolmilkporcCommented:
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
 
it-rexAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.