Method and System for Optimizing File Table Usage
0 Assignments
0 Petitions
Accused Products
Abstract
An operating system directed to using special properties of a common inter-process communications mechanism (IPC), namely UNIX domain socket-pairs or stream-pipes alternatively as a storage medium for file-descriptors of UNIX processes. When a file-descriptor is written into a socket-pair, and closed in the UNIX process, the file remains open, but occupies no space in the process'"'"' file-table. The file-descriptor may later be read out of the socket-pair to reestablish it in the file-table, and access it. This property is implemented in an IPC mechanism of UNIX operating system whereby a process such as a dispatcher may manage more connections and processes than its file-table size allow. This provides scalability improvements of the UNIX operating system.
-
Citations
27 Claims
-
1-22. -22. (canceled)
-
23. A computer system comprising:
-
a processor; a memory coupled to the processor; a dispatcher process, said dispatcher process multiplexes a plurality of requests received from one or more connections for processing by one or more agent processes, said dispatcher process having a file table for maintaining file-descriptors; one or more said agent processes, said agent processes using said file-descriptors in association with each of said connections for processing individual said requests and communicating said file-descriptors to said dispatcher process for maintaining; an inter-process communication (IPC) mechanism, said IPC mechanism communicates said file-descriptors between processes, said IPC mechanism generates instances of said IPC mechanism, each instance being accessible by IPC file-descriptors and capable of storing a plurality of file-descriptors that remain open when so stored; said agent processes store said file-descriptors for maintaining by said dispatcher process to said instances of said IPC mechanism and communicate said instances to said dispatcher process; said dispatcher process stores, to said file table, said IPC file-descriptors associated with said instances received from said agent processes; and a pool of a plurality of selectable instances of said IPC mechanism, said instances shared by said dispatcher process and said agent processes for inter-process communication, and wherein said dispatcher process and said agent processes communicate said file-descriptors for maintaining by said dispatcher process using said pool. - View Dependent Claims (25, 26)
-
-
24. (canceled)
-
27-29. -29. (canceled)
Specification