[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFLxGvx0m6iaDPTDkjzw6ohX6Wdmr+DgWEr_fMdyEux50JVFEw@mail.gmail.com>
Date: Wed, 28 Mar 2012 16:09:24 +0200
From: richard -rw- weinberger <richard.weinberger@...il.com>
To: Hagen Paul Pfeifer <hagen@...u.net>
Cc: torvalds@...ux-foundation.org, LKML <linux-kernel@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>,
Lucas De Marchi <lucas.demarchi@...fusion.mobi>,
Andrew Morton <akpm@...ux-foundation.org>, jbaron@...hat.com,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH Resend] epoll: add EPOLLEXCLUSIVE support
On Wed, Mar 28, 2012 at 3:57 PM, Hagen Paul Pfeifer <hagen@...u.net> wrote:
> High performance server sometimes create one listening socket (e.g. port
> 80), create a epoll file descriptor and add the socket. Afterwards
> create SC_NPROCESSORS_ONLN threads and wait for events. This often
> result in a thundering herd problem because all CPUs are scheduled.
>
> This patch add an additional flag to epoll_ctl(2) called EPOLLEXCLUSIVE.
> If a descriptor is added with this flag only one CPU is scheduled in.
>
> Signed-off-by: Hagen Paul Pfeifer <hagen@...u.net>
> ---
> Dave rejected the patch and said not network specific. Because there
> is no epoll maintainer this time directly.
CC'ing maintainers for you...
Please use scripts/get_maintainer.pl.
--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists