I was attempting to bring up ~400 OSD's. It would be nice if they didn't take up so much memory so I can build lots of VM's, since the first one needs 1G, second say 512M, next 256M, etc.. Till they get to the steady state... I'd like to be able to boot them all with 128M or 256M which should be fine once the filesystem is actually running.
Evan On 7/28/09 5:19 PM, "Sage Weil" <s...@newdream.net> wrote: > Hi Evan, > > On Mon, Jul 27, 2009 at 12:36 PM, Evan Felix<evan.fe...@pnl.gov> wrote: >> Can someone give me a run down of the memory needs of running a cosd? I?m >> trying to build a largeish test filesystem using virtual machines, and just >> starting the first cosd seems to take over a gig of memory. This makes it >> fairly hard to make a lot of VM?s on a single box. Is there a way to reduce >> the memory footprint. >> >> In my looking it seems I have over 38000 PG?s allocated, does this seem like >> a reasonable number? > > The memory use you're seeing is proportional to the number of PGs. For a > default mkfs, it's the number of OSDs you specify * 64... did you specify > ~600 osds? > > The memory usage on the first OSD(s) will be higher because all of the pgs > will initially be allocated and created there. Once other osds start up > they'll get redistributed, so your memory usage per-osd will fall off > dramatically. Steady state should be under 100mb (assuming no active > recovery, etc. is going on). > > Let me know if it's causing you problems as the other OSDs start up and > I'll see what I can do about memory consumption. It does sound like it's > higher than it should be. > > sage ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Ceph-devel mailing list Ceph-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ceph-devel