lkml.org 
[lkml]   [2001]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectNumber of File descriptors
Hello All,
My interest has been peaked by a recent email. At one point, I heard two people speaking
about how some database guy wanted to have 2000 open files(or something crazy like that).
They said that he must be crazy because the kernel does a sequential search through the open
file descriptors. Anyway, I read a posting an a mail list that someone wanted select to
select on 3000 files. Alright, the question(Finally!):
To have select() select on 3000 file descriptors, they must be open. That's 3000 open
files. Will select be ultra slow trying to select on 3000 file descriptors? Also,
what is the clarification on the kernel doing a sequential search through the open
file descriptors?

Thanks In Advance,
Chuck Winters
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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