US 7,523,256 B2
System and method for scheduling disk writes in an application server of transactional environment
William John Gallagher, Easton, Pa. (US); Dean Bernard Jacobs, Berkeley, Calif. (US); and Anno R. Langen, Berkeley, Calif. (US)
Assigned to BEA Systems, Inc., Redwood Shores, Calif. (US)
Filed on Jan. 30, 2006, as Appl. No. 11/343,979.
Claims priority of provisional application 60/690793, filed on Jun. 15, 2005.
Prior Publication US 2007/0005882 A1, Jan. 04, 2007
Int. Cl. G06F 13/00 (2006.01)
U.S. Cl. 711—112  [707/202; 707/204] 16 Claims
OG exemplary drawing
 
1. A system for scheduling disk writes in a transaction system, comprising:
a server that includes an application executing thereon;
a disk that is used by said application to store data;
a disk head that operates in conjunction with said disk and writes said data onto blocks on said disk; and
a disk scheduler that operates within said application, is independent of underlying operating system of said server, schedules sequential writes by said application to said disk;
wherein said disk scheduler schedules the writes by
repeatedly monitoring and determining lapsed time between completion of one write and start of actual transfer of data to said disk of next following write,
repeatedly monitoring and determining variable block speed of said disk, and
repeatedly selecting for writing onto, blocks on said disk that are about to rotate under said disk head at the end of a time period that is equal to said lapsed time based on said variable block speed, skipping other blocks that pass under said disk head during said time period.