В 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
📰 Ubuntu, Fedora, Linux Mint Eye Age Verification Amid California Law Backlash
California's upcoming Digital Age Assurance Act law requires OSes to let users input their birth date during the setup to follow child privacy rules.
🔗 Source: https://9to5linux.com/ubuntu-fedora-linux-mint-eye-age-verification-amid-california-law-backlash
#ubuntu#fedora#linux
📰 NVIDIA-VAAPI-Driver 0.0.17 Fixes Support For GB10 Powered Systems
The open-source, community-developed NVIDIA-VAAPI-Driver that provides a Video Acceleration API (VA-API) implementation built atop NVIDIA's NVDEC video decode interface is out with a new release. This is the open-source project that's motivated by getting accelerated video decoding to work within Mozilla Firefox and other apps when running with NVIDIA's packaged Linux driver...
🔗 Source: https://www.phoronix.com/news/NVIDIA-VAAPI-Driver-0.0.17
#firefox#linux#opensource
📰 Firefox 150 Promises Support for the GTK Emoji Picker on Linux, Beta Out Now
Firefox 150 open-source web browser is now available for public beta testing with support for the GTK emoji picker on Linux, extended local network access restrictions, and more.
🔗 Source: https://9to5linux.com/firefox-150-promises-support-for-the-gtk-emoji-picker-on-linux-beta-out-now
#opensource#linux#firefox
📰 Firefox 149 Web Browser Is Now Available for Download, This Is What’s New
Firefox 149 open-source web browser is now available for download with Split View, XDG portal file picker support on Linux, new TrustPanel, faster PDF rendering, updated Firefox error pages, and more. Here's what's new!
🔗 Source: https://9to5linux.com/firefox-149-web-browser-is-now-available-for-download-this-is-whats-new
#firefox#opensource#linux
🚀DevOps o‘rganmoqchimisiz? Bepul laboratoriyalar tayyor!
KodeKloud — bu bepul o‘quv muhiti bo‘lib, siz quyidagi texnologiyalarni interaktiv tarzda o‘rganishingiz mumkin:
● Docker
● Kubernetes
● Linux
● Terraform
● Ansible va boshqalar
🌐 Hammasi brauzerda ishlaydi! Hech narsa o‘rnatishingiz shart emas. Saytni ochasiz — amaliy topshiriqlarni bajarasiz.
💡 Har bir laboratoriya interaktiv bo‘lib, siz faqat video tomosha qilmay, balki har bir buyruqni o‘zingiz yozib bajarishni o‘rganasiz.
👉 Rasmiy sayt:kodekloud.com/free-labs
🔥 DevOps’ga yangi kirayotganlar yoki mavjud bilimini oshirmoqchi bo‘lganlar uchun — haqiqiy manba!
#DevOps#Docker#Kubernetes#Linux#Terraform#KodeKloud
💻@dasturlash_hayoti — bir xatoni tuzatib, ikkinchisiga tayyorlanish! 😅
📰 LACT 0.9 Released With UI Updates, Voltage-Frequency Curve Editor For NVIDIA
LACT, one of the leading open-source solutions to provide a graphics card management GUI that works across AMD / NVIDIA / Intel graphics hardware on Linux, is out with a major update this weekend...
🔗 Source: https://www.phoronix.com/news/LACT-0.9-Released
#amd#intel#linux#opensource
📰 AMD EPYC Achieves 5G/6G RAN Performance Leadership With New OCUDU Project
Announced this week at Mobile World Congress (MWC) by the Linux Foundation was the establishing of the OCUDU Ecosystem Foundation for advancing open-source AI-RAN (Radio Access Network) innovations. OCUDU is building a reference platform and innovations around 5G and early 6G network solutions. With OCUDU being benchmark-friendly, I have been putting the early code through some performance tests on current AMD EPYC and Intel Xeon server...
🔗 Source: https://www.phoronix.com/review/amd-epyc-intel-xeon-ocudu
#opensource#linux#intel#amd
📰More ASUS Desktop Motherboards Will Support Sensor Monitoring With Linux 7.1
ASUS desktop motherboards have been seeing broader sensor monitoring support on Linux in recent years. ASUS motherboards for Intel and AMD processors have been seeing more support added thanks to the open-source community with new additions to the likes of the ASUS-EC-Sensors driver and other hardware monitoring (HWMON) driver code. This is continuing for Linux 7.1...
🔗 Source: https://www.phoronix.com/news/ASUS-More-Sensors-Linux-7.1
#amd#linux#intel#opensource
📰Bork in Prague: SUSE's keynote gods demand their tribute
Linux vendor touts European independence while rate limits, Chromium popups, and cold sparks steal the show BORK!BORK!BORK! The keynote gods are a fickle bunch, as SUSE discovered at its annual shindig in Prague. What should have been a slick edge demo instead served up error pages to unsuspecting attendees, while keynote presentations attracted some unwelcome visitors.…
🔗 Source: https://go.theregister.com/feed/www.theregister.com/2026/04/29/never_anger_the_keynote_demo/
#chromium#linux
📰Intel's Cache Aware Scheduling Inches Closer To Being Merged For Linux
I have been writing about the Cache Aware Scheduling work led by Intel engineers on the Linux kernel for more than a year. I've also tested out Cache Aware Scheduling on both Intel and AMD CPUs with the patched Linux kernel to great success. And thus very happy to see the Cache Aware Scheduling patches inching closer to the mainline Linux kernel...
🔗 Source: https://www.phoronix.com/news/Linux-Cache-Aware-Sched-Nears
#amd#intel#kernel#linux