Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jul 1999 12:20:59 -0400 (EDT)
From:      Zach Brown <zab@zabbo.net>
To:        hackers@FreeBSD.ORG
Subject:   Re: poll() vs select() 
Message-ID:  <Pine.LNX.4.10.9907041217250.5548-100000@hoser>
In-Reply-To: <Pine.BSF.4.10.9907040140310.47486-100000@janus.syracuse.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> But poll() copies in HUGE amounts of data compared to the few bytes for
> thousands of FDs that select does.

but the size of the select() mask is dependant on the highest numbered fd
that we care about, rather than the number of fds we actually care about.
this becomes highly uncool in a mondo threaded server that shares fd space
:)

-- zach

- - - - - -
007 373 5963



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.9907041217250.5548-100000>