From: Davide Libenzi <davidel@xmailserver.org>
To: Davy Durham <pubaddr2@davyandbeth.com>
Cc: Willy Tarreau <willy@w.ods.org>,
bert hubert <bert.hubert@netherlabs.nl>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: select() efficiency / epoll
Date: Tue, 23 Aug 2005 22:09:17 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.63.0508232202580.10064@localhost.localdomain> (raw)
In-Reply-To: <430B5802.5050200@davyandbeth.com>
On Tue, 23 Aug 2005, Davy Durham wrote:
> Davide Libenzi wrote:
>
>>
>> I should mention that the 2.4 patch is old WRT mainline epoll in 2.6 (I
>> stopped maintaining it when 2.6 went "stable"). I'd definitely suggest to
>> use 2.6 if you are looking at epoll.
>>
> I am using linux-2.6.11 and glibc-2.3.4 .. and using select() in it's place
> seems to work fine. Are there any known issues with say, one thread does
> epoll_wait()s while other threads may be doing epoll_ctl()s?
There is no known problem in using epoll_ctl() in one thread while another
does epoll_wait().
I suggest you to ask Valgrind to take a look at you binary. Since I have
no clue of what your software does, please create the *minimal* code
snippet that exploit the eventual problem, and post it.
- Davide
next prev parent reply other threads:[~2005-08-24 5:09 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-22 21:18 select() efficiency Davy Durham
2005-07-22 21:24 ` bert hubert
2005-08-23 9:49 ` select() efficiency / epoll Davy Durham
2005-08-23 18:24 ` bert hubert
2005-08-23 11:01 ` Davy Durham
2005-08-23 11:25 ` Davy Durham
2005-08-23 19:12 ` Willy Tarreau
2005-08-23 11:24 ` Davy Durham
2005-08-23 19:45 ` Willy Tarreau
2005-08-23 11:55 ` Davy Durham
2005-08-23 20:20 ` Willy Tarreau
2005-08-23 23:21 ` Davide Libenzi
2005-08-23 17:08 ` Davy Durham
2005-08-24 5:09 ` Davide Libenzi [this message]
2005-08-23 22:35 ` Davy Durham
2005-08-23 19:30 ` Jari Sundell
2005-08-23 11:53 ` Davy Durham
2005-08-23 20:42 ` Jari Sundell
2005-08-23 17:11 ` Davy Durham
2005-08-23 17:40 ` Davy Durham
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=Pine.LNX.4.63.0508232202580.10064@localhost.localdomain \
--to=davidel@xmailserver.org \
--cc=bert.hubert@netherlabs.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=pubaddr2@davyandbeth.com \
--cc=willy@w.ods.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
all inboxes | Powered by JetHome®