JP2008225818A - Information processor, process compression method, and program - Google Patents

Information processor, process compression method, and program Download PDF

Info

Publication number
JP2008225818A
JP2008225818A JP2007062847A JP2007062847A JP2008225818A JP 2008225818 A JP2008225818 A JP 2008225818A JP 2007062847 A JP2007062847 A JP 2007062847A JP 2007062847 A JP2007062847 A JP 2007062847A JP 2008225818 A JP2008225818 A JP 2008225818A
Authority
JP
Japan
Prior art keywords
compression
compressed
compressed data
information processing
processing apparatus
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.)
Granted
Application number
JP2007062847A
Other languages
Japanese (ja)
Other versions
JP4888166B2 (en
Inventor
Hiroaki Nagano
浩明 長野
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2007062847A priority Critical patent/JP4888166B2/en
Publication of JP2008225818A publication Critical patent/JP2008225818A/en
Application granted granted Critical
Publication of JP4888166B2 publication Critical patent/JP4888166B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processor for improving performance by suppressing mounting costs and memory usage. <P>SOLUTION: This information processor for performing a predetermined process on a main memory is provided with a process compression means for compressing the image of a process being executed on a main memory based on a compression rule corresponding to a process being executed. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、情報処理装置にかかり、特に、プロセスの圧縮を行う情報処理装置に関する。   The present invention relates to an information processing apparatus, and more particularly to an information processing apparatus that performs process compression.

従来より、ネットワークファイルサーバなどにおいて、クライアントごとに処理を行う場合に、サーバ側ではその応対を行うためのプロセスをクライアントとの通信パスごとに立ち上げる実装方式がよく用いられる。このような実装方式では、個々のプロセスの独立性のために、他の応対を行っているプロセスのことを考えずに済むため、開発の難易度が低くなり開発効率がよい。その反面、個々のプロセスが保有するデータ量が大きくなる傾向があり、数十のプロセスならば問題とならないものの、数千個のプロセスを要するような規模のサーバの場合には、そのメモリ空間の保持が難しくなる。   Conventionally, when processing is performed for each client in a network file server or the like, an implementation method is often used in which a process for performing the response is started on the server side for each communication path with the client. In such a mounting method, because of the independence of individual processes, it is not necessary to consider the process of other response, so the development difficulty level is low and the development efficiency is good. On the other hand, the amount of data held by each process tends to increase, and if there are tens of processes, there is no problem, but in the case of a server that requires thousands of processes, the memory space Holding becomes difficult.

そして、プロセスの圧縮処理方法として、多くの場合は、二次記憶装置に対するスワップ処理が用いられる。例えば、特許文献1では、プロセスイメージを圧縮してサイズを縮小し、二次記憶装置にスワップアウトする、という技術が開示されている。   In many cases, swap processing for a secondary storage device is used as a process compression processing method. For example, Patent Document 1 discloses a technique of compressing a process image to reduce its size and swapping it out to a secondary storage device.

特開2000−276363号公報JP 2000-276363 A

しかしながら、上述したようなスワップを用いた圧縮処理では、装置の性能の劣化、特に応答時間の劣化を招く。つまり、二次記憶装置にスワップアウトしたプロセスを復帰させる場合には、比較的低速な二次記憶装置から読み出して復元処理を実行する必要があり、処理に遅延が生じる、という問題があった。一方で、上記問題を解消するために、データ空間を極力小さくしたり、プロセス間での共有データを管理したりするなどの手法があるが、開発難易度が上がり、開発効率や障害発生率も上がってしまう、という問題があった。   However, the compression processing using swap as described above causes degradation of the performance of the apparatus, particularly degradation of response time. In other words, when restoring a process swapped out to the secondary storage device, it is necessary to read from the secondary storage device that is relatively slow and execute the restoration process, resulting in a delay in the process. On the other hand, in order to solve the above problems, there are methods such as reducing the data space as much as possible and managing shared data between processes, but the development difficulty increases, and the development efficiency and failure rate also increase. There was a problem of going up.

このため、本発明では、上記従来例の有する不都合を改善し、特に、実装コストを抑制しつつ、メモリ使用量を抑制して性能の向上を図ることができる情報処理装置を提供する、ことをその目的とする。   For this reason, the present invention provides an information processing apparatus that improves the disadvantages of the above-described conventional example, and in particular, can suppress the mounting cost and suppress the memory usage and improve the performance. For that purpose.

そこで、本発明の一形態は、主メモリ上で所定のプロセスを実行する情報処理装置であって、主メモリ上で実行中のプロセスのイメージを、当該実行中のプロセスに応じた圧縮ルールに基づいて圧縮するプロセス圧縮手段を備えた、ことを特徴としている。   Accordingly, an aspect of the present invention is an information processing apparatus that executes a predetermined process on a main memory, and an image of the process being executed on the main memory is based on a compression rule corresponding to the process being executed. It is characterized by having a process compression means for compressing.

上記発明によると、まず、主メモリ上でプロセスが実行されている場合に、メモリ領域が逼迫されるなどの状況等において、実行中のプロセスを圧縮する必要が生じる。そのような場合に、実行中のプロセスに応じた圧縮ルールを利用してプロセスを圧縮する。これにより、プロセスの特徴に応じて圧縮率の高い圧縮を実現でき、主メモリの効率的な利用を図ることができる。さらには、高圧縮率であるため、圧縮データを主メモリに残しておいてもメモリ容量を逼迫せず、かつ、高速にプロセスを復帰させることができる。   According to the above invention, first, when a process is being executed on the main memory, it is necessary to compress the process being executed in a situation where the memory area is tight. In such a case, the process is compressed using a compression rule corresponding to the process being executed. Thereby, compression with a high compression rate can be realized according to the characteristics of the process, and the main memory can be used efficiently. Furthermore, since the compression ratio is high, even if the compressed data is left in the main memory, the memory capacity is not reduced and the process can be returned at high speed.

また、上記情報処理装置は、プロセス毎の圧縮ルールを表す圧縮辞書データを記憶した圧縮辞書記憶手段と、圧縮対象となる実行中のプロセスに対応する圧縮辞書データを選定する圧縮辞書選定手段と、を備え、上記プロセス圧縮手段は、選定された圧縮辞書データを用いて実行中のプロセスのイメージを圧縮する、ことを特徴としている。また、上記情報処理装置は、圧縮対象となる実行中のプロセス毎に応じた圧縮ルールを表す圧縮辞書データを生成する圧縮辞書生成手段を備え、プロセス圧縮手段は、生成した圧縮辞書データを用いて実行中のプロセスのイメージを圧縮する、ことを特徴としている。   In addition, the information processing apparatus includes a compression dictionary storage unit that stores compression dictionary data representing a compression rule for each process, a compression dictionary selection unit that selects compression dictionary data corresponding to an ongoing process to be compressed, The process compression means compresses the image of the process being executed using the selected compression dictionary data. The information processing apparatus further includes a compression dictionary generation unit that generates compression dictionary data representing a compression rule corresponding to each process being executed, and the process compression unit uses the generated compression dictionary data. It is characterized by compressing the image of a running process.

これにより、実行中のプロセスに応じて予め用意された圧縮辞書データや、圧縮処理前に実行中のプロセスに応じて生成される圧縮辞書データを使用して、圧縮処理を実行する。従って、より効率的、かつ、高速に、圧縮処理を実行することができる。   Thus, the compression process is executed using the compression dictionary data prepared in advance according to the process being executed or the compression dictionary data generated according to the process being executed before the compression process. Therefore, the compression process can be executed more efficiently and at a high speed.

また、上記情報処理装置は、上記プロセス圧縮手段にて圧縮された圧縮データを、所定の記憶装置に格納する圧縮データ格納手段を備えた、ことを特徴としている。そして、この圧縮データ格納手段は、圧縮データを所定の補助記憶装置に格納する、ことを特徴としている。特に、上記圧縮データ格納手段は、圧縮データを圧縮前のイメージと比較して所定の割合以下に圧縮できた場合には圧縮データを主メモリ装置に格納し、それ以外には圧縮データを所定の補助記憶装置に格納する、ことを特徴としている。   The information processing apparatus includes a compressed data storage means for storing the compressed data compressed by the process compression means in a predetermined storage device. The compressed data storage means stores the compressed data in a predetermined auxiliary storage device. In particular, the compressed data storage means stores the compressed data in the main memory device when the compressed data can be compressed to a predetermined ratio or less compared with the image before compression, and otherwise the compressed data is stored in the predetermined data. It is characterized in that it is stored in an auxiliary storage device.

これにより、上述したようにプロセスを圧縮した圧縮データを、補助記憶装置などの所定の記憶装置に格納することで、主メモリを効率的に利用することができる。特に、圧縮率が高い場合には、圧縮データを主メモリに残しておいたとしても、主メモリの使用容量を抑制しつつ、その後、高速に圧縮データを読み出してプロセスを復帰させることができる。   Thereby, the main memory can be efficiently used by storing the compressed data obtained by compressing the process as described above in a predetermined storage device such as an auxiliary storage device. In particular, when the compression rate is high, even if the compressed data is left in the main memory, the process can be restored by reading the compressed data at a high speed while suppressing the used capacity of the main memory.

また、本発明において、上記圧縮ルールは、実行中のプロセスの種別に応じて設定されている、ことを特徴としている。さらに、上記圧縮ルールは、実行中のプロセスに設定された仮想アドレスに応じて設定されている、ことを特徴としている。また、上記プロセスは、当該プロセス毎に固有の情報を一部に有するプロセスである、ことを特徴としている。   In the present invention, the compression rule is set according to the type of the process being executed. Further, the compression rule is set according to a virtual address set for a process being executed. In addition, the above process is characterized in that it is a process having a part of information unique to each process.

これにより、個々のプロセス毎の特徴に応じた圧縮ルールにて圧縮することができ、より効率的な圧縮を実現できる。特に、プロセス内に固有の情報を有している同種のプロセスに対しては、少なくとも固有情報部分を含むよう圧縮すればよいため、さらに効率的な圧縮を実現することができる。   Thereby, it can compress by the compression rule according to the characteristic for each process, and can implement more efficient compression. In particular, for the same type of process having unique information in the process, it is only necessary to perform compression so that at least the unique information portion is included, so that more efficient compression can be realized.

また、本発明の他の形態は、情報処理装置が、主メモリ上で実行する所定のプロセスを圧縮するプロセス圧縮方法であって、主メモリ上で実行中のプロセスのイメージを、当該実行中のプロセスに応じた圧縮ルールに基づいて圧縮するプロセス圧縮工程を有する、ことを特徴としている。   Another embodiment of the present invention is a process compression method in which an information processing apparatus compresses a predetermined process executed on a main memory, and an image of a process being executed on the main memory is It has the process compression process which compresses based on the compression rule according to a process, It is characterized by the above-mentioned.

また、上記プロセル圧縮方法は、情報処理装置がプロセス毎の圧縮ルールを表す圧縮辞書データを予め記憶しており、圧縮対象となる実行中のプロセスに対応する圧縮辞書データを選定する圧縮辞書選定工程を有し、上記プロセス圧縮工程は、選定された圧縮辞書データを用いて実行中のプロセスのイメージを圧縮する、ことを特徴としている。また、上記プロセス圧縮方法は、圧縮対象となる実行中のプロセス毎に応じた圧縮ルールを表す圧縮辞書データを生成する圧縮辞書生成工程を有し、上記プロセス圧縮工程は、生成した圧縮辞書データを用いて実行中のプロセスのイメージを圧縮する、ことを特徴としている。   In the process compression method, the information processing apparatus stores in advance compression dictionary data representing a compression rule for each process, and a compression dictionary selection step of selecting compression dictionary data corresponding to a running process to be compressed And the process compression step compresses the image of the process being executed using the selected compression dictionary data. The process compression method further includes a compression dictionary generation step for generating compression dictionary data representing a compression rule corresponding to each process being executed, and the process compression step includes generating the generated compression dictionary data. It is characterized by using it to compress the image of a running process.

また、上記プロセス圧縮工程にて圧縮された圧縮データを、所定の記憶装置に格納する圧縮データ格納工程を有する、ことを特徴としている。特に、圧縮データ格納工程は、圧縮データを圧縮前のイメージと比較して所定の割合以下に圧縮できた場合には圧縮データを主メモリ装置に格納し、それ以外には圧縮データを所定の補助記憶装置に格納する、ことを特徴としている。   Further, the method includes a compressed data storage step of storing the compressed data compressed in the process compression step in a predetermined storage device. In particular, the compressed data storage step stores the compressed data in the main memory device when the compressed data can be compressed to a predetermined ratio or less compared with the image before compression, and otherwise the compressed data is stored as a predetermined auxiliary. It is stored in a storage device.

さらに、本発明の他の形態であるプログラムは、主メモリ上で所定のプロセスを実行する情報処理装置に、主メモリ上で実行中のプロセスのイメージを、当該実行中のプロセスに応じた圧縮ルールに基づいて圧縮するプロセス圧縮手段、を実現させる、ことを特徴としている。   Furthermore, a program according to another aspect of the present invention provides an information processing apparatus that executes a predetermined process on a main memory, and an image of the process being executed on the main memory, and a compression rule corresponding to the process being executed. It is characterized by realizing a process compression means for compressing based on the above.

そして、上記プログラムは、情報処理装置がプロセス毎の圧縮ルールを表す圧縮辞書データを予め記憶しており、情報処理装置に、圧縮対象となる実行中のプロセスに対応する圧縮辞書データを選定する圧縮辞書選定手段を実現させると共に、上記プロセス圧縮手段は、選定された圧縮辞書データを用いて実行中のプロセスのイメージを圧縮する、ことを特徴としている。また、上記プログラムは、情報処理装置に、圧縮対象となる実行中のプロセス毎に応じた圧縮ルールを表す圧縮辞書データを生成する圧縮辞書生成手段を実現させると共に、上記プロセス圧縮手段は、生成した圧縮辞書データを用いて実行中のプロセスのイメージを圧縮する、ことを特徴としている。   In the above program, the information processing apparatus stores in advance compression dictionary data representing compression rules for each process, and the information processing apparatus selects compression dictionary data corresponding to the running process to be compressed. While realizing the dictionary selection means, the process compression means compresses the image of the process being executed using the selected compression dictionary data. Further, the program causes the information processing apparatus to realize a compression dictionary generation unit that generates compression dictionary data representing a compression rule corresponding to each process being executed, and the process compression unit generates the compression dictionary data. It is characterized by compressing an image of a process being executed using compression dictionary data.

さらに、上記プログラムは、情報処理装置に、プロセス圧縮手段にて圧縮された圧縮データを所定の記憶装置に格納する圧縮データ格納手段を実現させる、ことを特徴としている。特に、圧縮データ格納手段は、圧縮データを圧縮前のイメージと比較して所定の割合以下に圧縮できた場合には圧縮データを主メモリ装置に格納し、それ以外には圧縮データを所定の補助記憶装置に格納する、ことを特徴としている。   Further, the program is characterized in that the information processing apparatus realizes a compressed data storage means for storing the compressed data compressed by the process compression means in a predetermined storage device. In particular, the compressed data storage means stores the compressed data in the main memory device when the compressed data can be compressed to a predetermined ratio or less compared with the uncompressed image, and in other cases, the compressed data is stored as the predetermined auxiliary data. It is stored in a storage device.

上述した構成の方法及びプログラムの発明であっても、上記情報処理装置と同様に作用するため、上述した本発明の目的を達成することができる。   Even the method and program of the above-described configuration operate in the same manner as the information processing apparatus, and thus the above-described object of the present invention can be achieved.

本発明は、以上のように構成され機能するので、これによると、プロセスの特徴に応じて圧縮率の高い圧縮を実現できるため、主メモリの効率的な利用を実現できると共に、圧縮データを主メモリに残しておいてもメモリ容量を逼迫せず、高速にプロセスを復帰させることができる、という従来にない優れた効果を有する。   Since the present invention is configured and functions as described above, according to this, since compression with a high compression rate can be realized according to the characteristics of the process, efficient use of the main memory can be realized, and compressed data can be mainly used. Even if it is left in the memory, it has an unprecedented excellent effect that the process can be returned at high speed without constraining the memory capacity.

本発明は、プロセスの特徴に応じて、プロセスイメージを圧縮することに特徴を有する。以下、具体的な構成及び動作を実施例にて説明する。   The present invention is characterized by compressing a process image in accordance with process characteristics. Hereinafter, a specific configuration and operation will be described with reference to examples.

本発明の第1の実施例を、図1乃至図5を参照して説明する。図1乃至図2は、コンピュータの構成を示す機能ブロック図であり、図3は、プロセスを示す図である。図4乃至図5は、コンピュータの動作を示すフローチャートである。   A first embodiment of the present invention will be described with reference to FIGS. 1 and 2 are functional block diagrams showing the configuration of a computer, and FIG. 3 is a diagram showing a process. 4 to 5 are flowcharts showing the operation of the computer.

[構成]
図1及び図2に示すコンピュータ1は、ネットワークに接続されたファイルサーバなどのサーバコンピュータであり、複数のプロセスを実行可能なコンピュータである。その構成としては、まず、演算装置であるCPU10と、各処理のワークスペースとなる主メモリ20と、補助記憶装置であるハードディスクドライブ30(HDD)と、を備えている。なお、補助記憶装置は、いかなる種類の記憶装置であってもよい。ここで、図1及び図2に示すコンピュータ1は、同一のコンピュータであり、説明の都合上、2つの図に分けて示している。
[Constitution]
A computer 1 shown in FIGS. 1 and 2 is a server computer such as a file server connected to a network, and is a computer capable of executing a plurality of processes. As its configuration, first, it includes a CPU 10 that is an arithmetic device, a main memory 20 that is a work space for each process, and a hard disk drive 30 (HDD) that is an auxiliary storage device. The auxiliary storage device may be any type of storage device. Here, the computer 1 shown in FIGS. 1 and 2 is the same computer, and is divided into two diagrams for convenience of explanation.

そして、CPU10には、所定のプログラムが組み込まれることで、図1に示すように、プロセス実行処理部11と、圧縮辞書選定処理部12と、圧縮処理部13と、圧縮データ格納処理部14と、が構築されている。また、このCPU10には、図2に示すように、プロセス復元処理部15も構築されている。また、主メモリ20内には、実行されるプロセス21が生成され、また、後述する圧縮データを記憶する圧縮データ記憶部22が形成されている。さらに、HDD30には、圧縮辞書記憶部31と、圧縮データ記憶部32と、が形成されている。以下、各構成について詳述する。   Then, by incorporating a predetermined program into the CPU 10, as shown in FIG. 1, a process execution processing unit 11, a compression dictionary selection processing unit 12, a compression processing unit 13, a compressed data storage processing unit 14, , Has been built. Further, as shown in FIG. 2, a process restoration processing unit 15 is also constructed in the CPU 10. In the main memory 20, a process 21 to be executed is generated, and a compressed data storage unit 22 for storing compressed data to be described later is formed. Further, the HDD 30 is formed with a compression dictionary storage unit 31 and a compressed data storage unit 32. Hereinafter, each configuration will be described in detail.

まず、上記プロセス実行処理部11は、主メモリ20内の仮想空間にプロセス21を生成して、当該プロセス21を実行する。ここで、本実施例では、ネットワークサーバであるコンピュータ1が実行するプロセスは、ネットワークからアクセスしてきた各クライアント端末に対して個別に生成されるプロセスであることとする。特に、この各クライアントに対するプロセスは、同一種類のプロセスであって、単一のプロセスのコピーから生成され、そのプロセス内に、プロセス種別、プロセス内仮想アドレス、相手先アドレスなどプロセス毎の固有情報、を有している。なお、プロセスの一例を図3に示す。この図に示すように、プロセスA及び同種類の複数のプロセスが主メモリ上の仮想アドレス空間に生成される場合に、プロセスAの所定の仮想アドレス部分には、プロセス毎に固有の情報が格納された状態となっている。   First, the process execution processing unit 11 generates a process 21 in the virtual space in the main memory 20 and executes the process 21. Here, in this embodiment, it is assumed that the process executed by the computer 1 that is a network server is a process generated individually for each client terminal accessed from the network. In particular, the process for each client is the same type of process, and is generated from a copy of a single process. In the process, unique information for each process such as process type, virtual address in process, destination address, have. An example of the process is shown in FIG. As shown in this figure, when process A and a plurality of processes of the same type are generated in the virtual address space on the main memory, specific information for each process is stored in the predetermined virtual address portion of process A. It has become a state.

そして、上記プロセス実行処理部11は、実行しているプロセス数が増え、主メモリ20領域が逼迫されてきたときに、使用されていないプロセスを圧縮対象として特定し、この特定したプロセスの主メモリ20上におけるイメージ(内容)、プロセス種別、プロセス内仮想アドレスを抽出して、圧縮辞書選定処理部12に通知する。また、図2に示すように、プロセス実行処理部11は、一旦圧縮したプロセスを復帰させる場合に、そのプロセスを特定する情報をプロセス復元処理部15に通知する。   Then, when the number of processes being executed increases and the area of the main memory 20 has become tight, the process execution processing unit 11 specifies an unused process as a compression target, and the main memory of the specified process The image (content), process type, and in-process virtual address on 20 are extracted and notified to the compression dictionary selection processing unit 12. As shown in FIG. 2, the process execution processing unit 11 notifies the process restoration processing unit 15 of information for specifying the process when returning the once compressed process.

上記圧縮辞書選定処理部12(圧縮辞書選定手段)は、HDD30の圧縮辞書記憶部31(圧縮辞書記憶手段)内に記憶されている圧縮辞書データを、圧縮対象となる実行中のプロセスに応じて選定する。ここで、圧縮辞書記憶部31に記憶されている圧縮辞書データは、プロセスの種別、及び/又は、プロセス内の仮想アドレス、に対応して予め設定された圧縮ルールを表すデータである。つまり、プロセスの構造、特徴に応じて、高圧縮できるよう設定された圧縮辞書である。例えば、本実施例では、プロセスが単一のプロセスのコピーから生成されているため、各プロセスの構成は同一種類であればほとんど同一であり、異なるのは、例えば、そのプロセスが有する相手先アドレスなどの固有情報だけである。従って、記憶されている圧縮辞書データは、プロセス毎に、例えば、プロセス内のどの仮想アドレスにどのデータが記憶されているか、という仮想アドレス情報に基づいて、少なくともプロセス種別、プロセス内仮想アドレス、固有情報などを圧縮データに保持するよう当該圧縮データを生成するための辞書データである。そして、同種のプロセスで共通する部分のデータについては、圧縮辞書データに保持しておくことで、圧縮データの容量をより低減させることができる。   The compression dictionary selection processing unit 12 (compression dictionary selection unit) converts the compression dictionary data stored in the compression dictionary storage unit 31 (compression dictionary storage unit) of the HDD 30 according to the process being executed as a compression target. Select. Here, the compression dictionary data stored in the compression dictionary storage unit 31 is data representing a compression rule set in advance corresponding to a process type and / or a virtual address in the process. That is, the compression dictionary is set so as to be highly compressible according to the structure and characteristics of the process. For example, in this embodiment, since the process is generated from a copy of a single process, the configuration of each process is almost the same if it is the same type, and the difference is, for example, the destination address that the process has It is only unique information. Therefore, the stored compressed dictionary data is at least process type, intra-process virtual address, unique, based on virtual address information such as which virtual address is stored in which virtual address in each process. This is dictionary data for generating compressed data so as to hold information and the like in the compressed data. Further, by storing the data common to the processes of the same type in the compressed dictionary data, the capacity of the compressed data can be further reduced.

以上のような圧縮辞書データが予め用意されており、圧縮辞書選定処理部12は、プロセス実行処理部11から通知された圧縮対象とされたプロセスのプロセス種別及びプロセス内仮想アドレスに基づいて、対応する圧縮辞書データを圧縮辞書記憶部31内から検索して読み出す。そして、この圧縮辞書データと、上記プロセス実行処理部11から通知された圧縮対象のプロセスイメージを圧縮処理部13に渡す。   The compression dictionary data as described above is prepared in advance, and the compression dictionary selection processing unit 12 responds on the basis of the process type and the in-process virtual address of the process to be compressed notified from the process execution processing unit 11. The compression dictionary data to be searched is retrieved from the compression dictionary storage unit 31 and read out. Then, the compression dictionary data and the process image to be compressed notified from the process execution processing unit 11 are transferred to the compression processing unit 13.

圧縮処理部13(プロセス圧縮手段)は、上記圧縮辞書選定処理部12から渡された圧縮辞書データとプロセスイメージとを受け付けて、このプロセスイメージを、圧縮辞書データを用いて圧縮して圧縮データを生成する処理を実行する。このとき、プロセスイメージは、大部分が同種のプロセスイメージと同一であるため、他の部分と共通する部分は圧縮データに含めず、上述したように、少なくとも圧縮種別、プロセス内仮想アドレス、固有情報を含むよう、圧縮して圧縮データを生成する。つまり、プロセスの共通する部分については圧縮辞書データに含めておき、圧縮前のプロセスイメージを圧縮データから復元可能な必要最低限の情報を含むよう圧縮して圧縮データを生成する。そして、生成した圧縮データを圧縮データ格納処理部14に渡す。   The compression processing unit 13 (process compression means) receives the compression dictionary data and the process image passed from the compression dictionary selection processing unit 12, compresses the process image using the compression dictionary data, and compresses the compressed data. Execute the process to generate. At this time, since the process image is mostly the same as the process image of the same type, the portion common to the other portions is not included in the compressed data, and as described above, at least the compression type, the in-process virtual address, the unique information To generate compressed data. That is, a common part of the process is included in the compression dictionary data, and the compressed image is generated by compressing the process image before compression so as to include the minimum necessary information that can be restored from the compressed data. Then, the generated compressed data is transferred to the compressed data storage processing unit 14.

圧縮データ格納処理部14(圧縮データ格納手段)は、上記生成された圧縮データを、主メモリ内、あるいは、HDD内に格納する。なお、本実施例では、圧縮データの圧縮率に応じて、圧縮データの格納先を設定する。例えば、圧縮データの容量を、元のプロセスイメージに対して半分以下に圧縮できた場合には、圧縮率が高いため、メモリ領域をそれほど逼迫しないと考えられ、主メモリ20内にそのまま保持しておく。つまり、主メモリ20の圧縮データ記憶部22内に格納する。一方、圧縮データの容量を、元のプロセスイメージに対して半分以下に圧縮できない場合には、HDD30といった補助記憶装置(二次記憶装置)の圧縮データ記憶部32内に格納する。なお、圧縮データの格納先の決定基準として、他の値の圧縮率を設定してもよい。例えば、3分の1以下に圧縮できた場合に、圧縮データを主メモリ20に格納するよう設定してもよく、主メモリ20やHDD30の容量に応じて任意に設定可能である。   The compressed data storage processing unit 14 (compressed data storage means) stores the generated compressed data in the main memory or the HDD. In this embodiment, the storage destination of the compressed data is set according to the compression rate of the compressed data. For example, if the compressed data capacity can be compressed to less than half of the original process image, the compression ratio is high, so it is considered that the memory area is not so tight and is held in the main memory 20 as it is. deep. That is, it is stored in the compressed data storage unit 22 of the main memory 20. On the other hand, if the compressed data capacity cannot be compressed to less than half of the original process image, it is stored in the compressed data storage unit 32 of the auxiliary storage device (secondary storage device) such as the HDD 30. It should be noted that other values of compression rates may be set as criteria for determining the storage location of compressed data. For example, when compression can be performed to one third or less, the compressed data may be set to be stored in the main memory 20, and can be arbitrarily set according to the capacity of the main memory 20 or the HDD 30.

プロセス復元処理部15は、一旦、圧縮したプロセスを復帰させる処理である。具体的には、プロセス実行処理部11から通知を受けたプロセスを特定し、そのプロセスの圧縮データを、主メモリ20の圧縮データ記憶部22あるいはHDD30の圧縮データ記憶部32内のいずれかから取り出す。また、このプロセスに対応する圧縮辞書データを取り出す。そして、この圧縮辞書データに基づいて、圧縮データを復元する。つまり、圧縮データに含まれる個別データを、新たに生成したプロセス内に組み込むことで、復帰対象となっている特定のプロセスを復帰させることができる。   The process restoration processing unit 15 is a process for restoring a once compressed process. Specifically, the process notified from the process execution processing unit 11 is specified, and the compressed data of the process is extracted from either the compressed data storage unit 22 of the main memory 20 or the compressed data storage unit 32 of the HDD 30. . Also, compressed dictionary data corresponding to this process is extracted. Then, the compressed data is restored based on the compressed dictionary data. In other words, by incorporating the individual data included in the compressed data into the newly generated process, the specific process that is the return target can be restored.

[動作]
次に、上記構成のコンピュータにおけるプロセス圧縮動作、及び、プロセス復元動作を、図4乃至図5のフローチャートを参照して説明する。なお、図4にプロセス圧縮動作を示し、図5にプロセス復元動作を示す。
[Operation]
Next, the process compression operation and the process restoration operation in the computer having the above configuration will be described with reference to the flowcharts of FIGS. FIG. 4 shows the process compression operation, and FIG. 5 shows the process restoration operation.

まず、コンピュータ1の主メモリ20上で多数のプロセス21が実行されており、当該主メモリ20が逼迫された場合には(ステップS1)、使用していないプロセスイメージを圧縮する処理が開始される。すると、圧縮対象となるプロセスが特定され(ステップS2)、そのプロセスのプロセスイメージ、プロセス種別、プロセス内仮想アドレス、が抽出される(ステップS3)。   First, when a large number of processes 21 are executed on the main memory 20 of the computer 1 and the main memory 20 is tight (step S1), a process of compressing an unused process image is started. . Then, the process to be compressed is specified (step S2), and the process image, process type, and in-process virtual address of the process are extracted (step S3).

続いて、通知されたプロセス種別とプロセス内仮想アドレスに基づいて、圧縮対象となっているプロセスの特徴に対応する圧縮辞書データを、圧縮辞書記憶部31内から検索して選定する(ステップS4、圧縮辞書選定工程)。そして、この選定した圧縮辞書データを用いて、圧縮対象となっているプロセスイメージを圧縮し、圧縮データを生成する(ステップS5、プロセス圧縮工程)。   Subsequently, based on the notified process type and in-process virtual address, compression dictionary data corresponding to the feature of the process to be compressed is searched and selected from the compression dictionary storage unit 31 (step S4, Compression dictionary selection process). Then, using this selected compression dictionary data, the process image to be compressed is compressed to generate compressed data (step S5, process compression step).

そして、上記圧縮処理により、プロセスイメージを半分以下に圧縮できた場合には(ステップS6でイエス)、圧縮データを主メモリ20内に残して格納する(ステップS7、圧縮データ格納工程)。一方、半分以下に圧縮できなかった場合には(ステップS6でノー)、圧縮データをHDD20に書き出して格納する(ステップS8、圧縮データ格納工程)。   If the process image can be compressed to less than half by the compression process (Yes in step S6), the compressed data is stored in the main memory 20 (step S7, compressed data storage step). On the other hand, if the data cannot be compressed to less than half (No in step S6), the compressed data is written and stored in the HDD 20 (step S8, compressed data storage step).

その後、プロセス実行処理部11にて、既に圧縮したプロセスが必要であると判断されると(ステップS11でイエス)、復元するプロセスを特定して、そのプロセスの圧縮データの格納位置、つまり、主メモリ20に格納されているか、あるいは、HDD30に格納されているか否かを判別する(ステップS12)。そして、圧縮データを読み出すと共に(ステップS13)、そのプロセスに対応した圧縮辞書を選定し(ステップS14)、主メモリ20上にプロセスを復元して実行する(ステップS15)。なお、上記ステップ13にて、圧縮データが主メモリ20内に格納されていた場合には、その圧縮データを高速に読み出してプロセスを復元することができる。   Thereafter, when the process execution processing unit 11 determines that the already compressed process is necessary (Yes in step S11), the process to be restored is specified, and the compressed data storage location of the process, that is, the main data is stored. It is determined whether it is stored in the memory 20 or whether it is stored in the HDD 30 (step S12). Then, the compressed data is read (step S13), a compression dictionary corresponding to the process is selected (step S14), and the process is restored on the main memory 20 and executed (step S15). If the compressed data is stored in the main memory 20 in the step 13, the process can be restored by reading the compressed data at a high speed.

以上のように、本発明によると、プロセスの特徴に応じた圧縮辞書データを使用して高圧縮率にて圧縮を行うことができるため、圧縮データの容量を小さく抑制でき、当該圧縮データを主メモリに格納したとしても、当該主メモリの容量を逼迫せずに済む。従って、比較的にデータの入出力速度が低速なハードディスクドライブなどの二次記憶装置へのスワップアウトを抑制することができるため、その後のプロセスの復元などの処理を高速に実行することができる。その結果、コンピュータ自体の性能の向上を図ることができる。   As described above, according to the present invention, it is possible to perform compression at a high compression rate using compression dictionary data according to the characteristics of the process. Even if it is stored in the memory, the capacity of the main memory can be saved. Accordingly, swap-out to a secondary storage device such as a hard disk drive having a relatively low data input / output speed can be suppressed, and subsequent processes such as process restoration can be executed at high speed. As a result, the performance of the computer itself can be improved.

さらに、本発明では、主メモリ20とHDD30との間に、上述したような圧縮処理部13等の構成を新たに追加して実装すればよいため、システムの他の要素に影響を与えることなく、容易に実現することができる。その結果、通常のメモリ使用量削減などは各個のプログラムの見直しなどによって行われなければならないところが、そのような見直しを行うことなく、低コストにてメモリの効率的利用を実現できる機能を実装することができる。   Further, in the present invention, since the configuration such as the compression processing unit 13 as described above may be newly added and mounted between the main memory 20 and the HDD 30, it does not affect other elements of the system. Can be easily realized. As a result, normal memory usage reduction etc. must be done by reviewing each individual program, etc., but implement a function that can realize efficient use of memory at low cost without such review be able to.

次に、本発明の第2の実施例を、図6乃至図7を参照して説明する。図6は、本実施例におけるコンピュータ1の構成を示す機能ブロック図であり、図7は、その動作を示すフローチャートである。   Next, a second embodiment of the present invention will be described with reference to FIGS. FIG. 6 is a functional block diagram showing the configuration of the computer 1 in this embodiment, and FIG. 7 is a flowchart showing its operation.

[構成]
図6に示すように、本実施例におけるプロセス圧縮機能を有するコンピュータ1は、上述した実施例1におけるコンピュータ1とほぼ同様の構成を採っている。具体的な相違点としては、本実施例では、圧縮辞書記憶部31’内に圧縮辞書データが予め記憶されておらず、コンピュータ1が圧縮処理を行う際に、圧縮対象となっているプロセスの特徴に基づいて当該プロセスに好適な圧縮辞書データを生成する圧縮辞書生成処理部12’(圧縮辞書生成手段)を備えている。そして、この生成した圧縮辞書データを用いて、圧縮処理部13がプロセスの圧縮処理を実行するよう構成されている。
[Constitution]
As shown in FIG. 6, a computer 1 having a process compression function in the present embodiment has a configuration substantially similar to that of the computer 1 in the first embodiment described above. As a specific difference, in the present embodiment, the compression dictionary data is not stored in the compression dictionary storage unit 31 ′ in advance, and when the computer 1 performs the compression process, the process to be compressed is processed. A compression dictionary generation processing unit 12 ′ (compression dictionary generation means) that generates compression dictionary data suitable for the process based on the characteristics is provided. The compression processing unit 13 is configured to execute the compression process of the process using the generated compression dictionary data.

ここで、圧縮辞書生成処理部12’は、例えば、上述したプロセス実行処理部11から通知された圧縮対象となっているプロセスイメージ自体の構造、種別、プロセス内アドレス、固有情報などに基づいて、このプロセスを圧縮するために最適な圧縮辞書データを生成する。具体的には、プロセスイメージの構造を表す仮想アドレスに基づいて、プロセス固有の情報や、同種のプロセスで共通の部分を特定し、その構造を解析した結果に基づいて、圧縮辞書データを生成する。例えば、共通部分は圧縮辞書データが保持し、プロセス種別や構造を表すプロセス内アドレス、固有情報などは圧縮データに含めるよう生成する、という圧縮ルールを表す圧縮辞書データを生成する。そして、圧縮辞書生成処理部12’は、この生成した圧縮辞書データを、今後の復元時や、同種類のプロセスの圧縮時に利用するために、圧縮辞書記憶部31’内に記憶しておく。   Here, the compression dictionary generation processing unit 12 ′, for example, based on the structure, type, in-process address, unique information, etc. of the process image itself that is the compression target notified from the process execution processing unit 11 described above, Optimal compression dictionary data is generated to compress this process. Specifically, based on a virtual address that represents the structure of the process image, process-specific information and a common part in the same type of process are identified, and compressed dictionary data is generated based on the analysis result of the structure. . For example, compression dictionary data is generated that represents a compression rule in which the common part is stored in the compression dictionary data, and an in-process address indicating process type and structure, unique information, and the like are generated so as to be included in the compressed data. Then, the compression dictionary generation processing unit 12 ′ stores the generated compression dictionary data in the compression dictionary storage unit 31 ′ for use in future restoration or compression of the same type of process.

[動作]
次に、実施例2におけるコンピュータ1のプロセス圧縮動作を、図7のフローチャートを参照して説明する。なお、全体的には、ほぼ実施例1と同様であるため、簡単に説明する。
[Operation]
Next, the process compression operation of the computer 1 in the second embodiment will be described with reference to the flowchart of FIG. In addition, since it is generally the same as that of the first embodiment, a brief description will be given.

まず、コンピュータ1の主メモリ20上で多数のプロセス21が実行されており、当該主メモリ20が逼迫された場合には(ステップS1)、使用していないプロセスイメージを圧縮する処理が開始される。すると、圧縮対象となるプロセスが特定され(ステップS2)、そのプロセスのプロセスイメージ、プロセス種別、プロセス内仮想アドレス、が抽出される(ステップS3)。   First, when a large number of processes 21 are executed on the main memory 20 of the computer 1 and the main memory 20 is tight (step S1), a process of compressing an unused process image is started. . Then, the process to be compressed is specified (step S2), and the process image, process type, and in-process virtual address of the process are extracted (step S3).

続いて、通知されたプロセス種別とプロセス内仮想アドレスに基づいて、圧縮対象となっているプロセスの特徴に対応する圧縮辞書データを新たに生成する(ステップS4’、圧縮辞書生成工程)。そして、この生成した圧縮辞書データを用いて、圧縮対象となっているプロセスイメージを圧縮し、圧縮データを生成する(ステップS5、プロセス圧縮工程)。このとき、使用した圧縮辞書データは、圧縮辞書データ記憶部31’に格納しておく。   Subsequently, based on the notified process type and in-process virtual address, new compression dictionary data corresponding to the feature of the process to be compressed is generated (step S4 ', compression dictionary generation step). Then, by using the generated compression dictionary data, the process image to be compressed is compressed to generate compressed data (step S5, process compression step). At this time, the used compression dictionary data is stored in the compression dictionary data storage unit 31 '.

そして、上記圧縮処理により、プロセスイメージを半分以下に圧縮できた場合には(ステップS6でイエス)、圧縮データを主メモリ20内に残して格納する(ステップS7、圧縮データ格納工程)。一方、半分以下に圧縮できなかった場合には(ステップS6でノー)、圧縮データをHDD20に書き出して格納する(ステップS8、圧縮データ格納工程)。   If the process image can be compressed to less than half by the compression process (Yes in step S6), the compressed data is stored in the main memory 20 (step S7, compressed data storage step). On the other hand, if the data cannot be compressed to less than half (No in step S6), the compressed data is written and stored in the HDD 20 (step S8, compressed data storage step).

次に、本発明の第3の実施例を、図8乃至図9を参照して説明する。図8、図9は、それぞれコンピュータ1の構成を示す機能ブロック図である。   Next, a third embodiment of the present invention will be described with reference to FIGS. 8 and 9 are functional block diagrams showing the configuration of the computer 1, respectively.

まず、図8に示す構成のコンピュータ1は、上述した実施例1のコンピュータ1とほぼ同様の構成を採っている。具体的な相違点としては、本実施例では、HDDに替えてフラッシュメモリなどの補助メモリ130を装備しており、この中に圧縮辞書記憶部131と、圧縮データ記憶部132と、が形成されている。そして、圧縮データ格納処理部14’が、圧縮した全てのデータを、二次記憶装置である補助メモリ130に書き出す、という構成を採っている。   First, the computer 1 having the configuration shown in FIG. 8 has a configuration substantially similar to that of the computer 1 of the first embodiment described above. As a specific difference, in this embodiment, an auxiliary memory 130 such as a flash memory is provided in place of the HDD, and a compression dictionary storage unit 131 and a compressed data storage unit 132 are formed therein. ing. The compressed data storage processing unit 14 ′ writes all the compressed data to the auxiliary memory 130 that is a secondary storage device.

このような構成によると、主メモリ20には圧縮データを書き出さないため、例えば、主メモリ20の容量が少ないコンピュータに有効である。また、本発明では、上述したように圧縮効率が高いため、圧縮データの容量も従来と比較して少なく、補助メモリ130に要する容量を低減することもできる。   According to such a configuration, since compressed data is not written out to the main memory 20, it is effective for a computer with a small capacity of the main memory 20, for example. In the present invention, since the compression efficiency is high as described above, the volume of compressed data is smaller than the conventional one, and the capacity required for the auxiliary memory 130 can be reduced.

また、図9は、コンピュータ1の他の例を示す。この図に示すコンピュータ1も、上述した実施例1のコンピュータ1とほぼ同様の構成を採っている。具体的な相違点としては、本実施例では、HDDに替えてROM230を装備しており、この中に圧縮辞書記憶部131が形成されている。そして、圧縮データ格納処理部14”が、圧縮した全てのデータを、主メモリ20に書き出す、という構成を採っている。   FIG. 9 shows another example of the computer 1. The computer 1 shown in this figure also has substantially the same configuration as the computer 1 of the first embodiment described above. As a specific difference, in this embodiment, a ROM 230 is provided instead of the HDD, and a compression dictionary storage unit 131 is formed therein. The compressed data storage processing unit 14 ″ writes all the compressed data to the main memory 20.

このような構成によると、フラッシュメモリやHDDなどの補助記憶装置が装備されていない組み込み型機器といったコンピュータであっても、主メモリ20に書き出される圧縮データは圧縮効率が高いため、当該主メモリ20の逼迫を抑制しつつ、当該メモリの効率的な使用を実現できる。   According to such a configuration, even in a computer such as an embedded device that is not equipped with an auxiliary storage device such as a flash memory or an HDD, the compressed data written to the main memory 20 has high compression efficiency. The memory can be used efficiently while suppressing the tightness of the memory.

なお、上記図8及び図9に示す構成において、圧縮辞書データは予め用意されていてもよく、実施例2で説明したように、圧縮対象となるプロセスの構造等に基づいて、圧縮辞書データを生成して、圧縮処理に利用してもよい。   In the configuration shown in FIGS. 8 and 9, the compression dictionary data may be prepared in advance. As described in the second embodiment, the compression dictionary data is stored based on the structure of the process to be compressed. It may be generated and used for compression processing.

本発明は、多数の同種のプロセスを実行するネットワークサーバや、二次記憶を備えていない組み込み型機器、などのあらゆる情報処理装置に利用可能であり、産業上の利用可能性を有する。   The present invention can be used in any information processing apparatus such as a network server that executes a large number of processes of the same type, and an embedded device that does not include a secondary storage, and has industrial applicability.

実施例1におけるコンピュータの構成を示す機能ブロック図である。FIG. 3 is a functional block diagram illustrating a configuration of a computer according to the first embodiment. 実施例1におけるコンピュータの構成を示す機能ブロック図である。FIG. 3 is a functional block diagram illustrating a configuration of a computer according to the first embodiment. プロセスの構成を示す図である。It is a figure which shows the structure of a process. 実施例1におけるコンピュータによるプロセス圧縮処理の動作を示すフローチャートである。3 is a flowchart illustrating an operation of a process compression process by a computer in the first embodiment. 実施例1におけるコンピュータによるプロセス復元処理の動作を示すフローチャートである。3 is a flowchart illustrating an operation of a process restoration process performed by a computer in the first embodiment. 実施例2におけるコンピュータの構成を示す機能ブロック図である。FIG. 10 is a functional block diagram illustrating a configuration of a computer according to a second embodiment. 実施例1におけるコンピュータによるプロセス圧縮処理の動作を示すフローチャートである。3 is a flowchart illustrating an operation of a process compression process by a computer in the first embodiment. 実施例3におけるコンピュータの構成の一例を示す機能ブロック図である。FIG. 10 is a functional block diagram illustrating an example of a configuration of a computer according to a third embodiment. 実施例3におけるコンピュータの構成の一例を示す機能ブロック図である。FIG. 10 is a functional block diagram illustrating an example of a configuration of a computer according to a third embodiment.

符号の説明Explanation of symbols

1 コンピュータ
11 プロセス実行処理部
12 圧縮辞書選定処理部
13 圧縮処理部
14 圧縮データ格納処理部
15 プロセス復元処理部
21 プロセス
22,32 圧縮データ記憶部
31 圧縮辞書記憶部
1 Computer 11 Process Execution Processing Unit 12 Compression Dictionary Selection Processing Unit 13 Compression Processing Unit 14 Compressed Data Storage Processing Unit 15 Process Restoration Processing Unit 21 Processes 22 and 32 Compressed Data Storage Unit 31 Compression Dictionary Storage Unit

Claims (19)

主メモリ上で所定のプロセスを実行する情報処理装置であって、
前記主メモリ上で実行中のプロセスのイメージを、当該実行中のプロセスに応じた圧縮ルールに基づいて圧縮するプロセス圧縮手段を備えた、
ことを特徴とする情報処理装置。
An information processing apparatus that executes a predetermined process on a main memory,
A process compression means for compressing an image of a process being executed on the main memory based on a compression rule corresponding to the process being executed;
An information processing apparatus characterized by that.
前記プロセス毎の前記圧縮ルールを表す圧縮辞書データを記憶した圧縮辞書記憶手段と、
圧縮対象となる前記実行中のプロセスに対応する前記圧縮辞書データを選定する圧縮辞書選定手段と、を備え、
前記プロセス圧縮手段は、選定された前記圧縮辞書データを用いて前記実行中のプロセスのイメージを圧縮する、
ことを特徴とする請求項1記載の情報処理装置。
Compression dictionary storage means for storing compression dictionary data representing the compression rule for each process;
Compression dictionary selection means for selecting the compression dictionary data corresponding to the running process to be compressed,
The process compression means compresses the image of the running process using the selected compression dictionary data.
The information processing apparatus according to claim 1.
圧縮対象となる前記実行中のプロセス毎に応じた前記圧縮ルールを表す圧縮辞書データを生成する圧縮辞書生成手段を備え、
前記プロセス圧縮手段は、生成した前記圧縮辞書データを用いて前記実行中のプロセスのイメージを圧縮する、
ことを特徴とする請求項1記載の情報処理装置。
Compression dictionary generation means for generating compression dictionary data representing the compression rule corresponding to each of the running processes to be compressed,
The process compression means compresses the image of the running process using the generated compression dictionary data.
The information processing apparatus according to claim 1.
前記プロセス圧縮手段にて圧縮された圧縮データを、所定の記憶装置に格納する圧縮データ格納手段を備えた、
ことを特徴とする請求項1,2又は3記載の情報処理装置。
Comprising compressed data storage means for storing the compressed data compressed by the process compression means in a predetermined storage device;
The information processing apparatus according to claim 1, 2, or 3.
前記圧縮データ格納手段は、前記圧縮データを所定の補助記憶装置に格納する、
ことを特徴とする請求項4記載の情報処理装置。
The compressed data storage means stores the compressed data in a predetermined auxiliary storage device;
The information processing apparatus according to claim 4.
前記圧縮データ格納手段は、前記圧縮データを圧縮前のイメージと比較して所定の割合以下に圧縮できた場合には前記圧縮データを前記主メモリ装置に格納し、それ以外には前記圧縮データを所定の補助記憶装置に格納する、
ことを特徴とする請求項4記載の情報処理装置。
The compressed data storage means stores the compressed data in the main memory device when the compressed data can be compressed to a predetermined ratio or less compared with the image before compression, and otherwise stores the compressed data. Store in a predetermined auxiliary storage device,
The information processing apparatus according to claim 4.
前記圧縮ルールは、前記実行中のプロセスの種別に応じて設定されている、ことを特徴とする請求項1,2,3,4,5又は6記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the compression rule is set according to a type of the process being executed. 前記圧縮ルールは、前記実行中のプロセスに設定された仮想アドレスに応じて設定されている、ことを特徴とする請求項1,2,3,4,5,6又は7記載の情報処理装置。   8. The information processing apparatus according to claim 1, wherein the compression rule is set according to a virtual address set for the process being executed. 前記プロセスは、当該プロセス毎に固有の情報を一部に有するプロセスである、ことを特徴とする請求項1,2,3,4,5,6,7又は8記載の情報処理装置。   The information processing apparatus according to claim 1, 2, 3, 4, 5, 6, 7 or 8, wherein the process is a process having a part of information unique to each process. 情報処理装置が、主メモリ上で実行する所定のプロセスを圧縮するプロセス圧縮方法であって、
前記主メモリ上で実行中のプロセスのイメージを、当該実行中のプロセスに応じた圧縮ルールに基づいて圧縮するプロセス圧縮工程を有する、
ことを特徴とするプロセス情報処理装置。
An information processing apparatus is a process compression method for compressing a predetermined process executed on a main memory,
A process compression step of compressing an image of a process being executed on the main memory based on a compression rule corresponding to the process being executed;
A process information processing apparatus.
前記情報処理装置が前記プロセス毎の前記圧縮ルールを表す圧縮辞書データを予め記憶しており、圧縮対象となる前記実行中のプロセスに対応する前記圧縮辞書データを選定する圧縮辞書選定工程を有し、
前記プロセス圧縮工程は、選定された前記圧縮辞書データを用いて前記実行中のプロセスのイメージを圧縮する、
ことを特徴とする請求項10記載のプロセス圧縮方法。
The information processing apparatus stores in advance compression dictionary data representing the compression rule for each process, and includes a compression dictionary selection step of selecting the compression dictionary data corresponding to the process being executed to be compressed. ,
The process compression step compresses the image of the running process using the selected compression dictionary data.
The process compression method according to claim 10.
圧縮対象となる前記実行中のプロセス毎に応じた前記圧縮ルールを表す圧縮辞書データを生成する圧縮辞書生成工程を有し、
前記プロセス圧縮工程は、生成した前記圧縮辞書データを用いて前記実行中のプロセスのイメージを圧縮する、
ことを特徴とする請求項10記載のプロセス圧縮方法。
A compression dictionary generation step of generating compression dictionary data representing the compression rule corresponding to each of the running processes to be compressed;
The process compression step compresses the image of the running process using the generated compression dictionary data.
The process compression method according to claim 10.
前記プロセス圧縮工程にて圧縮された圧縮データを、所定の記憶装置に格納する圧縮データ格納工程を有する、
ことを特徴とする請求項10,11又は12記載のプロセス圧縮方法。
A compressed data storage step of storing the compressed data compressed in the process compression step in a predetermined storage device;
The process compression method according to claim 10, 11 or 12.
前記圧縮データ格納工程は、前記圧縮データを圧縮前のイメージと比較して所定の割合以下に圧縮できた場合には前記圧縮データを前記主メモリ装置に格納し、それ以外には前記圧縮データを所定の補助記憶装置に格納する、
ことを特徴とする請求項13記載のプロセス圧縮方法。
The compressed data storing step stores the compressed data in the main memory device when the compressed data can be compressed to a predetermined ratio or less compared with the image before compression, and otherwise the compressed data is stored. Store in a predetermined auxiliary storage device,
The process compression method according to claim 13.
主メモリ上で所定のプロセスを実行する情報処理装置に、
前記主メモリ上で実行中のプロセスのイメージを、当該実行中のプロセスに応じた圧縮ルールに基づいて圧縮するプロセス圧縮手段、を実現させるためのプログラム。
To an information processing device that executes a predetermined process on the main memory,
A program for realizing a process compression means for compressing an image of a process being executed on the main memory based on a compression rule corresponding to the process being executed.
前記情報処理装置が前記プロセス毎の前記圧縮ルールを表す圧縮辞書データを予め記憶しており、前記情報処理装置に、圧縮対象となる前記実行中のプロセスに対応する前記圧縮辞書データを選定する圧縮辞書選定手段を実現させると共に、
前記プロセス圧縮手段は、選定された前記圧縮辞書データを用いて前記実行中のプロセスのイメージを圧縮する、
ことを特徴とする請求項15記載のプログラム。
Compression in which the information processing apparatus stores compression dictionary data representing the compression rule for each process in advance, and the information processing apparatus selects the compression dictionary data corresponding to the running process to be compressed While realizing dictionary selection means,
The process compression means compresses the image of the running process using the selected compression dictionary data.
The program according to claim 15, wherein:
前記情報処理装置に、圧縮対象となる前記実行中のプロセス毎に応じた前記圧縮ルールを表す圧縮辞書データを生成する圧縮辞書生成手段を実現させると共に、
前記プロセス圧縮手段は、生成した前記圧縮辞書データを用いて前記実行中のプロセスのイメージを圧縮する、
ことを特徴とする請求項15記載のプログラム。
The information processing apparatus realizes compression dictionary generation means for generating compression dictionary data representing the compression rule corresponding to each of the running processes to be compressed,
The process compression means compresses the image of the running process using the generated compression dictionary data.
The program according to claim 15, wherein:
前記情報処理装置に、前記プロセス圧縮手段にて圧縮された圧縮データを所定の記憶装置に格納する圧縮データ格納手段を実現させる、ことを特徴とする請求項15,16又は17記載のプログラム。   18. The program according to claim 15, 16 or 17, wherein the information processing apparatus is caused to realize compressed data storage means for storing the compressed data compressed by the process compression means in a predetermined storage device. 前記圧縮データ格納手段は、前記圧縮データを圧縮前のイメージと比較して所定の割合以下に圧縮できた場合には前記圧縮データを前記主メモリ装置に格納し、それ以外には前記圧縮データを所定の補助記憶装置に格納する、
ことを特徴とする請求項18記載のプログラム。
The compressed data storage means stores the compressed data in the main memory device when the compressed data can be compressed to a predetermined ratio or less compared with the image before compression, and otherwise stores the compressed data. Store in a predetermined auxiliary storage device,
The program according to claim 18, wherein:
JP2007062847A 2007-03-13 2007-03-13 Information processing apparatus, process compression method, and program Expired - Fee Related JP4888166B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007062847A JP4888166B2 (en) 2007-03-13 2007-03-13 Information processing apparatus, process compression method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007062847A JP4888166B2 (en) 2007-03-13 2007-03-13 Information processing apparatus, process compression method, and program

Publications (2)

Publication Number Publication Date
JP2008225818A true JP2008225818A (en) 2008-09-25
JP4888166B2 JP4888166B2 (en) 2012-02-29

Family

ID=39844371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007062847A Expired - Fee Related JP4888166B2 (en) 2007-03-13 2007-03-13 Information processing apparatus, process compression method, and program

Country Status (1)

Country Link
JP (1) JP4888166B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10146680B2 (en) 2013-03-12 2018-12-04 Samsung Electronics Co., Ltd. Data processing system and method of operating the same

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04113431A (en) * 1990-09-04 1992-04-14 Nec Corp Virtual storage system
JPH10124334A (en) * 1996-06-05 1998-05-15 Sun Microsyst Inc Method for executing execution thread having reduced run-time memory space request, and computer system therefor
JPH1124988A (en) * 1997-06-27 1999-01-29 Nec Corp Program execution control managing method
JP2000276363A (en) * 1999-03-26 2000-10-06 Nec Corp Method and device for swapping processing in storage hierarchy system
JP2002318696A (en) * 2001-04-23 2002-10-31 Mitsubishi Electric Corp Device and method for executing program
JP2004348945A (en) * 2003-05-15 2004-12-09 Hewlett-Packard Development Co Lp Dismountable storage device having data compression function

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04113431A (en) * 1990-09-04 1992-04-14 Nec Corp Virtual storage system
JPH10124334A (en) * 1996-06-05 1998-05-15 Sun Microsyst Inc Method for executing execution thread having reduced run-time memory space request, and computer system therefor
JPH1124988A (en) * 1997-06-27 1999-01-29 Nec Corp Program execution control managing method
JP2000276363A (en) * 1999-03-26 2000-10-06 Nec Corp Method and device for swapping processing in storage hierarchy system
JP2002318696A (en) * 2001-04-23 2002-10-31 Mitsubishi Electric Corp Device and method for executing program
JP2004348945A (en) * 2003-05-15 2004-12-09 Hewlett-Packard Development Co Lp Dismountable storage device having data compression function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10146680B2 (en) 2013-03-12 2018-12-04 Samsung Electronics Co., Ltd. Data processing system and method of operating the same

Also Published As

Publication number Publication date
JP4888166B2 (en) 2012-02-29

Similar Documents

Publication Publication Date Title
US9075721B2 (en) Computer readable recording medium having stored therein information processing program, information processing apparatus and information processing method
US20090216967A1 (en) Computer, recording medium recording dump program, and dump method
US11010056B2 (en) Data operating method, device, and system
WO2010109568A1 (en) Storage device
JP2008065834A (en) Fusion memory device and method
US10055134B2 (en) Data compression method and storage system
US20160117116A1 (en) Electronic device and a method for managing memory space thereof
CN110704161B (en) Virtual machine creation method and device and computer equipment
JP2008065441A (en) Debug system and debug circuit
CN109213450B (en) Associated metadata deleting method, device and equipment based on flash memory array
JP2018063505A (en) Memory management control unit, memory management control method and memory management control program
CN110781159B (en) Ceph directory file information reading method and device, server and storage medium
JP4888166B2 (en) Information processing apparatus, process compression method, and program
JP4964219B2 (en) Image processing apparatus, method, and program
JP5427814B2 (en) Failure analysis information collection device
US10331369B2 (en) Array control program, array control method, and array control apparatus
JP2008140236A (en) Memory management system, information processor and memory management method
JP6961950B2 (en) Storage method, storage device and storage program
JP6524945B2 (en) Control device, storage device, storage control method and computer program
JP2006259806A (en) Pooling method, system, and program
JP2018185615A (en) Electronic apparatus, method and program
JP3726701B2 (en) Kernel space demand paging swap-out method and method
JP2006079146A (en) Data processor
JP2016170463A (en) Information processing device, kernel dump method, and kernel dump program
US20190087441A1 (en) Data access method of transactional file system and electronic apparatus

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20100610

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100629

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100818

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110913

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111006

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111115

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111128

R150 Certificate of patent or registration of utility model

Ref document number: 4888166

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141222

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees