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

Резултати

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

Пребарај: #latakia

当前筛选 #latakia清除筛选
Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29162 · 30.12.2025 г., 21:12

After the attack launched by the regime’s terrorists yesterday in #Latakia, the modest kiosk of the #Alawite young man Ali was vandalized. Ali used to make a living and support his family from this kiosk, and now his family's only source of income has been cut off. Tweet: https://t.co/FPNJrUBukx

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29135 · 29.12.2025 г., 07:34

‎⁦ #Latakia⁩ | ⁦ #Syria⁩ : Several protesters were killed today, and many others were injured. Among the fatalities were Haider Muhammad Ma’la (معلا) and Noor Badr Ghara, who were shot by ⁦ #HTS⁩-led General Security militias. ‎SyrianCoast

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29123 · 28.12.2025 г., 14:11

In #Jolani's textbook, you disperse peaceful protesters by bringing FUCKING TANKS. @TheAlawiteEcho Tens of thousands of #Alawites are protesting in the city of #Latakia and all around the Syrian coast, rejecting the Jihadist regime of #Jolani, calling for federalism. The Alawite community has lost thousands of civilians throughout the last year, with thousands more detained. https://t.co/SV7Sb1byDR View tweet

Moscow Photographer

@moscowphotog · Post #1489 · 08.03.2025 г., 13:48

"A new massacre against the #Alawites in the city of #Latakia, in the #Dattour neighborhood, al-Mazar junction. I beg all segments of the Syrian people, especially the #Druze, #Kurds, and any remaining members of the #Sunni community who still have a little humanity left in their hearts, to take to the streets in protest to stop these massacres against the innocent. These #massacres are not from yesterday, they are happening today, and as of moments ago, they are still being carried out by Syrian members of Hay’at Tahrir al-Sham #HTS, wearing their official uniforms. Please, save those who remain." https://t.me/CoastSyrian24/771