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

Резултати

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

Пребарај: #hassannasrallah

当前筛选 #hassannasrallah清除筛选
Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3365 · 29.09.2024 г., 13:19

Statement by the President of the Syrian Arab Republic, Dr. Bashar al-Assad To the Lebanese National Resistance To the family of the martyr, #HassanNasrallah My message is not to console you on the martyrdom of the Resistance leader, for over the past decades, you have demonstrated such resilience, strength, determination, and solidarity that no tragedy, no matter how great, could weaken you. You come from a school of struggle that knows only perseverance and steadfastness on the path of truth, no matter how high the cost. Noble and pure blood is only spilled in the pursuit of justice and its causes. The Resistance does not weaken with the martyrdom of its leaders; instead, it remains firmly rooted in the hearts and minds of its people. Great leaders, during their lifetimes, build the doctrine of struggle, chart its course, and establish its path. When they depart, they leave behind a legacy of thought and a practical approach to honor and resistance. They build for that inevitable hour of destiny, which does not come by chance but carries a profound message and consequence, as it transitions them from temporary presence among us to eternal immortality in our collective memory and consciousness, becoming an enduring symbol of resistance for generations to come. The Resistance is both an idea and a principle. The martyr, Hassan Nasrallah, is its memory and its history. He will never be regarded merely as a legend but will remain a path that creates a reality centered on the Resistance, with pride as its essence, dignity as its compass, liberation as its goal, and his name—Hassan Nasrallah—as its guiding light across generations. We are confident that the Lebanese National Resistance will continue on the path of struggle and justice against occupation and will remain the steadfast shoulder supporting the Palestinian people in their just cause. The martyr Nasrallah will always be remembered by the Syrian people for his unwavering stance, leading the Lebanese National Resistance alongside Syria in its battle against the tools of Zionism, despite the burdens he carried in his confrontation. This memory of loyalty will enshrine the name of the martyr, Hassan Nasrallah, forever. September 29, 2024 President Bashar al-Assad

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3700 · 23.11.2024 г., 03:04

The missiles deployed in the Israeli enemy airstrikes on Fathallah street in the heart of the capital #Beirut were advanced bunker-buster (seismic) bombs, highly toxic, generating an enormous blast that resonated as far as Sidon and the surrounding mountain regions. Notably, these are the same type of strikes previously employed in attempts to target #Hezbollah Secretary-General Sayyed #HassanNasrallah and Sayyed #HashemSafieddine. سترك يا رب.