В 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
Free Russian Language Courses in Cape Town!
We are pleased to invite everyone to take part in free Russian language courses supported by the Ministry of Education of the Russian Federation and St. Petersburg State University.
👩🏫 The
lessons will be conducted by Dasha and Taisiya — experienced teachers
of Russian as a foreign language with nearly 20 years of teaching
experience.
📚 The courses are open to everyone. No prior knowledge of Russian is required.
Why learn Russian?
🗣 It is a language spoken across 15 countries and serves as a bridge among more than 160 ethnic groups.
🌍 Studying
Russian offers access to a rich cultural, literary, and scientific
heritage — from Tolstoy and Dostoevsky to Gagarin and Tchaikovsky.
📖 Course highlights:
– Basics of grammar and practical conversation
– Introduction to Russian culture and traditions
🔗 Register here:
https://forms.gle/p4fo6ttm8esXqtLa6
Let’s explore the Russian language together!
#RussiaSouthAfrica#RussianCourses#LearnRussian
📚Enrollment is open for the 2025–26 academic year!
⏰24 June | 18:00
Join our Presentation of Russian Language Courses for Adults — meet the teachers and find the perfect program for you:
✨Fundamental Course — from A1 to C1, steady pace (October–June)
⚡️Intensive Course — fast-track A1 to A2, with speaking from day one
🌍Online — learn from anywhere in the world
🏫Offline — full language immersion
👥Group classes — motivation, support & shared experience
👤Individual lessons — flexible schedule, personalized approach
🎉 Plus, learn about our linguistic and cultural events for students!
📅Free participation — sign up via the linkhere
#russianlanguage#learnrussian#russiancourses#languagelearning#onlinelearning
🏔🇷🇺✨ When your Russian truly reaches new heights!
Our student took his Russian — all the way to the Himalayas! 🏔 Russian at 5300 m!
Language is more than words. It’s a journey, an inspiration, and the strength that lifts you higher.
Our student is traveling in the Himalayas and… he used Russian at the top of a mountain! 😄
“I told them I study Russian at the Russian Language School in Brussels. And that I have very good teachers!”
Even at the highest heights, you can talk about poetry, music and your favorite language. 😉
Did you know? Russian is one of the six official international languages and is spoken by an estimated up to 285 million people worldwide.
📍Where have you used your Russian abroad?
Share your story in the comments — the most inspiring ones will be featured!
Join us to learn Russian! We offer in-person classes, online courses, and individual lessons.
#RussianHouseBrussels#LearnRussian#RussianLanguage#CulturalDiplomacy#RussianAbroad#DiscoverRussia#RussianCourses