В 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
Set your alarms early TOMORROW morning, March 3! ⏰🌕
A total lunar eclipse aka a “Blood Moon” is happening early Tuesday morning, March 3 and it’s a good one.
For most of us across the U.S., the lunar show starts before sunrise with peak totality around the middle of the hour depending on your time zone. During peak, the Moon turns that deep copper red as Earth’s shadow completely covers it.
No telescope needed. Just step outside, look up, and give your eyes a minute to adjust. Clouds permitting, this one will be hard to miss! Drop me your pictures if you catch it! #lunareclipse#bloodmoon
🔹👉🏻@SherriTenpenny
🪞 The Prophecy Paradox — Part One
The Mirror Washington Refuses to See
A Red Nile Media Exclusive Analysis (Two Parts)
Since February 28, 2026, the United States and Israel have launched a massive military campaign against Iran—assassinating most of its leadership, including Ayatollah Khamenei.
I’ve tried to make sense of this war from every angle—oil, nuclear proliferation, regional power, national interest. But it keeps coming back to the same conclusion:
It makes no sense… unless you see it through the lens of religious belief.
🔹 Hypocrisy in Plain Sight
American politicians publicly call Iran’s leaders “religious fanatics,” mocking their belief in the Twelfth Imam and apocalyptic visions.
Yet those same politicians—including Trump, his AIPAC allies, and the Zionist extremists around him—are driven by an equally fervent, apocalyptic faith.
They cherry-pick Bible verses. They embrace prophecies requiring the destruction of Al-Aqsa Mosque. They openly welcome Armageddon as a divine goal.
Washington projects onto Iran what it refuses to confront in itself.
In this must-read thread:
⚡️ The apocalyptic briefings the military hides
⚡️ How Purim & a “blood moon” shape the war
⚡️ The men in power fantasizing about destroying Al-Aqsa
A Note on Length:
I apologize that this article is a little long. But I promise you—if you read it in its full content, you will benefit. This is not casual reading. It is a detailed examination of forces that mainstream media refuses to touch. Take your time with it. Share it with others who need to understand what is really driving this war.
---
♦️If you find value in this work, please support Red Nile Media in any way you choose.
🔗 [Read Full Analysis]
#TheProphecyParadox#RedNileMedia#IranWar#Geopolitics#ChristianZionism#Purim#BloodMoon#ThirdTemple
🪞 The Prophecy Paradox — Part One
The Mirror Washington Refuses to See
A Red Nile Media Exclusive Analysis (Two Parts)
Since February 28, 2026, the United States and Israel have launched a massive military campaign against Iran—assassinating most of its leadership, including Ayatollah Khamenei.
I’ve tried to make sense of this war from every angle—oil, nuclear proliferation, regional power, national interest. But it keeps coming back to the same conclusion:
It makes no sense… unless you see it through the lens of religious belief.
🔹 Hypocrisy in Plain Sight
American politicians publicly call Iran’s leaders “religious fanatics,” mocking their belief in the Twelfth Imam and apocalyptic visions.
Yet those same politicians—including Trump, his AIPAC allies, and the Zionist extremists around him—are driven by an equally fervent, apocalyptic faith.
They cherry-pick Bible verses. They embrace prophecies requiring the destruction of Al-Aqsa Mosque. They openly welcome Armageddon as a divine goal.
Washington projects onto Iran what it refuses to confront in itself.
In this must-read thread:
⚡️ The apocalyptic briefings the military hides
⚡️ How Purim & a “blood moon” shape the war
⚡️ The men in power fantasizing about destroying Al-Aqsa
A Note on Length:
I apologize that this article is a little long. But I promise you—if you read it in its full content, you will benefit. This is not casual reading. It is a detailed examination of forces that mainstream media refuses to touch. Take your time with it. Share it with others who need to understand what is really driving this war.
---
♦️If you find value in this work, please support Red Nile Media in any way you choose.
🔗 [Read Full Analysis]
#TheProphecyParadox#RedNileMedia#IranWar#Geopolitics#ChristianZionism#Purim#BloodMoon#ThirdTemple