From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Dave Scott <Dave.Scott@citrix.com>
Cc: Zheng Li <dev@zheng.li>, Joe Jin <joe.jin@oracle.com>,
"Luis R. Rodriguez" <mcgrof@suse.com>,
Luonengjun <luonengjun@huawei.com>,
Fanhenglong <fanhenglong@huawei.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
Ian Jackson <Ian.Jackson@citrix.com>,
"Liuqiming (John)" <john.liuqiming@huawei.com>
Subject: Re: Some oxenstored improvements (v3)
Date: Tue, 7 Oct 2014 09:24:50 -0400 [thread overview]
Message-ID: <20141007132450.GC2604@laptop.dumpdata.com> (raw)
In-Reply-To: <B5CB2382-FBB0-4CCC-83B0-01833D1E1677@citrix.com>
On Mon, Sep 29, 2014 at 08:55:09PM +0000, Dave Scott wrote:
> Hi,
>
> On 29 Sep 2014, at 15:37, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
>
> > On Thu, Sep 25, 2014 at 06:34:53PM +0100, Zheng Li wrote:
> >> This is mainly about removing the 1024 fds limitation in the current oxenstored
> >> implementation. We also fixed some bugs and made some perf improvements along
> >> the way.
> >>
> >> This is v3. The first 6 patches are the same as in v2. For patch 7/8/9, we
> >>
> >> * Add a safe net mechanism for ill-behaved legacy clients
> >> * Make some performance improvement to reduce syslog workload
> >> * Small refactoring on patch 7/8 to accomodate the new changes
> >
> > That all looks quite nice but I have no experience with OCaml.
> >
> > I fear that this patchset will have wait until an OCaml expert can
> > review the code :-(
>
> I’ve just read through the v3 patches and am happy with them. So I’m happy to give them an
>
> Acked-by: David Scott <dave.scott@citrix.com>
Excellent!
>
> I think this patch:
>
> [PATCH v3 4/9] oxenstored: catch the error when a connection is already deleted
>
> is a useful bug fix — this might explain why oxenstored has occasionally ‘disappeared’ in mysterious circumstances. Zheng: could this patch be taken by itself? If so I think the release should definitely have it.
>
> The rest of the patches will help scalability a lot but aren’t critical fixes. They would (IMHO) increase the quality of the release though.
The bug-fix I believe should go in Xen 4.5.
In regards to the rest (help scalability) I am worried that:
- This is rather unknown code for me (OCaml) but then so is the ARM assembler
(I am slowly digging through the manual) - so I am falling back
here on the maintainers perspective. Dave says OK, so that means
we are OK.
- Now on the other hand this is core code. If this goes belly up we a
screwed - and if this introduces races, it will be quite a headache
to troubleshoot down to this.
In terms of the positive aspects:
- It will improve the code quality.
- It improves scalability.
Dave, when you said "am happy with them" (and giving it an Acked-by) - does
that mean you dug through the code carefully with a microscope looking for
ways to break it? Or was it more of a cursory view?
Asking because if it is the first then an 'Reviewed-by' is more apt
and it also means that the chance of the code going 'belly-up' is lesser.
If you are comfortable giving an 'Reviewed-by' then I believe
it can go in Xen 4.5 (and lowers the 'belly-up' chance). If you don't
have the cycles then I believe it should go in Xen 4.6 to give it some
"soak" time.
If there are any doubts or if the author is not too keen on debugging
issues during the next couple of months (say, if you have vacation
planned or such) - if of course there are bugs - we can also postpone
these patches and put them in Xen 4.6 and have a more time to sort
issues out.
Thank you!
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2014-10-07 13:25 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-25 17:34 Some oxenstored improvements (v3) Zheng Li
2014-09-25 17:34 ` [PATCH v3 1/9] oxenstored: add a poll-based select mechanism Zheng Li
2014-09-25 17:34 ` [PATCH v3 2/9] oxenstored: add facilities to raise the max open fds uplimit Zheng Li
2014-09-25 17:34 ` [PATCH v3 3/9] oxenstored: add a --use-select command line flag Zheng Li
2014-09-25 17:34 ` [PATCH v3 4/9] oxenstored: catch the error when a connection is already deleted Zheng Li
2014-09-25 17:34 ` [PATCH v3 5/9] oxenstored: use hash table to store socket connections Zheng Li
2014-09-25 17:34 ` [PATCH v3 6/9] oxenstored: enable domain connection indexing based on eventchn port Zheng Li
2014-09-25 17:35 ` [PATCH v3 7/9] oxenstored: only process domain connections that notify us by events Zheng Li
2014-09-25 17:35 ` [PATCH v3 8/9] oxenstored: add a safe net mechanism for existing ill-behaved clients Zheng Li
2014-09-25 17:35 ` [PATCH v3 9/9] oxenstored: reduce syslog call overhead Zheng Li
2014-09-25 21:00 ` [PATCH v3 9/9] oxenstored: reduce syslog call overhead (fix typo) Zheng Li
2014-09-26 15:16 ` Ian Jackson
2014-09-26 15:33 ` Zheng Li
2014-09-26 15:57 ` Ian Jackson
2014-09-26 16:29 ` Zheng Li
2014-09-26 16:37 ` Ian Jackson
2014-09-26 16:38 ` Zheng Li
2014-09-29 14:37 ` Some oxenstored improvements (v3) Konrad Rzeszutek Wilk
2014-09-29 20:55 ` Dave Scott
2014-09-30 10:21 ` Zheng Li
2014-10-07 13:24 ` Konrad Rzeszutek Wilk [this message]
2014-10-08 12:59 ` Dave Scott
2014-10-08 13:01 ` Konrad Rzeszutek Wilk
2014-10-08 13:42 ` Ian Campbell
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=20141007132450.GC2604@laptop.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Dave.Scott@citrix.com \
--cc=Ian.Jackson@citrix.com \
--cc=dev@zheng.li \
--cc=fanhenglong@huawei.com \
--cc=joe.jin@oracle.com \
--cc=john.liuqiming@huawei.com \
--cc=luonengjun@huawei.com \
--cc=mcgrof@suse.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;
as well as URLs for NNTP newsgroup(s).