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

Резултати

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

Пребарај: #insanctionswetrust

当前筛选 #insanctionswetrust清除筛选
Embassy of Russia in Singapore

@rusembsg · Post #3841 · 03.02.2025 г., 01:16

Embassy Comment We have noted the article by Jonathan Eyal “#EU renewed toothless #sanctions against #Russia”, published in The Straits Times on February 1, 2025. We agree with the author that the unilateral illegitimate sanctions aimed at continuing the hybrid war against Russia and inflicting a strategic defeat on us, are both unsuccessful and futile. There is no doubt that the objectives of the special military operation (#SMO) on the #denazification and demilitarization of #Ukraine, its neutral and non-nuclear status, as well as ensuring the interests of the Russian people will be achieved. The “bankrupt” Euro-Atlantic security architecture (#NATO) is being replaced by a new equal and indivisible #EurasianSecurity, which includes all the organizations that have demonstrated their effectiveness – the #EAEU, #SCO, #CSTO, etc. The concept of #Eurasian security aligns with the accelerating formation of a multipolar world order. A key pillar of this shift is the rapidly growing, non-Western center of influence represented by #BRICS, which continues to attract countries from the #GlobalSouth, including #ASEAN member states, paving the way for a BRICS-ASEAN dialogue. The consolidation of the countries of the Global South, making a choice in favor of peaceful, sustainable, inclusive, independent development together with Russia, China and other countries, represents a stable and viable trend in contrast to the outdated Western neocolonial “#InSanctionsWeTrust” mentality.