On Tue, 9 Jul 2013, Jed Brown wrote:

> Satish Balay <ba...@mcs.anl.gov> writes:
> 
> > I was thinking more in terms of what amzon would charge for using such
> > big images. [presumably charge rate would be higher]
> 
> It is just disk space; the EBS limit is 1 TiB:
> 
> http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device

Hm http://aws.amazon.com/ec2/pricing/ talks about 'instances' 'small,
medium, large etc..'  Not sure what they refer to.

> >> I don't understand how it can be that big.  6GB is my entire system
> >> including KDE, GNOME, and ton of other huge extraneous packages.
> >> Non-debug libpetsc.so is less than 10MB.  Anyway, I think this is the
> >> distribution model
> >
> > The debug builds are huge. [perhaps they can be trimmed down a bit
> > with -g insted of '-g3' ]
> 
> My build with gcc-4.8.1 -g3 is 45 MB and with clang-3.3 -g3 is 28 MB.
> This amount of storage is not the problem.

[petsc@localhost ~]$ du -sh petsc-3.3-p6/
1.5G             petsc-3.3-p6/
[petsc@localhost ~]$ du -sh petsc-3.3-p6/arch-linux2-c-debug/
639M             petsc-3.3-p6/arch-linux2-c-debug/
[petsc@localhost ~]$ du -sh petsc-3.3-p6/externalpackages/
676M             petsc-3.3-p6/externalpackages/
[petsc@localhost ~]$ du -sh petsc-3.3-p6/arch-linux2-c-debug/lib/*
1.6M             petsc-3.3-p6/arch-linux2-c-debug/lib/libamd.2.2.2.a
0                petsc-3.3-p6/arch-linux2-c-debug/lib/libamd.a
20M              petsc-3.3-p6/arch-linux2-c-debug/lib/libblacs.a
7.0M             petsc-3.3-p6/arch-linux2-c-debug/lib/libchaco.a
4.4M             petsc-3.3-p6/arch-linux2-c-debug/lib/libcmumps.a
4.3M             petsc-3.3-p6/arch-linux2-c-debug/lib/libdmumps.a
48M              petsc-3.3-p6/arch-linux2-c-debug/lib/libHYPRE.a
7.1M             petsc-3.3-p6/arch-linux2-c-debug/lib/libmetis.a
1.3M             petsc-3.3-p6/arch-linux2-c-debug/lib/libmumps_common.a
6.5M             petsc-3.3-p6/arch-linux2-c-debug/lib/libparmetis.a
172M             petsc-3.3-p6/arch-linux2-c-debug/lib/libpetsc.a
1.1M             petsc-3.3-p6/arch-linux2-c-debug/lib/libpord.a
968K             petsc-3.3-p6/arch-linux2-c-debug/lib/libptesmumps.a
37M              petsc-3.3-p6/arch-linux2-c-debug/lib/libptscotch.a
136K             petsc-3.3-p6/arch-linux2-c-debug/lib/libptscotcherr.a
136K             petsc-3.3-p6/arch-linux2-c-debug/lib/libptscotcherrexit.a
484K             petsc-3.3-p6/arch-linux2-c-debug/lib/libptscotchparmetis.a
29M              petsc-3.3-p6/arch-linux2-c-debug/lib/libscalapack.a
4.3M             petsc-3.3-p6/arch-linux2-c-debug/lib/libsmumps.a
1.4M             petsc-3.3-p6/arch-linux2-c-debug/lib/libspai.a
22M              petsc-3.3-p6/arch-linux2-c-debug/lib/libspooles.a
11M              petsc-3.3-p6/arch-linux2-c-debug/lib/libsuperlu_4.3.a
6.5M             petsc-3.3-p6/arch-linux2-c-debug/lib/libsuperlu_dist_3.1.a
264K             petsc-3.3-p6/arch-linux2-c-debug/lib/libtriangle.a
32M              petsc-3.3-p6/arch-linux2-c-debug/lib/libumfpack.5.5.1.a
0                petsc-3.3-p6/arch-linux2-c-debug/lib/libumfpack.a
4.4M             petsc-3.3-p6/arch-linux2-c-debug/lib/libzmumps.a
[petsc@localhost ~]$ 

> 
> > Also we discussed defaulting to gcc-4.7+ - so I used fedora-18 which
> > has that default. And all the default developer software adds up to
> > the basic install.
> >
> > I attempted a minimal linux with xfce [one of the light weight
> > desktops] If we distribute images we need a desktop - but with amazon
> > - I guess that could be cut down [and cut down X?] - and bring down
> > the disk requirement.
> 
> Do people want remote desktop on EC2?  If AMS can provide GUI stuff then
> even PETSC_VIEWER_DRAW_ functionality could be put in their web browser,
> which I think will ultimately be nicer to interact with anyway (but
> makes https critical unless we also ask them to add port forwarding so
> that it tunnels over SSH).

I was guessing one would use 'ssh' to login to EC2? - so X11 over ssh
might be useful? [perhaps not a desktop]

The image I created [with desktop] was more from the POV of downloading one
from our ftp site - and running on VirtualBox.

> > Also amazon images might cut down on swap and other stuff that might
> > take up space on a regular VM. [my cleaned up image of 5.4GB might be
> > with swap zeroed/compressed out..]
> 
> Ultimately, it doesn't matter because it'll all be in EBS and 5GB
> vs. 50GB is irrelevant.  It matters for a VM.

ok..

satish

Reply via email to