Distributed resource contention detection
First Claim
Patent Images
1. A method comprising:
- tracking, by a processing device, lock requests for a single resource shared by a plurality of nodes of a cluster file system, wherein each node of the cluster file system has its own respective local queue to track its own lock requests for the single resource;
determining, by the processing device, a measure of congestion for the single resource, wherein the measure of congestion is in view of the respective local queues of nodes requesting a lock on the single resource; and
adjusting a relative lock hold time for a node of the cluster file system in view of the measure of congestion.
1 Assignment
0 Petitions
Accused Products
Abstract
Some embodiments of a system and a method to detect contention for resource in a cluster file system have been presented. For instance, a processing device executable on a node in a cluster file system may put lock requests for a resource from the node into a local lock request queue, where multiple nodes in the cluster file system share the resource. Then the lock requests for the resource from this node and lock requests for the resource from other nodes may be tracked to measure congestion on the resource.
28 Citations
18 Claims
-
1. A method comprising:
-
tracking, by a processing device, lock requests for a single resource shared by a plurality of nodes of a cluster file system, wherein each node of the cluster file system has its own respective local queue to track its own lock requests for the single resource; determining, by the processing device, a measure of congestion for the single resource, wherein the measure of congestion is in view of the respective local queues of nodes requesting a lock on the single resource; and adjusting a relative lock hold time for a node of the cluster file system in view of the measure of congestion. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus comprising:
-
a network interface to communicably couple a plurality of nodes of a cluster file system, wherein each node of the cluster file system has its own respective local queue to track its own lock requests for a single resource shared by the plurality of nodes; and a processing device operatively coupled to the network interface, to; track lock requests for the single resource, determine a measure of congestion for the single resource, wherein the measure of congestion is in view of the respective local queues of nodes requesting a lock on the single resource; and adjust a relative lock hold time for a node of the cluster file system in view of the measure of congestion. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable storage medium having instructions stored thereon that, when executed by a processing device, cause the processing device to:
-
track, by the processing device, lock requests for a single resource shared by a plurality of nodes of a cluster file system, wherein each node of the cluster file system has its own respective local queue to track its own lock requests for the single resource; determine, by the processing device, a measure of congestion for the single resource, wherein the measure of congestion is in view of the respective local queues of nodes requesting a lock on the single resource; and adjust a relative lock hold time for a node of the cluster file system in view of the measure of congestion. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification