Ramdisk-memory disk usage

Source: Internet
Author: User
Tags temporary ftp server disk usage
Today, Kingston's 1g memory stick is ready. In addition to the original 1.5 m memory, a total of GB memory is allocated, and MB is used as the virtual hard disk. The swap files, temporary system files, and temporary webpage files are all placed on it.
It's really cool. It's faster to open files and browse the Internet, especially for memory-consuming software such as Photoshop, which is less likely to read hard disks. Previously used in this document
Google Earth always has a very bad feeling, and now it feels very smooth, and the added memory is really too high.
Next I will refer to an article on ramdisk usage. Original: http://bbs.et8.net/bbs/showthread.php? T = 527992
With the rapid development of computer hardware, people's computer hardware configuration is becoming more and more powerful, especially the memory is getting bigger and bigger, more and more computers with M memory, even some personal users have 2 GB of computer memory, which makes it possible to replace hard disk with memory.
To
Previously, the memory of ordinary computers was very small, while the disk capacity was much larger than the memory, and the price was far lower than the memory, so the operating system used the space on the hard disk to simulate the memory, this is the virtual memory, and the current computer,
For ordinary users, if they do not carry out a large number of plane or three-dimensional design, that is to say, they do not often use photoshop Or 3dmax software that requires a large amount of memory, MB of memory is enough.
And most of the time there is a large amount of memory will be idle, so many people began to use the memory to simulate the hard disk to make full use of computer resources, this is the memory disk ramdisk.
The memory virtual hard disk corresponds to the virtual memory, that is, the operating system draws a part of the memory to simulate the hard disk, so that the operation on the slow hard disk can be converted to the operation on the high-speed memory, it not only improves the utilization of system resources, but also greatly improves the system operation efficiency.
Because the system memory access speed is much faster than the hardware disk speed, for applications with frequent disk access (such as database programs, disk file exchanges, and website service programs ), ramdisk can effectively improve the performance of its applications. Another advantage of a memory disk is that it does not wear the head, which is especially suitable for disk operations with multithreading and high throughput.

There are a lot of software that can implement the functions of the memory disk, the more famous are:
1.
The ramdisk XP, ramdisknt, and ramdisk9x/Me Of cenatek have complete functions
Can run on WINNT, Win2k/XP, can simulate a soft drive, or can simulate a hard disk, but now cenatek has not sold ramdisknt and
Ramdisk9x/me does not provide technical support. You can go to cenatek's website http://www.jlajoie.com/#for more information.

2. ramdisk products of superspeed, ramdisk 2003, ramdisk XP, ramdisk 2000,
Ramdisk nt and superspeed products are suitable for enterprise users and are not suitable for individual users who may change operating systems frequently. For more information, see
Http://www.superspeed.com/ramdisk.html.
3.
Microsoft's ramdisk has many limitations. The virtual disk cannot exceed 32 MB. It is free of charge and supports windows
2000, which can be downloaded from the following URL. Http://support.microsoft.com/default.aspx? SCID = http:
// Support.microsoft.com: 80/support/KB/articles/q257/4/05.asp& nowebcontent = 1 & nowebcontent = 1

4. The ramdisk of qsoft has a free version and a paid version, which is rewritten according to Microsoft's ramdisk. The free version supports a maximum of 32 MB memory disks. The paid version does not have this limit. Http://www.ramdisk.tk/
5. ramdisk developed by gavotte is also rewritten from Microsoft's ramdisk and is completely free of charge. It supports Windows 2000 or more operating systems. There is no limit on the memory disk capacity. It has been used by friends for a long time and is very stable.

I have been using a memory disk for a long time. I also changed my products from different companies. I finally thought ramdisk developed by gavotte is good and free of charge. I would like to share with my friends some experiences on using the memory disk, next I will introduce the ramdisk developed by gavotte.
Internal
The feature of disk storage is that the data is fully stored in the memory, so once the computer is turned off, it will cause the data in the memory disk to be completely lost. This feature makes the memory disk particularly suitable for storing some temporary files, such as the release of IE
Storage, temporary files generated when Windows and applications are running, these files are suitable for storing on the memory disk, so as to reduce the production of file fragments on the hard disk, and do not need to actively delete these temporary files, once
Restart and the junk files will disappear automatically.
This feature makes the memory disk not suitable for storing important data and documents, because once it crashes, these things will no longer be found.
Gavotte
Original ramdisk
Like ramdisk of Microsoft, it is just a driver. It is not intuitive to manually modify the Registry to modify the settings. I wrote a simple graphic interface through gavotte for control.
Ramdisk installation, uninstallation, and modification settings. The operating system must be windows
More than 2000, memory more than 256 MB, memory is very small, do not use the memory disk, otherwise it will reduce the operating efficiency of windows.

