Verify 4 GB Limit is overcome in 64 Bit Processor


 
Thread Tools Search this Thread
Operating Systems HP-UX Verify 4 GB Limit is overcome in 64 Bit Processor
# 1  
Old 04-04-2013
Verify 4 GB Limit is overcome in 64 Bit Processor

We are moving from a 32 Bit PA-RISC processor to 64 Bit Itanium processor based System.
I am aware that 64 Bit processor allows for memory (RAM) addressibility beyond the 4 GB memory (RAM) limit imposed by a 32 bit processor

I have been asked to prove that the new systems are capable of addressing RAM beyond 4 GB

Is there any utility that I can use to prove this or UNIX command or script

Any input / help on this would be great!

Thanks in advance.

-Allan
# 2  
Old 04-04-2013
Verify that you're running 64-bit executables and not 32-bit executables and you've verified that you have a 64-bit address space.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 04-04-2013
Quote:
Originally Posted by Corona688
Verify that you're running 64-bit executables and not 32-bit executables and you've verified that you have a 64-bit address space.
Hi Corona688,

Thanks for responding.
Yes I am executing 64 bit executable.
But how do I verify that I am using a 64-but address space?
Is there a some script or a system command that can tell me this?
PS:- I am on a HP-UX Itanium machine

Cheers,

-Allan
# 4  
Old 04-04-2013
Quote:
Originally Posted by allanbm
Yes I am executing 64 bit executable.
But how do I verify that I am using a 64-but address space?
If you can run a 64-bit executable, it must have a 64-bit address space. 64-bit executables cannot run in a 32-bit address space.

This might not be the same thing as being able to allocate 5 gigs of ram though, since there might be system policies in place or some such.

Do you have a C compiler on your machine?
# 5  
Old 04-05-2013
Quote:
Originally Posted by Corona688
If you can run a 64-bit executable, it must have a 64-bit address space. 64-bit executables cannot run in a 32-bit address space.

This might not be the same thing as being able to allocate 5 gigs of ram though, since there might be system policies in place or some such.

Do you have a C compiler on your machine?

Thanks Again.
Yes I do have a C Compiler on the machine.
# 6  
Old 04-05-2013
Code:
#include <stdlib.h>
#include <string.h>

int main(int argc, char *argv[])
{
        // Allocate 5 gigs of address space
        void *mem=calloc(1024*5, 1024*1024);

        // Write to all this memory, will take a while
        memset(mem, 0, (size_t)(1024*5) * (size_t)(1024*1024));
}

# 7  
Old 05-04-2013
What 4 Gigabytes memory limit? This is not Microsoft Windows NT.

There is a 2 Gigabyte file size addressing limit with 32-bit HP-UX Operating Systems. The theoretical 2 Gigabyte memory addressing limit in HP-UX was addressed by changing the page size such that the the maximum became a multiple of the page size. Watch the boot-up on a large memory 32-bit system (16 Gb) when it relocates memory. You should see the same on a 4 Gigabyte memory system.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

overcome unwanted input values in korn shell

Hi All, we are doing automation for installation of oracle, a) ORACLE_HOME_NAME b) ORACLE_HOME above are the argument we need to pass during the script execution, while doing this someone issue the value like ORACLE_HOME=/optware/oracle/11g;rm -rf /optware/oracle/10g its removing... (1 Reply)
Discussion started by: kamauv234
1 Replies

2. HP-UX

[Solved] processor type and bit information

Hi, I'm trying to download a compatible Oracle Client software for a HP-UX machine. I'd like to know if ... 1) HP-UX is 32 bit or 64 bit? 2) Processor type - Itanium or regular? when I execute uname -a I get HP-UX B.11.11 U 9000/800 728684161 unlimited-user license Based on the... (7 Replies)
Discussion started by: luft
7 Replies

3. Programming

a large file causes segment, how to overcome?

When printing a large file, segment occured. but part of it can be printed normally. There seems no mistake in usage. How to solve the problem. Actually, the file is not very very large. Only 300-400 A4 pages. Thanks (1 Reply)
Discussion started by: cdbug
1 Replies

4. Solaris

how to know the processor bit capacity

how to know for a particular solaris machine whether i am having a 64 bit or 32 bit processor??? like for machine with details SunOS 5.8 Generic_108528-20 sun4u sparc SUNW,Sun-Blade-100 (3 Replies)
Discussion started by: mobydick
3 Replies

5. Linux

Built in ram limit for 64 bit

Hey all, I have been thinking about getting a new computer, and the motherboard I am looking at is capable of holding up to 8 Gb of ram. Now it appears as though for 32 bit linux, in order to use more than 4 Gb of ram, you had to enable a certain option in the kernel, but if I remember... (2 Replies)
Discussion started by: kermit
2 Replies

6. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies

7. Shell Programming and Scripting

How to overcome Segmentation Fault in Unix ??

Hi.. I want to add a line of data to a already existing file.. When i use echo "1i\nGROUP_NAME,JOB_NAME,STATUS,PROCESS_GROUP,JOB_START,JOB_END \n.\nwq" | ex -s abc.txt where abc.txt contains only Hello Testing Insert I am getting this.. dumb: Unknown terminal type ksh: 19464... (4 Replies)
Discussion started by: charan81
4 Replies

8. UNIX for Dummies Questions & Answers

Solaris (verify 64 or 32 bit

Hello !! Does anyone know how can I verify if my Solaris is 32 or 64 bit ?? Thank you ! Witt (3 Replies)
Discussion started by: witt
3 Replies
Login or Register to Ask a Question