Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2007 12:14:08 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Diane Bruce <db@db.net>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: select timings
Message-ID:  <20070709021408.GK3434@turion.vk2pj.dyndns.org>
In-Reply-To: <20070709004640.GA61639@night.db.net>
References:  <20070709004640.GA61639@night.db.net>

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

--oTHb8nViIGeoXxdp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2007-Jul-08 20:46:40 -0400, Diane Bruce <db@db.net> wrote:
>It is a rather naive test program, close all fd's except
>for 0,1,2 of course, then open /dev/null multiple times, then do
>a select() on each descriptor.  ~db/selt.c

Thanks for the testing.  Can you please feed the output through (eg)
src/tools/tools/ministat.

>I will be trying some other select tests.
>I suspect with a sparse fd_set, jeffr's results will be better than stock.
>We'll see.

Having a very large number of selected FDs return ready is unrealistic
- I can't think of any real-world situation where this would occur.  A
more realistic situation would look like a Poisson distribution with a
small lambda (probably 1).  Writing a test suite for this is probably
significantly more effort than your selt.c

--=20
Peter Jeremy

--oTHb8nViIGeoXxdp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGkZnw/opHv/APuIcRApcsAKCB9Hlx9M2wYuSqQ/JOZxLJqZp/DQCffSjT
QKdqq4F9mvEMFaSBvEHzUKo=
=uBnv
-----END PGP SIGNATURE-----

--oTHb8nViIGeoXxdp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070709021408.GK3434>