Re: [Patch] Polling on more than 16000 file descriptors

From: Tigran Aivazian (tigran@sco.COM)
Date: Tue Jan 18 2000 - 11:55:43 EST


On Tue, 18 Jan 2000, Jamie Lokier wrote:
> If you're going that, you may as well use PAGE_SIZE allocations. And
> then you may as well link the pages together using a pointer at the
> start, to remove the arbitrary limit.

agree with the first part (PAGE_SIZE allocation) but not necessarily agree
with making it a linked list at all times because that means performance
overhead in cases where it needn't be.

Speaking of which, does someone have a nice multi-threaded multi-process
poll() sample program that lets one stress-test/benchmark this area?
Otherwise I will knock something up myself but perhaps it already exists?

Regards,
Tigran.

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



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:17 EST