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

Резултати

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

Пребарај: #nationalsecurity

当前筛选 #nationalsecurity清除筛选
Indian Development News 🇮🇳

@developmentnewsindia · Post #44467 · 05.05.2026 г., 19:06

A sudden scooty explosion was reported near the headquarters of the Border Security Force (BSF) in Punjab's Jalandhar district. The high-security location of the blast has added urgency to an already serious situation. Police investigating all angles. Fortunately no one was hurt. #nationalsecurity

Indian Development News 🇮🇳

@developmentnewsindia · Post #44466 · 05.05.2026 г., 19:00

3 accused have been charged in Ahmedabad in ISIS-linked Jihadi bioterrorism conspiracy to carry out mass poisoning in public spaces. Hyderabad-based doctor Syed Ahmed Mohiuddin, and co-accused Azad & Suhel from U.P, have been charged under UA (P) Act, BNS and Arms Act. #nationalsecurity

Indian Development News 🇮🇳

@developmentnewsindia · Post #44429 · 05.05.2026 г., 05:44

Recent imagery from Pakistan shows reconstruction work at the "terror-linked" targets India struck in May 2025, previously damaged structures are being restored, demolitions & debris continue to be removed nearly a year after the strike. #nationalsecurity https://www.indiatoday.in/world/story/jaish-rebuilds-bahawalpur-base-muzaffarabad-after-operation-sindoor-satellite-images-show-2906805-2026-05-05

Indian Development News 🇮🇳

@developmentnewsindia · Post #44155 · 28.04.2026 г., 08:25

NIA teams are spread across various districts, including South 24 Parganas, Hooghly, Nadia, and Kolkata ahead of polling. Teams are probing the cases of recovery of crude bombs, illegal arms and ammunitions. Teams are also on ground to immediately respond if a situation arises during, after or before polling #NationalSecurity

Indian Development News 🇮🇳

@developmentnewsindia · Post #44145 · 28.04.2026 г., 06:26

On 18th and 19th April, the Enforcement Directorate conducted raids at several locations linked to a Christian evangelical organisation named The Timothy Initiative, TTI. In a press release, the ED said that it is investigating how TTI channelled over Rs 95 crore into India using foreign banks issued debit cards (Truist Bank, 🇺🇸) while completely skipping FCRA regulations. TTI funneled money using these cards to build churches(and maybe more) in naxal affected districts of Chattisgarh. #nationalsecurity https://x.com/i/status/2047643801460805854

Indian Development News 🇮🇳

@developmentnewsindia · Post #44090 · 26.04.2026 г., 17:36

In a significant development, the Union Ministry of Home Affairs (MHA) has handed over a case related to the recovery of crude bombs in West Bengal to the National Investigation Agency (NIA), citing serious national security concerns and the need to probe a larger conspiracy. #NationalSecurity

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