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

Резултати

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

Пребарај: #kurilovka

当前筛选 #kurilovka清除筛选
DruschbaFM - English

@druschbaFm_en · Post #51699 · 07.03.2025 г., 07:43

⚡️🇷🇺🇺🇦⚔️Fiend Reports in the Morning of 7 March 2025⚡️ 🔴#Kursk Region: 🔴In Sudzhansky district, in the area of #​​Sverdlikovo, Russian troops continue to attack with mobile groups along the border in southerly direction. 🟡 On the eastern flank, the RFAF have advanced into #Kurilovka and along the 'Kholodny Yar Ravine' to a depth of 4 kilometres. 🗺 Map 1 ➡️ The situation remains difficult (for the AFU). 🔴#Svatovo Front: 🔴 In #Kupyansk Sector, the Russians expanded the bridgehead on the western bank of the Oskol River in a section up to 2.73 kilometres wide and up to 1.15 kilometres deep. 🗺 Map 2 🔴#ChasovYar Direction: 🔴In #ChasovYar Sector, Russian troops, supported by 25 units of equipment, attacked the western part of the city. During the clashes, fighters of the AFU's 24th Brigade destroyed/hit 16 units of equipment and drove the Russians out of a number of positions. 🗺 Map 3 🎞 Video ➡️ A grey zone has been added to the map tentatively. The front configuration is being clarified. 🔴#Pokrovsk Direction: 🔴 On the right Flank, the AFU repelled attacks by Russian troops in the area of ​​#Peschanoye. 🔴 On the left Flank, the AFU repelled attacks by Russian troops in the area of ​​#Uspenovka and are also conducting counteractions in neighbouring areas. ➡️ The situation for the direction has not changed significantly. 📋Reported on 7 Mar at 08:00 📋Reported on 7 Mar at 08:18 📋Reported on 7 Mar at 08:31 🕰GMT+3; #smo 🇺🇦Map📍 📱For the Military Hardcore 💬 Welcome to Military Chat

DruschbaFM - English

@druschbaFm_en · Post #51663 · 06.03.2025 г., 07:32

⚡️🇷🇺🇺🇦⚔️Fiend Reports in the Morning of 6 March 2025⚡️ 🔴#Kursk Region: 🔴In Sudzhansky district, Russian troops continue attacks from the area of ​​the #NikolayevoDaryino settlement in the direction of #Sumy region, assaulting the area of ​​the #Lebedevka and #NovayaSorochina settlements. 🟡 At #Kurilovka, they have advanced in the eastern part of the 'Kholodny Yar Ravine' and on the southern outskirts of the settlement. 🗺 Map ➡️ The situation remains difficult (for the AFU). 🔴#Svatovo Front: 🔴 In #Kupyansk and #Liman directions, the situation has not changed significantly. 🔴#ChasovYar Direction: 🔴In #Toretsk Sector, fighting is taking place for the northern outskirts of the city and the southwestern part of the 'Zabalka Microdistrict.' The situation remains dynamic. 🔴#Pokrovsk Direction: 🔴 On the right Flank, fighting of varying intensity continues in the areas of ​​the #ZelyonoyePole, #Baranovka, #Shevchenko, #Peschanoye and #Kotlino villages... 🔴 On the left Flank, for #Udachnoye and #Uspenovka. 🔴#Komar Direction: 🔴In #Kurakhovo Sector, the RFAF reduced the number of attacks by infantry units and began to restore and accumulate forces and resources. 📋Reported on 6 Mar at 08:16 🕰GMT+3; #smo 🇺🇦Map📍 📱For the Military Hardcore 💬 Welcome to Military Chat