Now ramdisk
Install and run ramdisk. If ramdisk is not installed yet, only install ramdisk
Button available, click the button to start installation, Windows
The driver may be warned that there is no digital signature, warning. Ignore it and press Yes. Well, the installation is complete, except install ramdisk.
Other buttons are available.
The setting is also very simple. It only includes three options: drive letter, memory disk size, and memory disk type. There are also some advanced settings that need to be modified in the registry. Generally, this is not required. For details, refer to the ramdisk description.
Memory disk size, in the unit of kilobytes. This value depends entirely on the memory size of your computer. If your computer has only 256 MB of memory, it is recommended that the memory disk size not exceed 64 MB, if you have more than 1 GB memory, you can even set the size of the memory disk to 784 MB.
There is nothing to say about the drive letter settings. The default value is R, as long as the drive letter is not used.
Memory disk type. The default value is hard disk (fixed). You can also set it to a floppy disk (removable.
After selecting the desired settings, click the Apply button or OK button. Open the resource manager and you will find an additional one.
Drive letter R (assuming that the drive letter you set is R, the drive letter R will be used to represent the memory disk in the future ).

After the memory disk is set, it is to optimize the system and give full play to the role of the memory disk.
1. First, set the Temporary Folder directory of the system to tell the system and applications to write the temporary files to the memory disk, which can improve the system running efficiency, there is no need to worry about the increasing directory size of temporary folders caused by crashes.
Right-click "my computer" on the desktop, "Advanced =" environment variable ", as shown in env1 and env2. The four areas shown in the figure include user environment variables and system environment variables, change all to R: "Temp. Remember, it is best not to use the R: root directory as a temporary directory.
2. Change the cache directory of IE to tell IE to write all temporary files generated during Webpage Browsing to the memory disk, which can speed up ie browsing, select Control Panel = intetnet option = General =, ie1, ie2, and modify the cache directory of IE. For bandwidth, set the directory size to 3-5 MB.
3. Other applications, such as WinZip, need to be set separately. Generally, it is easier to find the location where the settings are modified. However, if the software is installed after the Temporary Folder directory of the system is set, the software will be automatically adjusted according to the system settings without modification.
4. Compile the temporary files generated by the program. Anyone who has used Visual C or GCC development knows that the compilation process will generate a large number of temporary files, with less than 10 megabytes, you can adjust the compiler settings so that the intermediate files generated by compilation are stored on the memory disk, which greatly improves the compilation speed.
5,
Now many of my friends use P2P software for download, such as eDonkey, eMule, BT, etc. One drawback of these software is that the multi-thread access to the hard disk causes a large amount of irregular movement of Hard Disk heads.
Drive may lead to Hard Disk Head Wear, but this disadvantage is not a disadvantage for the memory disk, because the memory disk does not have the mechanical movement of the head, but remember after the download is complete, copy files in time
To the hard disk to avoid file loss after restart.
6. Open a temporary FTP server to distribute popular files. If the memory is large enough, you can put all the popular files on the memory disk. In this way, you are not afraid of hard disk damage caused by multi-thread access to FTP.

I
However, if other applications are accessing ramdisk, re-start is required. In this case, it is best to close the program accessing ramdisk. It is worth noting that Internet Explorer
If it is set to ramdisk, then modifying the memory disk settings requires restarting, because the IE cache will be opened by the resource manager after login, even if no IE is used, it will be occupied. Method
Is to log on to another administrator account, or modify the IE buffer directory (modifying the IE buffer also requires re-login ).

The usage of the memory disks mentioned above belongs to the purpose of buffering data, so that
To improve the operating efficiency of the system, I will talk about the use of memory disks to simulate the use of various volumes of soft drives. At present, many friends do not have software drives installed on their machines. However, some programs must have software drives to run,
For example, you can create a antivirus disk for the rising anti-virus software, or some software needs to verify the key disk before it can run.
The method is simple, that is, to set the type of the memory disk to removable, that is, the soft drive.
Memory disk size is set to the required capacity, for example, the general soft drive is 1.44 MB, that is, the size of KB, and the drive letter is set to a (if there are no special requirements, other drive letters), and then double
Click Apply. Floppy1.png is a machine without a soft drive. Figure floppy2 uses ramdisk to virtualize a soft drive. Figure floppy3 is a virtual soft drive.
.
The following example illustrates how to use ramdisk to simulate a large-capacity floppy disk, while cenatek's memory disk can only simulate a standard-capacity floppy disk.

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.