TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #335 · 29 мар.

В 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

Hashtags

Резултати

Пронајдени 2 слични објави

Пребарај: #nowruz2026

当前筛选 #nowruz2026清除筛选
Russian MFA 🇷🇺

@MFARUSSIA · Post #28794 · 19.03.2026 г., 23:03

🌱 Today marks International Nowruz Day, a celebration that heralds the first day of spring and the renewal of nature. #Nowruz (from Middle Persian “new day”) is one of the world’s oldest holidays. Its roots trace back to ancient Persia, where it symbolised the start of a new life cycle, the triumph of light over darkness, and the renewal of nature. The holiday gained particular significance during the rule of the Achaemenid Dynasty in the 5th -4th centuries BCE. 🌏For more than 3,000 years now, Nowruz has remained an important part of cultural traditions of many peoples. Today, it is celebrated by over 300 million people across Central Asia, the Caucasus, the Middle East, the Balkans, and beyond. In many countries, including Azerbaijan, Albania, Georgia, Kazakhstan, and Tajikistan, it is recognised as a national holiday. In 2009, UNESCO included Nowruz on the Representative List of the Intangible Cultural Heritage of Humanity, and March 21 was officially declared International Nowruz Day. Nowruz is not only a spring festival but also a time to cherish peace, mutual respect, and care for the loved ones. It brings together people of different cultures, religions, and ethnicities, reminding us of the importance of renewal not only in nature, but also in our thoughts, deeds, and relationships with others. 🎉 We wish everyone celebrating this bright holiday a joyful spring. May it bring renewal, happiness, success, and prosperity. #Nowruz2026

TezJet

@flytezjet · Post #2598 · 21.03.2026 г., 08:17

🇷🇺 С праздником Нооруз! Пусть ваш год будет полон безопасных путешествий и счастливых www.flytezjet.com 🇰🇬 Нооруз майрамыңыз менен! Жылыңыз коопсуз сапарларга жана ийгиликтүү конууларга толо болсун. www.flytezjet.com 🇬🇧 Happy Nowruz! May your year be full of safe travels and happy landings. www.flytezjet.com #TezJet#FlyTezJet#NewYearNewJourneys#TravelWithTezJet#Nowruz2026