Abstract A device input/output ("I/O") monitoring mechanism serving as an interface between a computer operating system kernel and a device driver which obviates the necessity of implementing specific pseudo-device drivers for various peripheral devices and provides a standard interface between, for example, computer mass storage devices and a computer operating system. The I/O monitoring mechanism disclosed is of especial utility in the measurement of general storage device I/O performance and allows I/O statistics to be presented to application-level software operating in conjunction with a computer operating system which facilitates the identification of storage device "hot spots" within metadevices and sub-metadevices. The mechanism of the present invention is usable across a wide range of storage device peripheral hardware and device drivers and allows user-level program code to readily determine the associated physical sub-component.
A peripheral device I/O monitor for a computer having an operating system resident thereon with a device statistics presentation mechanism and including a hardware abstraction layer for interfacing to an associated peripheral device and a device statistics presentation mechanism, said peripheral device including a device driver operatively responsive to said hardware abstraction layer of said computer operating system, said device I/O monitor comprising: a pseudo-device driver operatively interposed between said hardware abstraction layer of said computer operating system and said device driver, said pseudo-device driver presenting corresponding first and second pseudo-device driver hardware abstraction layers, said first pseudo-device driver hardware abstraction layer being coupled to said computer operating system and said second pseudo-device driver hardware abstraction layer being coupled to said device driver.
Claim 2
Dependent Claim
123 words
A peripheral device I/O monitor for a computer having an operating system resident thereon with a device statistics presentation mechanism and including a hardware abstraction layer for interfacing to an associated peripheral device and a device statistics presentation mechanism, said peripheral device including a device driver operatively responsive to said hardware abstraction layer of said computer operating system, said device I/O monitor comprising: a pseudo-device driver operatively interposed between said hardware abstraction layer of said computer operating system and said device driver, said pseudo-device driver presenting corresponding first and second pseudo-device driver hardware abstraction layers, said first pseudo-device driver hardware abstraction layer being coupled to said computer operating system and said second pseudo-device driver hardware abstraction layer being coupled to said device driver.
Claim 3
Dependent Claim
20 words
The device I/O monitor of claim 1 wherein said computer operating system is a UNIX System V compliant operating system.
Claim 4
Dependent Claim
20 words
The device I/O monitor of claim 1 wherein said first and second pseudo-device driver hardware abstraction layers are DDI/DKI layers.
Claim 5
Dependent Claim
63 words
The device I/O monitor of claim 1 wherein said pseudo-device driver functions to intercept one or more selected calls from said computer operating system to said device driver and initiate a call back to said device statistics presentation mechanism through said computer operating system and said first pseudo-device driver hardware abstraction layers to record an occurrence of said one or more selected calls.
Claim 6
Dependent Claim
33 words
The device I/O monitor of claim 4 wherein said pseudo-device driver further functions to pass said one or more selected calls to said device driver through said second pseudo-device driver hardware abstraction layer.
Claim 7
Dependent Claim
76 words
The device I/O monitor of claim 4 wherein said pseudo-device driver functions to further intercept one or more selected device calls from said device driver through said second pseudo-device driver hardware abstraction layer to said computer operating system and further initiate an additional call back to said device statistics presentation mechanism through said computer operating system and said first pseudo-device driver hardware abstraction layers to record an occurrence of said one or more selected device calls.
Claim 8
Dependent Claim
31 words
The device I/O monitor of claim 5 wherein said one or more selected calls comprise an access to said peripheral device selected from a group comprising read, write and strategy operations.
Claim 9
Dependent Claim
38 words
The device I/O monitor of claim 6 wherein said pseudo-device driver functions to further pass said one or more device calls to said operating system through said computer operating system and said first pseudo-device driver hardware abstraction layers.