All of lore.kernel.org
 help / color / mirror / Atom feed
* Writing to a ramdisk in a PV domain is SLLLOOOWWW?!?
@ 2010-05-05 18:14 Dan Magenheimer
  2010-05-05 20:16 ` Dan Magenheimer
  2010-05-06 17:42 ` Jeremy Fitzhardinge
  0 siblings, 2 replies; 6+ messages in thread
From: Dan Magenheimer @ 2010-05-05 18:14 UTC (permalink / raw)
  To: Xen-Devel (xen-devel@lists.xensource.com)

Has anyone tried using a ramdisk in a PV domain?

I'm trying it in an experiment to compare swapping to
a ramdisk against tmem (frontswap) performance
(suggested as a performance test on lkml).

Writing to the ramdisk appears to be VERY VERY slow,
elapsed time in the guest is several times larger than
user+sys, and xentop shows the guest consuming vcpu
seconds at about the user+sys rate.  Note that
this is when tmem is turned off and there is no
vhd swap disk configured.

I'm suspecting that writing to ramdisk must be causing
some interesting/expensive PV pagetable behavior?
Or maybe somehow /dev/ram0 is getting routed through
qemu?  Or ??

Thanks,
Dan

P.S. Yes, I realize a ramdisk has no real value in
a guest... this is just a performance experiment.

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

end of thread, other threads:[~2010-05-06 22:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 18:14 Writing to a ramdisk in a PV domain is SLLLOOOWWW?!? Dan Magenheimer
2010-05-05 20:16 ` Dan Magenheimer
2010-05-06 17:42 ` Jeremy Fitzhardinge
2010-05-06 21:02   ` Dan Magenheimer
2010-05-06 22:04     ` Santos, Jose Renato G
2010-05-06 22:26       ` Jeremy Fitzhardinge

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.