AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  API's to get aio_reguests on AIX6

    Posted Fri August 27, 2010 07:46 AM

    Originally posted by: johnkati


    Hi,
    With the change to ioo from aioo in AIX6(http://www.ibm.com/developerworks/aix/library/au-aix6tuning/index.html#N106A2), i am looking for way to get the aio_maxreqs using an API inside a program. On AIX5, i was able to get the same from ODM device using getattr.

    I suppose sysconf(_SC_AIO_MAX); doesn't give me the info i am looking for.

    o/p of C program with sysconf(_SC_AIO_MAX) = 4096.
    o/p of running ioo -a | grep aio_maxreqs : 65536
    Thanks for the help in advance.

    --John
    #AIX-Forum


  • 2.  Re: API's to get aio_reguests on AIX6

    Posted Fri August 27, 2010 09:46 AM

    Originally posted by: styerd


    I don't know if it's any better than say, using popen() with ioo, but the values come from /proc/sys/aio/maxreqs, just open and read.
    #AIX-Forum


  • 3.  Re: API's to get aio_reguests on AIX6

    Posted Mon August 30, 2010 02:17 AM

    Originally posted by: johnkati


    Thanks for the reply.

    Can i understand why there is difference in sysconf(_SC_AIO_MAX) and ioo -a values ?
    #AIX-Forum