fbpx
Wikipedia

Resource contention

In computer science, resource contention is a conflict over access to a shared resource such as random access memory, disk storage, cache memory, internal buses or external network devices. A resource experiencing ongoing contention can be described as oversubscribed.

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 coloring.[1][2]

Access to resources is also sometimes regulated by queuing; in the case of computing time on a CPU the controlling algorithm of the task queue is called a scheduler.

Failure to properly resolve resource contention problems may result in a number of problems, including deadlock, livelock, and thrashing.

Resource contention results when multiple processes attempt to use the same shared resource. Access to memory areas is often controlled by semaphores, which allows a pathological situation called a deadlock, when different threads or processes try to allocate resources already allocated by each other. A deadlock usually leads to a program becoming partially or completely unresponsive.

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.[citation needed]

See also edit

References edit

  1. ^ Knauerhase, Rob (2008). "Using OS Observations to Improve Performance in Multicore Systems". IEEE Micro. 28 (3): 54–66. doi:10.1109/mm.2008.48. S2CID 9202433.
  2. ^ Zhang, Xiao (2009). "Towards practical page coloring-based multicore cache management". Proceedings of the 4th ACM European conference on Computer systems. pp. 89–102. doi:10.1145/1519065.1519076. ISBN 9781605584829. S2CID 5769992.


resource, contention, this, article, about, contention, computers, networking, contention, other, systems, contention, computer, science, resource, contention, conflict, over, access, shared, resource, such, random, access, memory, disk, storage, cache, memory. This article is about contention in computers and networking For contention in other systems see Contention In computer science resource contention is a conflict over access to a shared resource such as random access memory disk storage cache memory internal buses or external network devices A resource experiencing ongoing contention can be described as oversubscribed 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 coloring 1 2 Access to resources is also sometimes regulated by queuing in the case of computing time on a CPU the controlling algorithm of the task queue is called a scheduler Failure to properly resolve resource contention problems may result in a number of problems including deadlock livelock and thrashing Resource contention results when multiple processes attempt to use the same shared resource Access to memory areas is often controlled by semaphores which allows a pathological situation called a deadlock when different threads or processes try to allocate resources already allocated by each other A deadlock usually leads to a program becoming partially or completely unresponsive 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 citation needed See also editBus contention Cache coherence Collision avoidance networking Resource allocationReferences edit Knauerhase Rob 2008 Using OS Observations to Improve Performance in Multicore Systems IEEE Micro 28 3 54 66 doi 10 1109 mm 2008 48 S2CID 9202433 Zhang Xiao 2009 Towards practical page coloring based multicore cache management Proceedings of the 4th ACM European conference on Computer systems pp 89 102 doi 10 1145 1519065 1519076 ISBN 9781605584829 S2CID 5769992 nbsp This computer science article is a stub You can help Wikipedia by expanding it vte Retrieved from https en wikipedia org w index php title Resource contention amp oldid 1173873019, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.