使用硬盘分区作为RAM! [英] Using HARD DISK PARTITION as RAM!

查看:173
本文介绍了使用硬盘分区作为RAM!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将10 GB的小型硬盘分区用作RAM? ?如果可以的话,系统性能将发生巨大变化!

Is it possible to use a small hard disk partition of 10 GB as RAM? ? If we can, then there will be a drastic change in the system performance!

推荐答案

是的,在Windows中称为分页文件".默认情况下应启用它,但是您可以通过在开始菜单中右键单击计算机,转到高级系统设置",然后转到高级"选项卡,然后在性能"下单击设置"来调整大小和位置. .",然后转到该窗口的高级"标签下,然后在虚拟内存"下单击更改...".从那里可以更改页面文件的设置.

还有"ReadyBoost",您可以通过右键单击驱动程序,进入属性"并进入"ReadyBoost"选项卡并在其中进行配置,在选择的驱动器上使用它,但并非所有驱动器都受此支持(我认为仅闪存驱动器兼容).

但是实际上,您可能不会看到性能提高.一旦开始在页面文件之间来回交换,一切都会变慢,因为您被硬盘驱动器所束缚(Mehdi的回答给出了原因).
Yes, it''s called a "paging file" in Windows. By default it should be enabled, but you can adjust the size and location by right clicking Computer in the Start menu, going to "Advanced System Settings", then go to the "Advanced" tab and under "Performance" click "Settings...", then go under the "Advanced" tab of that window, and under "Virtual memory" click "Change...". From there you can change the settings for your paging file.

There''s also "ReadyBoost", which you can use on a drive you choose by right clicking the driver, going into Properties and going into the ReadyBoost tab and configuring it there, but not all drives are supported for this (I think only flash drives are compatible).

But really, you probably won''t see a performance increase. Once you start swapping to and from the paging file everything slows down because you''re bottle-necked by the hard drive (Mehdi''s answer gives the reason why).


Ram运行DDR3在1600mhz时的最大传输速率大约为6400mb/s,最好的硬盘(ssd)在80mb/s左右的普通硬盘中的最大传输速度为400mb/s,因此很容易进行数学计算.
Ram operates at 1600mhz for DDR3 with a max transfer rate of around 6400mb/s, the best hard disk (ssd) will do a max 400mb/s for plain hard disk around 80mb/s so it is easy to do the maths.


您是否曾经在C:\上看到过"pagefile.sys"?
以前,当没有足够的可用RAM时(只有那时),存在将数据从RAM交换"到磁盘的概念.发生这种情况时,始终意味着性能会变慢.
如今,现代Windows 7在Windows启动时会创建一个RAM大小的文件.我现在不知道它到底在做什么,但是交换仍然是它背后的目标.
顺便说一句,尽管可以使用页面文件的设置,但是Windows会做很多废话.在XP上,我尝试将1 GB的分区仅用于交换. XP做了什么?它不允许交换文件大于可用分区的大约10%-非常感谢Microsoft!对于Windows 7,我没有尝试过,只是接受了创建这样一个不必要的文件会降低系统性能的问题.
Have you ever seen that "pagefile.sys" on C:\?
Somewhen ago, there was the concept of "swapping" data from RAM to disk when there was not enough RAM available (and only then). When that happened, it always meant a slow performance.
Nowadays, modern Windows 7 just creates a file of the size of your RAM when Windows is started. I do not know exactly what it does nowadays, but swapping could still be an objective behind it.
And by the way, though it is possible to play with the settings for the pagefile, Windows will do a lot of nonsense with them. On XP, I tried to have a partition of 1 GB for swap only. What did XP do? It did not allow for a swap file bigger than some 10% of the free partition - thanks alot, Microsoft! With Windows 7, I did not try that, just accepted that system performance gets bad with the creation of such an unnecessary file.


这篇关于使用硬盘分区作为RAM!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