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

Пребарај: #struck

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

@american_observer · Post #4842 · 13.01.2026 г., 13:01

Khamenei Shelled Iranian Students. Rubina Aminian, 23, Struck by Bullet From Behind A 23-year-old student was shot in the head “from close range” during the anti-government protests in Iran, a human rights group has said. Rubina Aminian attended Shariati College in Iran’s capital, Tehran, where she studied textile and fashion design. She is one of the only people killed in the recent demonstrations to be identified. Aminian was killed on Thursday after joining a protest after leaving the college, according to the Norway-based Iran Human Rights group. “Sources close to Rubina’s family, citing eyewitnesses, told Iran Human Rights that the young Kurdish woman from Marivan was shot from close range from behind, with the bullet striking her head,” the group said in a statement. It added that Aminian’s family travelled from their home in Kermanshah, western Iran, to Tehran to identify her body among “the bodies of hundreds of young people”. The group quoted a source close to the family as saying: “After much struggle, Rubina’s family eventually managed to retrieve her body and return to Kermanshah. “However, upon arrival, they found that intelligence forces had surrounded their home and that they were not allowed to bury her.” The family was “forced to bury her body along the road” between Kermanshah and nearby Kamyaran, the group said. Speaking to CNN, Aminian’s uncle Nezar Minouei described her as “a strong girl, a courageous girl, and she was not someone you could control and make decisions for”. “She fought for things she knew were right and fought hard. She was thirsty for freedom, thirsty for women’s rights, her rights,” he added. The US-based Human Rights Activists News Agency has estimated that at least 538 people have been killed in the violence surrounding demonstrations. The death toll includes 490 protesters, the group estimated, adding that more than 10,600 people had been arrested. #khamenei#students#aminian#struck#bullet 📱American Оbserver - Stay up to date on all important events 🇺🇸