Give a little advice to the friends who toss RAMDisk.

Source: Internet
Author: User

What is RAMDisk, I'm afraid I don't need to say that we all know. As for the advantages of RAMDisk, Baidu you can see because Ramsik has a fast read and write speed so "temporary files can speed up", "Install software can be opened seconds" and so on various optimization methods, more sharp speech also think that using RAMDisk can prolong the life time, protect the hard disk and so on " Advanced Applications "

Here I think the first to come up with a longer battery life, for the BT download to protect the hard drive is really a bunker, even such magical features can be developed. My admiration for you is like surging river water, endless ...


I was also a keen to toss ramdisk people, and this toss, is a few years (I will tell you I started from the ramdisk7 to toss it) has a lot of experience, so now write to share with you ~


First and foremost, and if so, you can leave this page. That is, if you are not rich second generation and busy to burn money to play or want to experience the pleasure of the second open from the high people, then I suggest you, no matter what you installed RAMDisk, unloading it!

What the? You say you're a 32-bit system and you can't use high memory? Then why don't you upgrade the 64-bit ...


Then let me tell you my reasons.
In fact, RAMDisk is nothing more than two mainstream usage
One is to put temporary files, the use of such methods is to avoid the Internet, daily use of software temporary file read and write, put it ramdisk to reduce physical disk IO, while accelerating the role of file writing
Another is the second open, that is, the software, as well as the software commonly used directory in the RAMDisk. The goal is to dramatically increase the speed at which software is turned on.
Although both can see the immediate effect, but the second to improve the speed of opening, butdo not improve the performance of actual useOf But if you like the thrill of being immersed in seconds, it's just like the so-called "boot speed," it doesn't make much sense, andSuperFetchitself can greatly improve the startup speed of common software when the memory is sufficient, but the memory disk setting appears superfluous. and put temporary documents, this is a matter of opinion, I think the temporary file is not worth, one effect and no second obvious, and the temporary disk is too small prone to problems, too big will make available memory, but will make the actual performance degradation, Sunline actual use of temporary files often not so much, Most of the time the memory disk is still idle, this part of the idle is not as good as the system SuperFetch to the cost. Besides, you think the systemwrite-Back cachingWhat does the mechanism do for you?

And, but now the price of memory is more cabbage, you think it is cheap SSD? Or is the memory cheap?

As for the RAMDisk can reduce the power consumption by reducing the access to the hard drive to prolong the battery life, dare I ask you in the end test did not rely on the way, how long can be extended?
And that what to download BT to protect the hard drive, I do not bother to spit groove, you see To do it ...

If youresolutely do not adoptThis advice, should not use RAMDisk, then see below

In the sense that it is not necessary to use RAMDisk, I would advise you to master the use of Mklink to build the connector between the files, which will play a huge role in the use of RAMDisk. Of course, if you are too lazy to remember those commands, consider using the "Link Shell Extension" software, and he can do the same. As to the use of this command, I will explain it slowly (see 3l).

Then, let me talk about my views on common RAMDisk.
Primo RAMDisk
If you are going to try to play with RAMDisk in a short time, then I highly recommend you to use him. The reason for this is 1. Default trial 30th, bring it to play just right. 2. Outstanding function, dynamic memory allocation is particularly suitable for the use of temporary file disk, a variety of shutdown write method not only to ensure that the second open application normal use, will not cause too long shutdown time, delay loading can avoid the boot time due to read RAMDisk stored in the hard disk data and slow down ... I won't say the rest, save it as an advertisement, if it's true.justTake Ramsisk.Try Fresh, is absolutelyThe best choice is not one。

Superspeed RAMDisk Plus
Said this does not say with the company castrated version RAMDisk, anyway is just a castration product. This RAMDisk personal view is the most trustworthy (not absolutely credible, absolutely believable only for your second hard drive!). ) function is not outstanding, but classic stable, can be said to be the best stability ramdisk, so if you chooselong-term use, then the SuperSpeed isBest Choice, one has a perfect crack (10.0 version) although the old point, but in fact, there is no problem, and absolutely meet the needs of all types of obsessive-compulsive patients. And come to have all the functions have, not add the function is almost to ensure stability and not add. (Do you really think that dynamic memory is OK, one of the most obvious case is that if there is a large memory load, if there are new temporary files written, then ... )

Buffalo RAMDisk
Can be said to be a very good ramdisk, but the two major shortcomings let me think he is not worthy of recommendation. The most notable drawback is that NTFS is not supported, so, according to my previous recommendation, which is not supported by the junction feature, then this reason alone is enough for me to not recommend it. Another bad thing is that you can only build a disk (maybe I am out, because it has not been a long time, if wrong, please shoot bricks) ... But he also has the advantage that the RAMDisk part of the memory will be "hardware reserved" to allow the system to reduce the maximum available memory, to avoid the system in the unexpected behavior of low memory

