AIX

AIX

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


#Power
 View Only
Expand all | Collapse all

!!!AIX 5.3 64bit unlink performance is just 66/sec

  • 1.  !!!AIX 5.3 64bit unlink performance is just 66/sec

    Posted Wed September 10, 2008 12:49 PM

    Originally posted by: SystemAdmin


    Hi,

    We make use of AIX 5.3 OS and our application make use of unlink. Peformance is too low. On SuSE-10 we can achive 25000/sec but on AIX5.3 64bit xlC_r 6 version we get
    66/sec. FileSystem type is JFS2. Pls suggest how it can be improved comparable to SuSE-10. Our application is about to deploy and we find this surprise,pls help.
    If u need any other info let us know.
    Test Code is as below,
    xx()

    {
    stTime;
    for (int j=0; j<10000; j++)
    {

    fopen();

    fclose();

    unlink

    }
    endTime;
    }
    regards
    ragha
    #AIX-Forum


  • 2.  Re: !!!AIX 5.3 64bit unlink performance is just 66/sec

    Posted Mon September 15, 2008 03:13 PM

    Originally posted by: nagger


    Hi,
    First, your compiler is historic. Can you update to v9?
    Second, are you compiling with -o2 or -o3 optimiser?
    Third, what file system are you using on SUSE 10?
    Is it a journaling file system like JFS2? If not then all bets off = SUSE may be faster but its also unsafe for Enterprise work as a panic would require a ckfs that could take many hours on large disks.
    Fourth, where have you placed the JFS2 log? Best place it on a different disk than the one you are deleting files from for performance because the JFS2 log if probably the bottleneck.
    Fifth, You say AIX 5.3 is that TL 08 or some ancient release? Use oslevel -s to determine this.
    Sixth, did you try the code without the unlink() to make sure its the unlink that is the issue.

    Hope you find something of use above, thanks Nigel
    #AIX-Forum