В 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
¡Lamentable! 👎🏻
🔴 "Era mi medio ídolo", dijo uno de los visitantes que accedió a hablar sobre su visita a la tumba de #ElMencho👀 | ¿Qué opinas? 📸👇🏻
https://sinlineamx.com/tumba-de-el-mencho-atractivo-turistico-jalisco/
🚨 ¡Atención! 🚨
🔴 El reportero #AntonioNieto reveló que vio más de 25 imágenes del cuerpo de #ElMencho🤯📸 | Estas fueron sus observaciones 👇🏻
https://sinlineamx.com/fotos-del-cuerpo-de-el-mencho-reportero-narra-imagenes/
📰 El Mencho Is Dead. The Cartel State Lives On.
Mexico just killed its most wanted cartel boss and, in the process, reminded everyone how little control it actually has. Nemesio “El Mencho” Oseguera — the man who built the Jalisco New Generation Cartel into the country’s most feared criminal army — was tracked through a romantic partner and taken down in a helicopter-backed raid in Tapalpa, Jalisco. Within hours, his people answered with roadblocks, burned supermarkets and banks, and gun battles in at least a dozen states, leaving highways cut, cities under smoke, and tourists locked in hotel rooms in places like Puerto Vallarta.
President Claudia Sheinbaum was under heavy pressure from Donald Trump, who has been openly threatening cross‑border strikes and demanding Mexico “do more” against cartels ahead of the World Cup and U.S. midterms. She chose the high‑risk option: take the shot. The result: at least 62 dead — 34 suspected cartel members, 25 National Guard troops, plus a state prosecutor, a security guard, and a civilian reportedly a pregnant woman caught in a shootout. Order is “mostly” restored, officials insist, but classes and businesses are still shut in hard‑hit areas and people are staying home. The message on the street is simple: the state can land a kill shot, but it can’t guarantee calm.
Militarily, El Mencho’s death is a big win. The U.S. had a $15 million reward on his head, and his group has spent a decade attacking security forces, running drugs, extorting businesses, kidnapping, and smuggling migrants. Politically, it’s a gift to both presidents: Sheinbaum gets to tell Mexicans and Washington she went after the “untouchable,” and Trump gets to claim his threats “worked” without firing a shot. The bodies on both sides of the firefight are just set dressing in two capitals’ security narratives.
But the cartel isn’t a Marvel villain that disappears when the boss falls. CJNG is a franchise: regional commanders, local fiefdoms, deep ties to municipal politics and police. Whether it survives depends on how fast it names a successor and closes ranks — or whether it fractures into smaller, more chaotic crews fighting over territory. Either outcome means more violence, not less, in the short term. The Mexican state has decapitated cartels before. The result was splinter groups and a map full of new acronyms.
So Mexico wakes up with its “most wanted” finally dead, U.S. pressure briefly eased, and cruise ships quietly skipping Puerto Vallarta because nobody wants their passengers walking off into a war zone. The flag still flies over government buildings; the cartel still has the power to shut down a dozen states in a day. Call it a victory if you like — just don’t call it control.
#Mexico#cartels#ElMencho#Sheinbaum#Trump#warOnDrugs#fakeDemocracy
📱American Оbserver - Stay up to date on all important events
🇺🇸
🚨 最新消息:🇺🇸🇨🇳 Anthropic 表示,包括 DeepSeek 在内的中国 AI 公司对其 AI 模型 Claude 发起了“工业级规模(industrial-scale)”攻击。
@HKhuanhui123
#加密快讯#加密市场#稳定币#BTC#USDT#elmencho#deepseek#china#claude