CN103150211A - Method and device for transferring swap space to UNIX-like operation system - Google Patents

Method and device for transferring swap space to UNIX-like operation system Download PDF

Info

Publication number
CN103150211A
CN103150211A CN2013100494308A CN201310049430A CN103150211A CN 103150211 A CN103150211 A CN 103150211A CN 2013100494308 A CN2013100494308 A CN 2013100494308A CN 201310049430 A CN201310049430 A CN 201310049430A CN 103150211 A CN103150211 A CN 103150211A
Authority
CN
China
Prior art keywords
swap file
swap
file
standby
alert message
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
CN2013100494308A
Other languages
Chinese (zh)
Other versions
CN103150211B (en
Inventor
邓庆华
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.)
Hunan Tianxiaweigong Information Technology Co.,Ltd.
Original Assignee
Baolong Computer System (hunan) Co 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 Baolong Computer System (hunan) Co Ltd filed Critical Baolong Computer System (hunan) Co Ltd
Priority to CN201310049430.8A priority Critical patent/CN103150211B/en
Publication of CN103150211A publication Critical patent/CN103150211A/en
Application granted granted Critical
Publication of CN103150211B publication Critical patent/CN103150211B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for transferring a swap space to a UNIX-like operation system adopting a LiveX form. The method comprises the following steps: dynamically creating a swap file and a backup swap file, and activating the swap file, wherein the swap file and the backup swap file are stored in different disk partitions or storage equipment. When the space of the disk partition or the storage equipment, on which the swap file is arranged, is not enough, part of the backup swap file is activated at first, and then part of the current swap file is forbidden. According to the method and the device, the swap space is dynamically transferred to the backup swap file, the problem that the space of the disk is not enough is solved to a certain extent by releasing and transferring the file swap space, the swap space is in operation in the background, a user solves the problem that the storage space is not enough unknowingly, and the users' experiment of the operation system is improved, so that the method for dynamically obtaining the swap space in the UNIX-like operation system adopting the LiveX form is more practical and convenient.

Description

