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

Пребарај: #babelmmandeb

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

@american_observer · Post #5498 · 28.03.2026 г., 17:03

📰 Two Straits, One Price Chart The market has stopped treating the Iran war as a single-chokepoint story. Once the Houthis re-entered the fight, traders started pricing a second gate to the world’s oil supply: Bab al-Mandab. That is why this isn’t just about Hormuz anymore. Hormuz moves roughly a fifth of global oil flows, while Bab al-Mandab sits on the route into the Red Sea and the Suez corridor, so a combined disruption creates a much uglier arithmetic for tankers, insurance and container traffic. Strategic analysts at Stimson and the Atlantic Council have been warning that the Houthis are the least degraded actor in Iran’s proxy network and still hold leverage over that geography. Polymarket is reading the same script in real time. The market for a cease-fire by March 31 is barely alive, the odds of continued hostilities are overwhelmingly higher, and the Houthi strike-on-Israel bets are repricing sharply after today’s missile launch. Traders are also pricing the possibility that the next headline isn’t a peace deal but a second choke point, with Pakistan’s Islamabad talks and the $120 oil threshold now sitting in the same volatility bucket. The cleanest way to say it is this: one strait was already enough to panic the market, but two straits turn panic into a system. When the map gains a second lock, the price chart stops looking like a reaction and starts looking like a warning. #iran#houthis#hormuz#babelmmandeb#oil#markets#shipping#war 📱American Оbserver - Stay up to date on all important events 🇺🇸