US 7,593,948 B2
Control of service workload management
Darrell Suggs, Raleigh, N.C. (US); John Scott, Cary, N.C. (US); and Robert L. Fair, Cary, N.C. (US)
Assigned to Network Appliance, Inc., Sunnyvale, Calif. (US)
Filed on Jun. 23, 2005, as Appl. No. 11/166,478.
Prior Publication US 2006/0294045 A1, Dec. 28, 2006
Int. Cl. G06F 17/30 (2006.01)
U.S. Cl. 707—100  [709/223; 709/217; 709/201; 709/226; 709/218; 707/10; 707/3; 707/104.1; 707/2] 21 Claims
OG exemplary drawing
 
1. A method to service messages in a storage system, the method comprising:
receiving a message at a storage server;
determining, by the storage server, a class of the message, wherein the class of the message is associated with a priority level;
placing the message in a queue from a plurality of queues, wherein the queue is associated with the class of the message;
if the number of queued messages does not exceed the predetermined threshold, selecting the message for dequeuing using a randomized selection mechanism;
if a number of queued messages in the plurality of queues exceeds a predetermined threshold, selecting the message for dequeuing using a direct selection mechanism; and
dequeuing the selected message by sending the message to a file system for the message to be serviced.