In computer science, resource contention is a conflict over access to a shared resource such as random access memory, disk storage, cache memory, internal busses or external network devices. In recent years, research on the contention is more focused on the resources in the memory hierarchy, e.g., last-level caches, front-side bus, memory socket connection.
Resolving resource contention problems is one of the basic functions of operating systems. Various low-level mechanisms can be used to aid this, including locks, semaphores, mutexes and queues. The other techniques that can be applied by the operating systems include intelligent scheduling, application mapping decision, and page colouring.
Failure to properly resolve resource contention problems may result in a number of problems, including deadlock, livelock, and thrashing.
Famous quotes containing the words resource and/or contention:
“Helping children at a level of genuine intellectual inquiry takes imagination on the part of the adult. Even more, it takes the courage to become a resource in unfamiliar areas of knowledge and in ones for which one has no taste. But parents, no less than teachers, must respect a childs mind and not exploit it for their own vanity or ambition, or to soothe their own anxiety.”
—Dorothy H. Cohen (20th century)
“Great causes are never tried on their merits; but the cause is reduced to particulars to suit the size of the partizans, and the contention is ever hottest on minor matters.”
—Ralph Waldo Emerson (18031882)