Re: [osg-users] [vpb] VPBmaster consumes over 16GB of RAM

2013-04-24 Thread Arthur Bogard
Hello Robert,

I have two different machines that I've got functioning independently of one 
another, one with 16GB of RAM and one with 32GB of RAM.  I'm currently 
attempting to process the ASTER dataset on the 16GB of RAM machine (Quad Core 
i5).

For the dataset statistics I provided above, how much RAM do you think it 
should consume?  Is there a way to dynamically add or remove cores depending on 
predicted RAM useage for a dataset?  Or do you have to just monitor the system 
useage, kill VPB when you think you can add a second core to the system, and 
restart using the --tasks command?

Does the native clustering virtualize RAM?  Or should I attempt to delve back 
into SGE or another resource distribution service?

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53791#53791





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] VPBmaster consumes over 16GB of RAM

2013-04-23 Thread Robert Osfield
Hi Arthur,

I haven't worked with your specific data but in general vpbmaster should
consume massive amounts of memory.  Could it be that the osgdem tasks that
it spawns are the problem?  Are you running on a cluster of machines or on
a single machine multi-threaded?

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [vpb] VPBmaster consumes over 16GB of RAM

2013-04-22 Thread Arthur Bogard
Hello all,

I'm having some significant problems using VPB processing extremely large 
datasets.  For this example, we'll take a look at the ASTER dataset which 
comprises 528.2GB of data split among 21,844 GeoTIFFs.  The first problem I had 
was an error about too many open file handles.  I upped the allowable number of 
open files from 4096 to 65536 through PAM and limits.conf.  No longer do I 
receive errors pertaining to open file limit issues, but now I'm seeing 
vpbmaster consuming over 16GB of system RAM when trying to generate databases 
(16GB is the amount of available RAM I have on the system, so it typically 
starts eating into significant SWAP and slows the system to a crawl).

Is there a method to help limit vpbmaster from consuming that much RAM during 
normal use?


Question two:
I've attempted to process just one hemisphere at a time (North and South 
separately) to avoid issues with the out of memory, and it seemed to work great 
(only consumed about 4GB of RAM at any time).  I pointed vpbmaster to a 
directory with only Northern hemisphere items, and the processing commenced 
normally.  But, it began failing and blacklisting all of the cores as soon as 
it started processing southern hemisphere items.  I was using the command 
> vpbmaster --geocentric --terrain -d /path/to/northernhemisphere -O 
> Compressor=zlib -o output.osgb

Anyway, I decided to look in the code, and I commented out the blacklist 
command in the MachinePool.cpp and uncommented the IGNORE_FAILED_TASK, and 
everything worked fine from that point forward.  Is there a reason that 
blacklisting is the first thing VPB goes to?  Am I doing something wrong by 
allowing it to just ignore the failed tile and move on?

Thanks so much, I'd love to hear your inputs!

Arthur

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53677#53677





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org