В Linux стандартными средствами можно использовать часть оперативной памяти как диск. Для этого требуется указать тип монтирования tmpfs в команде mount
mount -t tmpfs -o size=5G tmpfs /mnt/ram
Теперь путь /mnt/ram можно использовать как обычный каталог. Для чего это может быть нужно?
▫️ Скорость работы с таким каталогом выше чем многие SSD и тем более HDD.
▫️ Если у вас очень быстрый SSD на NVMe M.2 то такой способ особо не прибавит вам скорости, но поможет сохранить ресурс SSD когда требуется обрабатывать очень много мелких файлов и оперативка позволяет выделить нужный объем.
▫️ Оперативка это энергозависимая память, поэтому выключении питания все файлы безвозвратно теряются. Такой "non persistent" каталог гарантирует удаление временных файлов.
Я написал небольшой скрипт для условного теста и сравнения скорости копирования файлов между SSD и RAM.
Вот мои результаты:
Single File Size: 30.0Gb
ssd > ssd: 0:00:12.850 / 2.3Gb/s
sdd > ram: 0:00:06.453 / 4.6Gb/s
ram > ram: 0:00:06.995 / 4.3Gb/s
ram > sdd: 0:00:06.217 / 4.8Gb/s
Dir size: 32.7Gb, File count: 11127
ssd > ssd: 0:00:15.063 / 2.2Gb/s
sdd > ram: 0:00:08.486 / 3.9Gb/s
ram > ram: 0:00:08.032 / 4.1Gb/s
ram > sdd: 0:00:07.026 / 4.7Gb/s
Скрипт для теста ↗️
На моём железе прирост скорости ~2x. Плюс экономия ресурса SSD.
В Windows такой фишки по умолчанию нет, но обязательно найдутся аналогичные решения
#linux#triks
📰 AerynOS March 2026 Update Brings GNOME 50, KDE 6.6.3, and Linux 6.18
AerynOS March alpha ISO brings GNOME 50, KDE Plasma 6.6.3, Linux kernel 6.18, and tooling improvements across moss and boulder.
🔗 Source: https://linuxiac.com/aerynos-march-2026-update-brings-gnome-50-kde-6-6-3-and-linux-6-18/
#kde#linux#kernel#plasma#gnome
📰 Slackware-Based PorteuX 2.6 Released with Linux 6.19, TLP Support, and More
PorteuX 2.6 Linux distribution is now available for download with Linux kernel 6.19, GNOME 49.4, KDE Plasma 6.5.5, Cinnamon 6.6, and more. Here’s what else is new!
🔗 Source: https://9to5linux.com/slackware-based-porteux-2-6-released-with-linux-6-19-tlp-support-and-more
#linux#gnome#kde#plasma#kernel
📰 Linux 7.0 Release, Age Verification Laws, Ryzen 9 9950X3D2 & Other April Happenings
A lot happened in the Linux and open-source world during the month of April. Ubuntu 26.04 LTS and Fedora 44 shipped, a lot of news around age attestation/verification laws, the Linux 7.0 kernel was released, Linux 7.1 is bringing many exciting changes as well as removing of old hardware drivers, the Ryzen 9 9950X3D2 Dual Edition CPU was released, we began testing the Intel Arc Pro B70 "BMG-G31", and much more software and hardware content that...
🔗 Source: https://www.phoronix.com/news/April-2026-Highlights
#fedora#intel#kernel#linux#opensource#ubuntu
📰 BunsenLabs Carbon Is Here with Support for Wayland Sessions, Based on Debian 13
BunsenLabs Carbon Linux distribution is now available for download with support for Wayland session, based on Debian GNU/Linux 13 "Trixie". Here's what's new!
🔗 Source: https://9to5linux.com/bunsenlabs-carbon-is-here-with-support-for-wayland-sessions-based-on-debian-13
#linux#debian#gnu#wayland
📰 Calamares Linux Graphical Installer Now Supports KDE’s Plasma Login Manager
Calamares 3.4.2 open-source universal graphical installer for GNU/Linux distributions is now available for download with support for Plasma Login Manager. Here’s what’s new!
🔗 Source: https://9to5linux.com/calamares-linux-graphical-installer-now-supports-kdes-plasma-login-manager
#plasma#gnu#kde#linux#opensource
#qml#dotfiles#hyprland#linux#material_design#quickshell#rice#ricing#unixporn#wayland
This Hyprland dotfiles setup gives you a modern, easy-to-use Linux desktop with features like a live app overview, AI integration (Gemini and Ollama), and automatic, beautiful color themes that match your wallpaper. Installation is simple with a one-line command, and the default keybinds are familiar if you’ve used Windows or GNOME. The system uses Quickshell for widgets (not Waybar), shows every command during setup for transparency, and offers a friendly Discord community for help. You benefit from a polished, customizable environment that’s both visually appealing and practical, with support for new users and advanced customization options.
https://github.com/end-4/dots-hyprland
📰antiX 26 Released as Systemd-Free Debian 13 Distro with Five Init Systems
antiX Linux 26 arrives based on Debian 13 Trixie with five init systems, a systemd-free design, and a fast, lightweight environment built for efficiency.
🔗 Source: https://linuxiac.com/antix-26-released-as-systemd-free-debian-13-distro-with-five-init-systems/
#debian#systemd#linux#distro
📰 Budgie 10.10.2 Brings Improved Labwc Wayland Compositor Integration
Out today is Budgie 10.10.2 as the latest minor update to this open-source desktop environment that began as part of the Solus Linux project...
🔗 Source: https://www.phoronix.com/news/Budgie-10.10.2-Released
#wayland#budgie#opensource#linux
#shell#arch#bash#discord#dpi#goodbyedpi#linux#nfqws#nftables#ubuntu#youtube#zapret
This Linux script (tested on Ubuntu 24.04 and Arch) easily sets up Zapret to bypass YouTube slowdowns and Discord blocks using Flowseal configs. Clone the repo, run `sudo bash main_script.sh` to pick a strategy (like general.bat), network interface, and save settings in conf.env for quick non-interactive launches or auto-start via `sudo bash service.sh`. It uses nftables, cleans up on stop, and skips auto-updates to stay stable. You get fast, reliable access to YouTube videos and Discord chats without hassle.
https://github.com/Sergeydigl3/zapret-discord-youtube-linux
#typescript#aurelia#cross_platform#csharp#database#desktop#dotnet#editor#electron#ide#linux#macos#playground#roslyn#tauri#windows
NetPad is a tool that lets you write and run C# code easily without creating projects. It helps you prototype, test code, visualize data, and query databases. You can use it to learn C# or experiment with new features. NetPad is available on Windows, macOS, and Linux, making it useful for developers across different platforms. It offers features like code completion, syntax highlighting, and the ability to add NuGet packages, making coding more efficient and accessible.
https://github.com/tareqimbasher/NetPad