Invention Grant
- Patent Title: Buffer cache management to prevent deadlocks
- Patent Title (中): 缓冲区缓存管理,以防止死锁
-
Application No.: US11958982Application Date: 2007-12-18
-
Publication No.: US07882285B2Publication Date: 2011-02-01
- Inventor: Matthew J. Harding , Mitchell P. Harding , Joshua D. Miers
- Applicant: Matthew J. Harding , Mitchell P. Harding , Joshua D. Miers
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Dillon & Yudell LLP
- Main IPC: G06F12/08
- IPC: G06F12/08

Abstract:
A method, computer program product, and data processing system for managing a input/output buffer cache for prevention of deadlocks are disclosed. In a preferred embodiment, automatic buffer cache resizing is performed whenever the number of free buffers in the buffer cache diminishes to below a pre-defined threshold. This resizing adds a pre-defined number of additional buffers to the buffer cache, up to a pre-defined absolute maximum buffer cache size. To prevent deadlocks, an absolute minimum number of free buffers are reserved to ensure that sufficient free buffers for performing a buffer cache resize are always available. In the event that the buffer cache becomes congested and cannot be resized further, threads whose buffer demands cannot be immediately satisfied are blocked until sufficient free buffers become available.
Public/Granted literature
- US20090157969A1 BUFFER CACHE MANAGEMENT TO PREVENT DEADLOCKS Public/Granted day:2009-06-18
Information query