[?2004h[?1049h[22;0;0t[1;53r(B[m[4l[?7h[39;49m[?1h=[?1h=[?25l[39;49m(B[m[H[2J[51;55H(B[0;7m[ Чтение… ](B[m[51;49H(B[0;7m[ Прочитано 62 строки ](B[m[H(B[0;7m GNU nano 6.4 /etc/systemd/swap.conf [1;118H(B[m [52d(B[0;7m^G(B[m Справка[18G(B[0;7m^O(B[m Записать[35G(B[0;7m^W(B[m Поиск[52;52H(B[0;7m^K(B[m Вырезать[69G(B[0;7m^T(B[m Выполнить (B[0;7m^C(B[m Позиция[103G(B[0;7mM-U(B[m Отмена [53d(B[0;7m^X(B[m Выход[53;18H(B[0;7m^R(B[m ЧитФайл[35G(B[0;7m^\(B[m Замена[53;52H(B[0;7m^U(B[m Вставить[69G(B[0;7m^J(B[m Выровнять (B[0;7m^/(B[m К строке[103G(B[0;7mM-E(B[m Повтор [2d################################################################################ [3d# Defaults are optimized for general usage [4d################################################################################ [6d################################################################################ [7d# You can override any settings by files in: [8d# /etc/systemd/swap.conf.d/*.conf [9d################################################################################ [11d################################################################################ [12d# Zswap [13d#[14d# Kernel >= 3.11 [15d# Zswap create compress cache between swap and memory for reduce IO [16d# https://www.kernel.org/doc/Documentation/vm/zswap.txt [18dzswap_enabled=0 [19dzswap_compressor=zstd # lzo lz4 zstd lzo-rle lz4hc [20dzswap_max_pool_percent=25 # 1-99 [21dzswap_zpool=z3fold[21;27H# zbud z3fold (note z3fold requires kernel 4.8+) [23d################################################################################ [24d# ZRam [25d#[26d# Kernel >= 3.15 [27d# Zram compression streams count for additional information see: [28d# https://www.kernel.org/doc/Documentation/blockdev/zram.txt [30dzram_enabled=0 [31dzram_size=$(($RAM_SIZE/4))[33G# This is 1/4 of ram size by default. [32dzram_count=${NCPU}[32;33H# Device count (only for kernels < 4.8) [33d#zram_streams=${NCPU}[33;33H#$NCPU [34dzram_alg=zstd #lz4[34;33H# See $zswap_compressor 842 - for Linux 4.8.4 [35dzram_prio=32767[35;33H# 1 - 32767 [37d################################################################################ [38d# Swap File Chunked [39d# Allocate swap files dynamically [40d# For btrfs fallback to swapfile + loop will be used [41d# ex. Min swap size 512M, Max 8*512M [42dswapfc_enabled=1 [43dswapfc_force_use_loop=0[43;34H# Force usage of swapfile + loop [44dswapfc_frequency=1[44;34H# How often to check free swap space in seconds [45dswapfc_chunk_size=256M[45;34H# Size of swap chunk [46dswapfc_max_count=32[46;34H# 0 - unlimited, note: 32 is a kernel maximum [47dswapfc_min_count=0[47;34H# Minimum amount of chunks to preallocate [48dswapfc_free_ram_perc=35[48;34H# Add first chunk if free ram < 35% [49dswapfc_free_swap_perc=15[49;34H# Add new chunk if free swap < 15% [50dswapfc_remove_free_swap_perc=55 # Remove chunk if free swap > 55% && chunk count > 2 [2d[?12l[?25h[?25l[51;30H(B[0;7m[ line 1/63 ( 1%), col 1/81 ( 1%), char 0/2754 ( 0%) ](B[m[?12l[?25h [2d[?25l[51;90H[?12l[?25h [2d[?25l[51d[J[53d[?12l[?25h[53;1H[?1049l[23;0;0t [?1l>[?2004l