lkml.org 
[lkml]   [2000]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] Polling on more than 16000 file descriptors
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.224 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site