public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: Bob Liu <bob.liu@oracle.com>, <linux-kernel@vger.kernel.org>
Cc: <xen-devel@lists.xenproject.org>, <roger.pau@citrix.com>
Subject: Re: [Xen-devel] [PATCH v3] xen-blkfront: dynamic configuration of per-vbd resources
Date: Thu, 28 Jul 2016 10:31:34 +0100	[thread overview]
Message-ID: <5799D0F6.2050107@citrix.com> (raw)
In-Reply-To: <1469589685-31630-1-git-send-email-bob.liu@oracle.com>

On 27/07/16 04:21, Bob Liu wrote:
> The current VBD layer reserves buffer space for each attached device based on
> three statically configured settings which are read at boot time.
>  * max_indirect_segs: Maximum amount of segments.
>  * max_ring_page_order: Maximum order of pages to be used for the shared ring.
>  * max_queues: Maximum of queues(rings) to be used.

I think you want a single knob for "maximum number of pages in flight".
 This is much easier for an admin to relate to resource usage.

You could apply this limit without having to reconfigure, which would
simplify this patch quite a bit.

David

      parent reply	other threads:[~2016-07-28  9:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-27  3:21 [PATCH v3] xen-blkfront: dynamic configuration of per-vbd resources Bob Liu
2016-07-27  8:07 ` Roger Pau Monné
2016-07-27  9:12   ` Bob Liu
2016-07-27  9:29     ` [Xen-devel] " Paul Durrant
2016-07-27 10:09     ` Roger Pau Monné
2016-07-27 10:59 ` Roger Pau Monné
2016-07-27 11:21   ` Bob Liu
2016-07-27 14:24     ` Roger Pau Monné
2016-07-27 23:05       ` Bob Liu
2016-07-28  7:49         ` Roger Pau Monné
2016-07-28  9:31 ` David Vrabel [this message]

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=5799D0F6.2050107@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=bob.liu@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roger.pau@citrix.com \
    --cc=xen-devel@lists.xenproject.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