身体的(physical)和虚拟内存(virtual memory)的区别

物理内存和虚拟内存的主要区别在于,物理内存是指连接到主板的系统的实际RAM,而虚拟内存是一种内存管理技术,允许用户执行比实际物理内存大的程序。...

物理内存和虚拟内存的主要区别在于,物理内存是指连接到主板的系统的实际RAM,而虚拟内存是一种内存管理技术,允许用户执行比实际物理内存大的程序。

内存管理是操作系统中的一项重要操作。它允许进程在执行程序期间在主存储器和硬盘之间来回移动。此外,该进程跟踪每个内存位置,以便分配进程和释放内存。物理内存是包含当前正在执行的程序的主内存。另一方面,虚拟内存扩展了主内存的容量,可以使用硬盘执行大型程序。

覆盖的关键领域

1.什么是物理内存-定义,功能2.什么是虚拟内存-定义,功能3.物理内存和虚拟内存的区别是什么-关键区别的比较

关键术语

主存、物理内存、RAM、虚拟内存

 

身体的(physical)和虚拟内存(virtual memory)的区别

什么是物理存储器(physical memory)?

Physical memory refers to the RAM or the primary memory in the computer. Physical memory is a volatile memory. Therefore, it requires a continuous flow of power to retain data. However, power failures and interrupti*** can erase the data in the physical memory. Also, this memory is linearly addressable. In other words, the memory addresses increases in a linear manner.身体的(physical)和虚拟内存(virtual memory)的区别

CPU可以直接访问物理内存。它在执行列表中保存程序。通常,硬盘存储程序。CPU总是需要更多的时间访问硬盘来执行程序。因此,这些程序首先放在物理内存中,以便CPU可以更快地执行它们。从物理内存访问数据比从硬盘访问数据花费的时间更少。完成执行后,程序返回硬盘。同样,可用内存可以分配给新程序。当执行这些程序时,它们被称为进程。

什么是虚拟内存(virtual memory)?

Virtual memory is a logical memory. In other words, it is a memory management technique performed by the operating system. Virtual memory allows the programmer to use more memory for the programs than the available physical memory. If the physical memory is 4GB and the virtual memory is 16GB, the programmer can use the 16GB virtual memory to execute the program. Using virtual memory, he can execute complex programs that require more memory than the physical memory.身体的(physical)和虚拟内存(virtual memory)的区别

此外,虚拟内存通过使用硬盘扩展了物理内存的使用。它还防止直接访问主内存。此外,在访问虚拟存储器时,虚拟存储器地址转换为相应的物理地址。因此,虚拟内存确保了内存保护。

身体的(physical)和虚拟内存(virtual memory)的区别

定义

物理存储器,即实际的RAM,是一种计算机数据存储器,用于存储当前正在执行的程序。相比之下,虚拟内存是一种内存管理技术,它给用户带来了一种较大物理内存的错觉。因此,这是物理内存和虚拟内存之间的主要区别。

存储器类型

物理内存是实际内存,而虚拟内存是逻辑内存。

速度

速度是物理内存和虚拟内存的另一个区别。物理内存比虚拟内存快。

技术

物理内存和虚拟内存之间的另一个区别是,物理内存使用交换技术,而虚拟内存使用分页。

大小

物理内存受限于RAM芯片的大小;但是,虚拟内存受到硬盘大小的限制。

中央处理器

物理内存可以直接访问CPU,而虚拟内存不能直接访问CPU。因此,这是物理内存和虚拟内存之间的另一个区别。

结论

物理内存和虚拟内存的主要区别在于,物理内存是指存储当前正在执行的程序的系统的实际RAM,而虚拟内存是一种内存管理技术,允许用户执行比实际物理内存大的程序。

引用

1.“操作系统设计/物理内存。”Wikibooks,可在此处找到。2虚拟内存,“维基百科,维基媒体基金会,10月2018日20,这里可用。 2、“虚拟内存”,维基百科,维基媒体基金会,20月2018日,

  • 发表于 2021-07-01 06:29
  • 阅读 ( 789 )
  • 分类:IT

你可能感兴趣的文章

高速缓存(cache memory)和虚拟内存(virtual memory)的区别

