发明名称 Network file server having a message collector queue for connection and connectionless oriented protocols
摘要 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.
申请公布号 US6298386(B1) 申请公布日期 2001.10.02
申请号 US19960747769 申请日期 1996.11.13
申请人 EMC CORPORATION 发明人 VAHALIA URESH K;GUPTA UDAY;JOHN AJU;TING DENNIS P. J.;TZELNIC PERCY
分类号 G06F15/16;(IPC1-7):G06F15/16 主分类号 G06F15/16
代理机构 代理人
主权项
地址