translator
11,127
edits
(Created page with "=Использование файла подкачки=") Tags: Mobile web edit Mobile edit |
(Created page with "==Файл подкачки на BTRFS==") Tags: Mobile web edit Mobile edit |
||
Line 113: | Line 113: | ||
Using a swap partition has one major disadvantage: Changing the size of swap or adding swap requires repartitioning the disk. In current Linux kernels, it is possible to use a swap file instead of a dedicated partition and as from kernel 2.6 onwards there is no performance difference any more between the two. | Using a swap partition has one major disadvantage: Changing the size of swap or adding swap requires repartitioning the disk. In current Linux kernels, it is possible to use a swap file instead of a dedicated partition and as from kernel 2.6 onwards there is no performance difference any more between the two. | ||
== | ==Создание и включение статического файла подкачки== | ||
{{tip|There is no reason you can't have both a swap partition and a swapfile. This is an easy way to add more swap without repartitioning.}} | {{tip|There is no reason you can't have both a swap partition and a swapfile. This is an easy way to add more swap without repartitioning.}} | ||
Line 139: | Line 139: | ||
== | ==Файл подкачки на BTRFS== | ||
As of kernel 5.0 and higher, swapfiles are supported on btfrs. They still require some special handling in addition to the above steps. | As of kernel 5.0 and higher, swapfiles are supported on btfrs. They still require some special handling in addition to the above steps. |