From: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
To: Chirag Chauhan <chirag.holmes@gmail.com>
Cc: Greg KH <greg@kroah.com>, kernelnewbies@kernelnewbies.org
Subject: Re: Partition linux page cache for each VM
Date: Thu, 25 Apr 2019 22:08:55 -0400 [thread overview]
Message-ID: <408.1556244535@turing-police> (raw)
In-Reply-To: <CAPBfXi1Ms6b_ZwDGyjuWK+gL=n8PX0u0Nc4ALtkYKyzuSuwX3A@mail.gmail.com>
On Fri, 26 Apr 2019 03:01:52 +0530, Chirag Chauhan said:
> I have selected this as a course project for a course on virtualization.
> Doing this will reduce the performance interference between virtual
> machines.
Actually, it can make it worse.
Consider the behavior of 4 VMs sharing 16G of page cache, where
3 VMs want 4.5G of cache each and 1 wants 2G.
Now consider the behavior of 4 VMs each with a guaranteed 4G of page
cache, where 3 VMs want 4.5G of cache each and 1 wants 2G.
Then perform the same analysis for your LRU list, and make sure it actually
provides a benefit before you start coding.....
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next prev parent reply other threads:[~2019-04-26 2:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-25 13:36 Partition linux page cache for each VM Chirag Chauhan
2019-04-25 17:27 ` Greg KH
2019-04-25 21:31 ` Chirag Chauhan
2019-04-26 2:08 ` Valdis Klētnieks [this message]
2019-04-26 6:23 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=408.1556244535@turing-police \
--to=valdis.kletnieks@vt.edu \
--cc=chirag.holmes@gmail.com \
--cc=greg@kroah.com \
--cc=kernelnewbies@kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).