From: Eric Wong <normalperson@yhbt.net>
To: "Junchang(Jason) Wang" <junchang.wang@yale.edu>
Cc: Andreas Voellmy <andreas.voellmy@yale.edu>,
viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: epoll with ONESHOT possibly fails to deliver events
Date: Sat, 22 Dec 2012 02:54:14 +0000 [thread overview]
Message-ID: <20121222025414.GA6217@dcvr.yhbt.net> (raw)
In-Reply-To: <CAErQho6bf+y+7dwtP4sKjNGsjLdDm8aBo4A6KagZHgcRT=KMWA@mail.gmail.com>
"Junchang(Jason) Wang" <junchang.wang@yale.edu> wrote:
> We still believe this is a bug in epoll system even though we can't
> prove that so far. Both Andi and I are very interested in this problem
> and helping you experts solve this it. Just let us know if we can
> help.
I'm just another epoll user, definitely not an expert. Hopefully
somebody else can figure this out, because I'm unable to reproduce the
problem with your code and I haven't spotted any bugs from reading
through the kernel.
Curious, I also have a multi-threaded HTTP server which is a little
similar (multi-threaded, 2 epoll descriptors (only one epoll is heavily
used). I run it on 2/4-core systems and haven't hit issues with epoll.
If you want to test, it should be easy to build from tarball:
http://bogomips.org/cmogstored/files/cmogstored-1.0.0.tar.gz
configure && make
./cmogstored --httplisten=8080 --docroot=/path/to/whatever
More info here: http://bogomips.org/cmogstored/README
git clone http://bogomips.org/cmogstored.git
next prev parent reply other threads:[~2012-12-22 2:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-11 22:23 epoll with ONESHOT possibly fails to deliver events Andreas Voellmy
2012-12-12 23:49 ` Andreas Voellmy
2012-12-13 9:32 ` Eric Wong
2012-12-13 15:29 ` Andreas Voellmy
2012-12-14 0:16 ` Andreas Voellmy
2012-12-14 0:16 ` Andreas Voellmy
2012-12-15 14:50 ` Andreas Voellmy
2012-12-15 14:50 ` Andreas Voellmy
2012-12-18 2:07 ` Eric Wong
2012-12-18 2:35 ` Andreas Voellmy
2012-12-18 17:27 ` Andreas Voellmy
2012-12-19 19:39 ` Andreas Voellmy
2012-12-20 21:32 ` Eric Wong
2012-12-20 22:25 ` Junchang(Jason) Wang
2012-12-21 15:32 ` Andreas Voellmy
2012-12-22 2:54 ` Eric Wong [this message]
2012-12-14 0:08 ` Phil Turmel
2012-12-14 0:15 ` Phil Turmel
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=20121222025414.GA6217@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=andreas.voellmy@yale.edu \
--cc=junchang.wang@yale.edu \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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.