All of lore.kernel.org
 help / color / mirror / Atom feed
From: Casey Bodley <cbodley@redhat.com>
To: kefu chai <tchaikov@gmail.com>, Matt Benjamin <mbenjami@redhat.com>
Cc: Gregory Farnum <gfarnum@redhat.com>,
	Josh Durgin <jdurgin@redhat.com>,
	Adam Emerson <aemerson@redhat.com>,
	ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: seastar and 'tame reactor'
Date: Tue, 13 Feb 2018 10:58:36 -0500	[thread overview]
Message-ID: <abfb4619-b18f-4ae7-930f-227e5abb9c89@redhat.com> (raw)
In-Reply-To: <CAJE9aOOiSAtgRb9s2G6qGyGhpp-RJ3s7eqRx5d6Ki6mhaWhkRw@mail.gmail.com>



On 02/13/2018 08:35 AM, kefu chai wrote:
> On Mon, Feb 12, 2018 at 11:55 PM, Matt Benjamin <mbenjami@redhat.com> wrote:
>> How does tame reactor induce more OSD sessions (@greg);  @kefu, in't
>> the hybrid model another way of saying, tame reactor?  The intuition
> i just realized that it is =)
>
>> I've had to this point is that the interfacing here is essentially
>> similar to making seastar interact with anything else, including
>> frameworks (disks, memory devices) that it absolutely wants to and
>> must.
>>
>

Sorry, I'm probably confusing things here by reusing the 'tame reactor' 
term that Adam coined. The original idea was to allow external threads 
to construct a seastar reactor, and call some new function that does a 
single polling/event loop before returning control to that thread. The 
word 'tame' meant that it wouldn't steal control from your thread 
forever like reactor::run() does.

This 'external queue' idea is a different and less ambitious way to 
integrate with non-seastar threads that got some upstream buy-in from Avi.

  reply	other threads:[~2018-02-13 15:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d0f50268-72bb-1196-7ce9-0b9e21808ffb@redhat.com>
2018-01-30 22:32 ` seastar and 'tame reactor' Josh Durgin
2018-02-07 16:01   ` kefu chai
2018-02-07 17:11     ` Casey Bodley
2018-02-07 19:22       ` Gregory Farnum
2018-02-12 15:45         ` kefu chai
2018-02-12 15:55           ` Matt Benjamin
2018-02-12 15:57             ` Gregory Farnum
2018-02-13 13:35             ` kefu chai
2018-02-13 15:58               ` Casey Bodley [this message]
2018-02-12 19:40       ` Allen Samuels
2018-02-13 15:46         ` Casey Bodley
2018-02-13 16:17           ` liuchang0812
2018-02-14  3:16             ` Allen Samuels
2018-02-15 20:04               ` Josh Durgin
2018-02-16 16:23                 ` Allen Samuels

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=abfb4619-b18f-4ae7-930f-227e5abb9c89@redhat.com \
    --to=cbodley@redhat.com \
    --cc=aemerson@redhat.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=gfarnum@redhat.com \
    --cc=jdurgin@redhat.com \
    --cc=mbenjami@redhat.com \
    --cc=tchaikov@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.