One kind UNIX operating system shifts method and the device of swapace
Technical field
The present invention relates to class UNIX operating system technical field, relate in particular to method and device that a kind UNIX operating system shifts swapace.
Background technology
The operating system of LiveX form, for example LiveCD, refer to need not to install the operating system that just can pass through the CD self-starting.Some Linux release versions are designed to " LiveCD ", namely can directly guide the CD into available linux system.After getting up from CD boot, a whole set of operable instrument is provided, some are wherein arranged is general, some are arranged is highly special-purpose.Due to take CD as carrier, common LiveCD is except basic operating system, with application software.The benefit of the maximum of LiveCD is to need not to install.In the LiveX world, be operating system mainly with Linux, certainly also have based on other operating systems, as FreeBSD, WindowsPE etc.LiveCD is that operation is stored in a system on CD in fact, and the system that is stored in hard disk with operation is the same.
Except CD, the thought of LiveX has also extended on other carriers such as DVD, flash memory disk, has just formed a lot of vocabulary such as LiveDVD, LiveUSB.LiveUSB is storage operating system on other equipment such as flash memory or portable hard drive, carries out the startup of operating system by USB interface.
But, when at present LiveX form operation class UNIX operating system starts, main purpose be the installation of operating system and before installation experiencing system in advance, so swapace is not set; If adopt the method that dynamically generates swap file, in the process of operation, the disk partition at swap file place the problem of memory space inadequate may occur in the file operation process.
Summary of the invention
In view of this, the technical matters that the present invention will solve is to provide a kind of method of class UNIX operating system transfer swapace of LiveX form, with the swap file of swapace dynamic transfer to backup.
A kind of class UNIX operating system of LiveX form shifts the method for swapace, comprising: when the class UNIX operating system of operation LiveX form, create swap file and standby swap file, and activate described swap file; Wherein, described swap file and standby swap file are stored in different disk partition or memory device; When the insufficient space of the disk partition at described swap file place or memory device, first activate and use described standby swap file, then forbid and delete described swap file.
According to one embodiment of the method for the invention, further, detection of stored equipment also judges the type of memory device, calculate the free space of memory device, determine size and the memory location of the swap file of required establishment, the dynamic creation swap file, wherein, the size that described dynamic creation swap file is about to the swap file of required establishment is divided into a plurality of swap files, creates one by one and activate described a plurality of swap file; And, dynamic creation backup swap file, wherein, the size that described dynamic creation backup swap file is about to the swap file of required establishment is divided into a plurality of backup swap files, create one by one described a plurality of backup swap file but all do not activate, adopting the running background mode to create file or activation.
According to one embodiment of the method for the invention, further, after creating and activating swap file, start demons; Described demons are deleted whole swap files and standby swap file when withdrawing from; The size of described swapace is the size of host memory; The memory device of described swap file and standby swap file comprises: host hard drive, portable hard drive or SSD.
An embodiment of method of the present invention further, intercepts and captures the alert message of Insufficient disk space; When described alert message is the storage medium insufficient space at swap file place, first activate a standby swap file, then select a minimum swap file of current utilization rate, with this swap file forbidding, then with this swap file deletion; When described alert message is not the storage medium insufficient space at swap file place, does not process this alert message, and this alert message is put back in system message queue.
The technical matters that the present invention will solve is to provide a kind of device of class U NIX operating system transfer swapace of LiveX form, with the swap file of swapace dynamic transfer to backup.
A kind of class UNIX operating system of LiveX form shifts the device of swapace, comprising: the swap file creation module is used for creating swap file and standby swap file, and activating described swap file when the class UNIX operating system of operation LiveX form; Wherein, described swap file and standby swap file are stored in different disk partition or memory device; The swap file shift module when being used for the insufficient space when the disk partition at described swap file place or memory device, first activates and uses described standby swap file, then forbids and delete described swap file.
An embodiment according to device of the present invention, further, described swap file creation module detection of stored equipment also judges the type of memory device, calculate the free space of memory device, determine size and the memory location of the swap file of required establishment, the dynamic creation swap file, wherein, the size that described dynamic creation swap file is about to the swap file of required establishment is divided into a plurality of swap files, creates one by one and activate described a plurality of swap file; Dynamic creation backup swap file, wherein, the size that described dynamic creation backup swap file is about to the swap file of required establishment is divided into a plurality of backup swap files, creates one by one described a plurality of backup swap file but does not all activate; Described swap file creation module adopts the running background mode to create file or activation.
According to an embodiment of device of the present invention, further, after described swap file creation module created and activates swap file, described swap file shift module started demons; Wherein, described demons are deleted whole swap files and standby swap file when withdrawing from; The size of described swapace is the size of host memory; The memory device of described swap file and standby swap file comprises: host hard drive, portable hard drive or SSD.
According to an embodiment of device of the present invention, further, described swap file shift module is intercepted and captured the alert message of Insufficient disk space; When described alert message was the storage medium insufficient space at swap file place, described swap file shift module first activated described standby swap file, then forbids current swap file, and with current swap file deletion; When described alert message was not the storage medium insufficient space at swap file place, described swap file shift module was not processed this alert message, and this alert message is put back in system message queue.
According to an embodiment of device of the present invention, further, when described alert message was the storage medium insufficient space at swap file place, described swap file shift module first activated a standby swap file; Then described swap file shift module is selected a minimum swap file of current utilization rate, with this swap file forbidding, then with this swap file deletion.
An embodiment according to device of the present invention, further, when described alert message was the storage medium insufficient space at swap file place, described swap file shift module selected a minimum swap file of current utilization rate as the forbidding swap file, activates a standby swap file; Described swap file shift module arrives internal memory with the transfer of content in described forbidding swap file; When memory headroom was not enough, described swap file shift module was directly transferred to the content in described forbidding swap file in the standby swap file that is activated; After transfer of content in described forbidding swap file is complete, the described forbidding swap file of described swap file shift module deletion.
The class UNIX operating system of LiveX form of the present invention shifts the method and apparatus of swapace, with the swap file of swapace dynamic transfer to backup, utilize release and the transfer of file type swapace, solved to a certain extent the problem of Insufficient disk space, and can be at running background, solved unconsciously the problem of memory space inadequate the user, the user who has improved operating system experiences, and makes the method for using the Dynamic Acquisition swapace in the class UNIX operating system of LiveX form become more practical and convenience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, the below will do one to the accompanying drawing of required use in embodiment or description of the Prior Art and introduce simply, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram according to an embodiment of the method for the class UNIX operating system transfer swapace of LiveX form of the present invention;
Fig. 2 is the process flow diagram according to another embodiment of the method for the class UNIX operating system transfer swapace of LiveX form of the present invention;
Fig. 3 is the schematic diagram according to an embodiment of the device of the class UNIX operating system transfer swapace of LiveX form of the present invention.
Embodiment
With reference to the accompanying drawings the present invention is described more fully, exemplary embodiment of the present invention wherein is described.Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Class unix system (UNIX-like) refers to various traditional unix systems, Solaris such as FreeBSD, OpenBSD, SUN company, and various and traditional UNIX similar system, such as Minix, Linux, QNX etc., all considerably inherited the characteristic of original UNIX, many resemblances are arranged, and all observe to a certain extent the POSIX standard.
The class UNIX operating system, for example Linux, be a tree file system, root partition is exactly its root node, any catalogue, file all can hang over below root node.SWAP is exactly the virtual memory subregion under LINUX, and its effect is after physical memory uses, and disk space (namely SWAP subregion) is invented internal memory use.It is similar with the swap file effect of Windows system, but it is one section continuous disk space, and invisible to the user.Operating system also can some for a long time inactive program jump in virtual memory, reserve program and disk buffering that more main memory give to need.
The user uses the class UNIX operating system of LiveX form, usually there is no exchange partition.When the user need to use some larger application; for example draw, engineering design etc. software; if there is no enough internal memories; perhaps just can not move these large-scale softwares; solution is to mark a zone to be used as interim internal memory on hard disk; as the exchange partition of Linux, but exchange partition often the situation of memory space inadequate can occur.
Fig. 1 is the process flow diagram according to an embodiment of the method for the class UNIX operating system transfer swapace of LiveX form of the present invention.As shown in Figure 1:
Step 101 when the class UNIX operating system of operation LiveX form, creates swap file and standby swap file, and activates swap file.
Swap file and standby swap file are stored in different disk partition or memory device.
Step 102 when the insufficient space of the disk partition at swap file place or memory device, first activates the backup swap file, then forbid current swap file, deletes at last the swap file that this has been forbidden.
According to one embodiment of present invention, detection of stored equipment also judges the type of memory device, calculates the free space of memory device, determines size and the memory location of the swap file of required establishment, the dynamic creation swap file.
The dynamic creation swap file is required swapace is divided into a plurality of swap files, creates one by one and activate a plurality of swap files.And dynamic creation backup swap file will back up swapace and be divided into a plurality of backup swap files, create one by one but not activate a plurality of backup swap files.Adopt the running background mode to create file or activation.
According to one embodiment of present invention, after creating and activating swap file, start demons.When demons withdraw from, delete whole swap files and standby swap file.
In service in system, swapace is a no small expense, the disk partition at the swap file place of dynamic assignment may occur, has occurred the warning of memory space inadequate in the file operation process.
A kind of countermeasure of practicality is exactly swap file to be transferred in other possible storage space go in this case, but the complete copy of swap file is unnecessary, because in possible swap file, a lot of spaces are all idle or data lost efficacy, this work can be given the storage management of operating system itself and complete.
According to one embodiment of present invention, utilize the characteristic of operating system swapace, call the interface function of swapace forbidding, realize the transfer of content of swapace file to be deleted, new swap file of disk partition dynamic creation of insufficient space warning do not occur and with its activation, then former swap file forbidden at other, transferring to the operating system memory supervisory routine exchanging contents partly is transferred back to internal memory, as low memory, can automatically transfer in new swapace and go.
According to one embodiment of present invention, demons are a finger daemon in system, determine that Insufficient disk space warning comes from swap file place subregion, the method of implementing the dynamic transfer swapace need in the file type swapace to determine the content that shifts, the DLL (dynamic link library) of the swapace of call operation Installed System Memory supervisory routine forbidding is by the content that needs in the useful content of the autonomous judgement of this supervisory routine and this content to shift.
According to one embodiment of present invention, can use swapace Dynamic Acquisition program creation swap file or standby swap file, its priority is lower, at running background, completes backed off after random during startup.
According to one embodiment of present invention, the size of swapace is the size of host memory, and the memory device of swap file and standby swap file comprises: host hard drive, portable hard drive or SSD.SSD(solid state hard disc: Solid State Disk), adopt solid-state electronic storage chip array and the hard disk made, formed by control module and storage unit (FLASH chip, dram chip).
According to one embodiment of present invention, intercept and capture the alert message of Insufficient disk space.When alert message is the storage medium insufficient space at swap file place, forbid current swapace, activate and use standby swap file.
When alert message is not the storage medium insufficient space at swap file place, does not process this alert message, and this alert message is put back in system message queue.
According to one embodiment of present invention, when alert message is the storage medium insufficient space at swap file place, select a minimum swap file of current utilization rate as the forbidding swap file, activate a standby swap file, transfer of content in the forbidding swap file is arrived internal memory, when memory headroom was not enough, the content that will forbid in swap file was directly transferred in the standby swap file that is activated.After transfer of content in the forbidding swap file is complete, deletion forbidding swap file.
When if the disk partition at swap file place or the space of memory device are also not enough, as mentioned above, continue to select a minimum swap file of current utilization rate as the forbidding swap file, activate another standby swap file, carry out successively by above-mentioned step.
According to one embodiment of present invention, the storage medium of the class UNIX operating system of LiveX form is USB flash disk or flash memory, by the USB interface startup class UNIX operating system of main frame.USB interface is USB1.0 or USB2.0 interface.
Fig. 2 is the process flow diagram according to another embodiment of the method for the class UNIX operating system transfer swapace of LiveX form of the present invention.As shown in Figure 2:
Step 201 starts the class UNIX operating system of LiveX form, and moves.
Position and the size of swap file are searched for and calculated to step 202, detection of stored equipment, and the type of judgement memory device is calculated the free space calculations of memory device, determines size and the memory location of the swap file of required establishment.
Step 203 is divided into 5-10 part with required swapace size, creates one by one swap file in this position and activates.
Step 204, subregion or memory location that the same method search is new, and create one by one the backup swap file but do not activate as aforementioned decile mode.Required standby swapace size is divided into 5-10 part, creates one by one the backup swap file but do not activate.
Step 205 starts demons.
Step 206, demons are intercepted and captured the alert message of Insufficient disk space.
Step 207 judges whether alert message is the storage medium insufficient space at swap file place.If enter step 208, enter if not step 209.
Step 208 is not processed this alert message, and this alert message is put back in system message queue.
Step 209 activates a standby swapace.
Step 210 is selected the minimum swap file of current utilization rate, and first then forbidding deletes this swap file.Transfer of content in the forbidding swap file to internal memory, when memory headroom is not enough, is directly transferred to the content in swap file in the standby swap file that is activated.The complete rear deletion of transfer of content in swap file.
Step 211, when resident demons withdraw from, deletion swap file and standby swap file.
According to one embodiment of present invention, if calculate the swapace that will create the 2G size, that just is divided into 10 equal portions and creates, the swap file of each 200M of establishment also activates one by one, create equally the swap file of 10 200M in other position in addition but do not activate, if Insufficient disk space, activate the standby swap file of a 200M, the forbidding utilization rate minimum with swap file then with its deletion, disable procedures shifts content useful in disabled swap file by the call operation system, and efficient is the highest like this.
Fig. 3 is the schematic diagram according to an embodiment of the device of the class UNIX operating system transfer swapace of LiveX form of the present invention.As shown in Figure 3: the device 31 that the class UNIX operating system of LiveX form shifts swapace comprises: swap file creation module 311 and swap file shift module 312.
Swap file creation module 311 creates swap file and standby swap file, and activates swap file when the class UNIX operating system of operation LiveX form.Wherein, swap file and standby swap file are stored in different disk partition or memory device.Swap file shift module 312 activates and uses standby swap file when the insufficient space of the disk partition at swap file place or memory device, and the forbidding swap file.
According to one embodiment of present invention, swap file creation module 311 detection of stored equipment also judge the type of memory device, calculate the free space of memory device, determine size and the memory location of the swap file of required establishment, a plurality of swap files that the dynamic creation size is identical create and activate a plurality of swap files one by one.And the swap file creation module 311 identical a plurality of backup swap files of dynamic creation size create one by one but do not activate a plurality of backup swap files.Swap file creation module 311 adopts the running background mode to create file or activation.
According to one embodiment of present invention, after swap file creation module 311 created and activates swap file, swap file shift module 312 started demons.Wherein, when demons withdraw from, delete whole swap files and standby swap file.
According to one embodiment of present invention, swap file shift module 312 is intercepted and captured the alert message of Insufficient disk space.
When alert message was the storage medium insufficient space at swap file place, the swap file shift module 312 current swapaces of forbidding, activated and use standby swap file.
When alert message was not the storage medium insufficient space at swap file place, swap file shift module 312 was not processed this alert message, and this alert message is put back in system message queue.
According to one embodiment of present invention, when alert message was the storage medium insufficient space at swap file place, swap file shift module 312 selected a minimum swap file of current utilization rates as the forbidding swap file, activates a standby swap file.
The transfer of content that swap file shift module 312 will be forbidden in swap file arrives internal memory.When memory headroom was not enough, the content that will forbid in swap file of swap file shift module 312 was directly transferred in the standby swap file that is activated.After transfer of content in the forbidding swap file is complete, swap file shift module 312 deletion forbidding swap files.
the class UNIX operating system of LiveX form of the present invention shifts the method and apparatus of swapace, with the swap file of swapace dynamic transfer to backup, utilize release and the transfer of file type swapace, solved to a certain extent the problem of Insufficient disk space, and improved user's experience, make the method for using the Dynamic Acquisition swapace in the class UNIX operating system of LiveX form become more practical and convenience, and solved the problem of large memory requirements running software, make the Live system solve the restriction that only is used for that linux system is installed or direct experience Linux basic function is not installed.
Method of the present invention makes the class UNIX operating system of LiveX form the system of a practicality can be packaged into the Live system fully, can also move large-scale application program simultaneously.
May realize in many ways method and system of the present invention.For example, can realize method and system of the present invention by any combination of software, hardware, firmware or software, hardware, firmware.The said sequence that is used for the step of method is only in order to describe, and the step of method of the present invention is not limited to above specifically described order, unless otherwise specify.In addition, in certain embodiments, can be also the program that is recorded in recording medium with the invention process, these programs comprise be used to the machine readable instructions that realizes the method according to this invention.Thereby the present invention also covers the recording medium that storage is used for the program of execution the method according to this invention.
Description of the invention provides for example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is for better explanation principle of the present invention and practical application, thereby and makes those of ordinary skill in the art can understand the various embodiment with various modifications that the present invention's design is suitable for special-purpose.