...的成本获得更好的平均内存访问时间。 什么是虚拟内存(virtual memory)? 虚拟内存是计算机系统中使用的一种内存管理技术。没有硬件称为虚拟内存,但它是一个概念,使用RAM和硬盘为程序提供虚拟地址空间。第一个RAM被分成称为...

  • 发布于 2020-10-29 11:12
  • 阅读 ( 864 )

firefox内存清理器真的能用吗?

...下公式非常粗略地计算系统在任何时候的虚拟内存量: Virtual Memory = (Total Physical Memory – Used/Active Physical Memory) + Maximum System Page File Size 因此,假设您有一个物理内存为4GB的系统,最大页面文件为6GB。然后启动Windows并打开一些应...

  • 发布于 2021-04-09 01:53
  • 阅读 ( 167 )

是什么交换文件.sys如何删除?

...·莫里森是这样解释的: “You may ask, ‘Why do we need another virtual page file?’ Well, with the introduction of the Modern App, we needed a way to manage their memory outside of the traditional Virtual Memory/Pagefile method. “Windows 8 can efficiently write the whole (private) wor...

  • 发布于 2021-04-10 07:13
  • 阅读 ( 153 )

如果我的计算机有很多ram,我应该禁用页面文件吗?

...hing tells me that disabling the page file on the hard-drive or creating a virtual RAM drive and letting the page file be there could make Windows move all its virtual memory to RAM and increase the system’s performance. But I am not very knowledgeable in that area, so that might not be true at al...

  • 发布于 2021-04-11 05:24
  • 阅读 ( 183 )

我的计算机中的ram能容纳多少个内存地址?

... Speaking about memory addressing, there are few things I should mention: virtual memory, segmentation and paging. Virtual memory As @Daniel R Hicks pointed out in another answer, OSes use virtual memory. What it means is that applicati*** actually don’t operate on real memory addresses, but o...

  • 发布于 2021-04-11 18:59
  • 阅读 ( 230 )

初学者:如何使用虚拟pc在Windows7中创建虚拟机

Microsoft Virtual PC是一个免费的应用程序,它可以帮助您在当前操作系统中创建自己的虚拟机,因此您可以轻松地测试软件或学习新环境。以下是如何开始。 使用windows虚拟pc 首先,你需要从微软的网站下载虚拟PC。您需要确保从...

  • 发布于 2021-04-13 00:37
  • 阅读 ( 123 )

事实上的(virtual)和高速缓存(cache memory)的区别

在计算机世界里,memory sets the limit upon which we base if we can run that program or not. If you were unlucky enough to have experienced DOS, then you know the bane of the 640k memory limit. Nowadays memory seems to be almost infinite and nobody actually gets the ‘not enough memory’ me...

  • 发布于 2021-06-22 11:01
  • 阅读 ( 230 )

逻辑地址(logical address)和实际地址(physical address)的区别

...从而使收集到的信息随时间变化。   什么是实际地址(a physical address)? 物理地址用于标识存储器管理单元内的物理位置,该存储器管理单元根据相关逻辑地址进行计算。用户程序无法直接访问或查看该地址,因此需要将逻辑地...

  • 发布于 2021-06-25 14:45
  • 阅读 ( 347 )

虚拟护理(virtual care)和远程医疗(telehealth)的区别

...截然不同的东西,不能相互混淆。   什么是虚拟医疗(virtual healthcare)? 虚拟医疗是远程医疗的一个组成部分,远程医疗指的是医疗保健提供者与患者远程互动的多种方式。它是利用智能**和其他移动技术来支持医疗保健。通过...

  • 发布于 2021-06-26 13:53
  • 阅读 ( 359 )

符合逻辑的(logical)和实际地址(physical address)的区别

...逻辑地址的集合称为逻辑地址空间。 什么是实际地址(a physical address)? 物理地址是主存储器中的地址。属于一个程序的所有物理地址称为物理地址空间。逻辑地址在执行时转换为物理地址。下图说明了此过程。 Figure 1: Conversion o...

  • 发布于 2021-06-30 20:05
  • 阅读 ( 601 )
il9547
il9547

0 篇文章

相关推荐