В 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
## ⛰️ THE ROOF OF AFRICA: WHERE EARTH TOUCHES HEAVEN
## ⛰️ የአፈሪካ ጋራ: ምድር ሰማይ የሚመሰከርበት
🌍 КОГДА ГОРЫ КАСАЮТСЯ НЕБЕС!
Simien Mountains — Ethiopia's crown jewel and UNESCO World Heritage site where ancient volcanic peaks pierce the clouds at 4,500 meters! ⛰️
🌅 THE DRAMATIC LANDSCAPE:
These jagged ridges were sculpted by millions of years of volcanic fury, creating one of Earth's most breathtaking panoramas.
*Эти зубчатые вершины — самый драматичный пейзаж на планете!*
*እነዚህ የተበዳደሩ አጫያዎች በዓለም ውስጥ የተሳከሩ ምብጣት ምክንያቶች ነው!*
Deep gorges plunge 1,500 meters below — called "the chess pieces of the gods" by locals for their dramatic, sharp pinnacles.
🐒 UNIQUE WILDLIFE:
Home to the endangered Gelada baboons — the "bleeding heart" monkeys found NOWHERE else on Earth!
*Самые редкие павианы в мире живут только здесь!*
*በዓለም አንደ ቦታ የሚገኙ የጋላዳ ብድንዎች እዚህ ብቻ ይገኛሉ!*
These gentle giants graze the highland meadows in massive troops, living peacefully at altitudes that would leave most humans breathless.
🌟 KUINDZHI'S VISION BROUGHT TO LIFE:
At sunset, these mountains transform into layers of gold and shadow — like stepping into a painting by the Russian master Arkhip Kuindzhi. Light becomes sculpture, air becomes canvas, and the soul expands infinitely.
*На закате горы превращаются в живую картину Куинджи!*
*በሰሙን መግረብ ጋታ አያቶች የኩይንዅጂ እሳት ይሆናሉ!*
This is Ethiopia. Where nature paints with light and shadows, where time stands still, and where every breath feels sacred.
📸Swipe through:
Photo 1-2: Real dramatic vistas → Photo 3: Algorithmic art in Kuindzhi style!
*Фото 1-2: Реальные панорамы → Фото 3: Алгоритмическое искусство!*
#SimienMountains#የሲሚኤንአያቶች#Ethiopia#ኢትዮጵያ#UNESCO#Kuindzhi#AlgorithmicArt#የአልገሪዝምእሳት#EthiopianHighlands#የኢትዮጵያአያቶች#MountainMagic
🇪🇹@ethiopia
## 🐺 THE SWEET SECRET OF ETHIOPIAN WOLF: NATURE'S RAREST CANID
## 🐺 የኢትዮጵያ ዝዕብ መስጠር: የተፈጥሮ የታታ እንሰሳ
🌸 КОГДА ХИЩНИК ЛЮБИТ СЛАДКОЕ!
Meet Africa's rarest canid — the Ethiopian wolf. Only 500 individuals remain in the world, found NOWHERE else on planet Earth! 🌍
🏞️ THE EXCLUSIVE HABITAT:
These magnificent predators live only in Ethiopia's highlands — Simien and Bale Mountains — where their reddish-golden fur glows like fire in the sunset light.
*Рыже-золотая шерсть сияет как огонь на закате!*
*የፊያ-ዋሪራው ምስዚው በሰሙን መግረብ በክትት እናት ይችጋል!*
🌸 THE SWEET DISCOVERY:
Here's the secret scientists discovered — these apex predators have a SWEET TOOTH! Ethiopian wolves visit giant Red-hot Poker flowers (Kniphofia) to lick nectar for glucose energy in the thin highland air.
*Учёные открыли: волки любят сладкий нектар!*
*የሳይንስ ልምዓን ገለጫቹ: ዝዕቦች ሳኳ ከማቃ ይፈልጋሉ!*
Imagine: a fierce hunter perfectly adapted to chase rodents at 4,000 meters altitude, pausing gently to lick sweet nectar from vibrant orange blooms.
*Представьте: свирепый охотник нежно слизывает нектар с цветка!*
Nature's poetry!
⚡ WHY THIS MATTERS:
This behavior reveals the deep connection between predator and plant, hunter and flower.
*Глубокая связь между хищником и растением!*
*በእንሰሳ እና ዕጥዋት ማካከል የተፈጥሮ አጋጣጠን!*
In Ethiopia, even wolves understand the sweetness of life.
🌅 KUINDZHI'S GOLDEN HOUR:
At sunset, when light paints everything in warm tones, the Ethiopian wolf becomes a living artwork — like stepping into Kuindzhi's masterpiece where every shadow tells an ancient story.
*В золотой час волк становится живой картиной!*
*በዋሪራ ሰዓት ዝዕብ የተገለጻ የእሳት እን፤ቤቶች ይሆናል!*
📸 Swipe through:
Photo 1: Wolf licking nectar (TONGUE VISIBLE!) → Photo 2: Artistic shot → Photo 3: Kuindzhi algorithmic art!
*Фото 1: Волк с языком! → Фото 3: Алгоритмическое искусство!*
#EthiopianWolf#የኢትዮጵያዝዕብ#Ethiopia#ኢትዮጵያ#EndangeredSpecies#የተዘገጡእንሰሳቶች#Wildlife#የብራት#Nectar#Kuindzhi#AlgorithmicArt#የአልገሪዝምእሳት#RareBeauty
🇪🇹@ethiopia
# 💦 TIS ISSAT: THE SMOKING WATER OF BLUE NILE
## 💦 ጥስ ኢሳት: የገባዊ አባይ ተሥታት ውሃ
🌊 КОГДА ВОДА ПОЁТ И ДЫШИТ!
Blue Nile Falls — one of Africa's most powerful waterfalls! Locals call it "Tis Issat" meaning "Smoking Water" because of the massive spray that creates a permanent rainbow in the mist. 🌈
⚡ THE UNSTOPPABLE POWER:
During rainy season, over 400,000 cubic meters of water PER SECOND crash down 45 meters! The thunderous roar echoes for kilometers.
*400,000 кубометров воды В СЕКУНДУ!*
*በሳምንት 400,000 ኩብ ሜትር ውሃ የሚወርድ!*
The earth trembles, the air fills with mist, and nature reminds us of her eternal strength.
🌈 THE RAINBOW MAGIC:
A perpetual rainbow dances in the waterfall's mist throughout the day when sunlight breaks through.
*Вечная радуга танцует в тумане!*
*የመቀጠል ቋቅደም በመታት ውስጥ ይየጫል!*
Nature's own light show, playing since the beginning of time!
🏞️ 4,000 YEARS OF HISTORY:
These falls have witnessed Ethiopian civilization since ancient times. Emperors stood here, poets wrote verses, lovers made eternal promises.
*Вода падает уже 4000 лет, равнодушная к времени!*
*የውሃ አባይ ከታና ኦዛ እስከ ማዲተራኔአን በመወረድ ይጋዝ!*
The water keeps falling, eternal in its journey from Lake Tana to the Mediterranean Sea.
☀️ KUINDZHI'S VISION ALIVE:
When dramatic light breaks through storm clouds — god rays illuminating the sacred waters — it's like witnessing Kuindzhi's masterpiece come to life. The Russian master painted light as sculpture; here, nature does the same!
*Божественные лучи как в картине Куинджи!*
*የእገዚአብሄር ልመዶች እናት ኩይንዅጂ እሳት!*
This waterfall doesn't just fall — it sings, it breathes, it lives. It's the heartbeat of the Blue Nile, the pulse of Ethiopia! 💙
📸Swipe through:
Photo 1-2: Real waterfall power → Photo 3: Kuindzhi algorithmic art with god rays!
*Фото 1-2: Реальная мощь → Фото 3: Алгоритмическое искусство!*
#BlueNileFalls#የገባዊአባይጠራጣ#TisIssat#ጥስኢሳት#Ethiopia#ኢትዮጵያ#Waterfall#የውሃአባይ#Rainbow#Kuindzhi#AlgorithmicArt#የአልገሪዝምእሳት#NaturalWonder#የተፈጥሮአግጣጠን
🇪🇹@ethiopia