linux里面swap和swpd区别
答案:1 悬赏:30
解决时间 2021-02-22 04:16
- 提问者网友:霸气大叔
- 2021-02-21 14:41
linux里面swap和swpd区别
最佳答案
- 二级知识专家网友:丢不掉的轻狂
- 2021-02-21 15:29
Definition: swapd: Swap daemon for dynamic swap file
creation. Swapd is a dynamic swapping manager for Linux. It provides the
system with as much swap space (virtual memory) as is required at a
particular time by dynamically creating swap files. This is more
convenient than using fixed swap files and/or partitions because they
(a) are unused most of the time and are just taking up disk space; and
(b) provide a limited amount of virtual memory.
On systems that have constant need for virtual
memory it would still be wise to use a swap partition in parallel with
dynamic swapping, since swap partitions provide much faster access than
swap files.
定义:swapd:Swap daemon (交换文件守护程序) 的作用是建立动态的交换文件(swap file). Swapd 是一个Linux的动态交换文件管理器。它通过动态地建立交换文件,在特定的时段为系统提供所需的交换空间(虚拟内存)。这比使用大小固定的交换文件(swap file)或者交换分区更方便,(a)因为那些交换文件或者交换分区在大多数时间里都没用到,反倒是一直占着磁盘空间;(b)它们能提供的虚拟内存,大小有限。
在那些对虚拟内存有稳定需求的系统上,并行使用交换分区和动态交换文件仍不失为明智的选择,因为交换分区比交换文件的读写速度快得多。
上面是原文,下面是我的翻译,仅供参考。
creation. Swapd is a dynamic swapping manager for Linux. It provides the
system with as much swap space (virtual memory) as is required at a
particular time by dynamically creating swap files. This is more
convenient than using fixed swap files and/or partitions because they
(a) are unused most of the time and are just taking up disk space; and
(b) provide a limited amount of virtual memory.
On systems that have constant need for virtual
memory it would still be wise to use a swap partition in parallel with
dynamic swapping, since swap partitions provide much faster access than
swap files.
定义:swapd:Swap daemon (交换文件守护程序) 的作用是建立动态的交换文件(swap file). Swapd 是一个Linux的动态交换文件管理器。它通过动态地建立交换文件,在特定的时段为系统提供所需的交换空间(虚拟内存)。这比使用大小固定的交换文件(swap file)或者交换分区更方便,(a)因为那些交换文件或者交换分区在大多数时间里都没用到,反倒是一直占着磁盘空间;(b)它们能提供的虚拟内存,大小有限。
在那些对虚拟内存有稳定需求的系统上,并行使用交换分区和动态交换文件仍不失为明智的选择,因为交换分区比交换文件的读写速度快得多。
上面是原文,下面是我的翻译,仅供参考。
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