CN103150211B - The method and device of one kind UNIX operating system transfer swapace - Google Patents

The method and device of one kind UNIX operating system transfer swapace Download PDF

Info

Publication number
CN103150211B
CN103150211B CN201310049430.8A CN201310049430A CN103150211B CN 103150211 B CN103150211 B CN 103150211B CN 201310049430 A CN201310049430 A CN 201310049430A CN 103150211 B CN103150211 B CN 103150211B
Authority
CN
China
Prior art keywords
swap file
file
swap
standby
swapace
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310049430.8A
Other languages
Chinese (zh)
Other versions
CN103150211A (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

Abstract

The method and apparatus that the invention discloses the class UNIX operating system transfer swapace of a kind of LiveX form, dynamic creation swap file and standby swap file, and activate swap file, swap file and standby swap file and be stored in different disk partition or storage device.When the insufficient space of the disk partition at swap file place or storage device, first part activates standby swap file, and then part disables current swap file.Methods and apparatus of the present invention, swap file by swapace dynamic transfer to backup, utilize release and the transfer of file type swapace, the problem to some extent solving Insufficient disk space, and can be at running background, the problem solving memory space inadequate user unconsciously, improves the Consumer's Experience of operating system so that in the class UNIX operating system of LiveX form, the method for application dynamically acquisition swapace becomes more practical and convenient.

Description

The method and device of one kind UNIX operating system transfer swapace
Technical field
The present invention relates to class UNIX operating system technical field, particularly relating to a kind UNIX operation is The method and device of system transfer swapace.
Background technology
The operating system of LiveX form, such as LiveCD, refer to just to pass through CD without installing The operating system of self-starting.Some Linux release versions are designed to " LiveCD ", i.e. can be direct Guide the CD for available linux system.After getting up from CD boot, it is provided that a whole set of can use Instrument, some of which is general, and it is the most special for having some.Due to CD as carrier, Common LiveCD is in addition to basic operating system, all with application software.The maximum of LiveCD Benefit be without install.In the LiveX world, how with Linux as operating system, the most also have Based on other operating systems, such as FreeBSD, WindowsPE etc..LiveCD is to run to deposit in fact A storage system on CD is the same with running the system being stored in hard disk.
In addition to CD, the thought of LiveX has also extended on other carriers such as DVD, flash memory disk, just Define a lot of vocabulary such as LiveDVD, LiveUSB.LiveUSB is at flash memory or portable hard drive Deng storing operating system on other equipment, carried out the startup of operating system by USB interface.
But, when current LiveX form runs the startup of class UNIX operating system, main purpose is The installation of operating system and the most in advance experiencing system, so being not provided with swapace;If Use the method dynamically generating swap file, during running, the disk partition at swap file place During file operation, then the problem being likely to occur memory space inadequate.
Summary of the invention
In view of this, the technical problem that the invention solves the problems that is to provide the class of a kind of LiveX form The method of UNIX operating system transfer swapace, by the exchange literary composition of swapace dynamic transfer to backup Part.
A kind of method of the class UNIX operating system transfer swapace of LiveX form, including: When running the class UNIX operating system of 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 In disk partition or storage device;Disk partition or the sky of storage device when described swap file place Between not enough time, first activate and use described standby swap file, then disable and delete described exchange literary composition Part.
According to one embodiment of the method for the invention, further, detection storage device judgement are deposited The type of storage equipment, calculates the free space of storage device, determines the size of the swap file of required establishment And storage position, dynamic creation swap file, wherein, described dynamic creation swap file will be required The size of the swap file created is divided into multiple swap file, creates one by one and activates the plurality of exchange File;Further, dynamic creation backup swap file, wherein, described dynamic creation backup swap file is i.e. The size of the swap file of required establishment is divided into multiple backup swap file, creates the plurality of one by one Back up swap file but do not activate, use running background mode to carry out creating file or activation.
According to one embodiment of the method for the invention, further, creating and activating swap file After, start demons;Described demons, when exiting, delete whole swap file and standby Swap file;The size of described swapace is the size of host memory;Described swap file and standby The storage device of swap file includes: host hard drive, portable hard drive or SSD.
One embodiment of the method for the present invention, further, the warning intercepting and capturing Insufficient disk space disappears Breath;When the storage medium insufficient space that described alert message is swap file place, the most first activate one Standby swap file, then selects the swap file that currently used rate is minimum, is prohibited by this swap file With, then this swap file is deleted;When described alert message is not the storage medium at swap file place During insufficient space, the most do not process this alert message, and this alert message is put back in system message queue.
The technical problem that the invention solves the problems that is to provide the class U NIX operation of a kind of LiveX form The device of system transfer swapace, by the swap file of swapace dynamic transfer to backup.
A kind of device of the class UNIX operating system transfer swapace of LiveX form, including: hand over Change file creation module, for when running the class UNIX operating system of LiveX form, create and hand over Exchange of notes part and standby swap file, and activate described swap file;Wherein, described swap file and standby It is stored in different disk partition or storage device with swap file;Swap file shift module, uses When the insufficient space of the disk partition at described swap file place or storage device, first activate and make With described standby swap file, then disable and delete described swap file.
An embodiment according to assembly of the invention, further, described swap file creation module Detect storage device and judge the type of storage device, calculating the free space of storage device, determining required Create swap file size and storage position, dynamic creation swap file, wherein, described dynamically Create swap file and the size of the required swap file created will be divided into multiple swap file, create one by one Build and activate the plurality of swap file;Dynamic creation backup swap file, wherein, described dynamic creation Backup swap file the size of the required swap file created will be divided into multiple backup swap file, by One create the plurality of backup swap file but do not activate;Described swap file creation module uses backstage The method of operation carries out creating file or activation.
An embodiment according to assembly of the invention, further, creates mould at described swap file After block creates and activates swap file, described swap file shift module starts demons;Wherein, Described demons, when exiting, delete whole swap files and standby swap file;Described exchange The size in space is the size of host memory;The storage device bag of described swap file and standby swap file Include: host hard drive, portable hard drive or SSD.
An embodiment according to assembly of the invention, further, described swap file shift module Intercept and capture the alert message of Insufficient disk space;When the storage medium that described alert message is swap file place During insufficient space, the most described swap file shift module first activates described standby swap file, then prohibits Use current swap file, and current swap file is deleted;When described alert message is not swap file institute Storage medium insufficient space time, the most described swap file shift module does not process this alert message, and This alert message is put back in system message queue.
An embodiment according to assembly of the invention, further, when described alert message is exchange During the storage medium insufficient space at file place, described swap file shift module first activates a standby friendship Exchange of notes part;The most described swap file shift module selects the swap file that currently used rate is minimum, This swap file is disabled, then this swap file is deleted.
An embodiment according to assembly of the invention, further, when described alert message is exchange During the storage medium insufficient space at file place, described swap file shift module selects currently used rate A low swap file, as disabling swap file, activates a standby swap file;Described exchange literary composition Content in described disabling swap file is transferred to internal memory by part shift module;When memory headroom deficiency, Content in described disabling swap file is transferred directly to be activated by the most described swap file shift module In standby swap file;After content transfer in described disabling swap file, described swap file Shift module deletes described disabling swap file.
The method of the class UNIX operating system transfer swapace of the LiveX form of the present invention and dress Put, by swapace dynamic transfer to backup swap file, utilize file type swapace release and Transfer, the problem to some extent solving Insufficient disk space, it is possible at running background, with Family solves the problem of memory space inadequate unconsciously, improves the Consumer's Experience of operating system, makes The method dynamically obtaining swapace must be applied in the class UNIX operating system of LiveX form to become more Add practicality and convenience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is only some embodiments of the present invention, comes for those of ordinary skill in the art Say, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
Fig. 1 is the class UNIX operating system transfer swapace of the LiveX form according to the present invention The flow chart of one embodiment of method;
Fig. 2 is the class UNIX operating system transfer swapace of the LiveX form according to the present invention The flow chart of another embodiment of method;
Fig. 3 is the class UNIX operating system transfer swapace of the LiveX form according to the present invention The schematic diagram of one embodiment of device.
Detailed description of the invention
With reference to the accompanying drawings the present invention is described more fully, the exemplary reality of the present invention is wherein described Execute example.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 entered Row clearly and completely describes, it is clear that described embodiment is only a part of embodiment of the present invention, Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having Make the every other embodiment obtained under creative work premise, broadly fall into the model of present invention protection Enclose.
Class unix system (UNIX-like) refers to various traditional unix system, such as FreeBSD, The Solaris of OpenBSD, SUN company, and various and traditional system similar for UNIX, such as Minix, Linux, QNX etc., the most considerably inherit the characteristic of original UNIX, has many similar Place, and observe POSIX specification the most to a certain extent.
Class UNIX operating system, such as Linux, be a tree file system, and root partition is exactly it Root node, any catalogue, file all can hang over below root node.SWAP is exactly under LINUX Virtual memory subregion, its effect is after physical memory makes to be finished, by disk space (namely SWAP subregion) invent internal memory and use.It is similar with the swap file effect of Windows system, But it is one section of continuous print disk space, and invisible to user.Operating system can also be one The most inactive a little programs are transferred in virtual memory, reserve more main memory to the program needed And disk buffering.
User uses the class UNIX operating system of LiveX form, usually not exchange partition.When with Family needs to use the application that some are bigger, such as drawing, engineering design etc. software, without Perhaps, enough internal memories, cannot run these large-scale softwares, and solution is to mark on hard disk One region is come as interim internal memory, and as the exchange partition of Linux, but exchange partition often goes out The situation of existing memory space inadequate.
Fig. 1 is the class UNIX operating system transfer swapace of the LiveX form according to the present invention The flow chart of one embodiment of method.As shown in Figure 1:
Step 101, when running the class UNIX operating system of LiveX form, creates swap file With standby swap file, and activate swap file.
Swap file and standby swap file are stored in different disk partition or storage device.
Step 102, when the insufficient space of the disk partition at swap file place or storage device, first swashs Live and back up swap file, then disable current swap file, finally delete this swap file that have disabled.
According to one embodiment of present invention, detect storage device and judge the type of storage device, meter Calculate the free space of storage device, determine size and the storage position of the swap file of required establishment, dynamic State creates swap file.
Dynamic creation swap file is and required swapace is divided into multiple swap file, creates one by one Build and activate multiple swap file.Further, dynamic creation backup swap file, will back up swapace etc. It is divided into multiple backup swap file, creates one by one but do not activate multiple backup swap file.Use backstage The method of operation carries out creating file or activation.
According to one embodiment of present invention, after creating and activating swap file, start and guard journey Sequence.When demons exit, delete whole swap files and standby swap file.
In system is run, swapace is a no small expense, in fact it could happen that the dynamically exchange of distribution The disk partition at file place, occurs in that the warning of memory space inadequate during file operation.
The countermeasure of a kind of practicality is exactly that swap file is transferred to other possible storage In space, but the complete copy of swap file is unnecessary, because a lot of empty in possible swap file Between be all idle or data are to lose efficacy, this work can be given the storage management of operating system Itself completes.
According to one embodiment of present invention, utilize the characteristic of operating system swapace, call exchange sky Between disabling interface function, it is achieved swapace file to be deleted content transfer, at other, sky does not occurs Between one new swap file of disk partition dynamic creation of not enough warning being activated, then to former friendship Exchange of notes part disables, and transfers to operating system memory management program that exchanging contents part is transferred back to internal memory, Such as low memory, then can be automatically transferred in new swapace.
According to one embodiment of present invention, demons are a finger daemon in system, determine Insufficient disk space warning comes from swap file place subregion, then implement the side of dynamic transfer swapace Method determines the content needing transfer in file type swapace, the friendship of call operation Installed System Memory management program Change the DLL of space disabling, this management program independently judge useful content and this content need The content of transfer.
According to one embodiment of present invention, it is possible to use swapace dynamically obtains program creation exchange File or standby swap file, its priority is relatively low, at running background during startup, completes backed off after random.
According to one embodiment of present invention, the size of swapace is the size of host memory, exchange The storage device of file and standby swap file includes: host hard drive, portable hard drive or SSD.SSD (solid state hard disc: Solid State Disk), use solid-state electronic storage chip array and make hard Dish, is made up of control unit and memory element (FLASH chip, dram chip).
According to one embodiment of present invention, the alert message of Insufficient disk space is intercepted and captured.Work as alert message During for the storage medium insufficient space at swap file place, then disable current swapace, activate and use Standby swap file.
When the storage medium insufficient space that alert message is not swap file place, the most do not process this warning Message, and this alert message is put back in system message queue.
According to one embodiment of present invention, when the storage medium space that alert message is swap file place Time not enough, select the swap file that currently used rate is minimum as disabling swap file, activate one Standby swap file, transfers to internal memory by the content in disabling swap file, when memory headroom deficiency, Then the content in disabling swap file is transferred directly in the standby swap file being activated.Hand in disabling After content transfer in exchange of notes part, delete disabling swap file.
If the space of the disk partition at swap file place or storage device is also not enough, the most as above institute State, continue to select the minimum swap file of currently used rate as disabling swap file, activate another Individual standby swap file, is carried out successively by above-mentioned step.
According to one embodiment of present invention, the storage of the class UNIX operating system of LiveX form is situated between Matter is USB flash disk or flash memory, starts class UNIX operating system by the USB interface of main frame.USB interface For USB1.0 or USB2.0 interface.
Fig. 2 is the class UNIX operating system transfer swapace of the LiveX form according to the present invention The flow chart of another embodiment of method.As shown in Figure 2:
Step 201, starts the class UNIX operating system of LiveX form, and runs.
Step 202, searches for and calculates position and the size of swap file, detects storage device, it is judged that The type of storage device, calculates the free space calculations of storage device, determines the swap file of required establishment Size and storage position.
Step 203, is divided into 5-10 part by required swapace size, creates exchange literary composition one by one in this position Part also activates.
Step 204, same method searches for new subregion or storage position, and such as aforementioned decile mode is created one by one Build backup swap file but do not activate.Required standby swapace size is divided into 5-10 part, creates one by one Build backup swap file but do not activate.
Step 205, starts demons.
Step 206, demons intercept and capture the alert message of Insufficient disk space.
Step 207, it is judged that whether alert message is the storage medium insufficient space at swap file place.As Fruit is to enter step 208, enters step 209 if not.
Step 208, does not process this alert message, and is put back in system message queue by this alert message.
Step 209, activates one piece of standby swapace.
Step 210, selects the swap file that currently used rate is minimum, first disables and then deletes this exchange literary composition Part.Content in disabling swap file is transferred to internal memory, when memory headroom deficiency, then will exchange literary composition Content in part is transferred directly in the standby swap file being activated.Content transfer in swap file After delete.
Step 211, when resident demons exit, deletes swap file and standby swap file.
According to one embodiment of present invention, if calculating the swapace of 2G size to be created, that Just it is divided into 10 equal portions to create, creates the swap file of 200M every time and activate one by one, additionally at other Position creates the swap file of 10 200M equally but does not activates, if Insufficient disk space, activates one The standby swap file of individual 200M, disables minimum then being deleted with swap file of a utilization rate Removing, disabling process is shifted content useful in disabled swap file by call operation system, so imitates Rate is the highest.
Fig. 3 is the class UNIX operating system transfer swapace of the LiveX form according to the present invention The schematic diagram of one embodiment of device.As shown in Figure 3: the class UNIX operating system of LiveX form The device 31 of transfer swapace includes: swap file creation module 311 and swap file transfer mould Block 312.
Swap file creation module 311, when running the class UNIX operating system of LiveX form, is created Build swap file and standby swap file, and activate swap file.Wherein, swap file and standby friendship Exchange of notes part is stored in different disk partition or storage device.Swap file shift module 312 is when handing over During the insufficient space of the disk partition at exchange of notes part place or storage device, activate and use standby exchange literary composition Part, and disable swap file.
According to one embodiment of present invention, swap file creation module 311 detects storage device and sentences The type of disconnected storage device, calculates the free space of storage device, determines the swap file of required establishment Size and storage position, multiple swap files that dynamic creation size is identical, create one by one and activate many Individual swap file.Further, multiple backups that swap file creation module 311 dynamic creation size is identical are handed over Exchange of notes part, creates one by one but does not activate multiple backup swap file.Swap file creation module 311 is adopted Carry out creating file or activation by running background mode.
According to one embodiment of present invention, create in swap file creation module 311 and activate exchange After file, swap file shift module 312 starts demons.Wherein, exit at demons Time, delete whole swap files and standby swap file.
According to one embodiment of present invention, swap file shift module 312 intercepts and captures Insufficient disk space Alert message.
When the storage medium insufficient space that alert message is swap file place, then swap file transfer mould Block 312 disables current swapace, activates and use standby swap file.
When the storage medium insufficient space that alert message is not swap file place, then swap file transfer Module 312 does not process this alert message, and is put back in system message queue by this alert message.
According to one embodiment of present invention, when the storage medium space that alert message is swap file place Time not enough, swap file shift module 312 selects a swap file that currently used rate is minimum as taboo With swap file, activate a standby swap file.
Content in disabling swap file is transferred to internal memory by swap file shift module 312.Empty at internal memory Between not enough time, then swap file shift module 312 content in disabling swap file is transferred directly to by In the standby swap file activated.After content transfer in disabling swap file, swap file turns Shifting formwork block 312 deletes disabling swap file.
The method of the class UNIX operating system transfer swapace of the LiveX form of the present invention and dress Put, by swapace dynamic transfer to backup swap file, utilize file type swapace release and Transfer, the problem to some extent solving Insufficient disk space, and improve the experience of user, make The method dynamically obtaining swapace must be applied in the class UNIX operating system of LiveX form to become more Add practicality and convenience, and the problem solving big memory requirements running software so that Live system solves It is only used for linux system being installed or the restriction directly experiencing Linux basic function not being installed.
The method of the present invention makes the class UNIX operating system of LiveX form completely can be by a practicality System be packaged into Live system, large-scale application program can also be run simultaneously.
The method and system of the present invention may be achieved in many ways.Such as, software, hard can be passed through Part, firmware or software, hardware, any combination of firmware realize the method and system of the present invention. For the said sequence of step of method merely to illustrate, the step of the method for the present invention does not limits In order described in detail above, unless specifically stated otherwise.Additionally, in some embodiments In, the present invention also can be embodied as the program recorded in the recording medium, these programs include for reality The machine readable instructions of existing the method according to the invention.Thus, the present invention also covers storage for performing The record medium of the program of the method according to the invention.
Description of the invention in order to example and describe for the sake of and be given, and be not exhaustively or It limit the invention to disclosed form.Many modifications and variations are for those of ordinary skill in the art Speech is obvious.Selecting and describing embodiment is in order to the principle of the present invention and actual application are more preferably described, And make those of ordinary skill in the art it will be appreciated that the present invention thus design be suitable to special-purpose with The various embodiments of various amendments.

Claims (8)

1. a method for the class UNIX operating system transfer swapace of LiveX form, it is special Levy and be, including:
When running the class UNIX operating system of LiveX form, create swap file and standby exchange File, and activate described swap file;Wherein, described swap file and standby swap file are stored in In different disk partition or storage device;
When the insufficient space of the disk partition at described swap file place or storage device, activate and make With described standby swap file, disable and delete described swap file;
Detect storage device and judge the type of storage device, calculating the free space of storage device, determine The size of the required swap file created and storage position, dynamic creation swap file, wherein, described Dynamic creation swap file the size of the required swap file created will be divided into multiple swap file, by One creates and activates the plurality of swap file;
Dynamic creation backup swap file, wherein, described dynamic creation backup swap file will required wound The size of the backup swap file built is divided into multiple backup swap file, creates the plurality of backup one by one Swap file but do not activate.
2. the method for claim 1, it is characterised in that:
After creating and activating swap file, start demons;
When described demons exit, delete whole swap files and standby swap file;
The size of described swapace is the size of host memory;
The storage device of described swap file and standby swap file includes: host hard drive, portable hard drive or SSD。
3. method as claimed in claim 2, it is characterised in that:
Intercept and capture the alert message of Insufficient disk space;
When the storage medium insufficient space that described alert message is swap file place, then disabling is current hands over Change space, activate and use described standby swap file;
When the storage medium insufficient space that described alert message is not swap file place, the most do not process this Alert message, and this alert message is put back in system message queue.
4. method as claimed in claim 3, it is characterised in that:
When the storage medium insufficient space that described alert message is swap file place, select currently used The minimum swap file of rate, as disabling swap file, activates a standby swap file;
Content in described disabling swap file is transferred to internal memory;When memory headroom deficiency, then by institute The content stated in disabling swap file is transferred directly in the standby swap file being activated;
After content transfer in described disabling swap file, delete described disabling swap file.
5. a device for the class UNIX operating system transfer swapace of LiveX form, its feature It is, including:
Swap file creation module, is used for when running the class UNIX operating system of LiveX form, Create swap file and standby swap file, and activate described swap file;Wherein, described exchange literary composition Part and standby swap file are stored in different disk partition or storage device;
Swap file shift module, is used for the disk partition when described swap file place or storage device Insufficient space time, activate and use described standby swap file, disable and delete described exchange literary composition Part;
Described swap file creation module detects storage device and judges the type of storage device, calculates storage The free space of equipment, determines size and storage position, the dynamic creation of the swap file of required establishment Swap file;Wherein, described dynamic creation swap file will the size etc. of the required swap file created It is divided into multiple swap file, creates one by one and activate the plurality of swap file;
Described swap file creation module dynamic creation backup swap file, wherein, described dynamic creation is standby The size of the backup swap file that part swap file will required create is divided into multiple backup swap file, Create the plurality of backup swap file one by one but do not activate;
Described swap file creation module uses running background mode to carry out creating file or activation.
6. device as claimed in claim 5, it is characterised in that:
After described swap file creation module creates and activates swap file, described swap file shifts Module starts demons;
Wherein, when described demons exit, delete whole swap files and standby exchange literary composition Part;
The size of described swapace is the size of host memory;
The storage device of described swap file and standby swap file includes: host hard drive, portable hard drive or SSD。
7. device as claimed in claim 6, it is characterised in that:
Described swap file shift module intercepts and captures the alert message of Insufficient disk space;
When the storage medium insufficient space that described alert message is swap file place, the most described exchange literary composition Part shift module disables current swapace, activates and use described standby swap file;
When the storage medium insufficient space that described alert message is not swap file place, the most described exchange File shift module does not process this alert message, and is put back in system message queue by this alert message.
8. device as claimed in claim 7, it is characterised in that:
When the storage medium insufficient space that described alert message is swap file place, described swap file Shift module selects the minimum swap file of currently used rate as disabling swap file, activates one Standby swap file;
Content in described disabling swap file is transferred to internal memory by described swap file shift module;Including When depositing insufficient space, the most described swap file shift module is by direct for the content in described disabling swap file Transfer in the standby swap file being activated;
After content transfer in described disabling swap file, described swap file shift module is deleted Described disabling swap file.
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 CN103150211A (en) 2013-06-12
CN103150211B true 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)

