On Wed, 2012-06-06 at 15:15 +0300, Avi Kivity wrote: > On 06/06/2012 02:45 PM, Sasha Levin wrote: > > On Wed, 2012-06-06 at 14:38 +0300, Avi Kivity wrote: > >> On 06/06/2012 02:32 PM, Sasha Levin wrote: > >> > > >> >> and benchmark results. > >> > > >> > Is there a specific test you'd like to see? My tests were based around > >> > the "streaming test" you proposed last time this discussion came up, and > >> > runs of 'fio' in guests. > >> > >> Those are fine, thanks. > >> > >> btw, IIUC, a guest can have two tmem providers: the hypervisor and > >> zcache. How does it choose? > > > > The guest will try to use the hypervisor, unless: > > > > - 'nokvmcleancache' is passed as param - in that case cleancache will > > use the local zcache provider. > > > > - 'nokvmfrontswap' is passed as param - in that case frontswap will use > > the local zcache provider. > > The guest may have more memory than free host memory, and its memory is > certainly faster; but I'm not sure how to integrate this better. Won't the free guest memory be exhausted first by regular local caching before cleancache springs into action? -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html