发明名称 Computer system, cache control method, and server
摘要 A computer system, comprising: a server on which an application providing a service runs; and a storage system for storing data, the server including a cache device in which a server cache for temporarily storing data is set up, and an operating system for controlling the server, the operating system including a cache driver for controlling the server cache, wherein the operating system is configured to hold access information storing a frequency of reading data and a frequency of writing data, and wherein the cache driver is configured to: update the access information in a case where an I/O request; analyze access characteristics of data that is a target for the I/O request based on the access information; and determine whether to store the data that is the target for the I/O request in the server cache.
申请公布号 US9591096(B2) 申请公布日期 2017.03.07
申请号 US201414287250 申请日期 2014.05.27
申请人 Hitachi, Ltd. 发明人 Kondo Nobukazu;Fukumura Yuusuke;Sugimoto Ken
分类号 G06F15/16;H04L29/08 主分类号 G06F15/16
代理机构 Mattingly & Malur, PC 代理人 Mattingly & Malur, PC
主权项 1. A computer system, comprising: a server including a first processor, a first memory, a cache device in which a server cache is set, and a first interface, where the first memory stores instructions that, when executed by the processor, causes the processor to: execute an operating system for controlling the server, the operating system including a cache driver for controlling the server cache, execute an application providing a service, and store data used by the application in the server cache, a storage system including a second processor, a second memory, and a second interface coupled to the first interface, and a plurality of storage devices for storing data used by the application, where the second memory includes a storage cache for temporarily storing data to be written to the storage devices, and instructions that, when executed by the second processor, cause the second processor to: control the storage system, wherein the operating system is configured to hold access information storing a frequency of reading data from a plurality of areas of the storage devices and a frequency of writing data to the plurality of areas of the storage devices, and wherein the cache driver is configured to: update the access information when an I/O request is received from the application; analyze access characteristics of a target area of the I/O request based on the updated access information; determine whether to store data of the I/O request in the server cache based on the frequency of reading data from the target area and frequency of writing data to the target area; when the target area is frequently written, storing the data of the I/O request in the storage cache; when the target area is frequently read, storing the data of the I/O request in the server cache; and wherein, when the I/O request is a read request to read first data in the target area, the cache driver is configured to: determine whether the first data is stored in the server cache; when the first data is not stored in the server cache, transmit the read request to the storage system; update the frequency of reading the target area in the access information; determine whether the target area is frequently read by the application based on the updated access information; and when the target area is frequently read by the application, store the first data into the server cache, and wherein, when the I/O request is a write request to write second data in the target area, the cache driver is configured to: determine whether the data of the target area is stored in the server cache; when the data of the target area is stored in the server cache, update the data of the target area in the server cache with the second data; transmit the write request to the storage system; update the frequency of writing the target area in the access information; determine whether the target area is frequently written by the application based on the updated access information; and when the target area is frequently written by the application, invalidate the second data stored in the server cache.
地址 Tokyo JP