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

Резултати

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

Пребарај: #nablus

当前筛选 #nablus清除筛选
RNN Mirror

@Palresistmirror · Post #94833 · 15.05.2026 г., 14:37

🚨 Fahd Zaidan Oweis (15) ascended to martyrdom after he was shot and killed by the IOF in the town of Al-Lubban ash-Sharqiya, south of #Nablus. Glory to the martyrs.

Hashtags

RNN Mirror

@Palresistmirror · Post #94379 · 08.05.2026 г., 16:52

🚨 Settlers set fire to a Palestinian home near the entrance of the village of Al-Lubban ash-Sharqiya, south of #Nablus.

Hashtags

RNN Mirror

@Palresistmirror · Post #94335 · 07.05.2026 г., 18:00

🚨 The Committee of Families of Political Detainees in the West Bank reports critical violations and systematic abuse occurring within the Palestinian Authority's Al-Junaid Prison in #Nablus. • All prisoners are exposed to psychological and physical terrorism while in custody. • Documented cases include the severe torture of detainee Suleiman Al-Shami, who sustained burns on his feet due to brutal interrogation methods. • Over 70 political detainees remain imprisoned despite explicit court orders issued for their release. • The committee holds the security apparatus fully responsible for the physical and psychological safety of the detainees and demands their immediate, unconditional release.

Hashtags

RNN Mirror

@Palresistmirror · Post #94142 · 03.05.2026 г., 12:02

🚨 Nayef Firas Ziad Samaro (26 years old), has ascended to martyrdom after he was shot by the IOF during a military raid in #Nablus. The Palestinian Red Crescent reported a total of 45 injuries during the incursion into the city center. The casualties include: • 5 injuries by live ammunition, including the martyr. • 40 injuries due to tear gas inhalation, with 10 requiring hospitalization. Glory to the martyrs.

Hashtags

RNN Mirror

@Palresistmirror · Post #93798 · 24.04.2026 г., 16:09

🚨 The Commission of Prisoners and Ex-Prisoners Affairs warns of a systematic campaign of abuse against Palestinian prisoner Amjad Awad, held in "Gilboa" prison. Awad, from the town of Awarta in #Nablus, has been detained since April 2011 and is serving five life sentences and seven additional years. The Commission reported that IOF prison authorities are subjecting Awad to: • Systematic physical and psychological violence, including beatings with metal batons, causing fractures. • Deliberate targeting of his head and face, resulting in broken teeth. • Attacks with rubber-coated metal bullets. • Persistent violent raids on his cell. During a legal visit in February, prison authorities refused to remove his restraints, limiting the consultation to ten minutes and forcing him to communicate via a telephone handset placed on his shoulder. The Commission emphasizes that these conditions pose a severe and immediate threat to his life, amid ongoing retaliatory measures by the occupation.

Hashtags

Resistance News Network

@palestineresist · Post #93690 · 08.04.2026 г., 15:35

🚨 Settlers kidnapped the child Usayd Mahmoud Ghanem from the town of Qabalan, taking him to the "Avitar" settlement built on Jabal Sobeih in the town of Beita, south of #Nablus.

Hashtags

Resistance News Network Backup

@RNN_Backup · Post #62903 · 13.10.2024 г., 21:11

🚨 Confrontations have broken out between resistant youth and the IOF invading Beit Furik, east of #Nablus. The Palestinian Red Crescent reported dealing with two live bullet injuries and four tear gas injuries including a two-month-old infant. Resistant youth targeted an IOF vehicles with Molotovs.

Hashtags

ПретходнаСтраница 1 од 3Следна