Считаете, что Ubuntu недостаточно дружелюбна к новичкам? Помогите создать новое Руководство для новичков!
0 Пользователей и 1 Гость просматривают эту тему.
ну то есть доступ только от рута?
цель в том что бы все распухающие кэши кинуть на временную память
пока автоматика скачает "всё новьё"
Optimizing swap on zramSince zram behaves differently than disk swap, we can configure the system's swap to take full potential of the zram advantages:/etc/sysctl.d/99-vm-zram-parameters.confvm.swappiness = 180vm.watermark_boost_factor = 0vm.watermark_scale_factor = 125vm.page-cluster = 0Explanation of the configuration:These values are what Pop!_OS uses. That Pop!_OS GitHub pull request also links to some testing done by users on r/Fedora, which determined that vm.page-cluster = 0 is ideal. They also found a high swappiness value to be ideal, which matches what is suggested by the kernel docs: The default value is 60. For in-memory swap, like zram or zswap, as well as hybrid setups that have swap on faster devices than the filesystem, values beyond 100 can be considered. For example, if the random IO against the swap device is on average 2x faster than IO from the filesystem, swappiness should be 133 (x + 2x = 200, 2x = 133.33).On a system with a hard drive, random I/O against the zswap device would be orders of magnitude faster than I/O against the filesystem, so swappiness should be ~200. Even on a system with a fast SSD, a high swappiness value may be ideal.
конкретно кэша apt вообще не понятно для чего хранить, никакой смысловой нагрузки они не несут.
Страница сгенерирована за 0.015 секунд. Запросов: 21.