add_to_heap() - Unable to allocate memory
Posted: Tue Jan 24, 2006 12:25 pm
Hi,
to improve the performance i try to load in memory an hash file but its dimention is about 2GB.
To load in memory the file I set 999MB in "Read cache size" and 999MB in "Write cache size" in the tunable page of Administrator, and I split the hash file in 3 hash file (I suppose to obtain 3 file of 700 MB).
The server is an HP with HP-UX 11, 8 GB of Ram and 200 GB allocated for the temporary file .
I modified the value of some kernel parameter (maxdsiz to 4GB and maxdsiz_64bit to 6 GB).
I used the command shmtest (the result is below) but i don't understand which are the uvconfig parameter that i must modify to obtain to load the hash file in memory
I try to read the previous post, but I can't find the solution.
Can someone help me?
Which are the kernel parameter that i must modify?
And Which are the uvconfig parameter that i must modify?
Thanks in advance
Regards
Mario
output of shmtest command:
Step 1: Performing an init() operation
: Operation successful
Step 2: Getting uvhome directory
: uvhome = /app/Ascential/DataStage/DSEngine/.uvconfig
Step 3: Reading in Tunables
: Operation successful
Step 4: Determining segment sizes
: Dsegsize = 13678272
: Psegsize = 10240
: Csegsize = 10485760
: Nsegsize = 0 ***(NLS inactive)
Step 5: Creating segments
: Dshmid = 1212
: Pshmid = 2613
: Cshmid = 414
Step 6: Determining memory locations
: ***using Cshmseg
: base memval = 0x4003f000
: old memval = 0x7b02fc00
: top memval = 0x7b02fc00
: tot. memory = -989793280 bytes
Step 7: Calculating segment attach points based on size
: Nmemoff = 0x0
: Cmemoff = 0x7b02e000
: Pmemoff = 0x7b02a000
: Dmemoff = 0x7a31d000
Step 8: Performing a fin()
: Operation successful
Step 9: Attaching to segments
: Dshmptr = unsuccessful
Step 10: Cleaning up
: segment detach successful
: segment removal successful
to improve the performance i try to load in memory an hash file but its dimention is about 2GB.
To load in memory the file I set 999MB in "Read cache size" and 999MB in "Write cache size" in the tunable page of Administrator, and I split the hash file in 3 hash file (I suppose to obtain 3 file of 700 MB).
The server is an HP with HP-UX 11, 8 GB of Ram and 200 GB allocated for the temporary file .
I modified the value of some kernel parameter (maxdsiz to 4GB and maxdsiz_64bit to 6 GB).
I used the command shmtest (the result is below) but i don't understand which are the uvconfig parameter that i must modify to obtain to load the hash file in memory
I try to read the previous post, but I can't find the solution.
Can someone help me?
Which are the kernel parameter that i must modify?
And Which are the uvconfig parameter that i must modify?
Thanks in advance
Regards
Mario
output of shmtest command:
Step 1: Performing an init() operation
: Operation successful
Step 2: Getting uvhome directory
: uvhome = /app/Ascential/DataStage/DSEngine/.uvconfig
Step 3: Reading in Tunables
: Operation successful
Step 4: Determining segment sizes
: Dsegsize = 13678272
: Psegsize = 10240
: Csegsize = 10485760
: Nsegsize = 0 ***(NLS inactive)
Step 5: Creating segments
: Dshmid = 1212
: Pshmid = 2613
: Cshmid = 414
Step 6: Determining memory locations
: ***using Cshmseg
: base memval = 0x4003f000
: old memval = 0x7b02fc00
: top memval = 0x7b02fc00
: tot. memory = -989793280 bytes
Step 7: Calculating segment attach points based on size
: Nmemoff = 0x0
: Cmemoff = 0x7b02e000
: Pmemoff = 0x7b02a000
: Dmemoff = 0x7a31d000
Step 8: Performing a fin()
: Operation successful
Step 9: Attaching to segments
: Dshmptr = unsuccessful
Step 10: Cleaning up
: segment detach successful
: segment removal successful