Claims (10)

1. the class UNIX operating system of a LiveX form shifts the method for swapace, it is characterized in that, comprising:
When the class UNIX operating system of operation LiveX form, create swap file and standby swap file, and activate described swap file; Wherein, described swap file and standby swap file are stored in different disk partition or memory device;
When the insufficient space of the disk partition at described swap file place or memory device, activate and use described standby swap file, forbid and delete described swap file.
2. the method for claim 1 is characterized in that:
Detection of stored equipment also judges the type of memory device, calculate the free space of memory device, determine size and the memory location of the swap file of required establishment, the dynamic creation swap file, wherein, the size that described dynamic creation swap file is about to the swap file of required establishment is divided into a plurality of swap files, creates one by one and activate described a plurality of swap file;
Dynamic creation backup swap file, wherein, the size that described dynamic creation backup swap file is about to the swap file of required establishment is divided into a plurality of backup swap files, creates one by one described a plurality of backup swap file but does not all activate; Described swap file creation module adopts the running background mode to create file or activation.
3. method as claimed in claim 2 is characterized in that:
After creating and activating swap file, start demons;
When described demons withdraw from, delete whole swap files and standby swap file;
The size of described swapace is the size of host memory;
The memory device of described swap file and standby swap file comprises: host hard drive, portable hard drive or SSD.
4. method as claimed in claim 3 is characterized in that:
Intercept and capture the alert message of Insufficient disk space;
When described alert message is the storage medium insufficient space at swap file place, forbid current swapace, activate and use described standby swap file;
When described alert message is not the storage medium insufficient space at swap file place, does not process this alert message, and this alert message is put back in system message queue.
5. method as claimed in claim 4 is characterized in that:
When described alert message is the storage medium insufficient space at swap file place, select a minimum swap file of current utilization rate as the forbidding swap file, activate a standby swap file;
Transfer of content in described forbidding swap file is arrived internal memory; When memory headroom is not enough, the content in described forbidding swap file is directly transferred in the standby swap file that is activated;
After transfer of content in described forbidding swap file is complete, delete described forbidding swap file.
6. the class U NIX operating system of a LiveX form shifts the device of swapace, it is characterized in that, comprising:
The swap file creation module is used for creating swap file and standby swap file, and activating described swap file when the class UNIX operating system of operation LiveX form; Wherein, described swap file and standby swap file are stored in different disk partition or memory device;
The swap file shift module when being used for the insufficient space when the disk partition at described swap file place or memory device, activates and uses described standby swap file, forbids and delete described swap file.
7. device as claimed in claim 6 is characterized in that:
Described swap file creation module detection of stored equipment also judges the type of memory device, calculates the free space of memory device, determines size and the memory location of the swap file of required establishment, the dynamic creation swap file; Wherein, the size that described dynamic creation swap file is about to the swap file of required establishment is divided into a plurality of swap files, creates one by one and activate described a plurality of swap file;
Described swap file creation module dynamic creation backup swap file, wherein, the size that described dynamic creation backup swap file is about to the swap file of required establishment is divided into a plurality of backup swap files, creates one by one described a plurality of backup swap file but does not all activate;
Described swap file creation module adopts the running background mode to create file or activation.
8. device as claimed in claim 7 is characterized in that:
After described swap file creation module created and activates swap file, described swap file shift module started demons;
Wherein, when described demons withdraw from, delete whole swap files and standby swap file;
The size of described swapace is the size of host memory;
The memory device of described swap file and standby swap file comprises: host hard drive, portable hard drive or SSD.
9. device as claimed in claim 8 is characterized in that:
Described swap file shift module is intercepted and captured the alert message of Insufficient disk space;
When described alert message was the storage medium insufficient space at swap file place, the current swapace of described swap file shift module forbidding, activated and use described standby swap file;
When described alert message was not the storage medium insufficient space at swap file place, described swap file shift module was not processed this alert message, and this alert message is put back in system message queue.
10. device as claimed in claim 9 is characterized in that:
When described alert message was the storage medium insufficient space at swap file place, described swap file shift module selected a minimum swap file of current utilization rate as the forbidding swap file, activates a standby swap file;
Described swap file shift module arrives internal memory with the transfer of content in described forbidding swap file; When memory headroom was not enough, described swap file shift module was directly transferred to the content in described forbidding swap file in the standby swap file that is activated;
After transfer of content in described forbidding swap file is complete, the described forbidding swap file of described swap file shift module deletion.
CN201310049430.8A 2013-02-07 2013-02-07 The method and device of one kind UNIX operating system transfer swapace Expired - Fee Related CN103150211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310049430.8A CN103150211B (en) 2013-02-07 2013-02-07 The method and device of one kind UNIX operating system transfer swapace

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310049430.8A CN103150211B (en) 2013-02-07 2013-02-07 The method and device of one kind UNIX operating system transfer swapace

