US5652857A - Disk control apparatus for recording and reproducing compression data to physical device of direct access type - Google Patents

Disk control apparatus for recording and reproducing compression data to physical device of direct access type Download PDF

Info

Publication number
US5652857A
US5652857A US08/593,648 US59364896A US5652857A US 5652857 A US5652857 A US 5652857A US 59364896 A US59364896 A US 59364896A US 5652857 A US5652857 A US 5652857A
Authority
US
United States
Prior art keywords
compression
data
cache
group
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
US08/593,648
Inventor
Hiroyuki Shimoi
Naoaki Okayasu
Satoru Kaneko
Shigeru Honmura
Hidetomo Maeda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Assigned to FUJITSU LIMITED reassignment FUJITSU LIMITED ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HONMURA, SHIGERU, KANEKO, SATORU, MAEDA, HIDETOMO, OKAYASU, NAOAKI, SHIMOI, HIROYUKI
Application granted granted Critical
Publication of US5652857A publication Critical patent/US5652857A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0866Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00007Time or data compression or expansion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F2003/0697Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers device management, e.g. handlers, drivers, I/O schedulers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/40Specific encoding of data in memory or cache
    • G06F2212/401Compressed data

Definitions

  • the present invention relates to a disk control apparatus for recording and reproducing compressed data to/from a physical device such as a direct accessing apparatus or the like and, more particularly, to a disk control apparatus for recording and reproducing even compression data whose data size changes as fixed length block data to/from a physical device.
  • An external memory subsystem of a computer system needs a capacity which can store data such as many text files, program files, image data files, and the like in order to cope with multi-media.
  • a magnetic disk subsystem using a magnetic disk drive having characteristics such as non-volatility of the recording, large capacity, high speed of data transfer, and the like is widely used.
  • As a method of improving the capacity and reducing the costs of the magnetic disk subsystem attention is paid to a data compression in recent years.
  • a capacity of a disk drive is increased by compressing data using software residing on a host computer.
  • the data compression by the software results in increase in disk capacity while sacrificing CPU performance.
  • the data compression by the software is limited to fields as in the data back-up, data conveyance, and the like in which a high access response speed of data is not required.
  • a data amount to be stored in the disk drive is recognized by the host computer, so that a necessary memory capacity and a remaining memory capacity can be managed by the host computer in a manner similar to the case where there is no compressing process.
  • variable length compression data In an ordinary host computer, data is recorded and reproduced to/from a fixed length sector of the disk drive similarly on a fixed length data block unit basis (logic block unit basis). Since compression data obtained from the fixed length logic block becomes variable length data of various sizes due to the character of the data. Therefore, in a method of recording the variable length compression data into the fixed length sector of the present disk drive, the compression data cannot be effectively stored on a disk medium, so that an effective activity ratio of the disk medium is remarkably low. That is, when the variable length compression data is recorded as a recording unit into the fixed length sector on the disk medium, a vain portion in which no data is recorded exists and the effective activity ratio of the disk often deteriorates.
  • the compression data is read out from the disk medium by a read request from the host computer and expanded and, after that, updated, when the updated data is compressed, since the data size changes from that of the data before updating, the data cannot be always stored at the original location on the disk medium. Therefore, a number of fragmentations (vacancies) occur on the disk medium.
  • a segment cleaning has to be executed from time to time. During the execution of the segment cleaning, inputting/outputting processes for the disk drive have to be stopped and the device is busy during such a period of time, so that there is a problem of a deterioration of an accessing performance.
  • a disk control apparatus for compressing and expanding data and managing data by using a hardware of a disk control unit without increasing a CPU load on a host computer and without reducing an effective activity ratio of a disk drive.
  • a data length becomes a problem after the data was compressed. That is, although data that is managed by the host computer is usually a data block of a fixed length, when the fixed length data block is compressed, the data length is changed. This is because a size of compression data is decided depending on the character of the data. In case of seeing the disk drive from the host computer, a data management in which a non-compression data block is recognized is necessary in order to hold an equivalence of data.
  • the disk control apparatus needs a mapping table as a table for converting a logic block number (logic block address) managed by the host computer and a logic sector number (logic address number) which is managed by a magnetic disk drive.
  • the invention uses a method such that the disk control apparatus manages the variable length compression data in a form of a fixed length compression group (logic group) instead of a method such that the host computer manages the memory location of data. That is, a plurality of compression data obtained by compressing the fixed length block data is stored into a logic sector of a predetermined size, thereby using the variable length compression data as fixed length data, recording data so that a number of blank portions do not remain on the disk medium, and performing a necessary data management.
  • a method such that the disk control apparatus manages the variable length compression data in a form of a fixed length compression group (logic group) instead of a method such that the host computer manages the memory location of data. That is, a plurality of compression data obtained by compressing the fixed length block data is stored into a logic sector of a predetermined size, thereby using the variable length compression data as fixed length data, recording data so that a number of blank portions do not remain on the disk medium, and performing a necessary data management.
  • the non-compression data is managed by a logic block size of the host computer and is compressed on a logic block unit basis.
  • a number of compression data compressed from the logic block as mentioned above are collected and selected so as to form a logic group of a size having a predetermined logic sector size, and after that, a logic sector of the disk medium is given and the data is recorded into the disk drive.
  • a minimum unit which can be recorded in the disk drive is determined by a physical sector size when the disk medium is initialized.
  • the logic sector is set to a size that is integer times as large as the minimum physical sector.
  • dummy data is added, thereby obtaining the compression data of one logic sector.
  • mapping table In case of storing the logic sector to the disk drive, correspondence relations among a logic sector number, a logic block number of the compression data in the logic group, a compression flag, a relative position from the head logic block number, the number of sectors, and the like are registered in the mapping table.
  • the information to be registered in the mapping table can be added as sector information to the head of the logic sector and the resultant information can be also stored into the disk drive.
  • the disk control apparatus refers to the mapping table by the logic block number received from the host computer and detects the position of the logic sector. In the disk control apparatus, therefore, the mapping table is the most important element. When the mapping table is out of order, the mapping table can be reconstructed by reading out the sector information added to the head of the logic sector.
  • the logic group in which the updated data is included is disassembled and becomes a candidate for forming a new logic group on a cache memory and is always combined into a new logic group and a storage location is also changed.
  • the registration of the logic sector on the mapping table is also erased and the table is opened at the time of the group disassembly.
  • the disk drive as a physical device receives an allocation of a logic sector of a predetermined size (which is integer times as large as the minimum physical sector) and reads and writes data on a logic sector unit basis.
  • a cache memory is provided between the host computer and the disk drive.
  • the cache memory is divided into a non-compression cache memory for storing non-compression data on the logic block unit basis of the host computer and a compression cache memory for storing compression data on a compression group unit basis having the same size as that of the logic sector of the disk drive.
  • the logic block number of the host computer is used as an index and at least an address in the cache, a compression flag indicating whether compression data or not, and an update flag indicative of the presence or absence of the updating are registered and used for management of the cache memory.
  • a hit judging circuit judges whether data of a request block number from the host computer exists in the cache memory or not.
  • a compressing circuit extracts the data stored in the non-compression cache memory on a logic block unit basis and compresses the data.
  • a size of the compression data obtained at this time varies depending on the nature of the data and is not always equal to a size which is integer times as large as the minimum physical sector, for instance, 1 kB, as a minimum access unit that is determined by an initialized format of a physical device, for example, a disk drive.
  • the compressing circuit adds dummy data so that the size is equal to integer times of a minimum magnification sector.
  • a compression group forming unit collects the compression data of the logic block unit by the compressing circuit unit, thereby forming a compression group and storing the compression group into the compression cache memory.
  • An expanding circuit unit extracts the data stored in the compression cache memory on a compression group unit basis, expands, and develops into the non-compression cache memory.
  • a free linked list manages a vacant logic sector of the disk drive.
  • a device writing unit extracts the data stored in the compression cache memory on a compression group unit basis and writes into the logic sector in a vacant state obtained from the free linked list.
  • the mapping table registers at least the logic sector number indicative of the storing position in the disk drive, the relative position in the logic sector, and the number of sectors by using a request block number of the host computer as an index and is used for managing the compression data of the disk drive.
  • a device reading unit reads out the data in the disk drive on a compression group unit basis and transfers to the compression cache memory.
  • a write cache control unit processes a write request from the host computer.
  • a read cache control unit processes a read request from the host computer.
  • the processes of the write cache control unit are as follows. When a "mishit" is first judged by the hit judging unit for a write request from the host computer, a write logic block is stored into the non-compression cache memory and the end of the process is notified to the host computer. When a "hit" is judged in the non-compression cache memory by the hit judging unit for the write request from the host computer, the relevant logic block in the non-compression cache memory is updated to the write logic block from the host computer and the end of the process is notified to the host computer. In this instance, the logic sector number of the compression group to which the updated logic block belongs is erased from the mapping table and is moved to the free linked list (disassemble of the compression group).
  • the compression data of the other logic block belonging to the erased logic group remains in the compression cache memory, it is moved to the compression group forming unit and is set to a combination candidate of a new group formation.
  • the compression data including the hit logic block in the compression cache memory is expanded by the expanding circuit unit and is developed to the non-compression cache memory.
  • the relevant logic block developed in the non-compression cache memory is subsequently updated to the write logic block from the host computer and the end of the process is notified to the host computer.
  • the logic sector number of the compression group to which the updated logic block belongs is erased from the mapping table and is moved to the free linked list.
  • the write cache control unit purges the data from the non-compression cache memory in accordance with an LRU.
  • a cache table is referred to by the purged logic block number, the logic block in which an update flag has been set to the high level is taken out and compressed by the compressing circuit and the resultant block is supplied as a combination candidate to the compression group forming unit.
  • the write cache control unit purges the compression group from the compression cache memory in accordance with the LRU.
  • the logic sector in a vacant state is allocated by referring to the free linked list for the purged compression group and is written into the disk drive by the device writing unit.
  • the logic block number, logic sector number, relative position in the logic sector, and the number of sectors of a plurality of logic blocks belonging to the written compression group are registered in the mapping table.
  • the candidates of compression groups to be formed by the compression group forming unit are combined in accordance with the storing order of the compression data in the buffer memory in the compressing circuit or the compressing order.
  • One compression group can be also formed by detecting the size of compression data, forming a candidate list in which data is classified every data size, and selecting a plurality of candidates which exceed the standard size from the candidate list. In this case, one compression data group can be also formed by selecting a plurality of candidates of the same size from the candidate list in which the data has been classified every size.
  • One compression data group can be also formed by selecting a plurality of candidates of different sizes. There occurs a case such that a total data size obtained by combining a plurality of candidates is less than a specified compression group size depending on the compression data size. In this case, one compression group is formed by storing dummy data into vacant remaining areas.
  • the number of candidates to be combined into one compression group can be limited to a specific number by the compression group forming unit. For example, the number of candidates to be combined to one compression group is limited to two or less or four or less. Such a limitation depends on the number of parallel circuits of the compressing circuit and expanding circuit which are constructed by a hardware.
  • the number of compression data in the group is limited to two, thereby enabling parallel processes to be executed and the data can be compressed or expanded at a high speed.
  • the compression group which is used in the invention has a size which is integer times as large as the logic block of the host computer. For example, when a mean compression ratio is equal to 1/2, a double size is preferable. A size of 2 n times (where, n is integer of 1, 2, 3, 4, . . . ) as large as the logic block of the host computer can be also used.
  • the device writing unit adds information that is registered in the mapping table to the head of the logic sector as sector information and stores the resultant data into the disk drive.
  • the mapping table can be reconstructed by reading out the sector information of the logic sector from the disk drive.
  • the write cache control unit can also select the logic sector of the disk drive to be stored from the free linked list by a hashing. For example, the logic sector of the disk drive to be stored is selected from the free linked list by the hashing in the same cylinder address. Thus, a seek performance of the disk drive is raised.
  • Processes of the read cache control unit are as follows.
  • the read cache control unit reads out the compression group of the relevant logic sector from the disk drive by referring to the mapping table by the logic block number of the read request, the relevant compression data is extracted from the read compression group, expanded by the expanding circuit, developed to the cache memory, and transferred to the host computer.
  • the process is finished.
  • the relevant logic block is transferred from the non-compression cache memory to the host computer and the process is finished.
  • the compression group including the relevant logic block is extracted from the compression cache memory, expanded by the expanding circuit, and developed to the non-compression cache memory.
  • the relevant logic block in the non-compression cache memory is transferred to the host computer and the process is finished.
  • a duplexed system is constructed by using two systems each comprising the cache memory, cache table, hit judging unit, compressing circuit, compression group forming unit, expanding circuit, device writing unit, mapping table, device reading unit, write cache control unit, and read cache control unit.
  • the host computer commonly uses the two systems and the two systems commonly use the disk drive.
  • Each of the read cache control units in the duplexed two systems independently operates for the read request from the host computer.
  • each of the write cache control units in the duplexed two systems copies the new data into the cache memory of the other system and also updates the cache table of the other system. Even when hit data is updated to the new data from the host computer according to the hit judgement of the self cache memory, the updated data is copied to the cache memory of the other system and the cache table of the other system is also updated.
  • the compression group forming unit adds a position flag indicative of the position in the group to the head position of each candidate upon forming the compression group and also registers the position flag into the mapping table when the compression group is written into the disk drive.
  • the position flag shows either one of the head position in the group, a middle position in the group, and a middle position between the end of the group and the head of the next group.
  • the read cache control unit expands the compressed logic block unit by using the position flag in the compression group.
  • a non-volatile memory is used as a cache memory.
  • the mapping table is stored into the non-volatile memory provided as a cache memory.
  • the disk drive is a magnetic disk drive, an optical disk drive, or a semiconductor memory device.
  • a disk array apparatus having a plurality of disk drives can be also used as a disk drive.
  • the disk control apparatus of the external memory subsystem executes the data compression, a load concerning the data compression of the host computer is eliminated, the capacity of the existing external memory system is increased, and a system of low costs can be realized.
  • the fixed length data from the host computer is compressed by the disk control apparatus, although the compression data length varies depending on the nature of the data, one fixed length compression group is formed by combining a plurality of compression data and the data is recorded and reproduced to/from the disk drive on a compression group unit basis, thereby enabling the fixed length recording of the compression data as variable length data to be performed. Internal fragments of the disk drive can be minimized. Therefore, the segment cleaning of the disk drive which is necessary for storing the variable length data is unnecessary and the "device busy" due to the segment cleaning doesn't occur, so that the access performance can be improved. The "device busy" doesn't occur due to the segment cleaning.
  • FIG. 1 is a block diagram of an operation environment to which the invention is applied;
  • FIG. 2 is a block diagram of a hardware construction which realizes a system of FIG. 1;
  • FIG. 3 is a detailed block diagram of a compressing module in FIG. 2;
  • FIG. 4 is a functional block diagram of the invention.
  • FIG. 5 is an explanatory diagram of a cache memory
  • FIG. 6 is an explanatory diagram of a cache table
  • FIG. 7 is an explanatory diagram of a non-compression cache memory and a compression cache memory
  • FIGS. 8A and 8B are explanatory diagrams of compression data of 4 kB;
  • FIG. 9 is an explanatory diagram of a candidate list of compression groups
  • FIG. 10 is an explanatory diagram of a mapping table
  • FIG. 11 is an explanatory diagram of a free linked list
  • FIG. 12 is an explanatory diagram of a flow from a compression to a disk storage
  • FIG. 13 is an explanatory diagram of a writing process at the time of a mishit
  • FIG. 14 is an explanatory diagram of a writing process when a hit occurs in a non-compression cache
  • FIG. 15 is an explanatory diagram of a writing process when a hit occurs in a compression cache
  • FIG. 16 is an explanatory diagram of a write back process at the time of a cache purge
  • FIG. 17 is a flowchart for a writing process of a write cache control unit
  • FIG. 18 is a flowchart for an updating process of a mapping table in FIG. 17;
  • FIG. 19 is an explanatory diagram of a reading process when a mishit occurs in a cache
  • FIG. 20 is a flowchart for a reading process of a read cache control unit
  • FIG. 21 is a block diagram of a duplex configuration
  • FIG. 22 is a flowchart for a writing process of the duplex configuration
  • FIG. 23 is a flowchart for updating processes 1 and 2 in FIG. 22;
  • FIG. 24 is a flowchart for an updating process of a mapping table in FIG. 23;
  • FIG. 25 is a flowchart for updating processes 3 and 4 in FIG. 22;
  • FIG. 26 is a flowchart for a doubling process in FIG. 25;
  • FIG. 27 is a flowchart for an updating process 5 in FIG. 22;
  • FIG. 28 is a flowchart for a reading process of the duplex configuration
  • FIG. 29 is an explanatory diagram of a compression group formation which doesn't need an addition of dummy data
  • FIG. 30 is an explanatory diagram showing a compression group in FIG. 29;
  • FIG. 31 is an explanatory diagram of a mapping table which is formed when LRU in the compression group is purged;
  • FIG. 32 is a flowchart for a writing process to add a position flag
  • FIG. 33 is a flowchart for a reading process using the position flag.
  • FIG. 34 is a block diagram of another operation environment of the invention.
  • FIG. 1 is a block diagram of an operation environment in which a compression data memory system of the invention is embodied.
  • a subsystem for external storage is constructed by a magnetic disk control unit 12 and a disk array having a plurality of disk drives 14-1 to 14-6.
  • An MPU 16, an ROM 18, an RAM 20, a host interface (I/F) control circuit 22, a disk interface (I/F) control circuit 24, a cache control circuit 26, a cache memory 28, a hit judging circuit 30, and a compressing and expanding circuit 32 are provided for the magnetic disk control unit 12 and are connected to the MPU 16 by an internal bus 34, respectively.
  • the MPU 16 controls the whole magnetic disk control unit 12 by a program provided in the ROM 18.
  • the compressing and expanding circuit 32 is provided for the magnetic disk control unit 12 and executes a control for data compression and reconstruction such that data from a host computer 36 is compressed by the compressing and expanding circuit 32 and is stored into the disk drives 14-1 to 14-6 and, on the other hand, the compression data read out from the disk drives 14-1 to 14-6 is expanded and transferred to the host computer 10.
  • the MPU 16 also performs a control such that after the data transmitted on a logic block unit basis from the host computer 10 was compressed, it is combined into a predetermined logic sector to thereby form a compression group, and the compression groups are written into the disk drives 14-1 to 14-6.
  • the host I/F control circuit 22 and disk I/F control circuit 24 presume, for example, the SCSI.
  • the cache memory 28 temporarily holds the data that is transferred between the host computer 10 and the disk drives 14-1 to 14-6 as physical devices.
  • the cache memory 28 also temporarily holds the compression data combined into the compression group.
  • the compression data compressed on a logic block unit basis of the host computer 10 by the compressing and expanding circuit 32 is combined into a compression group of a predetermined size in the cache memory 28. After that, the compression data is stored into the disk drives 14-1 to 14-6 as physical devices.
  • the compressing and expanding circuit 32 has a buffer memory therein and compresses and expands the data transferred into the buffer memory. A data transmission between the buffer memory built in the compressing and expanding circuit 32 and the cache memory 28 is controlled by the MPU 16.
  • the magnetic disk control unit 12 recognizes a plurality of disk drives 14-1 to 14-6 which are physically connected as one logic disk.
  • the compression data is combined and stored in the logic disk on a compression group unit basis.
  • a capacity of the logic disk which is recognized by the magnetic disk control unit 12 is equal to 1 GB.
  • the disk capacity is doubled due to the data compression, the capacity of the logic disk is expanded to 2 GB and is handled.
  • a minimum sector unit at which the disk drives 14-1 to 14-6 can be accessed has been determined by a format of an initializing process and, for example, the minimum physical sector is set to 1 kB.
  • a size of compression group (also referred to as a compression cluster) in which a plurality of compression data derived by the compression of the logic block unit is collected is set to 16 kB, which is four times as large as that of the logic block.
  • FIG. 2 shows a case where the invention is applied to an RAID controller as a specific example of the operation environment of FIG. 1.
  • the RAID controller is constructed by: a processor module 100 for a host interface; a host interface module 102; a processor module 106 for a device interface; and device interface modules 108-1 to 108-6.
  • a data compressing and expanding module 104 is further added to such an ordinary RAID controller.
  • the processor module 100 for the host I/F is constructed by a main processor 110, a co-processor (abbreviation of cooperated processor) 112, a flash memory 114, a processor supporting logic 116, and a system storage 118. This construction shall also apply to the processor module 106 for the device I/F.
  • the processor module 106 is constructed by a main processor 136, a co-processor 138, a flash memory 140, a processor supporting logic 142, and a system storage 144.
  • the processor module 100 for the host I/F and processor module 106 for the device I/F are connected by a control bus through a processor bus bridge 156.
  • the host I/F module 102 has a host interface 120, a host buffer interface 122, and a cache memory 124.
  • a backup power source 125 is provided for the cache memory 124 and constructs a non-volatile cache memory.
  • the module 108-1 has a device buffer interface 146, a buffer memory 148, and a device interface 150.
  • the data compressing and expanding module 104 newly added to the RAID controller as mentioned above has an upper interface 126, a lower interface 128, a buffer memory 130 for storing expansion data, a buffer memory 132 for storing compression data, and four compressing and expanding logics 134-1 to 134-4.
  • FIG. 3 shows the details of the data compressing and expanding module 104 in FIG. 2.
  • the upper interface 126 is provided for connection with an internal bus on the host side.
  • the lower interface 128 is used for connection with an interface on the device side.
  • the upper interface 126 is provided with a compression LSI control circuit 160, a system bus control circuit 162, a control register 164, an address register 166, a data register 168, an arbiter 170, and a command register 172. This internal construction shall also apply to the lower interface 128.
  • the logic 134-1 has a data compressing circuit 173, a data expanding circuit 174, a dictionary memory 176, and a comparing circuit 178.
  • a compressing algorithm which is realized by the compressing and expanding logics 134-1 to 134-4, a proper algorithm such as arithmetic encoding algorithm AZ (algorithm), LZW algorithm, or the like can be applied.
  • AZ arithmetic encoding algorithm
  • LZW algorithm LZW algorithm
  • the data which was swept out from the cache memory is stored into the buffer memory 130 for storing the expansion data and, after that, the data is compressed and stored into the buffer memory 132 for storing the compression data.
  • the compression data storing buffer memory 132 forms a compression group (compression cluster) of, for example, 16 kB by collecting a plurality of compression data. The formation of the compression group using a plurality of compression data will be obviously explained hereinlater.
  • the compression group is returned to the cache memory. After that, the compression group is stored into a disk drive of an array construction forming a logic disk.
  • the module side shown in the diagram is set to a system 1
  • a duplexed construction is realized.
  • the systems 1 and 2 are coupled by a data bus through bridge buffer interface 152 and a peripheral logic 154. Therefore, data and various commands are transmitted and received between the systems 1 and 2.
  • FIG. 4 is a functional block diagram of the magnetic disk control unit 12 in FIG. 1.
  • the magnetic disk control unit 12 of the invention has the hit judging circuit 30, a cache table 40, a non-compression cache memory 42, a compression cache memory 44, a compressing circuit 48, an expanding circuit 50, a compression group forming unit 52, a mapping table 54, a free linked list 56, a device writing unit 58, a device reading unit 60, a write cache control unit 62, and a read cache control unit 64.
  • an LRU unit 46 is provided for the non-compression cache memory 42 in order to realize a cache function.
  • an LRU unit 55 is provided for the compression cache memory 44.
  • FIG. 5 shows the cache memory 28 in FIG. 1.
  • the cache memory 28 is divided into a non-compression data area 42 and a compression data area 44.
  • the non-compression data area 42 is set to the non-compression cache memory 42 and the compression data area 44 is set to the compression cache memory 44.
  • the cache memory 28 is a non-volatile memory since it has the backup power source 125 as shown in the hardware construction of FIG. 2.
  • the mapping table 54 is stored in the cache memory 28 as a non-volatile memory.
  • a logic block size of 4 kB as a processing unit of the host computer 10 is set to a cache block (cache segment) and the data is managed.
  • the cache blocks (cache segments) are managed on a compression group unit basis of 16 kB.
  • the contents of the cache memory 28 are stored in the cache table 40.
  • FIG. 6 shows the cache table 40 of the invention.
  • Table information is formed in the cache table 40 every logic block number 40-1 which is handled by the host computer.
  • an address 40-2 in the cache indicative of a storing position a data length 40-3, a compression flag 40-4 indicating whether the data is compression data or not, and an updating flag 40-3 indicating whether the data has been updated (rewritten) on the cache or not are registered. Therefore, for a write request or a read request in which the logic block number is designated and which is transmitted from the host computer 10, the hit judging circuit 30 can judge whether a mishit or a hit has occurred in the cache on the basis of the presence or absence of the registered logic block number 40-1 with reference to the cache table 40 in FIG. 6.
  • the address 40-2 in the cache, data length 40-3, the compression data (when the compression flag 40-4 is set) or non-compression data (when the compression flag 40-4 is reset), and the updating result regarding whether the data has been updated (when the updating flag 40-5 is set) or not (when the updating flag 40-5 is reset) can be known from the table data corresponding to the relevant logic block number 40-1.
  • FIG. 7 shows the transmission and reception of the non-compression data and compression data in the cache memory by the compressing circuit 48 in FIG. 4.
  • the data is managed by cache blocks 68-1 to 68-n each having a size of 4 kB which coincides with the logic block size of the host computer 10. It is now assumed that data of logic block numbers #a, #b, #c, and #d has been stored in the non-compression cache memory 42.
  • the compressing circuit 48 compresses each of the cache blocks 68-1 to 68-4, thereby forming compression data.
  • the compression cache memory 44 is managed on a compression group (compression cluster) unit basis having a size of 16 kB, that is four times as large as that of each of the cache blocks 68-1 to 68-n of 4 kB. Therefore, compression data 72-1 to 72-4 of the cache blocks 68-1 to 68-4 of the logic block numbers #a to #d are combined to one data block as shown in, for example, a compression group 70-n.
  • compression group compression cluster
  • FIGS. 8A and 8B show the compression data of the logic block of 4 kB according to the compressing circuit 48. It is now assumed that a logic block 68 of 4 kB in FIG. 8A is compressed by the compressing circuit 48 and compression data 72 in FIG. 8B is obtained. It is now assumed that the compression data has, for example, 1.5 kB. In the disk drives 14-1 to 14-6 as physical devices of the invention, a size of minimum physical sector which can be accessed is determined to be, for example, 1 kB according to the format upon initialization. Therefore, in case of the compression data 72 of 1.5 kB itself, the minimum physical sector cannot be stored into the disk drive of 1 kB.
  • the compression block has at least a size of 1 kB that is equal to the minimum physical sector of the disk drive.
  • the compression block added with the dummy data 82 as necessary has the inherent compression data and a compression data portion 86 including the dummy data provided as necessary subsequent to a start code 84, and an end code 88 is provided at the end.
  • the compressing circuit 48 and expanding circuit 50 can perform a grouping operation due to a combination of the compression blocks corresponding to the logic block numbers each having a size that is integer times as large as the minimum physical sector and an extraction of the necessary compression blocks from the group.
  • FIG. 9 shows an example of the process for forming a compression group from the compression blocks derived by the compression of the logic block unit.
  • a size list 74 the number of bytes within a range from 1 kB to 16 kB which are used in the compression block are prepared and a candidate list to combine the compression groupin which the compression blocks are classified every size is formed.
  • compression blocks 76-1 and 76-2 are linked as a combination candidate in 1 kB of the number of bytes which are used.
  • compression blocks 76-3 to 76-8 separated to the same size are linked by a list structure in 2 kB to 5 kB of the numbers of bytes used, respectively.
  • the compression group of 16 kB can be also formed by combining the compression blocks of different sizes. In this case, two or more compression blocks of the same size can be also used.
  • the compression group of 16 kB can be also formed in accordance with the time-dependent compressing order by the compressing circuit 48.
  • the compression group of 16 kB by the combination of a plurality of compression blocks is formed, as shown in the compression group 70-n in FIG. 7, it is desirable to form 16 kB without causing a remainder by combining the four compression blocks 72-1 to 72-4.
  • the compression group of 16 kB by adding dummy data (NULL) into a vacant area.
  • NULL dummy data
  • the compression groups formed by the compression group forming unit 52 are stored into the compression cache memory 44 as shown in FIG. 7.
  • a capacity used in the compression cache memory 44 reaches a specified value
  • the compression groups stored in the compression cache memory 44 are swept out by the LRU unit 55 and is written back to a disk drive 14 as a physical device.
  • vacant logic sectors are sequentially allocated in accordance with the order from the head of the list with reference to the free linked list 56 indicative of vacant states of the logic sectors of the disk drive 14 and the compression groups are stored into the allocated logic sectors.
  • a correspondence relation between the logic block number of each compression block included in the compression group and the logic sector number as a storage destination is registered into the mapping table 54.
  • FIG. 10 shows the mapping table 54 of the present invention.
  • a logic sector number 54-2 of the disk drive 14 as a storage destination of the compression group in which the compression blocks are combined, the number of offset sectors 54-3 indicative of the relative position from the head of the compression group to the relevant compression block, and a sector length 54-4 indicative of the size of compression block have been stored in the mapping table 54 in correspondence to a logic block number 54-1 which is handled by the host computer 10. Therefore, when the magnetic disk control unit 12, specifically speaking, the write cache control unit 62 or read cache control unit 64 in FIG. 4 extracts the necessary data from the disk drive 14 by using the logic block number notified from the host computer 10, it is possible to access by obtaining the logic sector number 54-2 from the mapping table 54.
  • the compression block of the necessary logic block number is extracted from the compression group which was read out from the disk drive 14 and developed in the compression cache memory 44, the position from the head of the group is known by the number of offset sectors 54-3 in the mapping table 54, the compression blocks corresponding to the sector length 54-4 are extracted and are expanded by the expanding circuit 50, and the expanded logic blocks can be developed in the non-compression cache memory 42.
  • FIG. 11 shows a free linked list which is used for allocation of the logic sectors to the logic groups.
  • the free linked list 56 has a link structure in which empty logic sectors 56-1, 56-2, and 56-3 in a logic sector table 66 are coupled by address information.
  • An address of the empty logic sector 56-1 in the free linked list is managed as a head address by the MPU 16.
  • For the head address an address of the next empty logic sector 56-2 is stored into the head empty logic sector 56-1 in the logic sector table 66.
  • addresses of the subsequent logic sectors are sequentially stored. Therefore, when writing back to the compression cache memory 44, the MPU 16 allocates the empty logic sector 56-1 having the head address in the free linked list 56 to the compression group which was swept out, thereby performing the storage into the disk drive 14 and the formation of the mapping table 54.
  • FIG. 12 shows a flow of processes which are executed until the storage from the non-compression cache memory 42 to the disk drive 14.
  • the non-compression cache memory 42 is managed on a cache block unit basis of 4 kB.
  • the cache blocks are swept out by the LRU and are compressed on a logic block unit basis and are converted to compression groups 70-1 to 70-n of 16 kB on the non-compression cache memory 42.
  • the compression cache memory 44 when the cache capacity reaches the specified value, the compression blocks are swept out by the LRU and are stored into the disk drive 14.
  • the sector information 78-1 of the compression block 72-1 is constructed by a flag 96-1, a logic block number 96-2, and the number of offset sectors 96-3.
  • the flag 96-1 indicates whether the sector information is valid or not. When the flag 96-1 is set, the sector information is valid.
  • the logic block number 96-2 is a logic block number of the compression block 72-1 shown by the sector information 78-1.
  • the number of offset sectors 96-3 is the number of sectors indicative of the relative position from the head of the compression group 70-n to the compression block.
  • the logic block number of each compression block included in the group and the number of offset sectors indicative of the position in the group are included at the head of the compression group to be stored into the disk drive 14, so that even if the mapping table 54 provided for the cache memory fails, by reading out the sector information of the disk drive 14, the mapping table 54 can be reconstructed.
  • up to eight sector information 78 can be stored into the compression group 70-n, there are 64 bytes per compression block and an area of a fixed length of 512 bytes as a whole is set.
  • the writing process of data in the magnetic disk control unit 12 of the invention is mainly classified into the following three cases.
  • FIG. 13 relates to the processes in the case where the data corresponding to the logic block number requested by the host computer 10 doesn't exist in the cache memory, namely, the case where the data doesn't exist in the non-compression cache memory 42 and compression cache memory 44.
  • the write request using the logic block number is performed from the host computer 10 to the write cache control unit 62.
  • the write cache control unit 62 requests the hit judging circuit 30 to judge about the occurrence of a hit.
  • the hit judging circuit 30 refers to the cache table 40 by using the logic block number from the host computer 10. In this case, a mishit occurs because the logic block number as a target of the write request doesn't exist in the non-compression cache memory 42 and compression cache memory 44.
  • the write cache control unit 62 which received the judgment result of the mishit from the hit judging circuit 30 obtains the address in the cache by a predetermined hashing with respect to the write logic block from the host computer 10, stores the address into the non-compression cache memory 42 as a cache block 68, and notifies a device end to the host computer 10. Simultaneously with the storage into the non-compression cache memory 42, the address 40-2 and data length 40-3 in the cache corresponding to the logic block number 40-1 as shown in FIG. 6 are registered into the cache table 40. In this case, since the data is the non-compression data, the compression flag 40-4 is reset to OFF and the updating flag 40-5 is also reset to OFF because of the storage of the new data.
  • FIG. 14 shows the processing operation in the case where the data exists in the non-compression cache memory 42.
  • the write cache control unit 62 which received the write request in which the logic block number was designated and which is sent from the host computer 10 requests the hit judging circuit 30 to execute a judging process.
  • the hit judging circuit 30 searches the relevant logic block number with reference to the cache table 40 and judges the occurrence of a hit indicating that the data exists in the non-compression cache memory 42 because the compression flag is reset to OFF.
  • the write cache control unit 62 updates the cache block 68 in the non-compression cache memory 42 specified by the hit judgment by using the write logic block from the host computer 10.
  • the updating flag 40-5 (refer to FIG.
  • the updating flag is reset to OFF, the updating flag is set to ON.
  • the logic sector number allocated to the compression group 70 including the updated cache block 68 is erased from the mapping table 54. Specifically speaking, all of the logic block numbers corresponding to the compression blocks constructing the compression group 70 are deleted from the mapping table 54.
  • the compression blocks constructing the compression group 70 other than the updated cache block 68 are returned to the compression group forming unit 52 and are added to the candidate list to form a new compression group.
  • the compression group is dispersed. With respect to the compression blocks other than the target to be updated, by again returning them to the candidates to form a compression group, a compression group of an exactly new combination is formed and stored into the disk drive 14.
  • FIG. 15 relates to the case where data exists in the compression cache memory 44.
  • the write cache control unit 62 requests the hit judging circuit 30 to discriminate about the hit by receiving the write request by the designation of the logic block number from the host computer 10, it will be understood that the compression block 72 of the corresponding logic block number exists in the compression cache memory 44 by referring to the cache table 40. Therefore, the write cache control unit 62 recognizes the relative position from the head of the compression block 72 included in the compression group 70 and the data length with reference to the mapping table 54. The control unit 62 extracts the compression block 72, expands it by the expanding circuit 50, and develops as a cache block 68 into the non-compression cache memory 42.
  • the write cache control unit 62 updates the cache block 68 developed in the non-compression cache memory 42 by the write request block from the host computer 10.
  • the relevant updating flag in the cache table 40 is set to ON.
  • All of the logic block numbers of the other compression blocks included in the compression group 70 from which the compression block 72 was extracted are deleted from the mapping table 54.
  • the logic sectors allocated to the compression group 70 are also deleted and the deleted logic sectors are returned to the free linked list 56.
  • the other compression blocks included in the compression group 70 other than the updated compression block 72 are returned to the compression group forming unit 52 and are set to candidates to combine a new compression group.
  • FIG. 16 shows a compressing process when a using efficiency of the non-compression cache memory 42 increases and the sweeping-out process of the cache blocks is performed in order to write back and, similarly, a process when a using efficiency of the cache capacity of the compression cache memory 44 increases and the cache sweeping-out process to write back the compression group is executed.
  • the non-compression cache memory 42 it is assumed that among the cache blocks managed by the LRU unit 46, the cache blocks 68-1 to 68-m were swept out to write back from the disk drive 14 in association with an increase in cache using efficiency.
  • the cache blocks 68-1 to 68-m which were swept out from the non-compression cache memory 42 are supplied to the compressing circuit 48 and compressed on a block unit basis and are combined into a compression group of the unit of 16 kB by the compression group forming unit 52 and are stored into the compression cache memory 44.
  • the compression flag 40-4 in the logic block number 40-1 corresponding to the cache blocks 68-1 to 68-m in FIG. 6 is set to ON.
  • the using efficiency of the cache capacity increases and, for example, the compression group 70 is swept out by the LRU unit 55.
  • a plurality of compression blocks 72-1 to 72-m derived by the compression of the cache blocks which were swept out from the non-compression cache memory 42 are combined to the compression group 70.
  • the write cache control unit 62 allocates the logic sector in an empty state in the head address managed by the MPU 16 to the compression group 70 which was swept out with reference to the free linked list 56.
  • the cache blocks which were swept out from the memory 42 are written into the disk drive 14 by the device writing unit 58.
  • the head position of the logic sector in the empty state in the free linked list 56 is allocated.
  • the allocation of the logic sector can be also performed by hashing.
  • the logic sectors are grouped every cylinder address of the disk drive and are allocated to the compression group by the hashing in the logic sectors included in the same cylinder address.
  • the storage at the same cylinder position is executed. After the seeking operation was once executed, it is sufficient to subsequently execute the head switching operation. Therefore, an accessing performance upon writing back of the compression data can be raised.
  • FIG. 17 shows a flowchart for the writing process in the magnetic disk control unit of the invention.
  • step S1 when the logic block address (logic block number) and data (logic block) are received from the host computer 10, a check is made in step S2 to see if a hit has occurred in the cache memory.
  • steps S8 to S14 are executed. Those processes correspond to the staging of the cache block 68 for the non-compression cache memory 42 in FIG. 13. Namely, new data is recorded into the non-compression cache memory 42 in step S8.
  • the mapping table 54 is referred.
  • step S10 a check is made to see if the new data has been registered in the mapping table.
  • step S100 the items regarding the recording of the new data are registered into the cache table and are updated.
  • the new data is included as a compression block in the compression group stored in the disk drive 14.
  • step S11 therefore, the logic sector number corresponding to the logic block number is examined and the relevant compression group is read out from the disk drive 14 and is transferred to the compression cache memory 44.
  • the compression block derived from the mapping table 54 is extracted from the compression group transferred to the compression cache memory 44 and is expanded by the expanding circuit 50 and is developed into the non-compression cache memory 42.
  • the developed logic block is updated by the new data.
  • the processing routine advances to a mapping table updating process in step S13.
  • the mapping table updating process is as shown in a flowchart of FIG. 18.
  • step S14 the updating flag of the relevant logic block number is set to ON with reference to the cache table 40.
  • step S15 the updated logic sector is deleted from the mapping table 54.
  • the compression blocks other than the updated compression block in the compression data read out from the disk drive 14 into the compression cache memory 44 are returned to the compression group forming unit 52 and become candidates to form a new compression group.
  • step S16 the deleted logic sector number is registered into the free linked list 56.
  • the processing routine is returned to the main routine of FIG. 17 and a series of processes are finished. It is also possible to update the data in the disk drive 14 as a write back process in association with the data sweeping-out from the non-compression memory 42 by the LRU without performing the updating process in steps S11 to S13.
  • step S3 the relevant cache block 68 in the address in which a hit occurred in the non-compression cache memory 42 is updated by the new data from the host computer 10. Subsequently, a check is made to see if the updating flag of the relevant cache block number in the cache table 40 has been set to ON. If the updating flag has already been set to ON, since this means that the updating is the second or subsequent updating process, there is no need to delete the sector number from the mapping table 54. The processing routine is finished.
  • step S5 the updating flag corresponding to the logic block number in the cache table 40 is set to ON.
  • step S15 the updated logic sector is deleted from the mapping table 54, the compression group is dispersed, and the compression blocks corresponding to the logic blocks other than the updated logic block are returned to the compression group forming unit 52 and are set to candidates to form a new compression group.
  • step S16 the deleted logic sector number is returned to the free linked list 56. The processing routine is again returned to the main routine in FIG. 7. A series of processes are finished.
  • step S6 the processes in steps S6, S7, and S5 in FIG. 17 are executed as explained in FIG. 15.
  • the compression group 70 including the compression block 72 of the relevant logic block exists in the compression cache memory 44
  • the compression block 72 is extracted with reference to the mapping table 54 in step S6, is expanded by the expanding circuit 50, and is transferred as a cache block 68 into the non-compression cache memory 42.
  • the data is updated by the write block from the host computer 10.
  • step S7 a check is made to see if the updating flag of the updated logic block number is ON or OFF. When the updating flag is set to ON, since this means that the deletion in the mapping table 54 has already been finished, the processing routine is finished.
  • step S5 the mapping table updating process in step S5 is executed. Namely, the updating flag in the cache table 40 is set to ON as shown in step S14 in FIG. 18.
  • step S15 the logic sector including the compression block of the updated logic block is deleted from the mapping table 54.
  • the compression group 70 including the compression block 72 as a target of the updating in the compression cache memory 44 is dispersed.
  • the compression blocks other than the compression block 72 are returned to the compression group forming unit 52 and become candidates to form a new compression group.
  • step S16 the deleted logic sector number is registered into the free linked list 56.
  • the processing routine is returned to the main routine in FIG. 17 and a series of processes are finished.
  • FIG. 19 shows the reading process in the magnetic disk control unit 12 of the invention and relates to the case where the request data doesn't exist in the non-compression cache memory 42 and compression cache memory 44 but exists in the disk drive 14.
  • the read request in which the logic block number was designated from the host computer 10 is received by the read cache control unit 64, a hit judgment is requested to the hit judging circuit 30.
  • the hit judging circuit 30 refers to the cache table 40 by the logic block number. In this case, however, since the data doesn't exist in the non-compression cache memory 42 and compression cache memory 44, the designated logic number is not registered in the cache table and the occurrence of the mishit is discriminated.
  • the read cache control unit 64 recognizes the logic sector number with reference to the mapping table 54 by the designated logic block number.
  • the compression group 70 stored in the logic sector searched from the disk drive 14 is read out by the device reading unit 60 and is developed into the compression cache memory 44. Subsequently, the relative position from the head and the data length in the group corresponding to the logic block number are recognized from the mapping table 54.
  • the compression block 72 is extracted and expanded by the expanding circuit 50 and is developed into the non-compression cache memory 42.
  • the logic block developed in the non-compression memory 42 is transferred to the host computer 10. A series of processes are finished.
  • step S1 the logic block number by the read request from the host computer 10 is received.
  • step S2 when it is recognized that the logic block doesn't exist in the non-compression cache memory 42 and compression cache memory 44, step S10 follows.
  • step S10 the logic sector number is searched from the logic block number by using the mapping table 54.
  • step S11 the compression group of the relevant logic sector is read out from the disk drive 14 and is transferred to the compression cache memory 44.
  • step S14 the compression block corresponding to the block requested from the host computer 10 is extracted from the compression group 70 transferred to the compression cache memory 44 and is transferred to the expanding circuit 50 and is reconstructed.
  • step S6 the data is transferred to the non-compression cache memory 42.
  • the transferred data is read out from the non-compression cache memory in step S7 and is transferred to the host computer in step S8.
  • step S9 a fact that the reconstructed cache block 68 exists in the non-compression cache memory 42 is registered together with the logic block number into the cache table 40.
  • the compression block 72 exists in the compression cache memory 44 and the reconstructed compression block 68 also exists in the non-compression cache memory 42. In this case, however, it is sufficient that, the compression flag is reset to OFF and only a fact that the cache block 68 exists in the non-compression cache memory 48 is registered into the cache table 40.
  • the compression flag is set to 1 in order to indicate that the compression block exists in the compression cache memory 44.
  • step S3 the data is read out from the address in the non-compression cache memory 42 obtained with reference to the cache table 40.
  • the data is transferred to the host computer 10 in step S4.
  • the processing routine is finished.
  • step S5 the mapping table 54 is referred and the relative position from the head and the data length in the compression group 70 stored in the compression cache memory 44 of the logic block which was subjected to the read request are recognized.
  • the relevant compression block 72 is extracted and is reconstructed by the expanding circuit 50.
  • the reconstructed compression block is transferred to the non-compression cache memory 42 in step S6.
  • step S7 the data is read out from the non-compression cache memory 42.
  • step S8 the relevant block is transferred to the host computer 10.
  • step S9 since the data has been reconstructed into the non-compression cache memory 42, the cache table 40 in which the compression flag of the logic block number which was subjected to the read request is reset to 0 is updated.
  • FIG. 21 shows another embodiment of the invention and is characterized in that two systems of the magnetic disk control unit 12 in FIG. 1 are provided, thereby forming a duplexed construction for the host computer and disk drive.
  • a system 1 is constructed by a magnetic disk control unit 12-1 and a system 2 is constructed by a magnetic disk control unit 12-2.
  • the magnetic disk control units 12-1 and 12-2 have the same construction and comprise: MPUs 16-1 and 16-2; ROMs 18-1 and 18-2; RAMs 20-1 and 20-2; host interface control units 22-1 and 22-2; disk interface control units 24-1 and 24-2; cache control units 26-1 and 26-2; cache memories 28-1 and 28-2; hit judging circuits 30-1 and 30-2; compressing and expanding circuits 32-1 and 32-2; and internal buses 34-1 and 34-2.
  • the magnetic disk control units 12-1 and 12-2 of the systems 1 and 2 are connected to the host computer 10 through independent channel buses 36-1 and 36-2.
  • the magnetic disk control units 12-1 and 12-2 are also connected to the disk drives 14-1 to 14-6 constructed by disk arrays through independent device buses 38-1 and 38-2.
  • the internal bus 34-1 of the magnetic disk control unit 12-1 and the internal bus 34-2 of the magnetic disk control unit 12-2 are connected through the bridge buffer interface 152 and peripheral logic 154 and can transmit and receive command messages and data to/from the MPUs 16-1 and 16-2.
  • Such a duplexed construction corresponds to the module constructions of the systems 1 and 2 in FIG. 2 in a hardware manner.
  • both of the magnetic disk control units 12-1 and 12-2 have the functions as write cache control unit 62 and read cache control unit 64 and fundamentally execute independent operations for a request from the host computer 10.
  • the disk drive is not immediately accessed but a cache hit of the system 2 is judged.
  • the copy of the updated data and the updating of the mapping table are executed in order to guarantee the consistency with the cache memory 28-2 of the system 2.
  • FIG. 22 shows processes when the magnetic disk control unit 12-1 of the system 1 received the write request from the host computer 10.
  • step S1 when the logic block number and data (logic block) are received from the host computer 10, a check is made in step S2 to see if a hit has occurred in the cache memory 28-1 of the system 1.
  • the hit judgment of the cache memory 28-1 is executed with regard to the non-compression cache memory 42 and compression cache memory 44 as shown in the functional block of FIG. 4.
  • an updating process 1 in step S4 is executed.
  • an updating process 2 in step S5 is executed.
  • step S3 follows and the hit judgment is requested to the disk control unit 12-2 of the system 2.
  • an updating process 3 in step S6 is executed.
  • an updating process 4 in step S7 is executed.
  • an updating process 5 in step S8 is executed.
  • FIG. 23 shows the updating process 1 in the case where the hit occurs in the non-compression cache memory 42 of the system 1 in step S2 in FIG. 22 and the updating process 2 in the case where the hit occurs in the compression cache memory 44.
  • the updating process 1 will now be described hereinbelow with respect to the functional block of FIG. 4.
  • step S1 since the data of the logic block number which was subjected to the write request exists in the non-compression cache memory 42, the data is updated by the write data.
  • the updating flag corresponding to the block number of the updated data in the cache table 40 is set to 1.
  • step S3 a check is made to see if the updating flag has already been set to 1.
  • step S1 the updating flag is reset to 0 before updating and the updating flag is set to 1 in step S1 in step S1, the updating is the first updating process. Therefore, the updated block is transferred to the system 2 and is copied into the non-compression cache memory 42 of the system 2.
  • step S5 the updating flag of the relevant logic block number in the cache table 40 of the system 2 is set to 1.
  • step S6 a mapping table updating process is executed.
  • the mapping table updating process corresponds to steps S11 and S12 in FIG. 24.
  • step S11 the logic sector number allocated to the compression group including the compression block of the updated logic block is deleted from the mapping table 44.
  • the compression blocks of the other logic blocks included in the compression group are returned to the compression group forming unit 52 and are set to candidates to form a new compression group.
  • step S12 the deleted logic sector number is returned to the free linked list 56.
  • step S1 the logic block which was received from the host computer 10 and becomes a target to be written is recorded into the non-compression cache memory 42.
  • step S2 the mapping table 54 is referred by the logic block number to be updated, the relevant compression block is extracted on the basis of the number of offset sectors and data length from the group head position of the relevant compression group existing in the compression cache memory 44 and is reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42.
  • the data updating by the logic block recorded in step S1 is executed.
  • step S2 After completion of the data updating on the non-compression cache memory 42, the same processes as those in steps S2 to S6 of the updating process 1 are executed. Namely, the updating flag corresponding to the logic block number in the cache table 40 of the system 1 is set to 1 in step S2. In step S3, a check is made to see if the updating flag has already been set to 1. If YES, the processing routine is finished. When the updating flag is reset to 0, since the updating is the first updating process, step S4 follows. The updated block is copied into the non-compression cache memory of the system 2. In step S5, the relevant updating flag in the cache table of the system 2 is set to 1. The mapping table updating process in step S6 is executed. Namely, the logic sector corresponding to the updating block is deleted from the mapping table 54 in step S11 in FIG. 24. In step S12, the deleted logic sector number is registered into the free linked list 56.
  • FIG. 25 shows the details of the updating processes 3 and 4 in FIG. 22.
  • the updating process 3 relates to the case where a cache mishit occurs in the system 1 and a hit occurs in the non-compression cache memory 42 of the system 2.
  • step S1 the logic block from the host computer 10 is recorded into the non-compression cache memory 42 of the system 1.
  • step S2 the relevant block in which a cache hit occurs in the system 2 is read out from the non-compression cache memory 42 and is copied into the non-compression cache memory 42 of the system 1 and the copied block is updated by the recorded logic block in step S2.
  • the updating flag in the cache table 40 of the system 1 is set to 1.
  • a doubling process in step S3 is executed.
  • FIG. 26 shows the details of the doubling process in FIG. 22.
  • step S11 the new data updated in the non-compression cache memory 42 of the system 1 is copied into the non-compression cache memory 42 of the system 2.
  • the relevant updating flag in the cache table 40 of the system 2 is set to 1.
  • step S4 the mapping table updating process is executed. That is, as shown in FIG. 24, in step S11, the logic sector number corresponding to the logic block number of the updated logic block is searched from the mapping table 56 of the system 2 and the logic sector number is deleted. At the same time, the other logic blocks included in the same compression group as the updated block are also deleted from the mapping table 56 and are returned to the compression group forming unit 52 and become the candidates to form a new compression group. With respect to the system 1 side in which the relevant block doesn't exist on the cache memory, it is also desirable to delete the logic sector number corresponding to the updated block number in order to guarantee a consistency of the mapping table 54.
  • the updating process 4 in FIG. 25 will now be described.
  • the updating process 4 relates to the case where a mishit occurs in the cache memory of the system 1 and a hit occurs in the compression cache memory 44 of the system 2 as shown in FIG. 22.
  • step S101 the relevant logic block from the host computer 10 is recorded into the non-compression cache memory 42 of the system 1.
  • step S102 the compression block derived by the reference to the mapping table 54 is extracted from the relevant compression data in the compression cache memory 44 of the system 2 and is reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42. Further, the compression block is transferred to the non-compression cache memory 42 of the system 1 and the data updating by the logic block recorded in step S101 is executed.
  • step S3 the updating data is transferred to the non-compression cache memory 42 of the system 2 and the cache table 40 of the system 2 is similarly updated.
  • step S4 the mapping table updating process is executed. Namely, in step S11 in FIG. 24, the logic sector number corresponding to the updating block number is deleted from the mapping table 54 of the system 2. Thus, the compression blocks of the other logic block numbers included in the same compression group as the updating block number are returned to the compression group forming unit 52 and become candidates to form a new compression group.
  • step S14 the deleted logic sector number is registered into the free linked list 56. In this case, it is also desirable to similarly delete from the mapping table 54 on the system 1 side to thereby guarantee the consistency.
  • FIG. 27 shows the details of the updating process 5 in FIG. 22 and relates to processes in the case where a mishit occurs in both of the systems 1 and 2 and the data is read out from the disk drive 14 and is updated.
  • step S1 the logic block which was subjected to the write request from the host computer 10 is recorded into the non-compression cache memory 42 of the system 1.
  • step S2 the mapping table 54 of the system 1 is searched.
  • step S3 a check is made to see if the requested logic block number has been registered in the mapping table 54 or not. If NO, since this means that the new data is written, the address in the cache corresponding to the new logic block number and the data length are registered into the cache table 40 in step S7.
  • the table is updated so as to reset the compression flag to 0 and to also reset the updating flag to 0.
  • the logic sector number is examined.
  • the compression group of the relevant logic sector is read out from the disk drive 14 and is transferred to the compression cache memory 44.
  • step S5 on the basis of the relative position from the group head position and the data length which were obtained by the reference to the mapping table 54, the relevant compression block is extracted from the compression group transferred to the compression cache memory 44 and is reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42.
  • the data updating by the logic block recorded in step S1 is executed.
  • step S11 the updated block is copied into the non-compression cache memory 42 of the system 2 and the cache table 40 of the system 2 is similarly updated.
  • step S12 the mapping table updating process in FIG. 24 is executed.
  • step S11 the logic sector number corresponding to the logic block number of the updating block is deleted from the mapping table 54 of the system 1.
  • the compression blocks other than the updating block of the compression cache memory 44 are returned to the compression group forming unit 52 and become candidates to form a new compression group.
  • step S12 in FIG. 24 the deleted logic sector number is registered into the free linked list 56.
  • the mapping table 54 of the system 2 since there are the registered numbers corresponding to the updated logic block number and logic sector number for the disk drive 14, the logic sector number is similarly deleted and is registered into the free linked list 56.
  • a flowchart of FIG. 28 relates to the reading process in the duplexed construction in FIG. 21.
  • the reading process will now be described hereinbelow with reference to the functional block of FIG. 4.
  • the logic block number is received in step S1.
  • the relevant block is transferred to the host computer 10 in step S3 and the processing routine is finished.
  • step S2 when the hit occurs in the compression cache memory 44 of the system 1, in step S4, the mapping table 54 is referred by the logic block number and the relevant compression block in the compression group in the compression cache memory 44 is extracted and reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42. In step S5, the relevant block is transferred to the host computer 10. Finally, in step S6, the compression flag of the relevant logic block number in the cache table 40 is reset to 0 and the table updating indicating that the data exists as non-compression data in the non-compression cache memory 42 is executed.
  • step S7 follows and a check is made to see if a hit has occurred in the cache memory of the system 2.
  • the relevant block is read out and transferred to the host computer 10 in step S8.
  • the transfer of the relevant block from the system 2 can be also performed via the system 1 or can be also directly performed from the system 2 to the host computer 10.
  • step S9 When a hit occurs in the compression cache memory 44 of the system 2, in step S9, by referring to the mapping table 54 by the requested logic block number, the relevant compression block in the compression data in the compression cache memory 44 is extracted and reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42.
  • step S10 the block transferred to the non-compression cache memory 42 is transferred to the host computer 10. The transfer in this case can be directly performed from the system 2 or can be also executed via the system 1.
  • step S11 the compression flag of the relevant logic block number in the cache table 40 of the system 2 is reset to 0 and the table updating indicating that the data exists in the non-compression cache memory 42 is executed.
  • step S12 the mapping table 54 is searched in step S12 by the logic block number requested in the system 1.
  • step S13 the compression group of the logic sector number derived by the search of the mapping table 56 is read out from the disk drive and is transferred to the compression cache memory 44.
  • step S14 the relevant compression block in the read-out compression group is extracted on the basis of the number of offset sectors and the data length in the mapping table 54 and is reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42.
  • step S15 the relevant block is transferred from the non-compression cache memory 42 and is transferred to the host computer.
  • step S16 the logic block number which was newly read out and the address in the cache are registered into the cache table 40 of the system 1. The table updating to reset the updating flag to 0 and to also reset the compression flag to 0 in this instance is executed.
  • the dummy data 82 is added and a compression block having a size that is integer times as large as the minimum physical sector of the disk drive is formed.
  • FIG. 29 is a diagram for explaining a formation of a compression group in the case where there is no need to add the dummy data. It is now assumed that logic block numbers #50 to #57 were stored in the non-compression cache memory 42 as cache blocks 68-1 to 68-8 each having a size of 4 kB. The eight cache blocks 68-1 to 68-8 are swept out by the LRU and are compressed by the compressing circuit 48 and the compression data is continuously stored and a group is formed as shown in the compression groups 70-1 and 70-2 of 16 kB in the compression cache memory 44.
  • FIG. 30 is a diagram showing the compression group 70-1 in FIG. 29 and relates to the case where six compression data 72-1 to 72-6 of the logic block numbers #50 to #55 are combined.
  • a position flag 90 is added to the head of each of the compression data 72-1 to 72-6.
  • compression data 92 exists.
  • the position flag 90 is information indicative of the position of the compression data 92 in the compression group 70-1.
  • the position flag 90 is fundamentally constructed by three kinds of flags 1, 2, and 3.
  • the flag 1 indicates that the compression data 92 is located at the head position of the group.
  • the flag 2 indicates that the compression data 92 is located in the middle of the group.
  • the flag 3 indicates that the compression data 92 is located in a range from the end of the group to the head of the next group.
  • the logic sectors are allocated in accordance with the free linked list in a manner similar to the functional block of FIG. 4 and are stored into the disk drive 14.
  • the mapping table 54 as shown in FIG. 31 is formed.
  • the logic sector number 54-2 allocated in correspondence to the logic block number 54-1 is registered into the mapping table 54.
  • a position flag 54-5 provided at the head of the compression data 92 is registered into the mapping table 54.
  • the mapping table 54 in FIG. 31 has the contents when the compression groups 70-1 and 70-2 in the compression cache memory 44 in FIG. 29 are stored into the disk drive.
  • one compression group is constructed by the logic block numbers #50 to #55 and is stored in the logic sector number 10.
  • the logic sector number of the logic block number #55 is equal to 10
  • the position flag is a flag 3
  • the compression group is stored in a range from the end of the logic sector number 10 to the head of the next logic sector number 11.
  • the position flag indicates the relative position in the group, with respect to a flag 2 indicating that the relative position is in the middle of the group, as shown in the logic block numbers #52 to #54, flag bits indicative of the orders of the positions existing in the middle are added like 2-1 to 2-4. It is sufficient that the number of bits of the position flag is set to about a few bits since the maximum number of compression blocks to be stored into the compression group of 16 kB is limited to, for example, 8.
  • FIG. 32 shows the writing process in the case where the position flag is added to the head of the compression data compressed on a logic block unit basis and a compression group is formed.
  • the writing process will now be described hereinbelow with reference to the functional block of FIG. 4.
  • the writing process in FIG. 32 is a sequential writing process in the case where a number of logic block data are continuously received by the write request of file data from the host computer.
  • the sweeping-out process of the cache block from the non-compression cache memory 42 is explained with respect to the case, as an example, where it doesn't depend on the LRU unit 46, new write blocks are continuously supplied to the compressing circuit 48 and compressed and when an amount of compression data reaches 16 kB as a size of compression group in the compression cache memory 44, the data is written into the disk drive 14 as a physical device.
  • step S1 when the write cache control unit 62 receives the logic block numbers and block data which are continuously transmitted from the host computer 10 in response to the write request of the file, they are recorded into the non-compression cache memory 42 in step S2.
  • the logic blocks recorded in the non-compression cache memory 42 are immediately supplied to the compressing circuit 48 and compressed.
  • the position in the compression group of 16 kB is subsequently judged. When the position is the head, the position flag 1 is added. When the position is the middle, the position flag 2 and the number indicative of the order in the middle are added. Further, when the position lies within a range from the end of the group to the head of the next group, the position flag 3 is added.
  • step S4 When the position flag is added to the compression data by the compression group forming unit 52, in step S4, the added position flag is written into the mapping table 54 in correspondence to the logic block number as shown in FIG. 31.
  • step S5 a check is made to see if the write request from the host computer 10 has been finished.
  • step S6 a check is made to see if the formation of the compression group of 16 kB has been completed in the non-compression cache memory 44. Namely, a check is made to see if an amount of data stored has reached 16 kB by the storage of the compression data added with the position flag from the compression group forming unit 52.
  • the processes from step S1 are repeated until the amount of stored data of the compression group reaches 16 kB.
  • step S7 When the data storage amount of the compression group reaches 16 kB, the processing routine advances to step S7.
  • the logic sector in the empty state of the disk drive 14 is obtained from the free linked list 56 and the compression group is stored into the disk drive.
  • step S8 the logic sector number obtained is registered into the mapping table 54 in correspondence to the logic block number as shown in FIG. 31.
  • step S9 the processed data remaining in the non-compression cache memory 42 and compression cache memory 44 is deleted to assure an empty space of the process of the subsequent block.
  • step S10 when the end of the write request is discriminated in step S5, in step S10, even if the capacity of the compression group doesn't reach 16 kB, the logic sector is obtained from the free linked list 56 and is written into the disk drive 14.
  • step S11 the logic sector number obtained is written into the mapping table 54.
  • step S12 the unnecessary data in the non-compression cache memory 42 and compression cache memory 44 which has already been written into the disk drive is deleted and the processing routine is finished.
  • FIG. 33 shows the sequential reading process of the file data which was compressed and written into the disk drive by the sequential writing process in FIG. 32.
  • the read cache control unit 64 receives the logic block number by the read request from the host computer 10 in step S1, a check is made in step S2 to see if a cache hit has occurred.
  • the mapping table 54 is referred and the logic sector number is searched from the logic block number in step S3.
  • the compression data of the relevant sector is read out from the disk drive and transferred to the compression cache memory 44 in step S4.
  • the relevant position flag is obtained from the mapping table 54 in step S5.
  • step S8 a check is made in step S8 to see if the position is the head, namely, the position flag is the flag 1 or not.
  • step S11 a check is made in step S11 to see if the position is in the middle, namely, the position flag is the flag 2 or not.
  • step S17 a check is made to see if the read request has been finished. The processes from step S1 are repeated until the end of the read request is obtained.
  • the position flag is equal to the flag 2 indicative of the middle in step S1
  • in which number of middle position flag the request block exists is recognized in step S12
  • the compression data is extracted from the relevant position flag and supplied to the expanding circuit 50, and the supply of the compression data is stopped when the next position flag is detected.
  • the compression data in the middle corresponding to the request block is supplied to the expanding circuit 50 and reconstructed in the non-compression cache memory 42.
  • the reconstructed data can be transferred to the host computer 10 in step S13.
  • steps S14 to S16 When the position flag 3 is discriminated, processes in steps S14 to S16 are executed.
  • the compression group is read out from the disk drive in step S4, the position flag 3 is recognized by reference to the mapping table, the logic sector added with the position flag and the next logic sector are read out from the disk drive and are transferred to the compression cache memory 44.
  • the compression data at the final position of the compression group which is specified by the position flag 3 is first supplied from the compression cache memory 44 to the expanding circuit 50 and is reconstructed.
  • step S15 the data is expanded from the head of the compression data as a next sector until the position flag 2 is detected and is developed in the non-compression cache memory 42.
  • step S16 the block developed in the non-compression cache memory 42 is transferred to the host computer 10.
  • the unnecessary data which remains in the compression cache memory 44 and non-compression cache memory 42 and becomes targets to be sequentially read is deleted in step S18, thereby assuring a using area of the cache.
  • step S2 a check is made in step S6 to see if a hit has occurred in the non-compression cache memory 42.
  • the request data in the non-compression cache memory 42 is transferred to the host computer 10 in step S7.
  • the hit occurs in the compression cache memory 44, the reading operation from the disk drive 14 in steps S3 and S4 is not performed but the processes from step S5 are immediately executed.
  • FIG. 29 The embodiment of FIG. 29 in which the position flag is used to form the compression group has been described as an example with respect to the sequential writing process and sequential reading process in which no data is left in the cache memory.
  • the embodiment can be also applied in substantially the same manner as the case of forming the compression group by the compression blocks of the number that is integer times as large as the minimum physical sector in FIGS. 8A and 8B.
  • the reconstruction of the compression block in the compression group read out from the disk drive into the compression cache memory 44 only the block requested from the host computer 10 is extracted and is developed into the non-compression cache memory 42.
  • the compression blocks can be reconstructed on a compression group unit basis and can be developed in the non-compression cache memory 42.
  • a hit ratio of the non-compression cache memory is raised and an overhead due to the expanding process in the case where a hit occurs in the compression cache memory can be reduced.
  • FIG. 34 shows another operation environment of the disk control unit of the invention.
  • the embodiment of FIG. 1 has been described as an example with respect to the case where the magnetic disk control unit is connected to the upper host computer, the operation environment of FIG. 34 is characterized in that the disk control unit of the invention is used as a disk server.
  • the disk control unit 12 of the invention having the disk drives 14-1 to 14-6 constructing a disk array is connected to the host computer 10 through a local area network (hereinafter, referred to as an "LAN") 200.
  • LAN local area network
  • the disk control unit 12 of the invention functions as a disk server which accepts and processes requests from the host computer 10, workstation 202, and personal computer 204 as clients connected to the LAN 200.
  • the host computer 10 is connected to an external network communication line 210 through a communication control apparatus 208 and can function as a disk server which accepts requests from many clients exceeding the LAN 200 by the network connection.
  • the disk control unit of the invention can be connected to a number of personal computers and the host by the network connection, in the case where the disk control unit is connected in a worldwide scale, but also it is accessed day and night and the recording and reproduction of data are continued. Therefore, under such a connection form, it is indispensable to always efficiently store the data into the disk drive and it is not permitted to stop the apparatus by a segment cleaning of the disk drive in the middle of the process. Even in the disk control unit of the stand-alone type, the segment cleaning is executed while the user is using the apparatus, so that the work of the user is interrupted. Similarly, even in case of the disk control unit connected to a large scale host computer, the work is interrupted during the segment cleaning.
  • the segment cleaning interrupts the process during the operation of the apparatus and a working efficiency of the apparatus is not improved.
  • the segment cleaning process associated with the interruption of the process is eliminated.
  • an extremely large effect is obtained as a non-stop type disk server connected to the network of the worldwide scale that is accessed day and night.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The logic blocks which were swept out from a non-compression cache memory are compressed by a compressing circuit and are combined to a compression group (logic sector size) of a fixed length in which a plurality of compression data are collected by a compression group forming unit. The compression group is stored into a logic sector of a disk drive through a compression cache memory. A correspondence relation with a plurality of logic blocks included in the logic sectors of a disk is registered in a mapping table. In response to a request by the logic block number from the host computer, the logic sector (compression group) of the disk drive is read and written with reference to the mapping table.

Description

BACKGROUND OF THE INVENTION
The present invention relates to a disk control apparatus for recording and reproducing compressed data to/from a physical device such as a direct accessing apparatus or the like and, more particularly, to a disk control apparatus for recording and reproducing even compression data whose data size changes as fixed length block data to/from a physical device.
An external memory subsystem of a computer system needs a capacity which can store data such as many text files, program files, image data files, and the like in order to cope with multi-media. As an external memory subsystem, a magnetic disk subsystem using a magnetic disk drive having characteristics such as non-volatility of the recording, large capacity, high speed of data transfer, and the like is widely used. As a method of improving the capacity and reducing the costs of the magnetic disk subsystem, attention is paid to a data compression in recent years.
According to a conventional data compression, a capacity of a disk drive is increased by compressing data using software residing on a host computer. The data compression by the software results in increase in disk capacity while sacrificing CPU performance. The data compression by the software is limited to fields as in the data back-up, data conveyance, and the like in which a high access response speed of data is not required. In case of executing the data compression on the host computer side, a data amount to be stored in the disk drive is recognized by the host computer, so that a necessary memory capacity and a remaining memory capacity can be managed by the host computer in a manner similar to the case where there is no compressing process.
However, when the data compression is executed by the CPU of a disk control unit in order to reduce a load of the host computer, the data amount to be stored in the disk drive is not known until the compressing process is finished, so that the remaining memory capacity cannot be managed by the host computer and there is a problem such that it takes a time to assure a main memory, or the like.
In an ordinary host computer, data is recorded and reproduced to/from a fixed length sector of the disk drive similarly on a fixed length data block unit basis (logic block unit basis). Since compression data obtained from the fixed length logic block becomes variable length data of various sizes due to the character of the data. Therefore, in a method of recording the variable length compression data into the fixed length sector of the present disk drive, the compression data cannot be effectively stored on a disk medium, so that an effective activity ratio of the disk medium is remarkably low. That is, when the variable length compression data is recorded as a recording unit into the fixed length sector on the disk medium, a vain portion in which no data is recorded exists and the effective activity ratio of the disk often deteriorates.
Further, in the case where the compression data is read out from the disk medium by a read request from the host computer and expanded and, after that, updated, when the updated data is compressed, since the data size changes from that of the data before updating, the data cannot be always stored at the original location on the disk medium. Therefore, a number of fragmentations (vacancies) occur on the disk medium. In order to eliminate the fragmentation, a segment cleaning has to be executed from time to time. During the execution of the segment cleaning, inputting/outputting processes for the disk drive have to be stopped and the device is busy during such a period of time, so that there is a problem of a deterioration of an accessing performance.
Further, when a compression ratio is high, a difference between a logic address which is managed by the host computer and a physical address to manage the compression data on the disk medium is large. Consequently, there is a problem such that the value of the logic address which was decided in consideration of a seek performance of the disk drive is lost and an accessing performance deteriorates.
SUMMARY OF THE INVENTION
According to the invention, there is provided a disk control apparatus for compressing and expanding data and managing data by using a hardware of a disk control unit without increasing a CPU load on a host computer and without reducing an effective activity ratio of a disk drive. A data length becomes a problem after the data was compressed. That is, although data that is managed by the host computer is usually a data block of a fixed length, when the fixed length data block is compressed, the data length is changed. This is because a size of compression data is decided depending on the character of the data. In case of seeing the disk drive from the host computer, a data management in which a non-compression data block is recognized is necessary in order to hold an equivalence of data. For this purpose, the disk control apparatus needs a mapping table as a table for converting a logic block number (logic block address) managed by the host computer and a logic sector number (logic address number) which is managed by a magnetic disk drive.
The invention uses a method such that the disk control apparatus manages the variable length compression data in a form of a fixed length compression group (logic group) instead of a method such that the host computer manages the memory location of data. That is, a plurality of compression data obtained by compressing the fixed length block data is stored into a logic sector of a predetermined size, thereby using the variable length compression data as fixed length data, recording data so that a number of blank portions do not remain on the disk medium, and performing a necessary data management.
The non-compression data is managed by a logic block size of the host computer and is compressed on a logic block unit basis. A number of compression data compressed from the logic block as mentioned above are collected and selected so as to form a logic group of a size having a predetermined logic sector size, and after that, a logic sector of the disk medium is given and the data is recorded into the disk drive.
A minimum unit which can be recorded in the disk drive is determined by a physical sector size when the disk medium is initialized. The logic sector is set to a size that is integer times as large as the minimum physical sector. When the selected compression data is smaller than the logic sector size, dummy data is added, thereby obtaining the compression data of one logic sector.
In case of storing the logic sector to the disk drive, correspondence relations among a logic sector number, a logic block number of the compression data in the logic group, a compression flag, a relative position from the head logic block number, the number of sectors, and the like are registered in the mapping table. The information to be registered in the mapping table can be added as sector information to the head of the logic sector and the resultant information can be also stored into the disk drive.
The disk control apparatus refers to the mapping table by the logic block number received from the host computer and detects the position of the logic sector. In the disk control apparatus, therefore, the mapping table is the most important element. When the mapping table is out of order, the mapping table can be reconstructed by reading out the sector information added to the head of the logic sector.
When a specific logic block is updated by a write request of the host computer, the logic group in which the updated data is included is disassembled and becomes a candidate for forming a new logic group on a cache memory and is always combined into a new logic group and a storage location is also changed. The registration of the logic sector on the mapping table is also erased and the table is opened at the time of the group disassembly. Thus, a segment cleaning of the disk drive is unnecessary and occurrence of the device being busy due to the segment cleaning can be prevented.
Construction of the apparatus for this purpose is as follows. The disk drive as a physical device receives an allocation of a logic sector of a predetermined size (which is integer times as large as the minimum physical sector) and reads and writes data on a logic sector unit basis. A cache memory is provided between the host computer and the disk drive. The cache memory is divided into a non-compression cache memory for storing non-compression data on the logic block unit basis of the host computer and a compression cache memory for storing compression data on a compression group unit basis having the same size as that of the logic sector of the disk drive. In a cache table, the logic block number of the host computer is used as an index and at least an address in the cache, a compression flag indicating whether compression data or not, and an update flag indicative of the presence or absence of the updating are registered and used for management of the cache memory. A hit judging circuit judges whether data of a request block number from the host computer exists in the cache memory or not.
A compressing circuit extracts the data stored in the non-compression cache memory on a logic block unit basis and compresses the data. A size of the compression data obtained at this time varies depending on the nature of the data and is not always equal to a size which is integer times as large as the minimum physical sector, for instance, 1 kB, as a minimum access unit that is determined by an initialized format of a physical device, for example, a disk drive. When the size of the compression data compressed on a logic block unit basis of the host computer is not integer times of the minimum physical sector of the disk drive, the compressing circuit adds dummy data so that the size is equal to integer times of a minimum magnification sector. For example, when the compression data is equal to 1.5 kB, dummy data of 0.5 kB is added, thereby forming the compression block of 2.0 kB. A compression group forming unit collects the compression data of the logic block unit by the compressing circuit unit, thereby forming a compression group and storing the compression group into the compression cache memory. An expanding circuit unit extracts the data stored in the compression cache memory on a compression group unit basis, expands, and develops into the non-compression cache memory.
A free linked list manages a vacant logic sector of the disk drive. A device writing unit extracts the data stored in the compression cache memory on a compression group unit basis and writes into the logic sector in a vacant state obtained from the free linked list. The mapping table registers at least the logic sector number indicative of the storing position in the disk drive, the relative position in the logic sector, and the number of sectors by using a request block number of the host computer as an index and is used for managing the compression data of the disk drive. A device reading unit reads out the data in the disk drive on a compression group unit basis and transfers to the compression cache memory. A write cache control unit processes a write request from the host computer. A read cache control unit processes a read request from the host computer.
The processes of the write cache control unit are as follows. When a "mishit" is first judged by the hit judging unit for a write request from the host computer, a write logic block is stored into the non-compression cache memory and the end of the process is notified to the host computer. When a "hit" is judged in the non-compression cache memory by the hit judging unit for the write request from the host computer, the relevant logic block in the non-compression cache memory is updated to the write logic block from the host computer and the end of the process is notified to the host computer. In this instance, the logic sector number of the compression group to which the updated logic block belongs is erased from the mapping table and is moved to the free linked list (disassemble of the compression group). Further, when the compression data of the other logic block belonging to the erased logic group remains in the compression cache memory, it is moved to the compression group forming unit and is set to a combination candidate of a new group formation. Further, when a hit in the compression cache memory is judged by the hit judging unit for the write request from the host computer, the compression data including the hit logic block in the compression cache memory is expanded by the expanding circuit unit and is developed to the non-compression cache memory. The relevant logic block developed in the non-compression cache memory is subsequently updated to the write logic block from the host computer and the end of the process is notified to the host computer. In this case as well, the logic sector number of the compression group to which the updated logic block belongs is erased from the mapping table and is moved to the free linked list. The write cache control unit purges the data from the non-compression cache memory in accordance with an LRU. A cache table is referred to by the purged logic block number, the logic block in which an update flag has been set to the high level is taken out and compressed by the compressing circuit and the resultant block is supplied as a combination candidate to the compression group forming unit. The write cache control unit purges the compression group from the compression cache memory in accordance with the LRU. The logic sector in a vacant state is allocated by referring to the free linked list for the purged compression group and is written into the disk drive by the device writing unit. Simultaneously, the logic block number, logic sector number, relative position in the logic sector, and the number of sectors of a plurality of logic blocks belonging to the written compression group are registered in the mapping table. The candidates of compression groups to be formed by the compression group forming unit are combined in accordance with the storing order of the compression data in the buffer memory in the compressing circuit or the compressing order. One compression group can be also formed by detecting the size of compression data, forming a candidate list in which data is classified every data size, and selecting a plurality of candidates which exceed the standard size from the candidate list. In this case, one compression data group can be also formed by selecting a plurality of candidates of the same size from the candidate list in which the data has been classified every size. One compression data group can be also formed by selecting a plurality of candidates of different sizes. There occurs a case such that a total data size obtained by combining a plurality of candidates is less than a specified compression group size depending on the compression data size. In this case, one compression group is formed by storing dummy data into vacant remaining areas. The number of candidates to be combined into one compression group can be limited to a specific number by the compression group forming unit. For example, the number of candidates to be combined to one compression group is limited to two or less or four or less. Such a limitation depends on the number of parallel circuits of the compressing circuit and expanding circuit which are constructed by a hardware. For instance, when two parallel circuits each comprising the compressing circuit and expanding circuit are provided, the number of compression data in the group is limited to two, thereby enabling parallel processes to be executed and the data can be compressed or expanded at a high speed. The compression group which is used in the invention has a size which is integer times as large as the logic block of the host computer. For example, when a mean compression ratio is equal to 1/2, a double size is preferable. A size of 2n times (where, n is integer of 1, 2, 3, 4, . . . ) as large as the logic block of the host computer can be also used. The device writing unit adds information that is registered in the mapping table to the head of the logic sector as sector information and stores the resultant data into the disk drive. In case of a failure of the mapping table, the mapping table can be reconstructed by reading out the sector information of the logic sector from the disk drive. When the compression group is written, the write cache control unit can also select the logic sector of the disk drive to be stored from the free linked list by a hashing. For example, the logic sector of the disk drive to be stored is selected from the free linked list by the hashing in the same cylinder address. Thus, a seek performance of the disk drive is raised.
Processes of the read cache control unit are as follows. When a mishit is judged by the hit judging unit for the read request from the host computer, the read cache control unit reads out the compression group of the relevant logic sector from the disk drive by referring to the mapping table by the logic block number of the read request, the relevant compression data is extracted from the read compression group, expanded by the expanding circuit, developed to the cache memory, and transferred to the host computer. The process is finished. When a hit in the non-compression cache memory is judged by the hit judging unit for the read request from the host computer, the relevant logic block is transferred from the non-compression cache memory to the host computer and the process is finished. Further, when a hit in the compression cache memory is judged by the hit judging unit for the read request from the host computer, the compression group including the relevant logic block is extracted from the compression cache memory, expanded by the expanding circuit, and developed to the non-compression cache memory. The relevant logic block in the non-compression cache memory is transferred to the host computer and the process is finished.
Further, according to the invention, a duplexed system is constructed by using two systems each comprising the cache memory, cache table, hit judging unit, compressing circuit, compression group forming unit, expanding circuit, device writing unit, mapping table, device reading unit, write cache control unit, and read cache control unit. The host computer commonly uses the two systems and the two systems commonly use the disk drive. Each of the read cache control units in the duplexed two systems independently operates for the read request from the host computer. When new data from the host computer is stored according to the mishit judgement of the self cache memory, each of the write cache control units in the duplexed two systems copies the new data into the cache memory of the other system and also updates the cache table of the other system. Even when hit data is updated to the new data from the host computer according to the hit judgement of the self cache memory, the updated data is copied to the cache memory of the other system and the cache table of the other system is also updated.
As another modification of the invention, the compression group forming unit adds a position flag indicative of the position in the group to the head position of each candidate upon forming the compression group and also registers the position flag into the mapping table when the compression group is written into the disk drive. The position flag shows either one of the head position in the group, a middle position in the group, and a middle position between the end of the group and the head of the next group. The read cache control unit expands the compressed logic block unit by using the position flag in the compression group.
A non-volatile memory is used as a cache memory. The mapping table is stored into the non-volatile memory provided as a cache memory. The disk drive is a magnetic disk drive, an optical disk drive, or a semiconductor memory device. A disk array apparatus having a plurality of disk drives can be also used as a disk drive.
According to the invention, since the disk control apparatus of the external memory subsystem executes the data compression, a load concerning the data compression of the host computer is eliminated, the capacity of the existing external memory system is increased, and a system of low costs can be realized. In the case where the fixed length data from the host computer is compressed by the disk control apparatus, although the compression data length varies depending on the nature of the data, one fixed length compression group is formed by combining a plurality of compression data and the data is recorded and reproduced to/from the disk drive on a compression group unit basis, thereby enabling the fixed length recording of the compression data as variable length data to be performed. Internal fragments of the disk drive can be minimized. Therefore, the segment cleaning of the disk drive which is necessary for storing the variable length data is unnecessary and the "device busy" due to the segment cleaning doesn't occur, so that the access performance can be improved. The "device busy" doesn't occur due to the segment cleaning.
The above and other objects, features, and advantages of the present invention will become more apparent from the following detailed description with reference to the drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of an operation environment to which the invention is applied;
FIG. 2 is a block diagram of a hardware construction which realizes a system of FIG. 1;
FIG. 3 is a detailed block diagram of a compressing module in FIG. 2;
FIG. 4 is a functional block diagram of the invention;
FIG. 5 is an explanatory diagram of a cache memory;
FIG. 6 is an explanatory diagram of a cache table;
FIG. 7 is an explanatory diagram of a non-compression cache memory and a compression cache memory;
FIGS. 8A and 8B are explanatory diagrams of compression data of 4 kB;
FIG. 9 is an explanatory diagram of a candidate list of compression groups;
FIG. 10 is an explanatory diagram of a mapping table;
FIG. 11 is an explanatory diagram of a free linked list;
FIG. 12 is an explanatory diagram of a flow from a compression to a disk storage;
FIG. 13 is an explanatory diagram of a writing process at the time of a mishit;
FIG. 14 is an explanatory diagram of a writing process when a hit occurs in a non-compression cache;
FIG. 15 is an explanatory diagram of a writing process when a hit occurs in a compression cache;
FIG. 16 is an explanatory diagram of a write back process at the time of a cache purge;
FIG. 17 is a flowchart for a writing process of a write cache control unit;
FIG. 18 is a flowchart for an updating process of a mapping table in FIG. 17;
FIG. 19 is an explanatory diagram of a reading process when a mishit occurs in a cache;
FIG. 20 is a flowchart for a reading process of a read cache control unit;
FIG. 21 is a block diagram of a duplex configuration;
FIG. 22 is a flowchart for a writing process of the duplex configuration;
FIG. 23 is a flowchart for updating processes 1 and 2 in FIG. 22;
FIG. 24 is a flowchart for an updating process of a mapping table in FIG. 23;
FIG. 25 is a flowchart for updating processes 3 and 4 in FIG. 22;
FIG. 26 is a flowchart for a doubling process in FIG. 25;
FIG. 27 is a flowchart for an updating process 5 in FIG. 22;
FIG. 28 is a flowchart for a reading process of the duplex configuration;
FIG. 29 is an explanatory diagram of a compression group formation which doesn't need an addition of dummy data;
FIG. 30 is an explanatory diagram showing a compression group in FIG. 29;
FIG. 31 is an explanatory diagram of a mapping table which is formed when LRU in the compression group is purged;
FIG. 32 is a flowchart for a writing process to add a position flag;
FIG. 33 is a flowchart for a reading process using the position flag; and
FIG. 34 is a block diagram of another operation environment of the invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
[Operation environment]
FIG. 1 is a block diagram of an operation environment in which a compression data memory system of the invention is embodied. For a host computer 10, a subsystem for external storage is constructed by a magnetic disk control unit 12 and a disk array having a plurality of disk drives 14-1 to 14-6. An MPU 16, an ROM 18, an RAM 20, a host interface (I/F) control circuit 22, a disk interface (I/F) control circuit 24, a cache control circuit 26, a cache memory 28, a hit judging circuit 30, and a compressing and expanding circuit 32 are provided for the magnetic disk control unit 12 and are connected to the MPU 16 by an internal bus 34, respectively. The MPU 16 controls the whole magnetic disk control unit 12 by a program provided in the ROM 18. Particularly, in the present invention, the compressing and expanding circuit 32 is provided for the magnetic disk control unit 12 and executes a control for data compression and reconstruction such that data from a host computer 36 is compressed by the compressing and expanding circuit 32 and is stored into the disk drives 14-1 to 14-6 and, on the other hand, the compression data read out from the disk drives 14-1 to 14-6 is expanded and transferred to the host computer 10. Further, the MPU 16 also performs a control such that after the data transmitted on a logic block unit basis from the host computer 10 was compressed, it is combined into a predetermined logic sector to thereby form a compression group, and the compression groups are written into the disk drives 14-1 to 14-6. The host I/F control circuit 22 and disk I/F control circuit 24 presume, for example, the SCSI. The cache memory 28 temporarily holds the data that is transferred between the host computer 10 and the disk drives 14-1 to 14-6 as physical devices. The cache memory 28 also temporarily holds the compression data combined into the compression group. The compression data compressed on a logic block unit basis of the host computer 10 by the compressing and expanding circuit 32 is combined into a compression group of a predetermined size in the cache memory 28. After that, the compression data is stored into the disk drives 14-1 to 14-6 as physical devices. As will be obviously explained hereinlater, the compressing and expanding circuit 32 has a buffer memory therein and compresses and expands the data transferred into the buffer memory. A data transmission between the buffer memory built in the compressing and expanding circuit 32 and the cache memory 28 is controlled by the MPU 16.
The magnetic disk control unit 12 recognizes a plurality of disk drives 14-1 to 14-6 which are physically connected as one logic disk. The compression data is combined and stored in the logic disk on a compression group unit basis. Now, assuming that the total disk capacity of the disk drives 14-1 to 14-6 is set to 1 GB, a capacity of the logic disk which is recognized by the magnetic disk control unit 12 is equal to 1 GB. However, now assuming that the disk capacity is doubled due to the data compression, the capacity of the logic disk is expanded to 2 GB and is handled. Further, a minimum sector unit at which the disk drives 14-1 to 14-6 can be accessed has been determined by a format of an initializing process and, for example, the minimum physical sector is set to 1 kB. In the following description, accordingly, it is assumed that a size of logic block which is handled by the host computer 10 is set to 4 kB and the compressing and expanding circuit 32 compresses and expands the logic block size of 4 kB as one unit. A size of compression group (also referred to as a compression cluster) in which a plurality of compression data derived by the compression of the logic block unit is collected is set to 16 kB, which is four times as large as that of the logic block.
FIG. 2 shows a case where the invention is applied to an RAID controller as a specific example of the operation environment of FIG. 1. The RAID controller is constructed by: a processor module 100 for a host interface; a host interface module 102; a processor module 106 for a device interface; and device interface modules 108-1 to 108-6. In the invention, a data compressing and expanding module 104 is further added to such an ordinary RAID controller. The processor module 100 for the host I/F is constructed by a main processor 110, a co-processor (abbreviation of cooperated processor) 112, a flash memory 114, a processor supporting logic 116, and a system storage 118. This construction shall also apply to the processor module 106 for the device I/F. The processor module 106 is constructed by a main processor 136, a co-processor 138, a flash memory 140, a processor supporting logic 142, and a system storage 144. The processor module 100 for the host I/F and processor module 106 for the device I/F are connected by a control bus through a processor bus bridge 156. The host I/F module 102 has a host interface 120, a host buffer interface 122, and a cache memory 124. A backup power source 125 is provided for the cache memory 124 and constructs a non-volatile cache memory. As for the device interface modules 108-1 to 108-6, as representatively shown in the device I/F module 108-1, the module 108-1 has a device buffer interface 146, a buffer memory 148, and a device interface 150. The data compressing and expanding module 104 newly added to the RAID controller as mentioned above has an upper interface 126, a lower interface 128, a buffer memory 130 for storing expansion data, a buffer memory 132 for storing compression data, and four compressing and expanding logics 134-1 to 134-4.
FIG. 3 shows the details of the data compressing and expanding module 104 in FIG. 2. The upper interface 126 is provided for connection with an internal bus on the host side. The lower interface 128 is used for connection with an interface on the device side. The upper interface 126 is provided with a compression LSI control circuit 160, a system bus control circuit 162, a control register 164, an address register 166, a data register 168, an arbiter 170, and a command register 172. This internal construction shall also apply to the lower interface 128. As for the compressing and expanding logics 134-1 to 134-4, as representatively shown in the compressing and expanding logic 134-1, the logic 134-1 has a data compressing circuit 173, a data expanding circuit 174, a dictionary memory 176, and a comparing circuit 178. As a compressing algorithm which is realized by the compressing and expanding logics 134-1 to 134-4, a proper algorithm such as arithmetic encoding algorithm AZ (algorithm), LZW algorithm, or the like can be applied. Particularly, in the embodiment of FIG. 3, since the compressing and expanding logics 134-1 to 134-4 of four circuits are provided, up to four parallel compressing or expanding processes can be executed. In the invention, the data which was swept out from the cache memory is stored into the buffer memory 130 for storing the expansion data and, after that, the data is compressed and stored into the buffer memory 132 for storing the compression data. The compression data storing buffer memory 132 forms a compression group (compression cluster) of, for example, 16 kB by collecting a plurality of compression data. The formation of the compression group using a plurality of compression data will be obviously explained hereinlater. When a plurality of compression data are combined and the compression group is formed in the compression data storing buffer memory 132, the compression group is returned to the cache memory. After that, the compression group is stored into a disk drive of an array construction forming a logic disk.
Referring again to FIG. 2, in the RAID controller, now assuming that the module side shown in the diagram is set to a system 1, by providing a system 2 with a similar module construction, a duplexed construction is realized. The systems 1 and 2 are coupled by a data bus through bridge buffer interface 152 and a peripheral logic 154. Therefore, data and various commands are transmitted and received between the systems 1 and 2.
[Functional construction]
FIG. 4 is a functional block diagram of the magnetic disk control unit 12 in FIG. 1. When the magnetic disk control unit 12 of the invention is seen as functions, it has the hit judging circuit 30, a cache table 40, a non-compression cache memory 42, a compression cache memory 44, a compressing circuit 48, an expanding circuit 50, a compression group forming unit 52, a mapping table 54, a free linked list 56, a device writing unit 58, a device reading unit 60, a write cache control unit 62, and a read cache control unit 64. Further, an LRU unit 46 is provided for the non-compression cache memory 42 in order to realize a cache function. Similarly, an LRU unit 55 is provided for the compression cache memory 44.
FIG. 5 shows the cache memory 28 in FIG. 1. The cache memory 28 is divided into a non-compression data area 42 and a compression data area 44. In the functional block of FIG. 4, the non-compression data area 42 is set to the non-compression cache memory 42 and the compression data area 44 is set to the compression cache memory 44. The cache memory 28 is a non-volatile memory since it has the backup power source 125 as shown in the hardware construction of FIG. 2. Further, the mapping table 54 is stored in the cache memory 28 as a non-volatile memory. In the non-compression data area 42 in the cache memory 28, a logic block size of 4 kB as a processing unit of the host computer 10 is set to a cache block (cache segment) and the data is managed. On the other hand, with respect to the compression data area 44, the cache blocks (cache segments) are managed on a compression group unit basis of 16 kB. The contents of the cache memory 28 are stored in the cache table 40.
FIG. 6 shows the cache table 40 of the invention. Table information is formed in the cache table 40 every logic block number 40-1 which is handled by the host computer. In correspondence to the logic block number 40-1, an address 40-2 in the cache indicative of a storing position, a data length 40-3, a compression flag 40-4 indicating whether the data is compression data or not, and an updating flag 40-3 indicating whether the data has been updated (rewritten) on the cache or not are registered. Therefore, for a write request or a read request in which the logic block number is designated and which is transmitted from the host computer 10, the hit judging circuit 30 can judge whether a mishit or a hit has occurred in the cache on the basis of the presence or absence of the registered logic block number 40-1 with reference to the cache table 40 in FIG. 6. When the hit occurs, the address 40-2 in the cache, data length 40-3, the compression data (when the compression flag 40-4 is set) or non-compression data (when the compression flag 40-4 is reset), and the updating result regarding whether the data has been updated (when the updating flag 40-5 is set) or not (when the updating flag 40-5 is reset) can be known from the table data corresponding to the relevant logic block number 40-1.
FIG. 7 shows the transmission and reception of the non-compression data and compression data in the cache memory by the compressing circuit 48 in FIG. 4. First, in the non-compression cache memory 42, the data is managed by cache blocks 68-1 to 68-n each having a size of 4 kB which coincides with the logic block size of the host computer 10. It is now assumed that data of logic block numbers #a, #b, #c, and #d has been stored in the non-compression cache memory 42. When the logic block numbers #a, #b, #c, and #d are swept out from the non-compression cache memory 42 by the LRU, the compressing circuit 48 compresses each of the cache blocks 68-1 to 68-4, thereby forming compression data. The compression cache memory 44 is managed on a compression group (compression cluster) unit basis having a size of 16 kB, that is four times as large as that of each of the cache blocks 68-1 to 68-n of 4 kB. Therefore, compression data 72-1 to 72-4 of the cache blocks 68-1 to 68-4 of the logic block numbers #a to #d are combined to one data block as shown in, for example, a compression group 70-n.
FIGS. 8A and 8B show the compression data of the logic block of 4 kB according to the compressing circuit 48. It is now assumed that a logic block 68 of 4 kB in FIG. 8A is compressed by the compressing circuit 48 and compression data 72 in FIG. 8B is obtained. It is now assumed that the compression data has, for example, 1.5 kB. In the disk drives 14-1 to 14-6 as physical devices of the invention, a size of minimum physical sector which can be accessed is determined to be, for example, 1 kB according to the format upon initialization. Therefore, in case of the compression data 72 of 1.5 kB itself, the minimum physical sector cannot be stored into the disk drive of 1 kB. Accordingly, dummy data 82 of 0.5 kB is added after the compression data 72, thereby forming compression block of 2 kB. Thus, the compression block has at least a size of 1 kB that is equal to the minimum physical sector of the disk drive. As mentioned above, as extracted and shown on the lower side, the compression block added with the dummy data 82 as necessary has the inherent compression data and a compression data portion 86 including the dummy data provided as necessary subsequent to a start code 84, and an end code 88 is provided at the end. By forming such a compression block, the compressing circuit 48 and expanding circuit 50 can perform a grouping operation due to a combination of the compression blocks corresponding to the logic block numbers each having a size that is integer times as large as the minimum physical sector and an extraction of the necessary compression blocks from the group.
Processes of the compression group forming unit 52 in FIG. 4 will now be described. FIG. 9 shows an example of the process for forming a compression group from the compression blocks derived by the compression of the logic block unit. In the formation of the compression group, when the logic block is compressed by the compressing circuit 48, the size of compression block formed is detected. Therefore, as a size list 74, the number of bytes within a range from 1 kB to 16 kB which are used in the compression block are prepared and a candidate list to combine the compression groupin which the compression blocks are classified every size is formed. In case of FIG. 9, compression blocks 76-1 and 76-2 are linked as a combination candidate in 1 kB of the number of bytes which are used. Similarly, compression blocks 76-3 to 76-8 separated to the same size are linked by a list structure in 2 kB to 5 kB of the numbers of bytes used, respectively. There are the two following methods of forming the compression group by using the size list 74.
I. The compression blocks of the same size are combined.
II. The compression blocks of different sizes are combined.
For example, according to the method I, when sixteen candidates of the compression blocks of 1 kB of the number of bytes used are formed, they are collected and one compression group is formed. When the number of bytes used is set to 2 kB, it is sufficient to collect eight compression blocks. On the other hand, according to the method II, the compression group of 16 kB can be also formed by combining the compression blocks of different sizes. In this case, two or more compression blocks of the same size can be also used. As another method of forming the compression group, it is also possible to form the compression group of the size of 16 kB in accordance with the order of the storage addresses for the buffer memory (compression data storing buffer memory 132 in FIG. 3) which the compressing circuit 48 has. As still another method, the compression group of 16 kB can be also formed in accordance with the time-dependent compressing order by the compressing circuit 48. When the compression group of 16 kB by the combination of a plurality of compression blocks is formed, as shown in the compression group 70-n in FIG. 7, it is desirable to form 16 kB without causing a remainder by combining the four compression blocks 72-1 to 72-4. However, in the case where the number of bytes used doesn't reach 16 kB by the combination of the candidate blocks, it is also possible to form the compression group of 16 kB by adding dummy data (NULL) into a vacant area. To raise an effective using efficiency of the disk drive, it is desirable to form a compression group so as not to cause a vacant area as much as possible.
The compression groups formed by the compression group forming unit 52 are stored into the compression cache memory 44 as shown in FIG. 7. When a capacity used in the compression cache memory 44 reaches a specified value, the compression groups stored in the compression cache memory 44 are swept out by the LRU unit 55 and is written back to a disk drive 14 as a physical device. When the compression groups are written back to the disk drive 14, vacant logic sectors are sequentially allocated in accordance with the order from the head of the list with reference to the free linked list 56 indicative of vacant states of the logic sectors of the disk drive 14 and the compression groups are stored into the allocated logic sectors. A correspondence relation between the logic block number of each compression block included in the compression group and the logic sector number as a storage destination is registered into the mapping table 54.
FIG. 10 shows the mapping table 54 of the present invention. A logic sector number 54-2 of the disk drive 14 as a storage destination of the compression group in which the compression blocks are combined, the number of offset sectors 54-3 indicative of the relative position from the head of the compression group to the relevant compression block, and a sector length 54-4 indicative of the size of compression block have been stored in the mapping table 54 in correspondence to a logic block number 54-1 which is handled by the host computer 10. Therefore, when the magnetic disk control unit 12, specifically speaking, the write cache control unit 62 or read cache control unit 64 in FIG. 4 extracts the necessary data from the disk drive 14 by using the logic block number notified from the host computer 10, it is possible to access by obtaining the logic sector number 54-2 from the mapping table 54. When the compression block of the necessary logic block number is extracted from the compression group which was read out from the disk drive 14 and developed in the compression cache memory 44, the position from the head of the group is known by the number of offset sectors 54-3 in the mapping table 54, the compression blocks corresponding to the sector length 54-4 are extracted and are expanded by the expanding circuit 50, and the expanded logic blocks can be developed in the non-compression cache memory 42.
FIG. 11 shows a free linked list which is used for allocation of the logic sectors to the logic groups. The free linked list 56 has a link structure in which empty logic sectors 56-1, 56-2, and 56-3 in a logic sector table 66 are coupled by address information. An address of the empty logic sector 56-1 in the free linked list is managed as a head address by the MPU 16. For the head address, an address of the next empty logic sector 56-2 is stored into the head empty logic sector 56-1 in the logic sector table 66. In a manner similar to the above, addresses of the subsequent logic sectors are sequentially stored. Therefore, when writing back to the compression cache memory 44, the MPU 16 allocates the empty logic sector 56-1 having the head address in the free linked list 56 to the compression group which was swept out, thereby performing the storage into the disk drive 14 and the formation of the mapping table 54.
FIG. 12 shows a flow of processes which are executed until the storage from the non-compression cache memory 42 to the disk drive 14. The non-compression cache memory 42 is managed on a cache block unit basis of 4 kB. When the cache capacity reaches a specified value, the cache blocks are swept out by the LRU and are compressed on a logic block unit basis and are converted to compression groups 70-1 to 70-n of 16 kB on the non-compression cache memory 42. With respect to the compression cache memory 44, when the cache capacity reaches the specified value, the compression blocks are swept out by the LRU and are stored into the disk drive 14. At this time, for example, the compression group 70-n comprising the combination of the four compression blocks 72-1 to 72-4 which were swept out from the compression cache memory 44 can be also stored as it is into a logic sector 80 allocated from the free linked list 56 of the disk drive 14. Further, it is desirable that sector information 78 is formed from the mapping table 54 and the sector information 78 is added to the head of the compression group 70-n and the resultant data is stored into the logic sector 80 of the disk drive 14. The sector information 78 at the head of the compression group 70-n to be stored in the logic sector 80 of the disk drive 14 is constructed by four sector information 78-1 to 78-4 regarding the four compression blocks 72-1 to 72-4 constructing the group. For example, the sector information 78-1 of the compression block 72-1 is constructed by a flag 96-1, a logic block number 96-2, and the number of offset sectors 96-3. The flag 96-1 indicates whether the sector information is valid or not. When the flag 96-1 is set, the sector information is valid. The logic block number 96-2 is a logic block number of the compression block 72-1 shown by the sector information 78-1. The number of offset sectors 96-3 is the number of sectors indicative of the relative position from the head of the compression group 70-n to the compression block. As mentioned above, the logic block number of each compression block included in the group and the number of offset sectors indicative of the position in the group are included at the head of the compression group to be stored into the disk drive 14, so that even if the mapping table 54 provided for the cache memory fails, by reading out the sector information of the disk drive 14, the mapping table 54 can be reconstructed. Now, assuming that up to eight sector information 78 can be stored into the compression group 70-n, there are 64 bytes per compression block and an area of a fixed length of 512 bytes as a whole is set.
[Writing process of data]
The writing process of data in the magnetic disk control unit 12 of the invention is mainly classified into the following three cases.
I. Case where the data doesn't exist in the cache memory and the data exists in the disk drive 14.
II. Case where the data exists in the non-compression cache memory 42.
III. Case where the data exists in the compression cache memory 44.
The processing operation of the magnetic disk control unit 12 will now be described with respect to each of the cases I to III.
FIG. 13 relates to the processes in the case where the data corresponding to the logic block number requested by the host computer 10 doesn't exist in the cache memory, namely, the case where the data doesn't exist in the non-compression cache memory 42 and compression cache memory 44. First, the write request using the logic block number is performed from the host computer 10 to the write cache control unit 62. The write cache control unit 62 requests the hit judging circuit 30 to judge about the occurrence of a hit. The hit judging circuit 30 refers to the cache table 40 by using the logic block number from the host computer 10. In this case, a mishit occurs because the logic block number as a target of the write request doesn't exist in the non-compression cache memory 42 and compression cache memory 44. The write cache control unit 62 which received the judgment result of the mishit from the hit judging circuit 30 obtains the address in the cache by a predetermined hashing with respect to the write logic block from the host computer 10, stores the address into the non-compression cache memory 42 as a cache block 68, and notifies a device end to the host computer 10. Simultaneously with the storage into the non-compression cache memory 42, the address 40-2 and data length 40-3 in the cache corresponding to the logic block number 40-1 as shown in FIG. 6 are registered into the cache table 40. In this case, since the data is the non-compression data, the compression flag 40-4 is reset to OFF and the updating flag 40-5 is also reset to OFF because of the storage of the new data.
FIG. 14 shows the processing operation in the case where the data exists in the non-compression cache memory 42. The write cache control unit 62 which received the write request in which the logic block number was designated and which is sent from the host computer 10 requests the hit judging circuit 30 to execute a judging process. The hit judging circuit 30 searches the relevant logic block number with reference to the cache table 40 and judges the occurrence of a hit indicating that the data exists in the non-compression cache memory 42 because the compression flag is reset to OFF. In response to the hit judgment, the write cache control unit 62 updates the cache block 68 in the non-compression cache memory 42 specified by the hit judgment by using the write logic block from the host computer 10. When the updating of the cache block 68 is finished, the updating flag 40-5 (refer to FIG. 6) in the cache table 40 is checked. If the updating flag is reset to OFF, the updating flag is set to ON. When the updating flag is ON, since a compression group 70 used for development by the expanding circuit 50 of the updated cache block 68 exists in the compression cache memory 44, the compression group 70 has to be again constructed by the updating of the cache block 68. For this purpose, the logic sector number allocated to the compression group 70 including the updated cache block 68 is erased from the mapping table 54. Specifically speaking, all of the logic block numbers corresponding to the compression blocks constructing the compression group 70 are deleted from the mapping table 54. The compression blocks constructing the compression group 70 other than the updated cache block 68 are returned to the compression group forming unit 52 and are added to the candidate list to form a new compression group. As mentioned above, when the expansion blocks of the specific compression blocks constructing the compression group are updated, the compression group is dispersed. With respect to the compression blocks other than the target to be updated, by again returning them to the candidates to form a compression group, a compression group of an exactly new combination is formed and stored into the disk drive 14.
FIG. 15 relates to the case where data exists in the compression cache memory 44. When the write cache control unit 62 requests the hit judging circuit 30 to discriminate about the hit by receiving the write request by the designation of the logic block number from the host computer 10, it will be understood that the compression block 72 of the corresponding logic block number exists in the compression cache memory 44 by referring to the cache table 40. Therefore, the write cache control unit 62 recognizes the relative position from the head of the compression block 72 included in the compression group 70 and the data length with reference to the mapping table 54. The control unit 62 extracts the compression block 72, expands it by the expanding circuit 50, and develops as a cache block 68 into the non-compression cache memory 42. Subsequently, the write cache control unit 62 updates the cache block 68 developed in the non-compression cache memory 42 by the write request block from the host computer 10. After completion of the updating of the cache block 68, the relevant updating flag in the cache table 40 is set to ON. All of the logic block numbers of the other compression blocks included in the compression group 70 from which the compression block 72 was extracted are deleted from the mapping table 54. The logic sectors allocated to the compression group 70 are also deleted and the deleted logic sectors are returned to the free linked list 56. After completion of the deletion of the mapping table 54, the other compression blocks included in the compression group 70 other than the updated compression block 72 are returned to the compression group forming unit 52 and are set to candidates to combine a new compression group.
FIG. 16 shows a compressing process when a using efficiency of the non-compression cache memory 42 increases and the sweeping-out process of the cache blocks is performed in order to write back and, similarly, a process when a using efficiency of the cache capacity of the compression cache memory 44 increases and the cache sweeping-out process to write back the compression group is executed. In the non-compression cache memory 42, it is assumed that among the cache blocks managed by the LRU unit 46, the cache blocks 68-1 to 68-m were swept out to write back from the disk drive 14 in association with an increase in cache using efficiency. The cache blocks 68-1 to 68-m which were swept out from the non-compression cache memory 42 are supplied to the compressing circuit 48 and compressed on a block unit basis and are combined into a compression group of the unit of 16 kB by the compression group forming unit 52 and are stored into the compression cache memory 44. As mentioned above, as for the contents of the cache table 40 regarding the cache blocks 68-1 to 68-m which were swept out from the non-compression cache memory 42 and were compressed, the compression flag 40-4 in the logic block number 40-1 corresponding to the cache blocks 68-1 to 68-m in FIG. 6 is set to ON. Thus, it will be understood that the cache blocks 68-1 to 68-m exist in the compression cache memory 44 due to the compression. It is assumed that among a plurality of compression data stored in the compression cache memory 44, the using efficiency of the cache capacity increases and, for example, the compression group 70 is swept out by the LRU unit 55. A plurality of compression blocks 72-1 to 72-m derived by the compression of the cache blocks which were swept out from the non-compression cache memory 42 are combined to the compression group 70. In this instance, the write cache control unit 62 allocates the logic sector in an empty state in the head address managed by the MPU 16 to the compression group 70 which was swept out with reference to the free linked list 56. The cache blocks which were swept out from the memory 42 are written into the disk drive 14 by the device writing unit 58. When writing into the disk drive 14 by the write cache control unit 62, the head position of the logic sector in the empty state in the free linked list 56 is allocated. However, the allocation of the logic sector can be also performed by hashing. In case of the allocation of the logic sector by hashing, there is a fear such that the compression groups are stored at random into the disk drive and a seeking performance deteriorates. Therefore, the logic sectors are grouped every cylinder address of the disk drive and are allocated to the compression group by the hashing in the logic sectors included in the same cylinder address. Thus, upon writing back of the compression group, the storage at the same cylinder position is executed. After the seeking operation was once executed, it is sufficient to subsequently execute the head switching operation. Therefore, an accessing performance upon writing back of the compression data can be raised.
FIG. 17 shows a flowchart for the writing process in the magnetic disk control unit of the invention. First in step S1, when the logic block address (logic block number) and data (logic block) are received from the host computer 10, a check is made in step S2 to see if a hit has occurred in the cache memory. When data doesn't exist in the non-Compression cache memory 42 and compression cache memory 44, processes in steps S8 to S14 are executed. Those processes correspond to the staging of the cache block 68 for the non-compression cache memory 42 in FIG. 13. Namely, new data is recorded into the non-compression cache memory 42 in step S8. In step S9, the mapping table 54 is referred. In step S10, a check is made to see if the new data has been registered in the mapping table. If there is no registration in the mapping table 54, this means that the data is the new data. Therefore, in step S100, the items regarding the recording of the new data are registered into the cache table and are updated. When there is the registration in the mapping table 54, the new data is included as a compression block in the compression group stored in the disk drive 14. In step S11, therefore, the logic sector number corresponding to the logic block number is examined and the relevant compression group is read out from the disk drive 14 and is transferred to the compression cache memory 44. The compression block derived from the mapping table 54 is extracted from the compression group transferred to the compression cache memory 44 and is expanded by the expanding circuit 50 and is developed into the non-compression cache memory 42. The developed logic block is updated by the new data. After completion of the updating, the processing routine advances to a mapping table updating process in step S13.
The mapping table updating process is as shown in a flowchart of FIG. 18. First in step S14, the updating flag of the relevant logic block number is set to ON with reference to the cache table 40. In step S15, the updated logic sector is deleted from the mapping table 54. By the deletion of the logic sector, the compression blocks other than the updated compression block in the compression data read out from the disk drive 14 into the compression cache memory 44 are returned to the compression group forming unit 52 and become candidates to form a new compression group. In step S16, the deleted logic sector number is registered into the free linked list 56. The processing routine is returned to the main routine of FIG. 17 and a series of processes are finished. It is also possible to update the data in the disk drive 14 as a write back process in association with the data sweeping-out from the non-compression memory 42 by the LRU without performing the updating process in steps S11 to S13.
When a cache hit occurs in the non-compression cache memory 42, the processes in steps S3, S4, and S5 in FIG. 17 are executed. Those processes relate to the processing operation in FIG. 14. First in step S3, the relevant cache block 68 in the address in which a hit occurred in the non-compression cache memory 42 is updated by the new data from the host computer 10. Subsequently, a check is made to see if the updating flag of the relevant cache block number in the cache table 40 has been set to ON. If the updating flag has already been set to ON, since this means that the updating is the second or subsequent updating process, there is no need to delete the sector number from the mapping table 54. The processing routine is finished. If the updating flag corresponding to the logic block number in the cache table 40 has been reset to OFF, the processing routine advances to a mapping table updating process in step S5. As shown in a subroutine in FIG. 18, in step S14, in the mapping table updating process, the updating flag corresponding to the logic block number in the cache table 40 is set to ON. In step S15, the updated logic sector is deleted from the mapping table 54, the compression group is dispersed, and the compression blocks corresponding to the logic blocks other than the updated logic block are returned to the compression group forming unit 52 and are set to candidates to form a new compression group. In step S16, the deleted logic sector number is returned to the free linked list 56. The processing routine is again returned to the main routine in FIG. 7. A series of processes are finished.
Further, when a cache hit occurs in the compression cache memory 44, the processes in steps S6, S7, and S5 in FIG. 17 are executed as explained in FIG. 15. First, since the compression group 70 including the compression block 72 of the relevant logic block exists in the compression cache memory 44, the compression block 72 is extracted with reference to the mapping table 54 in step S6, is expanded by the expanding circuit 50, and is transferred as a cache block 68 into the non-compression cache memory 42. After completion of the transfer, the data is updated by the write block from the host computer 10. In step S7, a check is made to see if the updating flag of the updated logic block number is ON or OFF. When the updating flag is set to ON, since this means that the deletion in the mapping table 54 has already been finished, the processing routine is finished. When the updating flag is reset to OFF, since this mans that the updating is the first updating process, the mapping table updating process in step S5 is executed. Namely, the updating flag in the cache table 40 is set to ON as shown in step S14 in FIG. 18. In step S15, the logic sector including the compression block of the updated logic block is deleted from the mapping table 54. Thus, the compression group 70 including the compression block 72 as a target of the updating in the compression cache memory 44 is dispersed. The compression blocks other than the compression block 72 are returned to the compression group forming unit 52 and become candidates to form a new compression group. In step S16, the deleted logic sector number is registered into the free linked list 56. The processing routine is returned to the main routine in FIG. 17 and a series of processes are finished.
[Reading process of data]
FIG. 19 shows the reading process in the magnetic disk control unit 12 of the invention and relates to the case where the request data doesn't exist in the non-compression cache memory 42 and compression cache memory 44 but exists in the disk drive 14. When the read request in which the logic block number was designated from the host computer 10 is received by the read cache control unit 64, a hit judgment is requested to the hit judging circuit 30. The hit judging circuit 30 refers to the cache table 40 by the logic block number. In this case, however, since the data doesn't exist in the non-compression cache memory 42 and compression cache memory 44, the designated logic number is not registered in the cache table and the occurrence of the mishit is discriminated. When the judgment result of the mishit is obtained from the hit judging circuit 30, the read cache control unit 64 recognizes the logic sector number with reference to the mapping table 54 by the designated logic block number. The compression group 70 stored in the logic sector searched from the disk drive 14 is read out by the device reading unit 60 and is developed into the compression cache memory 44. Subsequently, the relative position from the head and the data length in the group corresponding to the logic block number are recognized from the mapping table 54. The compression block 72 is extracted and expanded by the expanding circuit 50 and is developed into the non-compression cache memory 42. The logic block developed in the non-compression memory 42 is transferred to the host computer 10. A series of processes are finished.
When the data exists in the disk drive 14, processes in steps S1, S2, S10 to S12, and S6 to S9 in the flowchart of FIG. 20 are executed. First in step S1, the logic block number by the read request from the host computer 10 is received. In step S2, when it is recognized that the logic block doesn't exist in the non-compression cache memory 42 and compression cache memory 44, step S10 follows. In step S10, the logic sector number is searched from the logic block number by using the mapping table 54. In step S11, the compression group of the relevant logic sector is read out from the disk drive 14 and is transferred to the compression cache memory 44. In step S14, the compression block corresponding to the block requested from the host computer 10 is extracted from the compression group 70 transferred to the compression cache memory 44 and is transferred to the expanding circuit 50 and is reconstructed. In step S6, the data is transferred to the non-compression cache memory 42. The transferred data is read out from the non-compression cache memory in step S7 and is transferred to the host computer in step S8. Finally, in step S9, a fact that the reconstructed cache block 68 exists in the non-compression cache memory 42 is registered together with the logic block number into the cache table 40. At the same time, a fact that the other compression blocks which belong to the same compression group 70 as the compression block 72 of the logic block as a target to be read out exist in the compression cache memory 44 is registered together with the respective logic block numbers. With respect to the logic block number which was subjected to the read request, the compression block 72 exists in the compression cache memory 44 and the reconstructed compression block 68 also exists in the non-compression cache memory 42. In this case, however, it is sufficient that, the compression flag is reset to OFF and only a fact that the cache block 68 exists in the non-compression cache memory 48 is registered into the cache table 40. On the other hand, with regard to the case where the other logic blocks included in the compression group 70 which is not reconstructed exists in the non-compression cache memory 42, the compression flag is set to 1 in order to indicate that the compression block exists in the compression cache memory 44.
The case where the data exists in the non-compression cache memory 40 for the read request from the host computer 10 will now be described. In this case, the processes in steps S3 and S4 in FIG. 20 are executed. Namely, in step S3, the data is read out from the address in the non-compression cache memory 42 obtained with reference to the cache table 40. The data is transferred to the host computer 10 in step S4. The processing routine is finished.
Further, in the case where the data exists in the compression cache memory 44 for the read request from the host computer 10, processes in steps S5 to S9 in FIG. 20 are executed. First in step S5, the mapping table 54 is referred and the relative position from the head and the data length in the compression group 70 stored in the compression cache memory 44 of the logic block which was subjected to the read request are recognized. The relevant compression block 72 is extracted and is reconstructed by the expanding circuit 50. The reconstructed compression block is transferred to the non-compression cache memory 42 in step S6. In step S7, the data is read out from the non-compression cache memory 42. In step S8, the relevant block is transferred to the host computer 10. In step S9, since the data has been reconstructed into the non-compression cache memory 42, the cache table 40 in which the compression flag of the logic block number which was subjected to the read request is reset to 0 is updated.
[Duplexed construction]
FIG. 21 shows another embodiment of the invention and is characterized in that two systems of the magnetic disk control unit 12 in FIG. 1 are provided, thereby forming a duplexed construction for the host computer and disk drive. First, a system 1 is constructed by a magnetic disk control unit 12-1 and a system 2 is constructed by a magnetic disk control unit 12-2. The magnetic disk control units 12-1 and 12-2 have the same construction and comprise: MPUs 16-1 and 16-2; ROMs 18-1 and 18-2; RAMs 20-1 and 20-2; host interface control units 22-1 and 22-2; disk interface control units 24-1 and 24-2; cache control units 26-1 and 26-2; cache memories 28-1 and 28-2; hit judging circuits 30-1 and 30-2; compressing and expanding circuits 32-1 and 32-2; and internal buses 34-1 and 34-2. The magnetic disk control units 12-1 and 12-2 of the systems 1 and 2 are connected to the host computer 10 through independent channel buses 36-1 and 36-2. The magnetic disk control units 12-1 and 12-2 are also connected to the disk drives 14-1 to 14-6 constructed by disk arrays through independent device buses 38-1 and 38-2. The internal bus 34-1 of the magnetic disk control unit 12-1 and the internal bus 34-2 of the magnetic disk control unit 12-2 are connected through the bridge buffer interface 152 and peripheral logic 154 and can transmit and receive command messages and data to/from the MPUs 16-1 and 16-2. Such a duplexed construction corresponds to the module constructions of the systems 1 and 2 in FIG. 2 in a hardware manner.
By the duplexing, the functions of the magnetic disk control units 12-1 and 12-2 constructed by the systems 1 and 2 are fundamentally the same as the functional block of FIG. 4. Namely, both of the magnetic disk control units 12-1 and 12-2 have the functions as write cache control unit 62 and read cache control unit 64 and fundamentally execute independent operations for a request from the host computer 10. On the other hand, for example, when a mishit occurs in the system 1 which received the request from the host computer 10, the disk drive is not immediately accessed but a cache hit of the system 2 is judged. When the data is updated in the cache memory 28-1 of the system 1, the copy of the updated data and the updating of the mapping table are executed in order to guarantee the consistency with the cache memory 28-2 of the system 2.
[Writing process of duplexed system]
FIG. 22 shows processes when the magnetic disk control unit 12-1 of the system 1 received the write request from the host computer 10. First in step S1, when the logic block number and data (logic block) are received from the host computer 10, a check is made in step S2 to see if a hit has occurred in the cache memory 28-1 of the system 1. The hit judgment of the cache memory 28-1 is executed with regard to the non-compression cache memory 42 and compression cache memory 44 as shown in the functional block of FIG. 4. When a hit occurs in the non-compression cache memory 42 of the system 1, an updating process 1 in step S4 is executed. When a hit occurs in the compression cache memory 44 of the system 1, an updating process 2 in step S5 is executed. When a mishit occurs in both of the non-compression cache memory 42 and compression cache memory 44 of the system 1, step S3 follows and the hit judgment is requested to the disk control unit 12-2 of the system 2. Thus, when a hit occurs in the non-compression cache memory 42 of the system 2, an updating process 3 in step S6 is executed. When a hit occurs in the compression cache memory 44 of the system 2, an updating process 4 in step S7 is executed. Further, when a mishit occurs in both of the cache memories 28-1 and 28-2 of the systems 1 and 2, an updating process 5 in step S8 is executed.
FIG. 23 shows the updating process 1 in the case where the hit occurs in the non-compression cache memory 42 of the system 1 in step S2 in FIG. 22 and the updating process 2 in the case where the hit occurs in the compression cache memory 44. The updating process 1 will now be described hereinbelow with respect to the functional block of FIG. 4. First in step S1, since the data of the logic block number which was subjected to the write request exists in the non-compression cache memory 42, the data is updated by the write data. In step S2, the updating flag corresponding to the block number of the updated data in the cache table 40 is set to 1. In step S3, a check is made to see if the updating flag has already been set to 1. If YES, since there is no need to delete the logic sector from the mapping table 54, the processing routine is finished. When the updating flag is reset to 0 before updating and the updating flag is set to 1 in step S1, the updating is the first updating process. Therefore, the updated block is transferred to the system 2 and is copied into the non-compression cache memory 42 of the system 2. In step S5, the updating flag of the relevant logic block number in the cache table 40 of the system 2 is set to 1. In step S6, a mapping table updating process is executed.
The mapping table updating process corresponds to steps S11 and S12 in FIG. 24. First in step S11, the logic sector number allocated to the compression group including the compression block of the updated logic block is deleted from the mapping table 44. In this instance, when the compression group in which the updated logic block was expanded in the non-compression cache memory 42 remains in the compression cache memory 44, the compression blocks of the other logic blocks included in the compression group are returned to the compression group forming unit 52 and are set to candidates to form a new compression group. In step S12, the deleted logic sector number is returned to the free linked list 56.
The updating process 2 in FIG. 23 will now be described. The updating process 2 is executed in the case where a hit occurs in the compression cache memory 44 in FIG. 4 in the system 1. First in step S1, the logic block which was received from the host computer 10 and becomes a target to be written is recorded into the non-compression cache memory 42. In step S2, the mapping table 54 is referred by the logic block number to be updated, the relevant compression block is extracted on the basis of the number of offset sectors and data length from the group head position of the relevant compression group existing in the compression cache memory 44 and is reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42. The data updating by the logic block recorded in step S1 is executed. After completion of the data updating on the non-compression cache memory 42, the same processes as those in steps S2 to S6 of the updating process 1 are executed. Namely, the updating flag corresponding to the logic block number in the cache table 40 of the system 1 is set to 1 in step S2. In step S3, a check is made to see if the updating flag has already been set to 1. If YES, the processing routine is finished. When the updating flag is reset to 0, since the updating is the first updating process, step S4 follows. The updated block is copied into the non-compression cache memory of the system 2. In step S5, the relevant updating flag in the cache table of the system 2 is set to 1. The mapping table updating process in step S6 is executed. Namely, the logic sector corresponding to the updating block is deleted from the mapping table 54 in step S11 in FIG. 24. In step S12, the deleted logic sector number is registered into the free linked list 56.
FIG. 25 shows the details of the updating processes 3 and 4 in FIG. 22. First, as shown in FIG. 22, the updating process 3 relates to the case where a cache mishit occurs in the system 1 and a hit occurs in the non-compression cache memory 42 of the system 2. First in step S1, the logic block from the host computer 10 is recorded into the non-compression cache memory 42 of the system 1. In step S2, the relevant block in which a cache hit occurs in the system 2 is read out from the non-compression cache memory 42 and is copied into the non-compression cache memory 42 of the system 1 and the copied block is updated by the recorded logic block in step S2. Further, the updating flag in the cache table 40 of the system 1 is set to 1. Subsequently, a doubling process in step S3 is executed.
FIG. 26 shows the details of the doubling process in FIG. 22. First in step S11, the new data updated in the non-compression cache memory 42 of the system 1 is copied into the non-compression cache memory 42 of the system 2. The relevant updating flag in the cache table 40 of the system 2 is set to 1. In step S4, the mapping table updating process is executed. That is, as shown in FIG. 24, in step S11, the logic sector number corresponding to the logic block number of the updated logic block is searched from the mapping table 56 of the system 2 and the logic sector number is deleted. At the same time, the other logic blocks included in the same compression group as the updated block are also deleted from the mapping table 56 and are returned to the compression group forming unit 52 and become the candidates to form a new compression group. With respect to the system 1 side in which the relevant block doesn't exist on the cache memory, it is also desirable to delete the logic sector number corresponding to the updated block number in order to guarantee a consistency of the mapping table 54.
The updating process 4 in FIG. 25 will now be described. The updating process 4 relates to the case where a mishit occurs in the cache memory of the system 1 and a hit occurs in the compression cache memory 44 of the system 2 as shown in FIG. 22. First in step S101, the relevant logic block from the host computer 10 is recorded into the non-compression cache memory 42 of the system 1. In step S102, the compression block derived by the reference to the mapping table 54 is extracted from the relevant compression data in the compression cache memory 44 of the system 2 and is reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42. Further, the compression block is transferred to the non-compression cache memory 42 of the system 1 and the data updating by the logic block recorded in step S101 is executed. After completion of the data updating, the updating flag of the relevant logic block number in the cache table 40 of the system 1 is set to 1. In step S3, the updating data is transferred to the non-compression cache memory 42 of the system 2 and the cache table 40 of the system 2 is similarly updated. In step S4, the mapping table updating process is executed. Namely, in step S11 in FIG. 24, the logic sector number corresponding to the updating block number is deleted from the mapping table 54 of the system 2. Thus, the compression blocks of the other logic block numbers included in the same compression group as the updating block number are returned to the compression group forming unit 52 and become candidates to form a new compression group. In step S14, the deleted logic sector number is registered into the free linked list 56. In this case, it is also desirable to similarly delete from the mapping table 54 on the system 1 side to thereby guarantee the consistency.
FIG. 27 shows the details of the updating process 5 in FIG. 22 and relates to processes in the case where a mishit occurs in both of the systems 1 and 2 and the data is read out from the disk drive 14 and is updated. First in step S1, the logic block which was subjected to the write request from the host computer 10 is recorded into the non-compression cache memory 42 of the system 1. In step S2, the mapping table 54 of the system 1 is searched. In step S3, a check is made to see if the requested logic block number has been registered in the mapping table 54 or not. If NO, since this means that the new data is written, the address in the cache corresponding to the new logic block number and the data length are registered into the cache table 40 in step S7. In this case, the table is updated so as to reset the compression flag to 0 and to also reset the updating flag to 0. When the requested logic block number is registered in the mapping table 54, since this means that it has already been stored in the disk drive 14, the logic sector number is examined. The compression group of the relevant logic sector is read out from the disk drive 14 and is transferred to the compression cache memory 44. In step S5, on the basis of the relative position from the group head position and the data length which were obtained by the reference to the mapping table 54, the relevant compression block is extracted from the compression group transferred to the compression cache memory 44 and is reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42. The data updating by the logic block recorded in step S1 is executed. After completion of the updating, the updating flag of the relevant logic block number in the cache table 40 is set to 1. The doubling process in steps S11 and S12 in FIG. 26 is subsequently executed. Namely, in step S11, the updated block is copied into the non-compression cache memory 42 of the system 2 and the cache table 40 of the system 2 is similarly updated. In step S12, the mapping table updating process in FIG. 24 is executed. In step S11, the logic sector number corresponding to the logic block number of the updating block is deleted from the mapping table 54 of the system 1. Thus, the compression blocks other than the updating block of the compression cache memory 44 are returned to the compression group forming unit 52 and become candidates to form a new compression group. Finally, in step S12 in FIG. 24, the deleted logic sector number is registered into the free linked list 56. With respect to the mapping table 54 of the system 2, since there are the registered numbers corresponding to the updated logic block number and logic sector number for the disk drive 14, the logic sector number is similarly deleted and is registered into the free linked list 56.
The writing process in the above duplexed construction has been described with respect to the process for the write request from the host computer to the system 1 as an example. However, in the case where there is a write request from the host computer to the system 2, similar processes in which the system 2 side is set to the main part are executed.
[Reading process of the duplexed construction]
A flowchart of FIG. 28 relates to the reading process in the duplexed construction in FIG. 21. The reading process will now be described hereinbelow with reference to the functional block of FIG. 4. First, when there is a read request from the host computer 10 to the system 1, the logic block number is received in step S1. When the occurrence of the hit in the non-compression cache memory 42 of the system 1 is judged in step S2 by the hit judgment by the logic block number, the relevant block is transferred to the host computer 10 in step S3 and the processing routine is finished. In step S2, when the hit occurs in the compression cache memory 44 of the system 1, in step S4, the mapping table 54 is referred by the logic block number and the relevant compression block in the compression group in the compression cache memory 44 is extracted and reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42. In step S5, the relevant block is transferred to the host computer 10. Finally, in step S6, the compression flag of the relevant logic block number in the cache table 40 is reset to 0 and the table updating indicating that the data exists as non-compression data in the non-compression cache memory 42 is executed.
When a mishit occurs in both of the non-compression cache memory 42 and compression cache memory 44 of the system 1, step S7 follows and a check is made to see if a hit has occurred in the cache memory of the system 2. In the case where the hit occurs in the non-compression cache memory 42 of the system 2 by the hit judgment of the system 2, the relevant block is read out and transferred to the host computer 10 in step S8. The transfer of the relevant block from the system 2 can be also performed via the system 1 or can be also directly performed from the system 2 to the host computer 10. When a hit occurs in the compression cache memory 44 of the system 2, in step S9, by referring to the mapping table 54 by the requested logic block number, the relevant compression block in the compression data in the compression cache memory 44 is extracted and reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42. In step S10, the block transferred to the non-compression cache memory 42 is transferred to the host computer 10. The transfer in this case can be directly performed from the system 2 or can be also executed via the system 1. Finally, in step S11, the compression flag of the relevant logic block number in the cache table 40 of the system 2 is reset to 0 and the table updating indicating that the data exists in the non-compression cache memory 42 is executed.
Further, when a mishit occurs in both of the systems 1 and 2, the mapping table 54 is searched in step S12 by the logic block number requested in the system 1. In step S13, the compression group of the logic sector number derived by the search of the mapping table 56 is read out from the disk drive and is transferred to the compression cache memory 44. In step S14, the relevant compression block in the read-out compression group is extracted on the basis of the number of offset sectors and the data length in the mapping table 54 and is reconstructed by the expanding circuit 50 and is transferred to the non-compression cache memory 42. In step S15, the relevant block is transferred from the non-compression cache memory 42 and is transferred to the host computer. Finally, in step S16, the logic block number which was newly read out and the address in the cache are registered into the cache table 40 of the system 1. The table updating to reset the updating flag to 0 and to also reset the compression flag to 0 in this instance is executed.
[Block formation of compression data by addition of position flag]
In the above embodiment, as shown in FIG. 8, in the case where the number of compression data obtained by compressing the logic block 68 of 4 kB is less than the value that is integer times as large as the minimum physical sector of the disk drive, the dummy data 82 is added and a compression block having a size that is integer times as large as the minimum physical sector of the disk drive is formed. On the other hand, as another embodiment of the invention, it is also possible to construct in a manner such that no dummy data is added to the compression data but a compression group of 16 kB is formed by continuously combining the logic blocks and a position flag is provided at the head of the compression data in order to specify the position of the compression data in the group.
FIG. 29 is a diagram for explaining a formation of a compression group in the case where there is no need to add the dummy data. It is now assumed that logic block numbers #50 to #57 were stored in the non-compression cache memory 42 as cache blocks 68-1 to 68-8 each having a size of 4 kB. The eight cache blocks 68-1 to 68-8 are swept out by the LRU and are compressed by the compressing circuit 48 and the compression data is continuously stored and a group is formed as shown in the compression groups 70-1 and 70-2 of 16 kB in the compression cache memory 44.
FIG. 30 is a diagram showing the compression group 70-1 in FIG. 29 and relates to the case where six compression data 72-1 to 72-6 of the logic block numbers #50 to #55 are combined. As shown by the head compression data 72-1 as a representative, a position flag 90 is added to the head of each of the compression data 72-1 to 72-6. After that, compression data 92 exists. The position flag 90 is information indicative of the position of the compression data 92 in the compression group 70-1. The position flag 90 is fundamentally constructed by three kinds of flags 1, 2, and 3. The flag 1 indicates that the compression data 92 is located at the head position of the group. The flag 2 indicates that the compression data 92 is located in the middle of the group. Further, the flag 3 indicates that the compression data 92 is located in a range from the end of the group to the head of the next group.
When the compression groups 70-1 and 70-2 stored in the compression cache memory 44 in FIG. 29 are swept out in accordance with the LRU, the logic sectors are allocated in accordance with the free linked list in a manner similar to the functional block of FIG. 4 and are stored into the disk drive 14. In this instance, the mapping table 54 as shown in FIG. 31 is formed. The logic sector number 54-2 allocated in correspondence to the logic block number 54-1 is registered into the mapping table 54. Further, a position flag 54-5 provided at the head of the compression data 92 is registered into the mapping table 54. The mapping table 54 in FIG. 31 has the contents when the compression groups 70-1 and 70-2 in the compression cache memory 44 in FIG. 29 are stored into the disk drive. Namely, it will be understood that one compression group is constructed by the logic block numbers #50 to #55 and is stored in the logic sector number 10. Although the logic sector number of the logic block number #55 is equal to 10, since the position flag is a flag 3, it will be understood that the compression group is stored in a range from the end of the logic sector number 10 to the head of the next logic sector number 11. Further, since the position flag indicates the relative position in the group, with respect to a flag 2 indicating that the relative position is in the middle of the group, as shown in the logic block numbers #52 to #54, flag bits indicative of the orders of the positions existing in the middle are added like 2-1 to 2-4. It is sufficient that the number of bits of the position flag is set to about a few bits since the maximum number of compression blocks to be stored into the compression group of 16 kB is limited to, for example, 8.
FIG. 32 shows the writing process in the case where the position flag is added to the head of the compression data compressed on a logic block unit basis and a compression group is formed. The writing process will now be described hereinbelow with reference to the functional block of FIG. 4. The writing process in FIG. 32 is a sequential writing process in the case where a number of logic block data are continuously received by the write request of file data from the host computer. The sweeping-out process of the cache block from the non-compression cache memory 42 is explained with respect to the case, as an example, where it doesn't depend on the LRU unit 46, new write blocks are continuously supplied to the compressing circuit 48 and compressed and when an amount of compression data reaches 16 kB as a size of compression group in the compression cache memory 44, the data is written into the disk drive 14 as a physical device.
In FIG. 32, first in step S1, when the write cache control unit 62 receives the logic block numbers and block data which are continuously transmitted from the host computer 10 in response to the write request of the file, they are recorded into the non-compression cache memory 42 in step S2. The logic blocks recorded in the non-compression cache memory 42 are immediately supplied to the compressing circuit 48 and compressed. In the compression group forming unit 52, the position in the compression group of 16 kB is subsequently judged. When the position is the head, the position flag 1 is added. When the position is the middle, the position flag 2 and the number indicative of the order in the middle are added. Further, when the position lies within a range from the end of the group to the head of the next group, the position flag 3 is added. When the position flag is added to the compression data by the compression group forming unit 52, in step S4, the added position flag is written into the mapping table 54 in correspondence to the logic block number as shown in FIG. 31. In step S5, a check is made to see if the write request from the host computer 10 has been finished. When the write request is continued, in step S6, a check is made to see if the formation of the compression group of 16 kB has been completed in the non-compression cache memory 44. Namely, a check is made to see if an amount of data stored has reached 16 kB by the storage of the compression data added with the position flag from the compression group forming unit 52. The processes from step S1 are repeated until the amount of stored data of the compression group reaches 16 kB. When the data storage amount of the compression group reaches 16 kB, the processing routine advances to step S7. The logic sector in the empty state of the disk drive 14 is obtained from the free linked list 56 and the compression group is stored into the disk drive. In step S8, the logic sector number obtained is registered into the mapping table 54 in correspondence to the logic block number as shown in FIG. 31. After completion of the storage into the disk drive 14, in step S9, the processed data remaining in the non-compression cache memory 42 and compression cache memory 44 is deleted to assure an empty space of the process of the subsequent block. When the end of the write request is discriminated in step S5, in step S10, even if the capacity of the compression group doesn't reach 16 kB, the logic sector is obtained from the free linked list 56 and is written into the disk drive 14. In step S11, the logic sector number obtained is written into the mapping table 54. In step S12, the unnecessary data in the non-compression cache memory 42 and compression cache memory 44 which has already been written into the disk drive is deleted and the processing routine is finished.
FIG. 33 shows the sequential reading process of the file data which was compressed and written into the disk drive by the sequential writing process in FIG. 32. When the read cache control unit 64 receives the logic block number by the read request from the host computer 10 in step S1, a check is made in step S2 to see if a cache hit has occurred. When a mishit occurs in the cache memory in step S2, the mapping table 54 is referred and the logic sector number is searched from the logic block number in step S3. The compression data of the relevant sector is read out from the disk drive and transferred to the compression cache memory 44 in step S4. The relevant position flag is obtained from the mapping table 54 in step S5. With respect to the position flag obtained, a check is made in step S8 to see if the position is the head, namely, the position flag is the flag 1 or not. A check is made in step S11 to see if the position is in the middle, namely, the position flag is the flag 2 or not. When it is known from the position flag that the position is the head, the compression data is supplied to the expanding circuit 50 from the head of the compression data in the compression cache memory 44. When the next position flag is derived, the supply to the expanding circuit 50 is stopped. Therefore, only the compression data of the head portion designated by the position flag in the compression group is reconstructed and developed into the non-compression cache memory 42. In step S10, the relevant block is transferred to the host computer. In step S17, a check is made to see if the read request has been finished. The processes from step S1 are repeated until the end of the read request is obtained. On the other hand, when it is discriminated that the position flag is equal to the flag 2 indicative of the middle in step S1, in which number of middle position flag the request block exists is recognized in step S12, the compression data is extracted from the relevant position flag and supplied to the expanding circuit 50, and the supply of the compression data is stopped when the next position flag is detected. Thus, only the compression data in the middle corresponding to the request block is supplied to the expanding circuit 50 and reconstructed in the non-compression cache memory 42. The reconstructed data can be transferred to the host computer 10 in step S13.
When the position flag 3 is discriminated, processes in steps S14 to S16 are executed. When the compression group is read out from the disk drive in step S4, the position flag 3 is recognized by reference to the mapping table, the logic sector added with the position flag and the next logic sector are read out from the disk drive and are transferred to the compression cache memory 44. In the processes from step S14 in which the position flag 3 is judged, the compression data at the final position of the compression group which is specified by the position flag 3 is first supplied from the compression cache memory 44 to the expanding circuit 50 and is reconstructed. In step S15, the data is expanded from the head of the compression data as a next sector until the position flag 2 is detected and is developed in the non-compression cache memory 42. Finally, in step S16, the block developed in the non-compression cache memory 42 is transferred to the host computer 10. When the end of the read request is discriminated in step S17, the unnecessary data which remains in the compression cache memory 44 and non-compression cache memory 42 and becomes targets to be sequentially read is deleted in step S18, thereby assuring a using area of the cache. When a cache hit occurs in step S2, a check is made in step S6 to see if a hit has occurred in the non-compression cache memory 42. When the hit occurs in the non-compression cache memory, the request data in the non-compression cache memory 42 is transferred to the host computer 10 in step S7. When the hit occurs in the compression cache memory 44, the reading operation from the disk drive 14 in steps S3 and S4 is not performed but the processes from step S5 are immediately executed.
The embodiment of FIG. 29 in which the position flag is used to form the compression group has been described as an example with respect to the sequential writing process and sequential reading process in which no data is left in the cache memory. However, with respect to the writing process and reading process which use the cache memory according to the ordinary LRU system, the embodiment can be also applied in substantially the same manner as the case of forming the compression group by the compression blocks of the number that is integer times as large as the minimum physical sector in FIGS. 8A and 8B. In the above embodiment, with respect to the reconstruction of the compression block in the compression group read out from the disk drive into the compression cache memory 44, only the block requested from the host computer 10 is extracted and is developed into the non-compression cache memory 42. However, the compression blocks can be reconstructed on a compression group unit basis and can be developed in the non-compression cache memory 42. Thus, a hit ratio of the non-compression cache memory is raised and an overhead due to the expanding process in the case where a hit occurs in the compression cache memory can be reduced. Although the above embodiment has been described with respect to the example of the disk array of the RAID construction as a physical device, the invention can be also applied to an ordinary disk drive which doesn't have an array construction. The physical device is not limited to the foregoing magnetic disk drive but a proper external memory device such as optical disk drive, semiconductor memory device, or the like can be also used.
[Another operation environment]
FIG. 34 shows another operation environment of the disk control unit of the invention. Although the embodiment of FIG. 1 has been described as an example with respect to the case where the magnetic disk control unit is connected to the upper host computer, the operation environment of FIG. 34 is characterized in that the disk control unit of the invention is used as a disk server.
In FIG. 34, the disk control unit 12 of the invention having the disk drives 14-1 to 14-6 constructing a disk array is connected to the host computer 10 through a local area network (hereinafter, referred to as an "LAN") 200. In addition to the host computer 10, a workstation 202, a personal computer 204, and a printer 206 are connected to the LAN 200. Therefore, the disk control unit 12 of the invention functions as a disk server which accepts and processes requests from the host computer 10, workstation 202, and personal computer 204 as clients connected to the LAN 200. Further, the host computer 10 is connected to an external network communication line 210 through a communication control apparatus 208 and can function as a disk server which accepts requests from many clients exceeding the LAN 200 by the network connection. That is, not only the disk control unit of the invention can be connected to a number of personal computers and the host by the network connection, in the case where the disk control unit is connected in a worldwide scale, but also it is accessed day and night and the recording and reproduction of data are continued. Therefore, under such a connection form, it is indispensable to always efficiently store the data into the disk drive and it is not permitted to stop the apparatus by a segment cleaning of the disk drive in the middle of the process. Even in the disk control unit of the stand-alone type, the segment cleaning is executed while the user is using the apparatus, so that the work of the user is interrupted. Similarly, even in case of the disk control unit connected to a large scale host computer, the work is interrupted during the segment cleaning. In any case, the segment cleaning interrupts the process during the operation of the apparatus and a working efficiency of the apparatus is not improved. In such a case, according to the disk control unit of the invention, the segment cleaning process associated with the interruption of the process is eliminated. Particularly, an extremely large effect is obtained as a non-stop type disk server connected to the network of the worldwide scale that is accessed day and night.

Claims (39)

What is claimed is:
1. A disk control apparatus comprising:
a physical device for receiving an allocation of a logic sector of a predetermined size and for reading and writing data on said logic sector unit basis;
a cache memory which is provided between an upper apparatus and said physical device and has a non-compression cache area for storing non-compression data on a logic block unit basis of said upper apparatus and a compression cache area for storing compression data on a unit basis of a compression group having the same size as that of the logic sector of said physical device;
a cache table in which at least an address in the cache, a compression flag indicating whether the data is the compression data or not, and an updating flag indicative of the presence or absence of the updating are registered by using a logic block number of said upper apparatus as an index and which is used to manage said cache memory;
a hit judging unit for judging whether data of a block number requested from said upper apparatus exists in said cache memory or not;
a compressing circuit unit for extracting and compressing the data stored in said non-compression cache area on said logic block unit basis;
a compression group forming unit for forming a compression group by collecting the compression data of the logic block unit by said compressing circuit unit and for storing said compression group into said compression cache area;
an expanding circuit unit for extracting and expanding the data stored in said compression cache area on said compression group unit basis and for developing the resultant data into said non-compression cache area;
a free linked list for managing an empty logic sector of said physical device;
a device writing unit for extracting the data stored in said compression cache area on said compression group unit basis and for writing said data into the logic sector which was obtained from said free linked list and is in a vacant state;
a mapping table in which at least a logic sector number indicative of a storing position in said physical device, a relative position in said logic sector, and the number of sectors are registered by using said request block number of said upper apparatus as an index and which is used to manage the compression data of said physical device;
a device reading unit for reading out the data in said physical device on said compression group unit basis and for transferring to said compression cache area;
a write cache control unit for processing a write request from said upper apparatus; and
a read cache control unit for processing a read request from said upper apparatus.
2. An apparatus according to claim 1, wherein in the case where the size of said compression data compressed to the logic block unit of said upper apparatus is not a value that is integer times as large as a minimum physical sector of said physical device, said compressing circuit unit adds dummy data so that said size is integer times as large as said minimum physical sector.
3. An apparatus according to claim 1, wherein when a mishit is judged by said hit judging unit for the write request from said upper apparatus, said write cache control unit stores a write logic block into said non-compression cache area and notifies the end of the process to said upper apparatus.
4. An apparatus according to claim 1, wherein in the case where a hit in said non-compression cache area is judged by said hit judging unit for the write request from said upper apparatus, said write cache control unit updates the relevant logic block in said non-compression cache area by the write logic block from said upper apparatus and notifies the end of the process to said upper apparatus.
5. An apparatus according to claim 4, wherein when said logic block in said non-compression cache area is updated, said write cache control unit deletes the logic sector number of said compression group to which said updated logic block belongs from said mapping table and transfers to said free linked list, and
further, said write cache control unit transfers the compression data of the other logic blocks belonging to said deleted compression group to said compression group forming unit and sets to combination candidates for forming a new group.
6. An apparatus according to claim 1, wherein in the case where a hit in said compression cache area is judged by said hit judging unit for the write request in which the logic block number was designated from said upper apparatus, said write cache control unit expands said hit compression data in said compression cache area by said expanding circuit unit, develops into said non-compression cache area, updates the developed data by the write logic block from said upper apparatus, and notifies the end of the process to said upper apparatus.
7. An apparatus according to claim 6, wherein when the logic block in said non-compression cache area is updated, said write cache control unit deletes the logic sector number of the compression group to which said updated logic block belongs from said mapping table, and transfers to said free linked list, and
further, said write cache control unit transfers the compression data of the other logic blocks which belong to said deleted compression group to said compression group forming unit and sets to combination candidates for forming a new group.
8. An apparatus according to claim 1, wherein when the data is swept out from said non-compression cache area, said write cache control unit extracts the logic blocks in which the updating flag is set from said swept-out data with reference to said cache table, compresses the data by said compressing circuit unit, and supplies the resultant data as combination candidates to said group forming unit.
9. An apparatus according to claim 1, wherein said write cache control unit sweeps out the data from said non-compression cache area in accordance with an LRU.
10. An apparatus according to claim 1, wherein when the compression group is swept out from said compression cache area, said write cache control unit allocates the logic sector in the vacant state with reference to said free linked list and allows said logic sector to be written by said device writing unit, and,
at the same time, registers the logic block numbers of said plurality of logic blocks which belong to the written compression group, logic sector number, relative position in the logic sector, and the number of sectors into said mapping table.
11. An apparatus according to claim 10, wherein said write cache control unit sweeps out said compression group from said compression cache area in accordance with an LRU.
12. An apparatus according to claim 1, wherein said compression group forming unit combines said compression data in accordance with the order of storing into a buffer memory of said compressing circuit unit, thereby forming said compression group.
13. An apparatus according to claim 1, wherein said compression group forming unit combines candidates in accordance with the order of the data compressed by said compressing circuit unit, thereby forming said compression group.
14. An apparatus according to claim 1, wherein said compression group forming unit detects the size of said compression data compressed by said compressing circuit unit, forms a candidate list classified by data size, and selects a plurality of candidates exceeding a specified size from said candidate list, thereby forming one compression group.
15. An apparatus according to claim 14, wherein said compression group forming unit selects a plurality of candidates of the same size from said candidate list, thereby forming one compression data group.
16. An apparatus according to claim 14, wherein said compression group forming unit selects a plurality of candidates of different sizes from said candidate list, thereby forming one compression data group.
17. An apparatus according to claim 1, wherein in the case where a total data size obtained by combining said plurality of candidates doesn't reach a specified compression group size, said compression group forming unit stores dummy data into the remaining empty area.
18. An apparatus according to claim 1, wherein said compression group forming unit limits the number of candidates to be combined to one compression group to a specified number.
19. An apparatus according to claim 1, wherein said compression group forming unit limits the number of candidates to be combined to one compression group to two or less or four or less.
20. An apparatus according to claim 1, wherein said compression group has a size that is integer times as large as that of the logic block of said upper apparatus.
21. An apparatus according to claim 20, wherein said compression group has a size that is 2n times (n is an integer of 1, 2, 3, 4, . . . ) as large as that of the logic block of said upper apparatus.
22. An apparatus according to claim 1, wherein said device writing unit adds information of said mapping table to said compression group and stores into said physical device, thereby enabling said mapping table to be reconstructed in the case where said mapping table fails.
23. An apparatus according to claim 1, wherein when said compression group is written, said write cache control unit selects the logic sector of said physical device to be stored from said free linked list by hashing.
24. An apparatus according to claim 23, wherein when said compression group is written, said write cache control unit selects the logic sector of said physical device to be stored from said free linked list by hashing in the same cylinder address.
25. An apparatus according to claim 1, wherein said read cache control unit controls in a manner such that in the case where a mishit is judged by said hit judging unit for the read request from said upper apparatus, the compression group of the relevant logic sector is read out from said physical device with reference to said mapping table by the logic block number of said read request, the relevant compression data is extracted and is expanded by said expanding circuit unit and is developed into said non-compression cache area, and thereafter, the developed data is transferred to said upper apparatus, and the process is finished.
26. An apparatus according to claim 1, wherein in the case where a hit in said non-compression cache area is judged by said hit judging unit for the read request from said upper apparatus, said read cache control unit transfers the relevant logic block from said non-compression cache area to said upper apparatus and finishes the process.
27. An apparatus according claim 1, wherein said read cache control unit controls in a manner such that in the case where a hit in said compression cache area is judged by said hit judging unit for the read request from said upper apparatus, the compression group including the relevant logic block is extracted from said compression cache area and is expanded by said expanding circuit unit and is developed into said non-compression cache area, the relevant logic block is transferred to said upper apparatus, and the process is finished.
28. An apparatus according to claim 1, wherein said read cache control unit controls in a manner such that in the case where a hit in said non-compression cache area is judged by said hit judging unit for said read request from said upper apparatus, only the compression data including the relevant logic block is extracted from said compression cache area and is expanded by said expanding unit and is developed into said non-compression cache area, and thereafter, the developed data is transferred to said upper apparatus, and the process is finished.
29. An apparatus according to claim 1, wherein said cache memory, said cache table, said hit judging unit, said compressing circuit unit, said compression group forming unit, said expanding circuit unit, said device writing unit, said mapping table, said device reading unit, said write cache control unit, and said read cache control unit are set to one system, and
said upper apparatus commonly uses two said systems thereby constructing a duplexed system, and said physical device is shared by said two systems.
30. An apparatus according to claim 29, wherein
each of said read cache control units in said two systems independently operates for the read request from said upper apparatus, and
each of said write cache control units in said two systems controls in a manner such that in the case where new data from said upper apparatus is stored by a mishit judgment of the self cache memory of one of said two systems, said new data is copied into the cache memory of the other system and the cache table of the other system is updated, and in the case where hit data is updated by the new data from said upper apparatus by a hit judgment in the self cache memory of one of said two systems, said new data is copied into the cache memory of the other system and the cache table of the other system is updated.
31. An apparatus according to claim 1, wherein
said compression group forming unit further adds a position flag indicative of a position in the group to a head position of each candidate when the compression group is formed, and said position flag is registered into said mapping table when the compression group is written into said physical device.
32. An apparatus according to claim 31, wherein said position flag indicates any one of a head position, a middle position in the group, and a middle position in a range from the end of the group to a head of the next group.
33. An apparatus according to claim 31, wherein said read cache control unit executes the expansion of the compressed compression data of a logic block unit by using the position flag in said compression group.
34. An apparatus according to claim 1, wherein said cache memory is a non-volatile memory.
35. An apparatus according to claim 1, wherein said mapping table is stored in a non-volatile memory.
36. An apparatus according to claim 1, wherein in the case where said physical device uses a detachable medium, said mapping table is stored to said medium before said medium is ejected, and said mapping table is read out from said medium and is developed by an initializing process when said medium is inserted.
37. An apparatus according to claim 1, wherein said physical device is a magnetic disk device, an optical disk device, or a semiconductor memory device.
38. An apparatus according to claim 1, wherein said physical device is a disk array apparatus having a plurality of disk devices.
39. A disk control apparatus comprising:
a physical device for reading and writing data on a logic sector unit basis of a predetermined size;
a cache memory having a compression cache area for storing compression data on a unit basis of a compression group having the same size as that of a logic sector of said physical device;
a cache table in which an address in the cache, a compression flag indicating whether data is the compression data or not, and an updating flag indicative of the presence or absence of the updating are registered by using a logic block number of an upper apparatus as an index;
a compressing circuit unit for compressing non-compression data on said logic block unit basis;
a compression group forming unit for collecting the compression data of a logic block unit by said compressing circuit unit and for storing into said compression cache area;
an expanding circuit unit for extracting and expanding the data stored in said compression cache area on said compression group unit basis;
a free linked list for managing a vacant logic sector of said physical device;
a device writing unit for extracting the data stored in said compression cache area on said compression group unit basis and for writing into the logic sector in an empty state obtained from said free linked list;
a mapping table in which a logic sector number indicative of a storing position of said physical device, a relative position in the logic sector, and the number of sectors are registered by using a request block number of said upper apparatus as an index;
a device reading unit for reading out the data of said physical device on said compression group unit basis and for transferring into said compression cache area;
a write cache control unit for processing a write request from said upper apparatus; and
a read cache control unit for processing a read request from said upper apparatus.
US08/593,648 1995-03-09 1996-01-29 Disk control apparatus for recording and reproducing compression data to physical device of direct access type Expired - Fee Related US5652857A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP04954095A JP3426385B2 (en) 1995-03-09 1995-03-09 Disk controller
JP7-049540 1995-03-09

Publications (1)

Publication Number Publication Date
US5652857A true US5652857A (en) 1997-07-29

Family

ID=12834026

Family Applications (1)

Application Number Title Priority Date Filing Date
US08/593,648 Expired - Fee Related US5652857A (en) 1995-03-09 1996-01-29 Disk control apparatus for recording and reproducing compression data to physical device of direct access type

Country Status (2)

Country Link
US (1) US5652857A (en)
JP (1) JP3426385B2 (en)

Cited By (87)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5774715A (en) * 1996-03-27 1998-06-30 Sun Microsystems, Inc. File system level compression using holes
US5787467A (en) * 1995-03-22 1998-07-28 Nec Corporation Cache control apparatus
US5819298A (en) * 1996-06-24 1998-10-06 Sun Microsystems, Inc. File allocation tables with holes
US5875454A (en) * 1996-07-24 1999-02-23 International Business Machiness Corporation Compressed data cache storage system
US6098140A (en) * 1998-06-11 2000-08-01 Adaptec, Inc. Modular bus bridge system compatible with multiple bus pin configurations
US6115787A (en) * 1996-11-05 2000-09-05 Hitachi, Ltd. Disc storage system having cache memory which stores compressed data
US6263106B1 (en) * 1995-07-04 2001-07-17 Asahi Kogaku Kogyo Kabushiki Kaisha Image data compression device having compression inhibiting function
WO2001057642A2 (en) * 2000-02-03 2001-08-09 Realtime Data, Llc Data store bandwidth accelerator
US20020062429A1 (en) * 2000-11-17 2002-05-23 Masanao Tsuboki Storage system and method for data transfer between storage systems
US6430650B1 (en) * 1996-01-08 2002-08-06 Mitsubishi Denki Kabushiki Kaisha Semiconductor storage device for group management of data sectors
EP1233522A1 (en) * 2001-02-14 2002-08-21 Siemens Aktiengesellschaft A data compression/decompression method and apparatus
US6442659B1 (en) * 1998-02-17 2002-08-27 Emc Corporation Raid-type storage system and technique
US6453368B2 (en) * 1997-04-22 2002-09-17 Sony Computer Entertainment, Inc. Adding a dummy data or discarding a portion of data in a bus repeater buffer memory for a second data transfer to a second bus
US6467021B1 (en) * 1996-04-02 2002-10-15 Memquest, Inc. Data storage system storing data of varying block size
US6480904B1 (en) * 1999-08-02 2002-11-12 Fujitsu Limited Disk-time-sharing apparatus and method
US20020178326A1 (en) * 2001-05-22 2002-11-28 Fujitsu Limited Storage unit
US6490669B1 (en) * 1998-08-19 2002-12-03 Nec Corporation Memory LSI with compressed data inputting and outputting function
US6581131B2 (en) * 2001-01-09 2003-06-17 Hewlett-Packard Development Company, L.P. Method and apparatus for efficient cache mapping of compressed VLIW instructions
US20030126370A1 (en) * 2002-01-03 2003-07-03 Lienhart Rainer W. Method and apparatus for cache management
FR2834809A1 (en) * 2002-01-16 2003-07-18 Hewlett Packard Co DEVICE FOR HIDDEN MEMORY COMPRESSION ENGINE FOR COMPRESSING DATA ON INTEGRATED HIDDEN MEMORIES TO INCREASE THE EFFECTIVE HIDDEN MEMORY SIZE
US6598101B1 (en) * 1999-03-29 2003-07-22 Sony Corporation Recording apparatus and recording method, and reproducing apparatus and reproducing method
US6601104B1 (en) 1999-03-11 2003-07-29 Realtime Data Llc System and methods for accelerated data storage and retrieval
US6604158B1 (en) 1999-03-11 2003-08-05 Realtime Data, Llc System and methods for accelerated data storage and retrieval
US20030224734A1 (en) * 2002-05-20 2003-12-04 Fujitsu Limited Data compression program, data compression method, and data compression device
US20040181640A1 (en) * 2003-03-11 2004-09-16 International Business Machines Corporation Method, system, and program for improved throughput in remote mirroring systems
US6816942B2 (en) * 1995-01-13 2004-11-09 Fujitsu Limited Storage control apparatus and method for compressing data for disk storage
US20050044279A1 (en) * 2003-08-14 2005-02-24 International Business Machines Corporation Method and apparatus for writing data to a disk
US20050050244A1 (en) * 2003-09-03 2005-03-03 Hitachi, Ltd. Method for controlling data transfer unit, data transfer unit, channel control unit, and storage device control unit
US20050066121A1 (en) * 2003-09-24 2005-03-24 Keeler Stanton M. Multi-level caching in data storage devices
US20050071562A1 (en) * 2003-09-30 2005-03-31 Ali-Reza Adl-Tabatabai Mechanism to compress data in a cache
US20050071566A1 (en) * 2003-09-30 2005-03-31 Ali-Reza Adl-Tabatabai Mechanism to increase data compression in a cache
US20050144388A1 (en) * 2003-12-31 2005-06-30 Newburn Chris J. Processor and memory controller capable of use in computing system that employs compressed cache lines' worth of information
US20050160234A1 (en) * 2004-01-15 2005-07-21 Newburn Chris J. Multi-processor computing system that employs compressed cache lines' worth of information and processor capable of use in said system
US20050246487A1 (en) * 2004-05-03 2005-11-03 Microsoft Corporation Non-volatile memory cache performance improvement
US20050256823A1 (en) * 2004-05-13 2005-11-17 Seward Robert Y Memory, method, and program product for organizing data using a compressed trie table
US20050262479A1 (en) * 2004-05-07 2005-11-24 Ageyev Igor I Device, system, and method for contiguous compressed data
US20060005069A1 (en) * 2004-07-01 2006-01-05 Gaertner Mark A Method and system for increasing data storage reliability and efficiency via compression
US6985584B1 (en) * 1999-03-29 2006-01-10 Sony Corporation Non-volatile record medium, recording method, and recording apparatus
US7032085B2 (en) 2003-12-25 2006-04-18 Hitachi, Ltd. Storage system with a data sort function
US20060106986A1 (en) * 2004-11-16 2006-05-18 International Business Machines Corporation System and method for managing data
US20060140068A1 (en) * 2004-11-12 2006-06-29 Yukio Urata Disk controlling apparatus and computer product
US20080077745A1 (en) * 2006-09-26 2008-03-27 Renesas Technology Corp. Data processing device
US20080140905A1 (en) * 2003-05-06 2008-06-12 Kenichi Okuyama Magnetic disk unit, file management system, and file management method
US7512862B1 (en) * 2005-04-13 2009-03-31 Network Appliance, Inc. Compression of data for protection
US7533108B1 (en) * 2003-09-12 2009-05-12 Netapp, Inc. Proximity based lossless compression of client information in a network device
US20090233732A1 (en) * 2006-01-04 2009-09-17 Bridgestone Sports Co., Ltd. Golf ball
US20100058002A1 (en) * 2008-08-27 2010-03-04 Netapp, Inc. System and method for file system level compression using compression group descriptors
US7714747B2 (en) 1998-12-11 2010-05-11 Realtime Data Llc Data compression systems and methods
US20100161884A1 (en) * 2008-12-24 2010-06-24 Kabushiki Kaisha Toshiba Nonvolatile Semiconductor Memory Drive, Information Processing Apparatus and Management Method of Storage Area in Nonvolatile Semiconductor Memory Drive
US7777651B2 (en) 2000-10-03 2010-08-17 Realtime Data Llc System and method for data feed acceleration and encryption
US20100274773A1 (en) * 2009-04-27 2010-10-28 Dnyaneshwar Pawar Nearstore compression of data in a storage system
US8054879B2 (en) 2001-02-13 2011-11-08 Realtime Data Llc Bandwidth sensitive data compression and decompression
US20120198134A1 (en) * 2011-01-27 2012-08-02 Canon Kabushiki Kaisha Memory control apparatus that controls data writing into storage, control method and storage medium therefor, and image forming apparatus
US8296530B1 (en) * 2008-06-30 2012-10-23 Emc Corporation Methods, systems, and computer readable media for optimizing the number of client write requests to virtually provisioned logical units of a physical data storage array
US20120290798A1 (en) * 2011-05-10 2012-11-15 Huang Chengkuo Data Compression and Compacting for Memory Devices
US8489815B2 (en) 2008-09-15 2013-07-16 Microsoft Corporation Managing cache data and metadata
US20130246721A1 (en) * 2012-02-08 2013-09-19 Kabushiki Kaisha Toshiba Controller, data storage device, and computer program product
WO2013160969A1 (en) * 2012-04-27 2013-10-31 Hitachi, Ltd. Storage apparatus and data management method
US8631203B2 (en) 2007-12-10 2014-01-14 Microsoft Corporation Management of external memory functioning as virtual cache
US8692695B2 (en) 2000-10-03 2014-04-08 Realtime Data, Llc Methods for encoding and decoding data
US8909861B2 (en) 2004-10-21 2014-12-09 Microsoft Corporation Using external memory devices to improve system performance
US8914557B2 (en) 2005-12-16 2014-12-16 Microsoft Corporation Optimizing write and wear performance for a memory
US9032151B2 (en) 2008-09-15 2015-05-12 Microsoft Technology Licensing, Llc Method and system for ensuring reliability of cache data and metadata subsequent to a reboot
US20150254132A1 (en) * 2014-03-06 2015-09-10 Winbond Electronics Corp. Semiconductor memory device
US9143546B2 (en) 2000-10-03 2015-09-22 Realtime Data Llc System and method for data feed acceleration and encryption
US20150331807A1 (en) * 2014-12-10 2015-11-19 Advanced Micro Devices, Inc. Thin provisioning architecture for high seek-time devices
WO2015199578A1 (en) * 2014-06-27 2015-12-30 Emc Corporation Managing cache compression in data storage systems
US9229854B1 (en) 2013-01-28 2016-01-05 Radian Memory Systems, LLC Multi-array operation support and related devices, systems and software
WO2016028439A1 (en) * 2014-08-19 2016-02-25 Qualcomm Incorporated Supplemental write cache command for bandwidth compression
US9361183B2 (en) 2008-09-19 2016-06-07 Microsoft Technology Licensing, Llc Aggregation of write traffic to a data store
US9400749B1 (en) 2013-01-28 2016-07-26 Radian Memory Systems, LLC Host interleaved erase operations for flash memory controller
US9542118B1 (en) 2014-09-09 2017-01-10 Radian Memory Systems, Inc. Expositive flash memory control
CN106663059A (en) * 2014-08-19 2017-05-10 高通股份有限公司 Power aware padding
US9665285B2 (en) 2015-03-11 2017-05-30 Kabushiki Kaisha Toshiba Disk device and method for storing data and associated headers
US20180026651A1 (en) * 2016-07-22 2018-01-25 Intel Corporation Technologies for performing low-latency decompression with tree caching
US10261897B2 (en) 2017-01-20 2019-04-16 Samsung Electronics Co., Ltd. Tail latency aware foreground garbage collection algorithm
US10445229B1 (en) 2013-01-28 2019-10-15 Radian Memory Systems, Inc. Memory controller with at least one address segment defined for which data is striped across flash memory dies, with a common address offset being used to obtain physical addresses for the data in each of the dies
US10552085B1 (en) 2014-09-09 2020-02-04 Radian Memory Systems, Inc. Techniques for directed data migration
US10552058B1 (en) 2015-07-17 2020-02-04 Radian Memory Systems, Inc. Techniques for delegating data processing to a cooperative memory controller
US10642505B1 (en) 2013-01-28 2020-05-05 Radian Memory Systems, Inc. Techniques for data migration based on per-data metrics and memory degradation
CN113015966A (en) * 2018-11-14 2021-06-22 零点科技公司 Compressed computer memory access
US11099985B2 (en) 2017-12-20 2021-08-24 Nec Platforms, Ltd. Storage controller, storage array device, data depositing method, and storage medium
US11175984B1 (en) 2019-12-09 2021-11-16 Radian Memory Systems, Inc. Erasure coding techniques for flash memory
US11249652B1 (en) 2013-01-28 2022-02-15 Radian Memory Systems, Inc. Maintenance of nonvolatile memory on host selected namespaces by a common memory controller
US11507511B2 (en) * 2020-04-09 2022-11-22 EMC IP Holding Company LLC Method, electronic device and computer program product for storing data
US11640265B2 (en) 2020-12-16 2023-05-02 Hitachi, Ltd. Apparatus for processing received data
US20230133433A1 (en) * 2021-10-28 2023-05-04 Netapp Inc. Unified object format for retaining compression and performing additional compression for reduced storage consumption in an object store

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6286015B1 (en) * 1998-09-08 2001-09-04 Oracle Corporation Opaque types
US7280995B1 (en) 1999-08-05 2007-10-09 Oracle International Corporation On-the-fly format conversion
JP4821042B2 (en) * 2000-10-31 2011-11-24 ソニー株式会社 Data conversion apparatus, storage apparatus, protocol conversion apparatus, device control apparatus, recording / reproducing system, and recording / reproducing method
US7747580B2 (en) 2003-08-25 2010-06-29 Oracle International Corporation Direct loading of opaque types
US8219569B2 (en) 2003-08-25 2012-07-10 Oracle International Corporation In-place evolution of XML schemes
US7490093B2 (en) 2003-08-25 2009-02-10 Oracle International Corporation Generating a schema-specific load structure to load data into a relational database based on determining whether the schema-specific load structure already exists
JP5194703B2 (en) * 2007-10-16 2013-05-08 ソニー株式会社 Data processing apparatus and shared memory access method
JP5347657B2 (en) * 2009-03-31 2013-11-20 富士通株式会社 Data storage program, method, and information processing apparatus
WO2015097739A1 (en) * 2013-12-24 2015-07-02 株式会社日立製作所 Storage device and control method therefor
US9361228B2 (en) * 2014-08-05 2016-06-07 Qualcomm Incorporated Cache line compaction of compressed data segments
JP6429963B2 (en) * 2017-09-14 2018-11-28 株式会社日立製作所 Storage device and storage device control method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4467421A (en) * 1979-10-18 1984-08-21 Storage Technology Corporation Virtual storage system and method
JPS59231683A (en) * 1983-06-01 1984-12-26 インタ−ナシヨナル ビジネス マシ−ンズ コ−ポレ−シヨン Data compression system
JPH04284551A (en) * 1991-03-14 1992-10-09 Fujitsu Ltd Device equipped with rom storing compressed data
JPH05189157A (en) * 1992-01-13 1993-07-30 Toshiba Corp Disk type storage device
JPH0628108A (en) * 1992-07-09 1994-02-04 Hitachi Ltd Data storage system
US5393445A (en) * 1991-12-26 1995-02-28 Daido Tokushuko Kabushiki Kaisha Rare-earth bonded magnet, material and method for manufacturing the same
US5403639A (en) * 1992-09-02 1995-04-04 Storage Technology Corporation File server having snapshot application data groups

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2617772B2 (en) * 1988-08-02 1997-06-04 日本ビクター株式会社 Information signal recording disk and information signal recording / reproducing device
JPH0512800A (en) * 1991-07-04 1993-01-22 Matsushita Electric Ind Co Ltd Information recording and reproducing device equipped with data compressing function and information recording medium
JPH06332622A (en) * 1993-03-22 1994-12-02 Hitachi Ltd Information processor
JPH06309111A (en) * 1993-04-23 1994-11-04 Fujitsu Ltd Magnetic disk control method
JPH08115239A (en) * 1994-10-19 1996-05-07 Fuji Xerox Co Ltd Disk system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4467421A (en) * 1979-10-18 1984-08-21 Storage Technology Corporation Virtual storage system and method
JPS59231683A (en) * 1983-06-01 1984-12-26 インタ−ナシヨナル ビジネス マシ−ンズ コ−ポレ−シヨン Data compression system
JPH04284551A (en) * 1991-03-14 1992-10-09 Fujitsu Ltd Device equipped with rom storing compressed data
US5393445A (en) * 1991-12-26 1995-02-28 Daido Tokushuko Kabushiki Kaisha Rare-earth bonded magnet, material and method for manufacturing the same
JPH05189157A (en) * 1992-01-13 1993-07-30 Toshiba Corp Disk type storage device
JPH0628108A (en) * 1992-07-09 1994-02-04 Hitachi Ltd Data storage system
US5403639A (en) * 1992-09-02 1995-04-04 Storage Technology Corporation File server having snapshot application data groups

Cited By (250)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6925527B2 (en) 1995-01-13 2005-08-02 Fujitsu Limited Storage control apparatus and method for compressing data for disk storage
US6816942B2 (en) * 1995-01-13 2004-11-09 Fujitsu Limited Storage control apparatus and method for compressing data for disk storage
US5787467A (en) * 1995-03-22 1998-07-28 Nec Corporation Cache control apparatus
US6263106B1 (en) * 1995-07-04 2001-07-17 Asahi Kogaku Kogyo Kabushiki Kaisha Image data compression device having compression inhibiting function
US6430650B1 (en) * 1996-01-08 2002-08-06 Mitsubishi Denki Kabushiki Kaisha Semiconductor storage device for group management of data sectors
US5774715A (en) * 1996-03-27 1998-06-30 Sun Microsystems, Inc. File system level compression using holes
US6467021B1 (en) * 1996-04-02 2002-10-15 Memquest, Inc. Data storage system storing data of varying block size
US5819298A (en) * 1996-06-24 1998-10-06 Sun Microsystems, Inc. File allocation tables with holes
US5875454A (en) * 1996-07-24 1999-02-23 International Business Machiness Corporation Compressed data cache storage system
US6115787A (en) * 1996-11-05 2000-09-05 Hitachi, Ltd. Disc storage system having cache memory which stores compressed data
US6453368B2 (en) * 1997-04-22 2002-09-17 Sony Computer Entertainment, Inc. Adding a dummy data or discarding a portion of data in a bus repeater buffer memory for a second data transfer to a second bus
US6442659B1 (en) * 1998-02-17 2002-08-27 Emc Corporation Raid-type storage system and technique
US6098140A (en) * 1998-06-11 2000-08-01 Adaptec, Inc. Modular bus bridge system compatible with multiple bus pin configurations
US6490669B1 (en) * 1998-08-19 2002-12-03 Nec Corporation Memory LSI with compressed data inputting and outputting function
US8933825B2 (en) 1998-12-11 2015-01-13 Realtime Data Llc Data compression systems and methods
US7714747B2 (en) 1998-12-11 2010-05-11 Realtime Data Llc Data compression systems and methods
US8643513B2 (en) 1998-12-11 2014-02-04 Realtime Data Llc Data compression systems and methods
US9054728B2 (en) 1998-12-11 2015-06-09 Realtime Data, Llc Data compression systems and methods
US10033405B2 (en) 1998-12-11 2018-07-24 Realtime Data Llc Data compression systems and method
US8502707B2 (en) 1998-12-11 2013-08-06 Realtime Data, Llc Data compression systems and methods
US8717203B2 (en) 1998-12-11 2014-05-06 Realtime Data, Llc Data compression systems and methods
US6604158B1 (en) 1999-03-11 2003-08-05 Realtime Data, Llc System and methods for accelerated data storage and retrieval
US6601104B1 (en) 1999-03-11 2003-07-29 Realtime Data Llc System and methods for accelerated data storage and retrieval
US8275897B2 (en) 1999-03-11 2012-09-25 Realtime Data, Llc System and methods for accelerated data storage and retrieval
US8504710B2 (en) 1999-03-11 2013-08-06 Realtime Data Llc System and methods for accelerated data storage and retrieval
US8756332B2 (en) 1999-03-11 2014-06-17 Realtime Data Llc System and methods for accelerated data storage and retrieval
US8719438B2 (en) 1999-03-11 2014-05-06 Realtime Data Llc System and methods for accelerated data storage and retrieval
US9116908B2 (en) 1999-03-11 2015-08-25 Realtime Data Llc System and methods for accelerated data storage and retrieval
US7130913B2 (en) 1999-03-11 2006-10-31 Realtime Data Llc System and methods for accelerated data storage and retrieval
US10019458B2 (en) 1999-03-11 2018-07-10 Realtime Data Llc System and methods for accelerated data storage and retrieval
US6598101B1 (en) * 1999-03-29 2003-07-22 Sony Corporation Recording apparatus and recording method, and reproducing apparatus and reproducing method
US6985584B1 (en) * 1999-03-29 2006-01-10 Sony Corporation Non-volatile record medium, recording method, and recording apparatus
US6480904B1 (en) * 1999-08-02 2002-11-12 Fujitsu Limited Disk-time-sharing apparatus and method
US6748457B2 (en) 2000-02-03 2004-06-08 Realtime Data, Llc Data storewidth accelerator
US9792128B2 (en) 2000-02-03 2017-10-17 Realtime Data, Llc System and method for electrical boot-device-reset signals
US8880862B2 (en) 2000-02-03 2014-11-04 Realtime Data, Llc Systems and methods for accelerated loading of operating systems and application programs
WO2001057642A2 (en) * 2000-02-03 2001-08-09 Realtime Data, Llc Data store bandwidth accelerator
WO2001057642A3 (en) * 2000-02-03 2002-05-02 Realtime Data Llc Data store bandwidth accelerator
US8090936B2 (en) 2000-02-03 2012-01-03 Realtime Data, Llc Systems and methods for accelerated loading of operating systems and application programs
EP2053498A3 (en) * 2000-02-03 2010-09-01 Realtime Data, LLC Data storewidth accelerator
US8112619B2 (en) 2000-02-03 2012-02-07 Realtime Data Llc Systems and methods for accelerated loading of operating systems and application programs
US9667751B2 (en) 2000-10-03 2017-05-30 Realtime Data, Llc Data feed acceleration
US9143546B2 (en) 2000-10-03 2015-09-22 Realtime Data Llc System and method for data feed acceleration and encryption
US8717204B2 (en) 2000-10-03 2014-05-06 Realtime Data Llc Methods for encoding and decoding data
US8692695B2 (en) 2000-10-03 2014-04-08 Realtime Data, Llc Methods for encoding and decoding data
US9141992B2 (en) 2000-10-03 2015-09-22 Realtime Data Llc Data feed acceleration
US10284225B2 (en) 2000-10-03 2019-05-07 Realtime Data, Llc Systems and methods for data compression
US8742958B2 (en) 2000-10-03 2014-06-03 Realtime Data Llc Methods for encoding and decoding data
US7777651B2 (en) 2000-10-03 2010-08-17 Realtime Data Llc System and method for data feed acceleration and encryption
US9859919B2 (en) 2000-10-03 2018-01-02 Realtime Data Llc System and method for data compression
US8723701B2 (en) 2000-10-03 2014-05-13 Realtime Data Llc Methods for encoding and decoding data
US9967368B2 (en) 2000-10-03 2018-05-08 Realtime Data Llc Systems and methods for data block decompression
US10419021B2 (en) 2000-10-03 2019-09-17 Realtime Data, Llc Systems and methods of data compression
US20020062429A1 (en) * 2000-11-17 2002-05-23 Masanao Tsuboki Storage system and method for data transfer between storage systems
US6810469B2 (en) * 2000-11-17 2004-10-26 Hitachi, Ltd. Storage system and method for data transfer between storage systems
US6581131B2 (en) * 2001-01-09 2003-06-17 Hewlett-Packard Development Company, L.P. Method and apparatus for efficient cache mapping of compressed VLIW instructions
US8867610B2 (en) 2001-02-13 2014-10-21 Realtime Data Llc System and methods for video and audio data distribution
US8553759B2 (en) 2001-02-13 2013-10-08 Realtime Data, Llc Bandwidth sensitive data compression and decompression
US10212417B2 (en) 2001-02-13 2019-02-19 Realtime Adaptive Streaming Llc Asymmetric data decompression systems
US8929442B2 (en) 2001-02-13 2015-01-06 Realtime Data, Llc System and methods for video and audio data distribution
US8934535B2 (en) 2001-02-13 2015-01-13 Realtime Data Llc Systems and methods for video and audio data storage and distribution
US8073047B2 (en) 2001-02-13 2011-12-06 Realtime Data, Llc Bandwidth sensitive data compression and decompression
US8054879B2 (en) 2001-02-13 2011-11-08 Realtime Data Llc Bandwidth sensitive data compression and decompression
US9762907B2 (en) 2001-02-13 2017-09-12 Realtime Adaptive Streaming, LLC System and methods for video and audio data distribution
US9769477B2 (en) 2001-02-13 2017-09-19 Realtime Adaptive Streaming, LLC Video data compression systems
EP1233522A1 (en) * 2001-02-14 2002-08-21 Siemens Aktiengesellschaft A data compression/decompression method and apparatus
US6657562B2 (en) * 2001-02-14 2003-12-02 Siemens Aktiengesellschaft Data compression/decompression method and apparatus
US7171515B2 (en) * 2001-05-22 2007-01-30 Fujitsu Limited Storage unit with improved performance by purging unnecessary data and transferring data with high probability of future hits to a segment buffer
US20020178326A1 (en) * 2001-05-22 2002-11-28 Fujitsu Limited Storage unit
US6816949B2 (en) * 2002-01-03 2004-11-09 Intel Corporation Method and apparatus for cache management
US20030126370A1 (en) * 2002-01-03 2003-07-03 Lienhart Rainer W. Method and apparatus for cache management
US6640283B2 (en) * 2002-01-16 2003-10-28 Hewlett-Packard Development Company, L.P. Apparatus for cache compression engine for data compression of on-chip caches to increase effective cache size
FR2834809A1 (en) * 2002-01-16 2003-07-18 Hewlett Packard Co DEVICE FOR HIDDEN MEMORY COMPRESSION ENGINE FOR COMPRESSING DATA ON INTEGRATED HIDDEN MEMORIES TO INCREASE THE EFFECTIVE HIDDEN MEMORY SIZE
US7451237B2 (en) * 2002-05-20 2008-11-11 Fujitsu Limited Data compression program, data compression method, and data compression device
US20030224734A1 (en) * 2002-05-20 2003-12-04 Fujitsu Limited Data compression program, data compression method, and data compression device
US20040181640A1 (en) * 2003-03-11 2004-09-16 International Business Machines Corporation Method, system, and program for improved throughput in remote mirroring systems
US7581063B2 (en) 2003-03-11 2009-08-25 International Business Machines Corporation Method, system, and program for improved throughput in remote mirroring systems
US20050228954A1 (en) * 2003-03-11 2005-10-13 International Business Machines Corporation Method, system, and program for improved throughput in remote mirroring systems
US6996688B2 (en) 2003-03-11 2006-02-07 International Business Machines Corporation Method, system, and program for improved throughput in remote mirroring systems
US20080140905A1 (en) * 2003-05-06 2008-06-12 Kenichi Okuyama Magnetic disk unit, file management system, and file management method
US20050044279A1 (en) * 2003-08-14 2005-02-24 International Business Machines Corporation Method and apparatus for writing data to a disk
US7146459B2 (en) * 2003-08-14 2006-12-05 International Business Machines Corporation Writing a sequence of M bytes to a disk with continuous write steps aligned on 8 byte boundaries
US20050050244A1 (en) * 2003-09-03 2005-03-03 Hitachi, Ltd. Method for controlling data transfer unit, data transfer unit, channel control unit, and storage device control unit
US7143206B2 (en) * 2003-09-03 2006-11-28 Hitachi, Ltd. Method for controlling data transfer unit having channel control unit, storage device control unit, and DMA processor
US9087068B1 (en) * 2003-09-12 2015-07-21 Netapp, Inc. Proximity based lossless compression of client information in a network device
US7533108B1 (en) * 2003-09-12 2009-05-12 Netapp, Inc. Proximity based lossless compression of client information in a network device
US20050066121A1 (en) * 2003-09-24 2005-03-24 Keeler Stanton M. Multi-level caching in data storage devices
US7099993B2 (en) 2003-09-24 2006-08-29 Seagate Technology Llc Multi-level caching in data storage devices
US20050071562A1 (en) * 2003-09-30 2005-03-31 Ali-Reza Adl-Tabatabai Mechanism to compress data in a cache
US7143238B2 (en) * 2003-09-30 2006-11-28 Intel Corporation Mechanism to compress data in a cache
US20050071566A1 (en) * 2003-09-30 2005-03-31 Ali-Reza Adl-Tabatabai Mechanism to increase data compression in a cache
US7032085B2 (en) 2003-12-25 2006-04-18 Hitachi, Ltd. Storage system with a data sort function
US20050144388A1 (en) * 2003-12-31 2005-06-30 Newburn Chris J. Processor and memory controller capable of use in computing system that employs compressed cache lines' worth of information
US7512750B2 (en) 2003-12-31 2009-03-31 Intel Corporation Processor and memory controller capable of use in computing system that employs compressed cache lines' worth of information
US20050160234A1 (en) * 2004-01-15 2005-07-21 Newburn Chris J. Multi-processor computing system that employs compressed cache lines' worth of information and processor capable of use in said system
US7257693B2 (en) 2004-01-15 2007-08-14 Intel Corporation Multi-processor computing system that employs compressed cache lines' worth of information and processor capable of use in said system
US20100077197A1 (en) * 2004-05-03 2010-03-25 Microsoft Corporation Non-volatile memory cache performance improvement
US8255645B2 (en) 2004-05-03 2012-08-28 Microsoft Corporation Non-volatile memory cache performance improvement
US20050246487A1 (en) * 2004-05-03 2005-11-03 Microsoft Corporation Non-volatile memory cache performance improvement
US10216637B2 (en) 2004-05-03 2019-02-26 Microsoft Technology Licensing, Llc Non-volatile memory cache performance improvement
EP1594064A2 (en) * 2004-05-03 2005-11-09 Microsoft Corporation Non-volantile memory cache performance improvement
US9405693B2 (en) 2004-05-03 2016-08-02 Microsoft Technology Licensing, Llc Non-volatile memory cache performance improvement
US8041904B2 (en) 2004-05-03 2011-10-18 Microsoft Corporation Non-volatile memory cache performance improvement
US7644239B2 (en) 2004-05-03 2010-01-05 Microsoft Corporation Non-volatile memory cache performance improvement
EP1594064A3 (en) * 2004-05-03 2007-09-12 Microsoft Corporation Non-volantile memory cache performance improvement
US7292729B2 (en) 2004-05-07 2007-11-06 International Business Machines Corporation Device, system, and method for contiguous compressed data
US20050262479A1 (en) * 2004-05-07 2005-11-24 Ageyev Igor I Device, system, and method for contiguous compressed data
US20050256823A1 (en) * 2004-05-13 2005-11-17 Seward Robert Y Memory, method, and program product for organizing data using a compressed trie table
US8140744B2 (en) * 2004-07-01 2012-03-20 Seagate Technology Llc Method and system for increasing data storage reliability and efficiency via compression
US20060005069A1 (en) * 2004-07-01 2006-01-05 Gaertner Mark A Method and system for increasing data storage reliability and efficiency via compression
US9317209B2 (en) 2004-10-21 2016-04-19 Microsoft Technology Licensing, Llc Using external memory devices to improve system performance
US8909861B2 (en) 2004-10-21 2014-12-09 Microsoft Corporation Using external memory devices to improve system performance
US9690496B2 (en) 2004-10-21 2017-06-27 Microsoft Technology Licensing, Llc Using external memory devices to improve system performance
US7606129B2 (en) 2004-11-12 2009-10-20 Fujitsu Limited Disk controlling apparatus and computer product
US20060140068A1 (en) * 2004-11-12 2006-06-29 Yukio Urata Disk controlling apparatus and computer product
US20060106986A1 (en) * 2004-11-16 2006-05-18 International Business Machines Corporation System and method for managing data
US7457940B2 (en) * 2004-11-16 2008-11-25 International Business Machines Corporation System and method for managing data
US7917737B2 (en) 2004-11-16 2011-03-29 International Business Machines Corporation System and method for managing data
US7512862B1 (en) * 2005-04-13 2009-03-31 Network Appliance, Inc. Compression of data for protection
US8914557B2 (en) 2005-12-16 2014-12-16 Microsoft Corporation Optimizing write and wear performance for a memory
US11334484B2 (en) 2005-12-16 2022-05-17 Microsoft Technology Licensing, Llc Optimizing write and wear performance for a memory
US9529716B2 (en) 2005-12-16 2016-12-27 Microsoft Technology Licensing, Llc Optimizing write and wear performance for a memory
US20090233732A1 (en) * 2006-01-04 2009-09-17 Bridgestone Sports Co., Ltd. Golf ball
US20080077745A1 (en) * 2006-09-26 2008-03-27 Renesas Technology Corp. Data processing device
US8631203B2 (en) 2007-12-10 2014-01-14 Microsoft Corporation Management of external memory functioning as virtual cache
US8296530B1 (en) * 2008-06-30 2012-10-23 Emc Corporation Methods, systems, and computer readable media for optimizing the number of client write requests to virtually provisioned logical units of a physical data storage array
US20100058002A1 (en) * 2008-08-27 2010-03-04 Netapp, Inc. System and method for file system level compression using compression group descriptors
US8285687B2 (en) 2008-08-27 2012-10-09 Netapp, Inc. System and method for file system level compression using compression group descriptors
US8898117B2 (en) 2008-08-27 2014-11-25 Netapp, Inc. System and method for file system level compression using compression group descriptors
US8489815B2 (en) 2008-09-15 2013-07-16 Microsoft Corporation Managing cache data and metadata
US9032151B2 (en) 2008-09-15 2015-05-12 Microsoft Technology Licensing, Llc Method and system for ensuring reliability of cache data and metadata subsequent to a reboot
US10387313B2 (en) 2008-09-15 2019-08-20 Microsoft Technology Licensing, Llc Method and system for ensuring reliability of cache data and metadata subsequent to a reboot
US10509730B2 (en) 2008-09-19 2019-12-17 Microsoft Technology Licensing, Llc Aggregation of write traffic to a data store
US9448890B2 (en) 2008-09-19 2016-09-20 Microsoft Technology Licensing, Llc Aggregation of write traffic to a data store
US9361183B2 (en) 2008-09-19 2016-06-07 Microsoft Technology Licensing, Llc Aggregation of write traffic to a data store
US20100161884A1 (en) * 2008-12-24 2010-06-24 Kabushiki Kaisha Toshiba Nonvolatile Semiconductor Memory Drive, Information Processing Apparatus and Management Method of Storage Area in Nonvolatile Semiconductor Memory Drive
US8135902B2 (en) 2008-12-24 2012-03-13 Kabushiki Kaisha Toshiba Nonvolatile semiconductor memory drive, information processing apparatus and management method of storage area in nonvolatile semiconductor memory drive
US20100274773A1 (en) * 2009-04-27 2010-10-28 Dnyaneshwar Pawar Nearstore compression of data in a storage system
US9319489B2 (en) 2009-04-27 2016-04-19 Netapp, Inc. Nearstore compression of data in a storage system
US8554745B2 (en) * 2009-04-27 2013-10-08 Netapp, Inc. Nearstore compression of data in a storage system
US20120198134A1 (en) * 2011-01-27 2012-08-02 Canon Kabushiki Kaisha Memory control apparatus that controls data writing into storage, control method and storage medium therefor, and image forming apparatus
US20120290798A1 (en) * 2011-05-10 2012-11-15 Huang Chengkuo Data Compression and Compacting for Memory Devices
US8949513B2 (en) * 2011-05-10 2015-02-03 Marvell World Trade Ltd. Data compression and compacting for memory devices
CN103620564B (en) * 2011-05-10 2017-03-15 马维尔国际贸易有限公司 Data compression and deflation for memory devices
CN103620564A (en) * 2011-05-10 2014-03-05 马维尔国际贸易有限公司 Data compression and compacting for memory devices
US10572187B2 (en) 2012-02-08 2020-02-25 Toshiba Memory Corporation Controller, data storage device, and computer program product
US20130246721A1 (en) * 2012-02-08 2013-09-19 Kabushiki Kaisha Toshiba Controller, data storage device, and computer program product
US9098202B2 (en) 2012-04-27 2015-08-04 Hitachi, Ltd. Storage apparatus and data management method
WO2013160969A1 (en) * 2012-04-27 2013-10-31 Hitachi, Ltd. Storage apparatus and data management method
US10838853B1 (en) 2013-01-28 2020-11-17 Radian Memory Systems, Inc. Nonvolatile memory controller that defers maintenance to host-commanded window
US11354235B1 (en) 2013-01-28 2022-06-07 Radian Memory Systems, Inc. Memory controller for nonvolatile memory that tracks data write age and fulfills maintenance requests targeted to host-selected memory space subset
US11899575B1 (en) 2013-01-28 2024-02-13 Radian Memory Systems, Inc. Flash memory system with address-based subdivision selection by host and metadata management in storage drive
US9652376B2 (en) * 2013-01-28 2017-05-16 Radian Memory Systems, Inc. Cooperative flash memory control
US11868247B1 (en) 2013-01-28 2024-01-09 Radian Memory Systems, Inc. Storage system with multiplane segments and cooperative flash management
US11216365B1 (en) 2013-01-28 2022-01-04 Radian Memory Systems, Inc. Maintenance of non-volaitle memory on selective namespaces
US11249652B1 (en) 2013-01-28 2022-02-15 Radian Memory Systems, Inc. Maintenance of nonvolatile memory on host selected namespaces by a common memory controller
US11080181B1 (en) 2013-01-28 2021-08-03 Radian Memory Systems, Inc. Flash memory drive that supports export of erasable segments
US11762766B1 (en) 2013-01-28 2023-09-19 Radian Memory Systems, Inc. Storage device with erase unit level address mapping
US11748257B1 (en) 2013-01-28 2023-09-05 Radian Memory Systems, Inc. Host, storage system, and methods with subdivisions and query based write operations
US11188457B1 (en) 2013-01-28 2021-11-30 Radian Memory Systems, Inc. Nonvolatile memory geometry export by memory controller with variable host configuration of addressable memory space
US11740801B1 (en) 2013-01-28 2023-08-29 Radian Memory Systems, Inc. Cooperative flash management of storage device subdivisions
US11709772B1 (en) 2013-01-28 2023-07-25 Radian Memory Systems, Inc. Storage system with multiplane segments and cooperative flash management
US10445229B1 (en) 2013-01-28 2019-10-15 Radian Memory Systems, Inc. Memory controller with at least one address segment defined for which data is striped across flash memory dies, with a common address offset being used to obtain physical addresses for the data in each of the dies
US11347638B1 (en) 2013-01-28 2022-05-31 Radian Memory Systems, Inc. Nonvolatile memory controller with data relocation and host-triggered erase
US9400749B1 (en) 2013-01-28 2016-07-26 Radian Memory Systems, LLC Host interleaved erase operations for flash memory controller
US11704237B1 (en) 2013-01-28 2023-07-18 Radian Memory Systems, Inc. Storage system with multiplane segments and query based cooperative flash management
US11314636B1 (en) 2013-01-28 2022-04-26 Radian Memory Systems, Inc. Nonvolatile/persistent memory drive with address subsections configured for respective read bandwidths
US11347639B1 (en) 2013-01-28 2022-05-31 Radian Memory Systems, Inc. Nonvolatile memory controller with host targeted erase and data copying based upon wear
US12093533B1 (en) 2013-01-28 2024-09-17 Radian Memory Systems, Inc. Memory management of nonvolatile discrete namespaces
US11074175B1 (en) 2013-01-28 2021-07-27 Radian Memory Systems, Inc. Flash memory controller which assigns address and sends assigned address to host in connection with data write requests for use in issuing later read requests for the data
US9727454B2 (en) 2013-01-28 2017-08-08 Radian Memory Sytems, Inc. Memory controller that provides addresses to host for memory location matching state tracked by memory controller
US11681614B1 (en) 2013-01-28 2023-06-20 Radian Memory Systems, Inc. Storage device with subdivisions, subdivision query, and write operations
US9710377B1 (en) 2013-01-28 2017-07-18 Radian Memory Systems, Inc. Multi-array operation support and related devices, systems and software
US11640355B1 (en) 2013-01-28 2023-05-02 Radian Memory Systems, Inc. Storage device with multiplane segments, cooperative erasure, metadata and flash management
US9229854B1 (en) 2013-01-28 2016-01-05 Radian Memory Systems, LLC Multi-array operation support and related devices, systems and software
US11354234B1 (en) 2013-01-28 2022-06-07 Radian Memory Systems, Inc. Memory controller for nonvolatile memory with targeted erase from host and write destination selection based on wear
US11544183B1 (en) 2013-01-28 2023-01-03 Radian Memory Systems, Inc. Nonvolatile memory controller host-issued address delimited erasure and memory controller remapping of host-address space for bad blocks
US10642505B1 (en) 2013-01-28 2020-05-05 Radian Memory Systems, Inc. Techniques for data migration based on per-data metrics and memory degradation
US11334479B1 (en) 2013-01-28 2022-05-17 Radian Memory Systems, Inc. Configuring write parallelism for namespaces in a nonvolatile memory controller
US10884915B1 (en) 2013-01-28 2021-01-05 Radian Memory Systems, Inc. Flash memory controller to perform delegated move to host-specified destination
US11487656B1 (en) 2013-01-28 2022-11-01 Radian Memory Systems, Inc. Storage device with multiplane segments and cooperative flash management
US11487657B1 (en) 2013-01-28 2022-11-01 Radian Memory Systems, Inc. Storage system with multiplane segments and cooperative flash management
US10996863B1 (en) 2013-01-28 2021-05-04 Radian Memory Systems, Inc. Nonvolatile memory with configurable zone/namespace parameters and host-directed copying of data across zones/namespaces
US10983907B1 (en) 2013-01-28 2021-04-20 Radian Memory Systems, Inc. Nonvolatile memory controller that supports host selected data movement based upon metadata generated by the nonvolatile memory controller
US20150254132A1 (en) * 2014-03-06 2015-09-10 Winbond Electronics Corp. Semiconductor memory device
US9501354B2 (en) * 2014-03-06 2016-11-22 Winbond Electronics Corp. Semiconductor memory device
WO2015199578A1 (en) * 2014-06-27 2015-12-30 Emc Corporation Managing cache compression in data storage systems
US10635359B2 (en) 2014-06-27 2020-04-28 EMC IP Holding Company LLC Managing cache compression in data storage systems
US9612971B2 (en) 2014-08-19 2017-04-04 Qualcomm Incorporated Supplemental write cache command for bandwidth compression
CN106663059B (en) * 2014-08-19 2019-11-26 高通股份有限公司 Power-aware filling
WO2016028439A1 (en) * 2014-08-19 2016-02-25 Qualcomm Incorporated Supplemental write cache command for bandwidth compression
CN106575262B (en) * 2014-08-19 2018-11-20 高通股份有限公司 The method and apparatus of supplement write-in cache command for bandwidth reduction
CN106575262A (en) * 2014-08-19 2017-04-19 高通股份有限公司 Supplemental write cache command for bandwidth compression
US9858196B2 (en) 2014-08-19 2018-01-02 Qualcomm Incorporated Power aware padding
CN106663059A (en) * 2014-08-19 2017-05-10 高通股份有限公司 Power aware padding
US10552085B1 (en) 2014-09-09 2020-02-04 Radian Memory Systems, Inc. Techniques for directed data migration
US11449436B1 (en) 2014-09-09 2022-09-20 Radian Memory Systems, Inc. Storage system with division based addressing and cooperative flash management
US11914523B1 (en) 2014-09-09 2024-02-27 Radian Memory Systems, Inc. Hierarchical storage device with host controlled subdivisions
US11100006B1 (en) 2014-09-09 2021-08-24 Radian Memory Systems, Inc. Host-commanded garbage collection based on different per-zone thresholds and candidates selected by memory controller
US11221959B1 (en) 2014-09-09 2022-01-11 Radian Memory Systems, Inc. Nonvolatile memory controller supporting variable configurability and forward compatibility
US11221961B1 (en) 2014-09-09 2022-01-11 Radian Memory Systems, Inc. Configuration of nonvolatile memory as virtual devices with user defined parameters
US11221960B1 (en) 2014-09-09 2022-01-11 Radian Memory Systems, Inc. Nonvolatile memory controller enabling independent garbage collection to independent zones or isolated regions
US11226903B1 (en) 2014-09-09 2022-01-18 Radian Memory Systems, Inc. Nonvolatile/persistent memory with zone mapped to selective number of physical structures and deterministic addressing
US11237978B1 (en) 2014-09-09 2022-02-01 Radian Memory Systems, Inc. Zone-specific configuration of maintenance by nonvolatile memory controller
US11086789B1 (en) 2014-09-09 2021-08-10 Radian Memory Systems, Inc. Flash memory drive with erasable segments based upon hierarchical addressing
US11269781B1 (en) 2014-09-09 2022-03-08 Radian Memory Systems, Inc. Programmable configuration of zones, write stripes or isolated regions supported from subset of nonvolatile/persistent memory
US11275695B1 (en) 2014-09-09 2022-03-15 Radian Memory Systems, Inc. Persistent/nonvolatile memory with address translation tables by zone
US11288203B1 (en) 2014-09-09 2022-03-29 Radian Memory Systems, Inc. Zones in nonvolatile memory formed along die boundaries with independent address translation per zone
US11307995B1 (en) 2014-09-09 2022-04-19 Radian Memory Systems, Inc. Storage device with geometry emulation based on division programming and decoupled NAND maintenance
US11048643B1 (en) 2014-09-09 2021-06-29 Radian Memory Systems, Inc. Nonvolatile memory controller enabling wear leveling to independent zones or isolated regions
US11321237B1 (en) 2014-09-09 2022-05-03 Radian Memory Systems, Inc. Idealized nonvolatile or persistent storage with structure-dependent spare capacity swapping
US11907569B1 (en) 2014-09-09 2024-02-20 Radian Memory Systems, Inc. Storage deveice that garbage collects specific areas based on a host specified context
US11023386B1 (en) 2014-09-09 2021-06-01 Radian Memory Systems, Inc. Nonvolatile memory controller with configurable address assignment parameters per namespace
US11347658B1 (en) 2014-09-09 2022-05-31 Radian Memory Systems, Inc. Storage device with geometry emulation based on division programming and cooperative NAND maintenance
US11347656B1 (en) 2014-09-09 2022-05-31 Radian Memory Systems, Inc. Storage drive with geometry emulation based on division addressing and decoupled bad block management
US11907134B1 (en) 2014-09-09 2024-02-20 Radian Memory Systems, Inc. Nonvolatile memory controller supporting variable configurability and forward compatibility
US11347657B1 (en) 2014-09-09 2022-05-31 Radian Memory Systems, Inc. Addressing techniques for write and erase operations in a non-volatile storage device
US11023387B1 (en) 2014-09-09 2021-06-01 Radian Memory Systems, Inc. Nonvolatile/persistent memory with namespaces configured across channels and/or dies
US11003586B1 (en) 2014-09-09 2021-05-11 Radian Memory Systems, Inc. Zones in nonvolatile or persistent memory with configured write parameters
US10977188B1 (en) 2014-09-09 2021-04-13 Radian Memory Systems, Inc. Idealized nonvolatile or persistent memory based upon hierarchical address translation
US11360909B1 (en) 2014-09-09 2022-06-14 Radian Memory Systems, Inc. Configuration of flash memory structure based upon host discovery of underlying memory geometry
US11416413B1 (en) 2014-09-09 2022-08-16 Radian Memory Systems, Inc. Storage system with division based addressing and cooperative flash management
US9785572B1 (en) 2014-09-09 2017-10-10 Radian Memory Systems, Inc. Memory controller with multimodal control over memory dies
US9588904B1 (en) 2014-09-09 2017-03-07 Radian Memory Systems, Inc. Host apparatus to independently schedule maintenance operations for respective virtual block devices in the flash memory dependent on information received from a memory controller
US11481144B1 (en) 2014-09-09 2022-10-25 Radian Memory Systems, Inc. Techniques for directed data migration
US10956082B1 (en) 2014-09-09 2021-03-23 Radian Memory Systems, Inc. Techniques for directed data migration
US10915458B1 (en) 2014-09-09 2021-02-09 Radian Memory Systems, Inc. Configuration of isolated regions or zones based upon underlying memory geometry
US9542118B1 (en) 2014-09-09 2017-01-10 Radian Memory Systems, Inc. Expositive flash memory control
US11537528B1 (en) 2014-09-09 2022-12-27 Radian Memory Systems, Inc. Storage system with division based addressing and query based cooperative flash management
US11537529B1 (en) 2014-09-09 2022-12-27 Radian Memory Systems, Inc. Storage drive with defect management on basis of segments corresponding to logical erase units
US10642748B1 (en) 2014-09-09 2020-05-05 Radian Memory Systems, Inc. Memory controller for flash memory with zones configured on die bounaries and with separate spare management per zone
US11544200B1 (en) 2014-09-09 2023-01-03 Radian Memory Systems, Inc. Storage drive with NAND maintenance on basis of segments corresponding to logical erase units
US11675708B1 (en) 2014-09-09 2023-06-13 Radian Memory Systems, Inc. Storage device with division based addressing to support host memory array discovery
US9734081B2 (en) * 2014-12-10 2017-08-15 Advanced Micro Devices, Inc. Thin provisioning architecture for high seek-time devices
US20150331807A1 (en) * 2014-12-10 2015-11-19 Advanced Micro Devices, Inc. Thin provisioning architecture for high seek-time devices
US9665285B2 (en) 2015-03-11 2017-05-30 Kabushiki Kaisha Toshiba Disk device and method for storing data and associated headers
US11023315B1 (en) 2015-07-17 2021-06-01 Radian Memory Systems, Inc. Techniques for supporting erasure coding with flash memory controller
US10552058B1 (en) 2015-07-17 2020-02-04 Radian Memory Systems, Inc. Techniques for delegating data processing to a cooperative memory controller
US11449240B1 (en) 2015-07-17 2022-09-20 Radian Memory Systems, Inc. Techniques for supporting erasure coding with flash memory controller
US20180026651A1 (en) * 2016-07-22 2018-01-25 Intel Corporation Technologies for performing low-latency decompression with tree caching
US9954552B2 (en) * 2016-07-22 2018-04-24 Intel Corporation Technologies for performing low-latency decompression with tree caching
US10261897B2 (en) 2017-01-20 2019-04-16 Samsung Electronics Co., Ltd. Tail latency aware foreground garbage collection algorithm
US11099985B2 (en) 2017-12-20 2021-08-24 Nec Platforms, Ltd. Storage controller, storage array device, data depositing method, and storage medium
CN113015966A (en) * 2018-11-14 2021-06-22 零点科技公司 Compressed computer memory access
US11175984B1 (en) 2019-12-09 2021-11-16 Radian Memory Systems, Inc. Erasure coding techniques for flash memory
US11507511B2 (en) * 2020-04-09 2022-11-22 EMC IP Holding Company LLC Method, electronic device and computer program product for storing data
US11640265B2 (en) 2020-12-16 2023-05-02 Hitachi, Ltd. Apparatus for processing received data
US12019921B2 (en) 2020-12-16 2024-06-25 Hitachi, Ltd. Apparatus for processing received data
US11960448B2 (en) * 2021-10-28 2024-04-16 Netapp, Inc. Unified object format for retaining compression and performing additional compression for reduced storage consumption in an object store
US20230133433A1 (en) * 2021-10-28 2023-05-04 Netapp Inc. Unified object format for retaining compression and performing additional compression for reduced storage consumption in an object store

Also Published As

Publication number Publication date
JPH08249159A (en) 1996-09-27
JP3426385B2 (en) 2003-07-14

Similar Documents

Publication Publication Date Title
US5652857A (en) Disk control apparatus for recording and reproducing compression data to physical device of direct access type
US5276840A (en) Disk caching method for writing data from computer memory including a step of writing a plurality of physically adjacent blocks in a single I/O operation
US6467021B1 (en) Data storage system storing data of varying block size
US6115787A (en) Disc storage system having cache memory which stores compressed data
US6542960B1 (en) System and method for parity caching based on stripe locking in raid data storage
US6449689B1 (en) System and method for efficiently storing compressed data on a hard disk drive
US6779088B1 (en) Virtual uncompressed cache size control in compressed memory systems
US5619690A (en) Computer system including a computer which requests an access to a logical address in a secondary storage system with specification of a local address in the secondary storage system
JP2831602B2 (en) Compressed data management device and compressed data management method
US5463765A (en) Disk array system, data writing method thereof, and fault recovering method
US4920478A (en) Cache system used in a magnetic disk controller adopting an LRU system
US5524230A (en) External information storage system with a semiconductor memory
US6857045B2 (en) Method and system for updating data in a compressed read cache
US6233648B1 (en) Disk storage system and data update method used therefor
US7694087B2 (en) Duplicate data storing system, duplicate data storing method, and duplicate data storing program for storage device
US7117314B2 (en) Storage device and method for data sharing
US6675176B1 (en) File management system
US10521122B2 (en) Storage apparatus and method of controlling same
KR100449485B1 (en) Stripping system, mapping and processing method thereof
US6260109B1 (en) Method and apparatus for providing logical devices spanning several physical volumes
JP2000347935A (en) Virtual non-compression cache for compression main memory
WO2017141315A1 (en) Storage device
US7032093B1 (en) On-demand allocation of physical storage for virtual volumes using a zero logical disk
US11797207B2 (en) Base and compressed difference data deduplication
US20190042134A1 (en) Storage control apparatus and deduplication method

Legal Events

Date Code Title Description
AS Assignment

Owner name: FUJITSU LIMITED, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SHIMOI, HIROYUKI;OKAYASU, NAOAKI;KANEKO, SATORU;AND OTHERS;REEL/FRAME:007963/0896

Effective date: 19960410

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20090729