From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Daniel Stodden <daniel.stodden@citrix.com>
Cc: Ian Campbell <Ian.Campbell@eu.citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"keir@xen.org" <keir@xen.org>,
"JBeulich@novell.com" <JBeulich@novell.com>
Subject: Re: shared rings. rsp_cons, rsp_events, req_prod, req_events docs, charts, timelines?
Date: Mon, 16 May 2011 17:16:19 -0400 [thread overview]
Message-ID: <20110516211619.GA27183@dumpdata.com> (raw)
In-Reply-To: <1305576187.2155.6.camel@ramone>
On Mon, May 16, 2011 at 01:03:07PM -0700, Daniel Stodden wrote:
> On Mon, 2011-05-16 at 13:05 -0400, Konrad Rzeszutek Wilk wrote:
> > The current ring implementation uses these values and then macros such
> > as RING_HAS_UNCONSUMED_REQUESTS, FINAL_RING_CHECK, etc to determine whether
> > to continue or how to control the flow. Looking way back in the history
> > at c/s 8153 it used to have a 'server_is_sleeping' value to determine whether
> > to kick the back (now called 'req_event'), and the 'rsp_event' (unchanged)
> > to kick the frontend.
> >
> > Anyhow, are there any diagrams or design docs documenting how these simple four
> > shared values help to control the pipeline and interrupt generation? Or how
> > they evolved over time to become what they are right now?
>
> Iirc, I've known these headers since late xen 2.x versions and never saw
> it done differently (i.e. req/rsp_event, and symmetrically).
>
> Never saw dedicated documentation either, but found the header comments
> and sources sufficient.
>
> Do you just want documentation to point at, or is there something not
> clear about them?
I was hoping to be able to double-check what I groked from the code. Figured
an example of the flow between frontend and backend over some time with
different scenarios would exist somwhere.
prev parent reply other threads:[~2011-05-16 21:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-16 17:05 shared rings. rsp_cons, rsp_events, req_prod, req_events docs, charts, timelines? Konrad Rzeszutek Wilk
2011-05-16 20:03 ` Daniel Stodden
2011-05-16 21:16 ` Konrad Rzeszutek Wilk [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=20110516211619.GA27183@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@eu.citrix.com \
--cc=JBeulich@novell.com \
--cc=daniel.stodden@citrix.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xensource.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).