QSoft RAMDisk
Another powerful, stability is also good ramdisk, but you do a friendly interface will be dead AH?! To fully understand those settings also have to read those long documents specifically, can not hurt AH hurt! In addition, there are no special shortcomings. If you have enough confidence in your understanding, patience, and technology, then use this version of RAMDisk

Gavotte RAMDisk
The disadvantage and Buffalo similar, the default does not support NTFS (remember the words as if can be forcibly created by special method), as to the advantages ... What is his merit?

There are many other ramdisk, I do not say come over, anyway are similar, nothing special characteristics.
As for performance, in addition to some of the design of the special failure of the unknown works, in fact, it is not very meaningful, you think the memory disk of this continuous reading and writing 500m version, 4k random 200m above the read and write speed of a little change (even if faster) you can feel it?

then I started to explain why I had to understand the Mklink command. This command can do what I do not bother to copy from the Internet, Baidu-related content to understand, using the NTFS file system junction features can be very good to avoid modifying the environment variables caused by the potential instability factors (a typical example is the modification After the user temp variable,the Office series Software may have an environment variable error in special circumstances, although it can be repaired by registry modification, but it is more cumbersome. can also avoid the installation of the software in seconds because of special reasons such as power loss of memory disk information is lost and can not use the software (if put seconds to open software, is generally the most commonly used software, if this happens, then the consequences ...) )。 In addition, a software, regardless of the frequency of use, there is always a part of the content is not commonly used or need RAMDisk to accelerate, this feature can be used to transfer this part of the file to the physical disk to reduce memory disk consumption, Use good steel on the blade.

Whether you are ready to use temporary files or are ready to install the software, direct the directory directly to RAMDisk is definitely the worst choice, not one, because RAMDisk 's volatile nature determines that in the event of an accident, Then all the data must be irreversible loss, which is different from hard disk data loss, whether it is software, or professional firms, even God can not recover. So although this approach may be used in general use is very good and smooth, but there is a one-time catastrophic risk. Of course you can reduce the risk of data loss by means of backup (just the loss can really be repaired with data recovery) but even so, if something goes wrong, it's definitely impossible to get back to work quickly. And, in case the memory disk of the software itself fails (that is not your antivirus software that day smoked it). It's not enough to just back up the data.

However, if you useJunctionfeature, by backing up and establishing a two-tier connection, you can quickly resume working status in the case of an existing backup (the simplest way is to delete the original connector, create a new connector to point to the backup directory restart) on the other hand, use the directory Connector to install theRAMDisk Software, in general, can be moved perfectly to the physical disk at any time without the failure of directory changes (except for the few software that directly uses the destination address). The way to build a link is not much to say, to establish a mapping for such a way

That is, the entire Ramdisk map is a staging directory on the physical disk, such as mapping Ramdisk (Z:) to a folder of "C:\Ramdisk", where the directory in "Z:\" is mapped for a directory in "C:\Ramdisk" because of the connector's relationship (such as "z:\ Firefox "Maps to" C:\Ramdisk\Firefox "accesses" C:\Ramdisk\Firefox "at this point," Z:\Firefox ") and then maps the folders in the staging directory to" C:\Program files\ Firefox "now running Firefox will read in" C:\Program Files\firefox ", then the relationship between the directory Connector jump to" C:\Ramdisk\Firefox ", and finally back to" Z:\Firefox "

In particular, it is recommended that you change the temporary file directory by mapping instead of modifying the environment variable, which avoids the temporary environment variable being caused by multiple changes (or special circumstances) of the temporary environment variable.

this way, in the case of normal use, AccessProgram Filesin theRAMDiskcan jump to a memory disk with two connectors, and whenRAMDiskpoint to change the transition directory when a failure occurs (full effect required restart)
That is, when the Ramdisk fails to access the data, there is a Ramdisk backup directory in the C drive (e.g. "C:\Ramdisk backup"), deleting the "C:\Ramdisk"Directory Connector, establish athe newThe "C:\Ramdisk" connector points to "C:\Ramdisk Backup", at which point running Firefox reads "C:\Program files\firefox" and then jumps from the directory Connector to "C:\Ramdisk\Firefox" , and finally back to "C:\Ramdisk Backup" instead of "Z:\Firefox" to avoid the Ramdisk failure caused by the second in the Ramdisk to open the software does not start

(of course you can not use the transition directory, but that would require a subdirectory to change, the operation is more complex)
at this point, although the file access in the backup directory is much slower thanRAMDisk, but the fastest way to get back to normal use state, and what you need to do is to recoverRAMDiskand then change the staging directory to a point ofRAMDiskcan quickly revert toRAMDiskThe state of the former is present.

In my opinion, this kind of mapping is the best way to ensure the stability and efficiency of the system, which can avoid unnecessary system crashes due to memory disk failure.

Give a little advice to the friends who toss RAMDisk.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.