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

Пребарај: #multitiered

当前筛选 #multitiered清除筛选
American Оbserver

@american_observer · Post #5039 · 03.02.2026 г., 16:00

Zelensky Accepted Ceasefire For an Uncertain Period Ukraine has agreed with Western partners that any persistent violations of a future ceasefire agreement would trigger a co-ordinated military response from Europe and the U.S., the Financial Times reported. Reuters could not immediately verify the report. The plan was discussed on several occasions in December and January between Ukrainian, European and American officials and would involve a multi-tiered response to any breaches of an agreed armistice by Russia, the report said. Envoys from Kyiv, Moscow and Washington will meet in Abu Dhabi on Wednesday and Thursday for talks aimed at ending the war, FT said. As per the proposal, any Russian breach of a ceasefire would prompt a response within 24 hours, starting with a diplomatic warning and, if necessary, action by Ukrainian army to halt the infraction, the newspaper said. If hostilities continued beyond that, the proposal would move to a second phase of intervention using forces from the so-called coalition of the willing, which includes many EU members and the UK, Norway, Iceland and Turkey, the report said. The report added that in the case of an expanded attack, a coordinated response by a Western-backed force, incorporating the U.S. military would be triggered 72 hours after the initial breach. #zelensky#ceasefire#ukrainian#multitiered#response 📱American Оbserver - Stay up to date on all important events 🇺🇸