- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Running HP-UX PA-RISC (LP64) code on IA 64 und...
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
Discussions
Discussions
Forums
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
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
тАО08-26-2008 07:20 PM
тАО08-26-2008 07:20 PM
I have a C++ application written and compiled on PA-RISC (HP-UX B.11.11 U 9000/800) using +DA2.0W i.e. LP64. I am running this code on an ITANIUM machine (HP-UX B.11.23 U ia64 0409362437) under emulation.
This code reads xml requests on port 3000 using socket 0 and writes the processed response back to socket 1. I am shooting same xml request to both these machines at the same start and end time (for 10 minutes duration) using a small requesting sending client applicatioin from a window machine. However the number of requests read off the socket on the PA-RISC machine is much higher ( two or three times higher) than the requests that are read off the socket on the IA machine.
Is there any system parameter I need to set or check on the IA machine to improve the numbers of requests reading off the socket on this machine?
Please advice. Thanks in advance.
Regards,
Shiv.
Solved! Go to Solution.
- Tags:
- Aries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 10:28 PM
тАО08-26-2008 10:28 PM
Re: Running HP-UX PA-RISC (LP64) code on IA 64 under emulation.
The emulation is called ARIES.
It runs unmodified binaries compiled under HP-UX PA-RISC on IA-64/Itanium systems.
ARIES runs 70% slower than native IA-64 code.
Much better option is to recompile your application on an Itanium system, thereby creating native IA-64 bit code. Any changes to the application if you want to go with emulation will have to be compiled on a PA-RISC system and then tested on IA-64.
Long term, the pain of recompiling your application to native IA-64 code is a better option. HP has code porting assistance that they provide to encourage these efforts. Talk to your friendly local HP rep.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 12:10 AM
тАО08-27-2008 12:10 AM
Re: Running HP-UX PA-RISC (LP64) code on IA 64 under emulation.
Is this CPU intensive? Aries will have performance issues in this case.
See the following about Aries performance numbers:
http://www.hp.com/go/aries
>Is there any system parameter I need to set
If this is I/O intensive, perhaps you have a point here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 07:36 AM
тАО08-27-2008 07:36 AM
Re: Running HP-UX PA-RISC (LP64) code on IA 64 under emulation.
The xml requests are very small in size ranging from 1 KB to 5 KB only. These are fired to the port 3000 on IA machine and are read off the socket 0.
If the instance of the server is busy processing a request and if during this time a new request comes in on port 3000, then a second instance of the server starts up and starts reading processing the new request.
I dont understand what does it mean when you say "CPU intensive".
Regards,
Shiv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 07:43 AM
тАО08-27-2008 07:43 AM
Re: Running HP-UX PA-RISC (LP64) code on IA 64 under emulation.
Aries is a bad choice for people that should really port their code.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 07:43 AM
тАО08-27-2008 07:43 AM
Re: Running HP-UX PA-RISC (LP64) code on IA 64 under emulation.
> I dont understand what does it mean when you say "CPU intensive".
Well, if you are polling your socket to see if there is data, then this can consume CPU excessively. A better approach is to 'select()'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 10:19 AM
тАО08-27-2008 10:19 AM
Re: Running HP-UX PA-RISC (LP64) code on IA 64 under emulation.
This means that the program that processes the XML request on PA-RISC box is a CPU intensive while the same program running under emulation on IA box is not.
So then where is the problem?
Regards,
Shiv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 10:47 AM
тАО08-27-2008 10:47 AM
SolutionYou can use 100% of any CPU with something like this:
# while true;do :;done
For that matter, to load up your 8 CPU server, do:
# perl -e 'fork;fork;fork;do {} while 1'
These are fine examples of CPU intensive processes.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 12:09 PM
тАО08-27-2008 12:09 PM
Re: Running HP-UX PA-RISC (LP64) code on IA 64 under emulation.
I used your CPU intensive scripts on the PA-RISC machine and then fired xml requests to my application. I found that the number of requests processed this time reduced drastically. The reason for this was that all the 8 CPU's on this machine were getting maxed out!
The same phenomenon was happening on the IA machine because it has only 2 CPU's.
Thanks and regards,
Shiv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 12:11 PM
тАО08-27-2008 12:11 PM
Re: Running HP-UX PA-RISC (LP64) code on IA 64 under emulation.
There was a misunderstanding on my part. I was not looking at the avg CPU%. I was looking at the individual CPU%. Later after looking closely, I noticed that I should be adding all the CPU% for a given CPU since the given CPU was proceesing more than one task at the same time. After doing this addition, I found that each CPU was reaching close to 100% (i.e. getting maxed out).
Thanks everybody for the assistance. I will be assigning points.
Regards,
Shiv.