[httperf] why select and not poll???

Martin Arlitt arlitt at granite.hpl.hp.com
Tue Mar 6 06:35:09 PST 2007


hi Luigi

yes, FD_SETSIZE can be problematic in some situations.

if you have a patch you can certainly post it to the mailing list and ask
others to comment.

thanks

Martin

On Tue, 6 Mar 2007, gigiozzz wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello to all people of mailing list
>
> i'm reading the source code of httperf (for learning etc)
>
> by default httperf uses the select syscall with timeval struct set to 0
> then
> why doesn't httperf use the poll syscall wich hasn't the limit of
> FD_SETSIZE??
>
> isn't 1024 (default value on my linux-box (debian etch) without
> recompiling the kernel or
> glibc ) a bad limit for concurrent connections ???
>
> can i post a patch in this mailing list to discuss about it (poll
> implementation) or am i OT??
>
> any suggestions, also in private mail, is very good for me
>
>
> so long and thanks
> - --
> Luigi
> gpg key http://gigiozzz.no-ip.biz/gigiozzz.asc
> 3486 6A94 DD6F AC8E C13C
> 2B7F 6739 4610 218F EC71
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQCVAwUBRe1gj2c5RhAhj+xxAQKkvQP/QHrdKCUp5m6AUjq8pK+Hxfipbj/EHRw5
> jHCZmFfpkLw8KtyUirnPUs19xjz9MdUWyPrXn34ESqIrHkME4S3LtUy4GGyXUKmF
> uUlROL0oLOYULm4SmQ96GxgLBIwK7xjnfIg7aVBNwrxxh6CgCgAu0pXiP8g/hp52
> 5KUO3XR6Pn8=
> =hllS
> -----END PGP SIGNATURE-----
> _______________________________________________
> httperf mailing list
> httperf at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/httperf/
>


More information about the httperf mailing list