×

Method and system for optimizing file table usage

  • US 7,934,220 B2
  • Filed: 03/17/2008
  • Issued: 04/26/2011
  • Est. Priority Date: 04/30/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for manipulating a file descriptor stored in a file table entry of a file table, the method comprising:

  • transferring, by a processing unit, the file descriptor stored in the file table entry of the file table from the file table entry to a shared socket pair to store the file descriptor in the shared socket pair, thereby preserving the file descriptor in the shared socket pair while permitting availability of the unloaded file table entry of the file table for other uses;

    transferring, by the processing unit, the file descriptor stored in the shared socket pair from the shared socket pair to an available file table entry if access to the file descriptor stored in the shared socket pair is requested;

    storing file descriptors which reference a first socket pair within a file table associated with a dispatcher process to reduce a number of file descriptors simultaneously stored within the file table associated with the dispatcher process, wherein the first socket pair stores a plurality of file descriptors associated with an agent process, and wherein each of the plurality of file descriptors references a corresponding closed file within a context of the agent process; and

    transferring the file descriptors which reference the first socket pair to the agent process via an IPC mechanism.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×