On Mar 9, 2012, at 9:48 PM, Tom Browder wrote:

> On Fri, Mar 9, 2012 at 17:09, Christopher Sean Morrison <[email protected]> 
> wrote:
>>> No, pdf works fine with the JRE.  But  I can easily add it for the 
>>> librtserver.
>> 
>> Save the bytes if they're significant.  Leaving librtserver out of the 
>> compile doesn't
>> affect newbie developers in the least.
> 
> Well, final size of the VM is 5+ Gb with a (built and installed debug
> version of BRL-CAD 7.21.0 and a full brlcad/trunk.

Ouch!  Can you pull an inventory of where the most space is being taken up?  I 
was expecting we'd be able to come in around half that.

Top 100 directories by recursive size:

find / -type d -print0 | xargs -0 du -ks | sort -n | tail -100

Top 100 directories by content size:

find / -type d | while read dir ; do echo "`ls -l \"$dir\" | grep -v '^[td]' | 
awk '{i=i+$5} END {print i}'` $dir" ; done | grep -v '^ ' | sort -n | tail -100

They'll probably take a little while to run in a VM..

> My suggestion (and what Im doing) is to delete
> svn/brlcad/brlcad/trunk/* ad let the new VM owner just do:

A trunk checkout is only about 600MB and is the single most important part of 
the entire image.  That'd be the very last thing I'd delete.  The install in 
/usr/brlcad is about 1-2GB, so that could go if needed, but I'm suspicious 
about where the other 2-3GB is coming from.  The base image shouldn't need to 
be that big.  We may need to cut out all those niceties (like an IDE, the JDK, 
and Java-dependent tools)

> Instructions (a README) will tell the young dev what to do, etc.

That already exists elsewhere but doesn't address the target audience.  
Remember, completely inexperienced newbie dev.  If we have to explain anything 
once the VM is started, we've missed the target.

Hopefully the size listings will indicate where the most space is being eaten 
up.

Cheers!
Sean


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to