Interesting performance difference
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Interesting performance difference




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Interesting performance difference  
Gary


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 12:47 PM

I've been testing a C routine I've written that uses zlib. The module is
compiled with xlc with -O5.

The thing I can't explain is this. Testing the module on two p615 boxes, one
is a 7029-6E3, single CPU 1.2GHz running AIX 5.1 and the other is a 7029-6C3
single CPU 1.2GHz running AIX 5.2, both machines have 1GB RAM (the test
program is small) and 2 x mirrored 36GB disks (no IO involved). The program
runs the same 8K of random data through zlib compression, followed by a base
64 encode, and it does this 50,000 times.

On the AIX 5.1 machine, the runs average real   0m22.75s, user    0m22.48s

And on the 5.2 machine, real    0m34.68s, user    0m34.33s

I'm at a loss to explain why this statically linked binary runs so much
slower on 5.2 than 5.1, given the two p615s are identically configured (save
for one being the rack version and one is the tower).

Any ideas on what could be happening or how I could identify where the extra
time is going?







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:01 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register