В 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
On May 27, 2025, an official meeting was held at the Somon Air office between the airline's management and representatives of Xinjiang Airport Group Co., Ltd.
During the meeting, the parties discussed the current state of the international aviation services market, including between Xinjiang and the Central Asian countries. The purpose of the Chinese delegation’s visit was to explore prospects for mutually beneficial cooperation and to engage in in-depth dialogue on the development of air communication and the expansion of the route network between cities in the Republic of Tajikistan and cities in the Xinjiang Uyghur Autonomous Region of the People’s Republic of China.
Xinjiang Airport Group Co., Ltd was represented at the meeting by General Manager of Xinjiang Airport Group Lu Huibin and Director of Marketing Committee Zhang Jun.
#somonair#xinjiang#aviation
👏Такла-Макан: от «Моря Смерти» к зеленому оазису
🔹Пустыня Такла-Макан, когда-то известная как грозное «Море Смерти», веками отпугивала путешественников. Но всего за последний год в уезде Юйтянь (Синьцзян-Уйгурский автономный район, Китай) были преобразованы огромные участки бесплодных земель на окраинах этой пустыни.
🌳 Хотите увидеть, как пески медленно, но верно превращаются в процветающий зеленый оазис? Тогда смотрите видео! 🤩
#explorexinjiang#Синьцзян#Xinjiang#TaklimakanDesert
China uses one official time zone: China Standard Time (CST), 8 hours ahead of UTC, called Beijing Time. In Xinjiang, many Uyghurs use Xinjiang Time, 2 hours behind CST. China does not change clocks for Daylight Saving Time.
To see the current time check [here]
@googlefactss⏰🇨🇳
#China#TimeZone#CST#Xinjiang#BeijingTime#funfact
As Europe deepens its economic ties with China, its willingness to confront Beijing over human rights abuses appears to be waning. A recent article highlights how European nations are prioritizing trade and diplomacy, even as concerns about rights violations in Xinjiang and Tibet persist. Critics warn that this compromises Europe's commitment to human rights and raises questions about its moral leadership on the global stage.
#EuropeChinaRelations#HumanRights#Xinjiang#Tibet#GlobalDiplomacy#TheEconomist
隨著歐洲加強與中國的經濟聯繫,對北京人權問題的關注似乎日漸減弱。一篇最新文章指出,儘管新疆和西藏的權益問題仍存,歐洲各國卻更注重貿易和外交關係。有批評者警告,這將削弱歐洲對人權的承諾,並對其全球道德領導力提出質疑。
#歐中關係#人權問題#新疆#西藏#全球外交#經濟學人
https://www.economist.com/international/2025/03/25/europe-will-have-to-zip-its-lip-over-chinas-abuses
#Beijing_Review🇨🇳📕[PDF]⬇️
2 #October2025
#Weekly_Magazines
For learning, for free(dom).
@backupofmagazines
In this issue , the spotlight shines on #Xinjiang 70, celebrating seven decades of transformation in the autonomous region—from economic health to cultural heritage. Global topics include #PalestineRecognition, evolving #ChinaUS relations, and the healing potential of dialogue via the #XiangshanForum. Special features explore #RuralRevitalization and tech-driven change in Qingdao and Fujian, as #ScienceInnovation takes center stage. From the vibrant Grand Bazaar to a Somali expat’s vision, this issue captures both regional pride and global dialogue. #BeijingReview#CulturalDiversity#BeltAndRoad#EducationMatters#ChinaPerspective