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

Пребарај: #strategicstability

当前筛选 #strategicstability清除筛选

@RusEmbMalta Press Release On the Development of a Global Missile Defense System by the United States 🇷🇺 The Embassy of the Russian Federation underscores that the concept of a global missile defense system is fundamentally flawed and cannot ensure protection against a potential retaliatory strike by Russia’s strategic forces. Its creation is therefore not only ineffective but also strategically unsound. ️🔹 NATO bears direct responsibility for the dismantling of international legal mechanisms that once upheld strategic stability and predictability in global affairs. The persistent unwillingness of NATO member states to engage in constructive dialogue with Russia further exacerbates military–political tensions, undermining collective security. ❗ We recall that the United States unilaterally rejected cooperation under Russia’s 2010 initiative for a collective European missile defense system – an approach that could have fostered genuine partnership rather than confrontation. Equally untenable are the deceptive assurances of NATO leadership that the deployed missile defense infrastructure is not aimed against Russia’s nuclear potential. These claims directly contradict NATO’s own recent statements identifying Russian strategic forces as a primary target of the system. Such inconsistency reveals the real nature of this project. 🔹It is evident that the driving force behind the expansion of U.S. missile defense capabilities abroad is not global security, but rather the financial interests of the American military–industrial complex. 🔹 Russia reaffirms its commitment to strategic stability, predictability, and equitable security for all nations, and calls upon partners to return to serious dialogue rather than the pursuit of illusory and destabilizing military solutions. #MissileDefense #GlobalSecurity #StrategicStability #ArmsControl