- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- performance difference for pdf creation
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 04:55 AM
02-28-2006 04:55 AM
performance difference for pdf creation
We have 2 servers, one with Linux and one with HPUX. We deployed a j2ee application on both servers. This application queries the database and generates a pdf file. The HPUX machine has a lot more CPU and memory than the Linux server. But, the HPUX machine took 5 times as long to run the application as the Linux server. We would expect the reverse to be true, due to the memory and cpu difference.
Has anyone encounter this, or know what is causing the performance difference?
HPUX: PA-RISC, 2 CPU 875MHZ, 12 GB of ram
Linux: Intel Xeon, 2 CPU 800 MHZ, 8Gb of ram
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 05:19 AM
02-28-2006 05:19 AM
Re: performance difference for pdf creation
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 06:41 AM
02-28-2006 06:41 AM
Re: performance difference for pdf creation
This is what we have for the kernel settings:
dbc_max_pct is 50 ; min_pct is 5
Are these settings fine, or do we need to change them? What are these settings use for?
Our OS patches last done at the end of September.
I am timing the application on when I press the report button and when it comes back with the pdf report on my desktop.
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 08:28 AM
02-28-2006 08:28 AM
Re: performance difference for pdf creation
I'd also suggest running pings and traceroutes from both boxes to your desktop to see if there's a disparity in the network performance and number of hops. The duplex match-up with the HP system and the network switch to which it's attached is also a key item to verify.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2006 12:20 AM
03-10-2006 12:20 AM
Re: performance difference for pdf creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2006 12:49 AM
03-10-2006 12:49 AM
Re: performance difference for pdf creation
Of course. dbc settings are rather unlikely to have a major effect for an application which is unlikey to do major file IO.
>> One thing I forgot to mention is that when we up the heap size to 256MB, from the default of 44MB, the performance got better. In speeded up to 1.5 minutes from 5 minutes.
Excellent. That is progress.
What I miss most in your description is an indication of what is happening during those 90 seconds on the HPUX box versus the Linux box.
- Are those systems 100 busy for 1 cpu (50% total cpu)
- Is there perhaps significant network work and is the network efficiency different from the selected client. How about ftp-ing a dozen similar files from both hosts to the client and see if that performs similarly.
- If there is significant cpu burn, then which process is burning it, and which mode?
-- User time or System time
-- Java provess or Database process.
== If it is high cpu time in the java process, then further java (GC) tuning my be your best bet.
If it is the database,
== If it is the database where the time is spend, well then is it time for basic sql analysis. Get a trace, compare execution plans, verify indexes and so on.
Cheers,
Hein.
But it is still slow comparing to the Linux box as 50 seconds, configured with default heap size of 44 MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2006 01:21 AM
03-10-2006 01:21 AM
Re: performance difference for pdf creation
On the Linux server, the CPU usage jumps to 99% immediately. Whereas the CPU usage for the HPUX server went up steadily, to 99%. It took about 20seconds to it to reach 99%.
I am using the same client/PC for this test and they are using the same DB.
- If there is significant cpu burn, then which process is burning it, and which mode?
>> can you tell me how to find the mode that you refer to
-- User time or System time
>> I am using my watch, timing it from when I click the report button until the report appears on my pc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2006 01:40 AM
03-10-2006 01:40 AM
Re: performance difference for pdf creation
It took about 20seconds to it to reach 99%.
Wild speculation on my part, but to me this _suggests_ that on HPUX the database (Oracle?) still needs to find stuff, from the disks, before it gets into using that data. Are the databases configured compareably? Similar buffer space (SGA?)? Same indexes? Tables analyzed and with valid stats in both places?
Of course it could also be growing address space, or doign security og entries, or maybe a database trace is active on one box and not the other. So many possible differences to eliminate!
>> and they are using the same DB.
How can they be using the same DB?
Different box, different architecture no?
It may be the same software & version, and you may have attempted to load the data exactly the same, but difference all too easily sneak in.
>> can you tell me how to find the mode that you refer to
Just using TOP or VMSTAT (maybe with 1 second report interval for the duration of your test). Look at system and user time. You may even want to post vmstat output for both systems here as a .txt attachment.
It woudl also give an indication of memory management activities (if any).
-- User time or System time
>> I am using my watch, timing it from when I click the report button until the report appears on my pc
Again, SAR or VMSTAT can give a first explanation on how the server time is being used and whether there are recognizable phases.
Is this a client/server setup where the processes stay around? In that case a ps -ef before and after and calculating the cpu time increments may give a nice hint at to where to look, but normally TOP is quicker.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2006 02:07 AM
03-10-2006 02:07 AM
Re: performance difference for pdf creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2006 02:18 AM
03-10-2006 02:18 AM
Re: performance difference for pdf creation
So this is a 3-tier setup really.
And like you said the DB is the same.
(barring perhaps a minor details in SQLnet configs and TCP detail settings as sometimes defined from the middle tier).
If you have insight/connectivity to the DB backend i would still recommend getting an insight into when, and how long, it gets invoked, but i now suspect that not to be too relevant.
Sometimes for a quick shootout I would again use vmsstat in two windows, one on the middle tier, one on the db at 1 second rate to understand the timings/loads better.
Back to Oracle apps server, and java tuning...
good luck!
Hein.