xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: Yu Zhang <yu.c.zhang@linux.intel.com>, xen-devel@lists.xen.org
Cc: kevin.tian@intel.com, keir@xen.org, ian.campbell@citrix.com,
	stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com,
	ian.jackson@eu.citrix.com, Paul.Durrant@citrix.com,
	zhiyuan.lv@intel.com, jbeulich@suse.com, wei.liu2@citrix.com
Subject: Re: [PATCH v2 3/3] tools: introduce parameter max_wp_ram_ranges.
Date: Tue, 26 Jan 2016 11:16:14 +0000	[thread overview]
Message-ID: <56A7557E.3030701@citrix.com> (raw)
In-Reply-To: <1453432840-5319-4-git-send-email-yu.c.zhang@linux.intel.com>

On 22/01/16 03:20, Yu Zhang wrote:
> --- a/docs/man/xl.cfg.pod.5
> +++ b/docs/man/xl.cfg.pod.5
> @@ -962,6 +962,24 @@ FIFO-based event channel ABI support up to 131,071 event channels.
>  Other guests are limited to 4095 (64-bit x86 and ARM) or 1023 (32-bit
>  x86).
>  
> +=item B<max_wp_ram_ranges=N>
> +
> +Limit the maximum write-protected ram ranges that can be tracked
> +inside one ioreq server rangeset.
> +
> +Ioreq server uses a group of rangesets to track the I/O or memory
> +resources to be emulated. Default limit of ranges that one rangeset
> +can allocate is set to a small value, due to the fact that these ranges
> +are allocated in xen heap. Yet for the write-protected ram ranges,
> +there are circumstances under which the upper limit inside one rangeset
> +should exceed the default one. E.g. in XenGT, when tracking the per-
> +process graphic translation tables on intel broadwell platforms, the
> +number of page tables concerned will be several thousand(normally
> +in this case, 8192 could be a big enough value). Not configuring this
> +item, or setting its value to 0 will result in the upper limit set
> +to its default one. Users who set his item explicitly are supposed
> +to know the specific scenarios that necessitate this configuration.

This help text isn't very helpful.  How is a user supposed to "know the
specific scenarios" that need this option?

Why doesn't the toolstack (or qemu) automatically set this value based
on whether GVT-g/GVT-d is being used? Then there is no need to even
present this option to the user.

David

  parent reply	other threads:[~2016-01-26 11:16 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-22  3:20 [PATCH v11 0/3] Refactor ioreq server for better performance Yu Zhang
2016-01-22  3:20 ` [PATCH v11 1/3] Refactor rangeset structure " Yu Zhang
2016-01-22  3:20 ` [PATCH v11 2/3] Differentiate IO/mem resources tracked by ioreq server Yu Zhang
2016-01-22 11:43   ` Jan Beulich
2016-01-26  7:59     ` Yu, Zhang
2016-01-26 11:24       ` Jan Beulich
2016-01-27  7:02         ` Yu, Zhang
2016-01-27 10:28           ` Jan Beulich
2016-01-22  3:20 ` [PATCH v2 3/3] tools: introduce parameter max_wp_ram_ranges Yu Zhang
2016-01-22  8:01   ` Jan Beulich
2016-01-26  7:32     ` Yu, Zhang
2016-01-26 11:00       ` Jan Beulich
2016-01-27  7:01         ` Yu, Zhang
2016-01-27 10:27           ` Jan Beulich
2016-01-27 14:13             ` Yu, Zhang
2016-01-27 14:32               ` Jan Beulich
2016-01-27 14:56                 ` Yu, Zhang
2016-01-27 15:12                   ` Jan Beulich
2016-01-27 15:23                     ` Yu, Zhang
2016-01-27 15:58                       ` Jan Beulich
2016-01-27 16:12                         ` Yu, Zhang
2016-01-26 11:16   ` David Vrabel [this message]
2016-01-27  7:03     ` Yu, Zhang

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=56A7557E.3030701@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=Paul.Durrant@citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=kevin.tian@intel.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    --cc=yu.c.zhang@linux.intel.com \
    --cc=zhiyuan.lv@intel.com \
    /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).