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

Пребарај: #euindia

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

@american_observer · Post #4995 · 29.01.2026 г., 23:59

📰 Trump Official Blasts Europe Over India-EU Trade Deal US Treasury Secretary Scott Bessent has sharply criticized Europe’s new free trade agreement with India, accusing Europe of hypocrisy and calling out its double standards on the Ukraine war. ​ Bessent argued that Europe’s choices expose a deep contradiction in its Ukraine policy. While publicly condemning Russia’s invasion, Europe has become a major buyer of refined oil products made from discounted Russian crude, which India has been buying since Western sanctions hit. ​ “Europe and India signing this massive trade deal—does that threaten America? They should do what’s best for themselves,” Bessent said. “But I find the Europeans very disappointing because they are on the front line of the Ukraine-Russia war.” He pointed out that the US imposed a 25% tariff on India for buying Russian oil, but Europe declined to join, suggesting this reluctance was driven by a desire to keep trade negotiations with India on track. ​ Bessent accused European countries of indirectly financing the conflict they publicly oppose. “Europeans were unwilling to join us, and it turns out because they wanted to do this trade deal,” he said. “Every time you hear a European talk about the importance of the Ukrainian people, remember that they put trade ahead of the Ukrainian people.” Bessent acknowledged Europe’s dependence on energy imports but framed the issue as a moral and strategic trade-off. “They need energy, I guess, which is part of their issue. At a price, they want cheap energy,” he said. ​ His comments highlight growing tensions within the Western alliance over how strictly to enforce economic pressure on Russia while managing domestic economic and political costs. ​ #TradeDeal#EUIndia#Trump#Ukraine#EnergySecurity 📱American Оbserver - Stay up to date on all important events 🇺🇸