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 слични објави

Пребарај: #eassom

当前筛选 #eassom清除筛选
Russian Mission to ASEAN

@aseanrussia · Post #309 · 09.03.2023 г., 04:01

🗓 On March 8, on the sidelines of the EAS SOM Meeting in Jakarta H.E. Mr. Andrey Rudenko, Deputy Minister of Foreign Affairs of the Russian Federation 🇷🇺, held a meeting with H.E. Mr. Kung Phoak, Secretary of State of the Ministry of Foreign Affairs and International Cooperation of the Kingdom of Cambodia 🇰🇭. Russian delegation discussed with the Cambodian Side, which is a country-coordinator of the ASEAN-Russia Dialogue Partnership, the whole range of issues of cooperation within the ASEAN-Russia Strategic Partnership, taking into account its 5th Anniversary this year. 🤝 Parties outlined further steps to intensify sectoral interaction putting special emphasis on such areas of common interest as science and technology, energy, digital transformation, ICTs, fight against terrorism and transnational crime. #RussiaASEAN#ASEANRussia#EAS#EASSOM

Russian Mission to ASEAN

@aseanrussia · Post #310 · 09.03.2023 г., 05:10

🗓On March 8, on the sidelines of the #EAS SOM Meeting in Jakarta, Deputy Minister of Foreign Affairs of the Russian Federation H.E. Mr. Andrey Rudenko🇷🇺 held a meeting with the Director General for ASEAN Cooperation of the Ministry of Foreign Affairs of the Republic of Indonesia H.E. Mr. Sidharto R. Suryodipuro🇮🇩. 🤝The diplomats reaffirmed their intention to consolidate efforts in order to strengthen the ASEAN-led security architecture and increase the efficiency of its mechanisms by building up inclusive practical cooperation. They touched upon key matters of ASEAN-Russia Strategic Partnership agenda, further strengthening of cooperation within the framework of ASEAN-led fora such as the #EAS, #ARF and #ADMM-Plus, as well as discussed topical issues and regional developments in the Asia-Pacific. #RussiaASEAN#ASEANRussia#EAS#EASSOM