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

Резултати

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

Пребарај: #cholera

当前筛选 #cholera清除筛选

As of 29th September, over 10,000 suspected cases of #cholera have been recorded from the 36 States + FCT. The ongoing cholera outbreak has been worsened by limited access to clean water, open defecation, & poor hygiene practices in affected communities. 🔗Download the situation report https://ncdc.gov.ng/diseases/sitreps/?cat=7&name=An%20update%20of%20Cholera%20outbreak%20in%20Nigeria

Hashtags

In reporting week 32, the number of suspected cases of #cholera increased to 121 cases. Our weekly situation report provides an update on the current #cholera epidemiological situation in Nigeria and our response activities. 🔗 Download via: https://ncdc.gov.ng/diseases/sitreps/?cat=7&name=An%20update%20of%20Cholera%20outbreak%20in%20Nigeria

Hashtags

Our weekly #cholera situation report for weeks 28 and 29 has been uploaded. The reports provide an update on the current #cholera epidemiological situation in Nigeria and our response activities. 🔗 Download via: https://ncdc.gov.ng/diseases/sitreps/?cat=7&name=An%20update%20of%20Cholera%20outbreak%20in%20Nigeria

Hashtags

Your actions, no matter how small can limit the risk of #cholera infection. 🚫Do not defecate in open areas 🧤Clear your drainages ✅Only drink water from safe sources ✅Dispose of refuse properly in waste disposal sites Public health advisory⬇️ 🔗https://ncdc.gov.ng/news/513/stop-cholera%3A-public-health-advisory

Hashtags

Our weekly #cholera situation report for week 27 has been uploaded. The report provides an update on the current #cholera epidemiological situation in Nigeria and our response activities. 🔗 Download via: https://ncdc.gov.ng/diseases/sitreps/?cat=7&name=An%20update%20of%20Cholera%20outbreak%20in%20Nigeria

Hashtags

Our #cholera situation reports are now weekly. The reports provide an update on the #cholera epidemiological situation in Nigeria and our response activities. 🔗 Download via: https://ncdc.gov.ng/diseases/sitreps/?cat=7&name=An%20update%20of%20Cholera%20outbreak%20in%20Nigeria

Hashtags

The bacteria, Vibrio cholerae, that causes #cholera is commonly found in contaminated water and food. Protect yourself. Read our public health advisory on measures to take to prevent yourself from getting infected. ⬇️ 🔗 https://ncdc.gov.ng/news/513/stop-cholera%3A-public-health-advisory

Hashtags

#Cholera Situation Report Our monthly Cholera Situation Report for May 2024 has been published on our website. 🔗You can download, read and share via https://ncdc.gov.ng/diseases/sitreps/?cat=7&name=An%20update%20of%20Cholera%20outbreak%20in%20Nigeria

Hashtags

Unwashed hands, untreated water, and uncovered food are some of the ways #Cholera germs are spread. Personal and environmental hygiene remains one of the best ways to STOP #Cholera. Watch this little boy's story on cholera: https://www.youtube.com/watch?v=jG1VNSCsP5Q

Hashtags

123•••78
ПретходнаСтраница 1 од 8Следна