All of lore.kernel.org
 help / color / mirror / Atom feed
* Some findings on 0.48, qemu-1.0.1 eating up RDB-write-cache memory
@ 2012-07-09 11:26 Oliver Francke
  2012-07-09 18:16 ` Stefan Priebe
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Francke @ 2012-07-09 11:26 UTC (permalink / raw)
  To: ceph-devel

Hi *,

as I have read many postings from users using qemu, too, I would like 
them to keep an eye on memory consumption.

I'm with qemu-1.0.1 and qemu-1.1.0-1 and linux-kernel 3.4.2/3.5.0-rc2.

If I restart a VM from cold, I do some readings, up to memory being 
fully used ( cache/buffers), that is, VM started with:

     -m 1024

and I can see RSS of 1.1g in top.
After doing some normal IOps testing with:
     spew -v --raw -P -t -i 5 -b 4k -p random -B 4k 2G /tmp/doof.dat

so a 2G file, tested for IOps-performance with 4k blocks I get a pretty 
good value for 5x write/read-after-write:

Total iterations:                                5
Total runtime:                            00:04:43
Total write transfer time (WTT):          00:02:15
Total write transfer rate (WTR):    77480.53 KiB/s
Total write IOPS:                   19370.13 IOPS
Total read transfer time (RTT):           00:01:40
Total read transfer rate (RTR):    103823.12 KiB/s
Total read IOPS:                    25955.78 IOPS

but at the cost of approx. 400MiB more memory used, showing now 1.5g. 
Though it's not proportional, after next run I get 1.6g, then the 
process slows down... two another runs and we break the 1.7g border... 
But with the following settings in the global section of ceph.conf:

        rbd_cache = true
        rbd_cache_size=16777216
        rbd_cache_max_dirty=8388608
        rbd_cache_target_dirty=4194304

I cannot see, why we should waste 500+ MiB of memory ;) ( multiplied 
with approx. 100 VM's running).

If same VM started with:
     :rbd_cache=false
everything stays as it should.

Anybody with similar setup willing to do some testing?

Other than that: fast and stable release, it seems ;)

Thnx in @vance,

Oliver.

-- 

Oliver Francke

filoo GmbH
Moltkestraße 25a
33330 Gütersloh
HRB4355 AG Gütersloh

Geschäftsführer: S.Grewing | J.Rehpöhler | C.Kunz

Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Some findings on 0.48, qemu-1.0.1 eating up RDB-write-cache memory
  2012-07-09 11:26 Some findings on 0.48, qemu-1.0.1 eating up RDB-write-cache memory Oliver Francke
@ 2012-07-09 18:16 ` Stefan Priebe
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Priebe @ 2012-07-09 18:16 UTC (permalink / raw)
  To: Oliver Francke; +Cc: ceph-devel

Am 09.07.2012 13:26, schrieb Oliver Francke:
> After doing some normal IOps testing with:
>      spew -v --raw -P -t -i 5 -b 4k -p random -B 4k 2G /tmp/doof.dat
>
> so a 2G file, tested for IOps-performance with 4k blocks I get a pretty
> good value for 5x write/read-after-write:

Just be interested as i'm still trying to get good IOps values. Have you 
tried with a 200GB File / whole block device?

Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-09 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-09 11:26 Some findings on 0.48, qemu-1.0.1 eating up RDB-write-cache memory Oliver Francke
2012-07-09 18:16 ` Stefan Priebe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.