Publications (2)

Publication Number Publication Date
CN103150211A true CN103150211A (en) 2013-06-12
CN103150211B CN103150211B (en) 2016-10-12

Family

ID=48548309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310049430.8A Expired - Fee Related CN103150211B (en) 2013-02-07 2013-02-07 The method and device of one kind UNIX operating system transfer swapace

Country Status (1)

Country Link
CN (1) CN103150211B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815098A (en) * 2017-01-20 2017-06-09 杭州当虹科技有限公司 Setting backup and the method and system for recovering based on linux system
CN116719633A (en) * 2022-09-20 2023-09-08 荣耀终端有限公司 Method for managing memory exchange partition and electronic equipment
WO2024032194A1 (en) * 2022-08-08 2024-02-15 中兴通讯股份有限公司 Memory swapping processing method and apparatus, and storage medium and electronic apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5968170A (en) * 1997-04-23 1999-10-19 Advanced Micro Devices, Inc. Primary swap size increase on a UNIX based computer system
US6829693B2 (en) * 2001-02-28 2004-12-07 International Business Machines Corporation Auxiliary storage slot scavenger
CN101866677A (en) * 2009-04-20 2010-10-20 英业达股份有限公司 Memory using method
CN102333206A (en) * 2011-08-15 2012-01-25 杭州华三通信技术有限公司 Monitoring storage system and method for improving reliability of monitoring storage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5968170A (en) * 1997-04-23 1999-10-19 Advanced Micro Devices, Inc. Primary swap size increase on a UNIX based computer system
US6829693B2 (en) * 2001-02-28 2004-12-07 International Business Machines Corporation Auxiliary storage slot scavenger
CN101866677A (en) * 2009-04-20 2010-10-20 英业达股份有限公司 Memory using method
CN102333206A (en) * 2011-08-15 2012-01-25 杭州华三通信技术有限公司 Monitoring storage system and method for improving reliability of monitoring storage

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815098A (en) * 2017-01-20 2017-06-09 杭州当虹科技有限公司 Setting backup and the method and system for recovering based on linux system
CN106815098B (en) * 2017-01-20 2021-03-23 杭州当虹科技股份有限公司 Method and system for setting backup and recovery based on Linux system
WO2024032194A1 (en) * 2022-08-08 2024-02-15 中兴通讯股份有限公司 Memory swapping processing method and apparatus, and storage medium and electronic apparatus
CN116719633A (en) * 2022-09-20 2023-09-08 荣耀终端有限公司 Method for managing memory exchange partition and electronic equipment

