Operating System - HP-UX
1832359 Members
2595 Online
110041 Solutions
New Discussion

parameters defining performance of 32 and 64 bit appls. on 64 bit HP-UX

 
Anu Mathew
Valued Contributor

parameters defining performance of 32 and 64 bit appls. on 64 bit HP-UX

Hi all,

I have an L 3000/4GB RAM running 11.00 64 bit. Of the main three applications, one is 32 bit and rest are 64 bit. I am facing problems of "NO space" when trying to run all the three. I've 8 GB of swap and this system is not yet released for production.

What are the kernel parameters I should check, so that I can run all the applications?

The 32 bit appl. is Sybase and samx and ignite (X env.) are the "64 bit" applications. [I assume that since the OS is of 64 bit, sam and ignite are 64 bit binaries. Is there a way to check this out from the binaries/executables?]

Thanks in advance for your time and responses,

Anu Mathew
3 REPLIES 3
Herve BRANGIER
Respected Contributor

Re: parameters defining performance of 32 and 64 bit appls. on 64 bit HP-UX

Hi,

Can't reply to your space problem but you can
see if an executable file is 32 or 64 bits with
the file command :

- 32 bit : type is "PA-RISC1.1" file
- 64 bit : type is "ELF64" or "PA-RISC2.0"

If you use chatr (chatr ) you can
see "64 bits..." in the result for a 64 bits
binary. I test on my L1000 and samx seems to
be a 32 bits binary...


Hope it's help,

Herve

Anu Mathew
Valued Contributor

Re: parameters defining performance of 32 and 64 bit appls. on 64 bit HP-UX

Hi,
Thanks for the response. Using chatr on an exe file dataserver gives the following o/p

dataserver:
normal SHMEM_MAGIC executable
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared library list:
dynamic /usr/lib/libdld.1
shared library binding:
deferred
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
static branch prediction enabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
data page size: L (largest possible)
instruction page size: L (largest possible)


a file dataserver gives the following:
dataserver: data

It says nothig about the bits..

Regards

Anu Mathew
Herve BRANGIER
Respected Contributor

Re: parameters defining performance of 32 and 64 bit appls. on 64 bit HP-UX


Hi

Think there is another method... You can see
in :
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xc69d663ce855d511abcd0090277a778c,00.html

that ldd doesn't works with 32bits binaries,
so you can try ldd and if it works
well it's a 64bits binary...

I saw in chatr man page that SHMEM_MAGIC is
an option BEFORE real HPUX 64 bits support...
So I think you have a 32 bits binary

Regards,

Herve