Families Citing this family (3)

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

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

Also Published As

Publication number Publication date
CN103150211A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN100397369C (en) Apparatus and method for protecting system data on computer hard-disk
US10049004B2 (en) Electronic system with memory data protection mechanism and method of operation thereof
CN106354670A (en) Method and apparatus for transmitting data in virtual environment
CN102981944B (en) A kind of log storing method based on file system
CN103150211B (en) The method and device of one kind UNIX operating system transfer swapace
GB0514529D0 (en) Virtualisation engine and method, system, and computer program product for managing the storage of data
CN105024879A (en) Virtual machine fault detection and recovery system and virtual machine detection, recovery and starting method
CN103516736A (en) Data recovery method of distributed cache system and a data recovery device of distributed cache system
JP2013545207A5 (en)
CN109669822A (en) The creation method and computer readable storage medium of electronic device, spare memory pool
CN103412822A (en) Operation method of non-volatile RAM, data operation method and relevant device
WO2023109015A1 (en) Container application scheduling method and apparatus, electronic device and storage medium
TW201435568A (en) Control device and computer program product
CN103218305B (en) The distribution method of memory space
CN109656895A (en) Distributed memory system, method for writing data, device and storage medium
CN109032839A (en) A kind of cloud host backup method and device
CN105893185A (en) Data backup method and device
CN103150179B (en) One species UNIX operating system obtains the method and device of swapace
CN106933493A (en) Method and apparatus for caching disk array dilatation
JP2005539322A5 (en)
CN102025758B (en) Method, device and system for recovering data copy in distributed system
CN104346194A (en) Method, device and electronic equipment for starting file loading
CN105005517B (en) The storage and backup system and method for call center's recording file
CN103544097B (en) The log storing method of embedded system, system and log read method and system
CN102385486B (en) Method and device for penetrating and reducing disk and equipment

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
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.

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

Granted publication date: 20161012

Termination date: 20210207