Also Published As

Publication number Publication date
CN103150211B (en) 2016-10-12

Similar Documents

Publication Publication Date Title
KR102329762B1 (en) Electronic system with memory data protection mechanism and method of operation thereof
US8429745B1 (en) Systems and methods for data loss prevention on mobile computing systems
US8490086B1 (en) Filtering I/O communication of guest OS by inserting filter layer between hypervisor and VM and between hypervisor and devices
US9256612B1 (en) Systems and methods for managing references in deduplicating data systems
US9354907B1 (en) Optimized restore of virtual machine and virtual disk data
US9292371B1 (en) Systems and methods for preventing failures of nodes in clusters
CN101410905A (en) Method and device for reduced read latency of non-volatile memory
WO2014190806A1 (en) Application backup and restore
CN106919471A (en) For the method and system that snapshot is set up
US9710386B1 (en) Systems and methods for prefetching subsequent data segments in response to determining that requests for data originate from a sequential-access computing job
US20110307674A1 (en) Apparatus and method for synchronizing a snapshot image
CN106777394B (en) Cluster file system
CN103412822A (en) Operation method of non-volatile RAM, data operation method and relevant device
CN101620651A (en) Method and device for clearing data in computer
CN109669822A (en) The creation method and computer readable storage medium of electronic device, spare memory pool
US10191817B2 (en) Systems and methods for backing up large distributed scale-out data systems
US20140082275A1 (en) Server, host and method for reading base image through storage area network
CN103150211A (en) Method and device for transferring swap space to UNIX-like operation system
CN102025758B (en) Method, device and system for recovering data copy in distributed system
US20170031604A1 (en) Ssd with non-blocking flush command
CN102385486B (en) Method and device for penetrating and reducing disk and equipment
CN103150179A (en) Method and device for obtaining swap space in UNIX-like operation system
CN103176832B (en) One kind UNIX operating system runs method and the device of virtual opetrating system
US8972351B1 (en) Systems and methods for creating selective snapshots
CN107544834B (en) Mirror image file contraction method and device and machine-readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210512

Address after: 412000 solid preparation workshop, No.1 Suyu Road, Tianyuan District, Zhuzhou City, Hunan Province

Patentee after: Hunan Tianxiaweigong Information Technology Co.,Ltd.

Address before: 411300 Yongquan science and Technology Park, Shaoshan, Hunan Province

Patentee before: BAOLONG COMPUTER SYSTEMS (HUNAN) Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161012

Termination date: 20210207

CF01 Termination of patent right due to non-payment of annual fee