Patent Number: 6,298,386

Title: Network file server having a message collector queue for connection and connectionless oriented protocols

Abstract: There is a performance loss associated with servicing a pipe or stream for a connection oriented process by maintaining a connection between a server thread and a client for a series of messages. As a result of maintaining this connection, there is less balance; some threads work harder than others, causing a loss of performance. To solve this problem, a collector queue combines messages from the connection oriented process with messages from the other concurrent processes. The threads receive messages from the collector queue rather than individual pipes. Any idle thread can pick up a message from the collector queue. The collector queue keeps track of which pipe each message came from so that the reply of the server to each message is directed to the same pipe from which the message came from. Therefore the collector queue ensures thread balance and efficiency in servicing the messages. In the preferred implementation, each entry in the collector queue includes a message pointer and a pipe pointer. The message pointer points to allocated memory storing the message in a message buffer. The pipe pointer points to the pipe from which the message originated. The collector queue is a singly linked list. A free thread takes an entry off the collector queue, interprets the message of the entry, sends a reply, and deallocates the memory of the entry and the allocated memory storing the message in the message buffer.

Inventors: Vahalia; Uresh K (Newton, MA), Gupta; Uday (Westford, MA), John; Aju (Westboro, MA), Ting; Dennis P. J. (Groton, MA), Tzelnic; Percy (Concord, MA)

Assignee: EMC Corporation

International Classification: G06F 15/16 (20060101); G06F 015/16 ()

Expiration Date: 10/02/2018