lkml.org 
[lkml]   [2002]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: epoll (was Re: [PATCH] async poll for 2.5)
    On Sat, Oct 19, 2002 at 09:10:52AM -0700, Charles 'Buck' Krasic wrote:
    > Mark Mielke <mark@mark.mielke.cc> writes:
    > > They still represent an excessive complicated model that attempts to
    > > implement /dev/epoll the same way that one would implement poll()/select().
    > epoll is about fixing one aspect of an otherwise well established api.
    > That is, fixing the scalability of poll()/select() for applications
    > based on non-blocking sockets.

    epoll is not a poll()/select() enhancement (unless it is used in
    conjuction with poll()/select()). It is a poll()/select()
    replacement.

    Meaning... purposefully creating an API that is designed the way one
    would design a poll()/select() loop is purposefully limiting the benefits
    of /dev/epoll.

    It's like inventing a power drill to replace the common screw driver,
    but rather than plugging the power drill in, manually turning the
    drill as if it was a socket wrench for the drill bit.

    I find it an excercise in self defeat... except that /dev/epoll used the
    same way one would use poll()/select() happens to perform better even
    when it is crippled.

    mark

    --
    mark@mielke.cc/markm@ncf.ca/markm@nortelnetworks.com __________________________
    . . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
    |\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
    | | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada

    One ring to rule them all, one ring to find them, one ring to bring them all
    and in the darkness bind them...

    http://mark.mielke.cc/

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:30    [W:0.021 / U:3.072 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site