英语麦当劳7周年全新改版!    天气
EnglishCN首页 英语日记基地,带简短个性域名的英语专用博客 英语博客中国最大的国际交友中心国际交友 英语学习论坛BBS 英语论坛 英语语音聊天室 语音聊天室 英语游戏基地 游戏 美食指南 分类 英语图片中心 图片 英语电影下载基地 电影英语软件下载中心下载  


     开通英语博客

 
标题: Does adding more RAM to your computer make it faster?
freshman
中级会员
Rank: 3Rank: 3


UID 10467
精华 0
积分 351
帖子 646
威望 60 点
阅读权限 30
注册 2003-3-4
状态 离线
发表于 2004-7-11 06:35  资料  个人空间  短消息  加为好友 

Does adding more RAM to your computer make it faster?


Up to a point, adding RAM (Random Access Memory) will normally cause your computer to feel faster on certain types of operations. The reason why RAM is important is because of an operating system component called the virtual memory manager.






One who is waiting for tomorrow will lose it, But the one who grasp today will oun tomorrow.
顶部
去玩英语小游戏!
freshman
中级会员
Rank: 3Rank: 3


UID 10467
精华 0
积分 351
帖子 646
威望 60 点
阅读权限 30
注册 2003-3-4
状态 离线
发表于 2004-7-11 06:36  资料  个人空间  短消息  加为好友 

When you run a program like a word processor or an internet browser, the microprocessor in your computer pulls the executable file off the hard disk and loads it into RAM. In the case of a big program like Microsoft Word or Excel, the EXE consumes about 5 megabytes. The microprocessor also pulls in a number of shared DLLs (Dynamic Link Libraries) - shared pieces of code used by multiple applications. The DLLs might total 20 or 30 megabytes. Then the microprocessor loads in the data files that you want to look at, which might total several megabytes if you are looking at several documents or browsing a page with a lot of graphics.





One who is waiting for tomorrow will lose it, But the one who grasp today will oun tomorrow.
顶部
freshman
中级会员
Rank: 3Rank: 3


UID 10467
精华 0
积分 351
帖子 646
威望 60 点
阅读权限 30
注册 2003-3-4
状态 离线
发表于 2004-7-11 06:37  资料  个人空间  短消息  加为好友 

现在开通英语博克!
So a normal application needs between 10 and 30 megabytes of RAM space to run. On my machine at any given time I might have the following applications running:

A word processor
A spreadsheet
A DOS prompt
An email program
A drawing program
3 or 4 browser windows
A Fax program
A Telnet session





One who is waiting for tomorrow will lose it, But the one who grasp today will oun tomorrow.
顶部
freshman
中级会员
Rank: 3Rank: 3


UID 10467
精华 0
积分 351
帖子 646
威望 60 点
阅读权限 30
注册 2003-3-4
状态 离线
发表于 2004-7-11 06:37  资料  个人空间  短消息  加为好友 
Besides all of those applications, the operating system itself is taking up a good bit of space. Those programs together might need 100 to 150 megabytes or RAM, but my computer only has 64 megabytes of RAM installed.
The extra space is created by the virtual memory manager. The VMM looks at RAM and finds sections of RAM that are not currently needed. It puts these sections of RAM in a place called the swap file on the hard disk. For example, even though I have my email program open, I haven't looked at email in the last 45 minutes.





One who is waiting for tomorrow will lose it, But the one who grasp today will oun tomorrow.
顶部
freshman
中级会员
Rank: 3Rank: 3


UID 10467
精华 0
积分 351
帖子 646
威望 60 点
阅读权限 30
注册 2003-3-4
状态 离线
发表于 2004-7-11 06:37  资料  个人空间  短消息  加为好友 
So the VMM moves all of the bytes making up the email program's EXE, DLLs and data out to the hard disk. That is called swapping out the program. The next time I click on the email program, the VMM will swap in all of its bytes from the hard disk, and probably in the process swap something else out. Because the hard disk is slow relative to RAM, the act of swapping things in and out causes a noticable delay.






One who is waiting for tomorrow will lose it, But the one who grasp today will oun tomorrow.
顶部
freshman
中级会员
Rank: 3Rank: 3


UID 10467
精华 0
积分 351
帖子 646
威望 60 点
阅读权限 30
注册 2003-3-4
状态 离线
发表于 2004-7-11 06:38  资料  个人空间  短消息  加为好友 
If you have a very small amount of RAM (say 16 megabytes), then the VMM is always swapping things in and out to get anything done. In that case your computer feels like it is crawling. As you add more RAM you get to a point where you only notice the swapping when you load a new program or change windows. If you were to put 256 megabytes of RAM in your computer the VMM would have plenty of room and you would never see it swapping anything. That is as fast as things get. If you added more RAM it would have no effect.






One who is waiting for tomorrow will lose it, But the one who grasp today will oun tomorrow.
顶部
freshman
中级会员
Rank: 3Rank: 3


UID 10467
精华 0
积分 351
帖子 646
威望 60 点
阅读权限 30
注册 2003-3-4
状态 离线
发表于 2004-7-11 06:39  资料  个人空间  短消息  加为好友 

现在开通英语博克!
Some applications (things like Photoshop, many compilers, most film editing and animation packages, etc.) needs tons of RAM to do their job. If you run them on a machine with too little RAM, they swap constantly and run very slowly. You can get a huge speed boost by adding enough RAM to eliminate the swapping. Programs like these may run 10 to 50 times faster once they have enough RAM!





One who is waiting for tomorrow will lose it, But the one who grasp today will oun tomorrow.
顶部
 



当前时区 GMT+8, 现在时间是 2008-9-7 09:27

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 BBS.EnglishCN.COM  © EnglishCN 2000-2007
清除 Cookies - 联系我们 - 英语麦当劳 - Archiver