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

Резултати

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

Пребарај: #soil

当前筛选 #soil清除筛选
Interesting Planet 🌍

@interesting_planet_facts · Post #434 · 27.07.2025 г., 02:22

🌎 The European mole can “swim” through soil by using its large, spade-like paws to paddle through loose earth, creating complex underground tunnels. This adaptation helps it hunt worms in the dark, while its velvety fur lets it slide backward or forward with ease. ✨ #mammals⚡#adaptation⚡#soil 👉subscribe Interesting Planet

Amazing Geography 🌍

@amazingeo · Post #189 · 06.09.2025 г., 20:12

🌍 Around a third of the world’s soil has already been degraded by erosion, pollution, and overuse—putting global food production and ecosystem health at serious risk. ✨ #environment⚡#sustainability⚡#soil⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #242 · 15.09.2025 г., 16:12

🌍 Grasslands cover about 40% of Earth’s land surface and are found on every continent except Antarctica. Some of the world’s richest soils, called mollisols, form in temperate grasslands. ✨ #grasslands⚡#savanna⚡#soil⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #398 · 21.10.2025 г., 12:31

🌍 Some grassland soils are so fertile they can support crops for decades without added fertilizer. These deep, dark soils store huge amounts of carbon, helping stabilize the global climate. ✨ #grasslands⚡#soil⚡#carbon⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40375 · 21.12.2025 г., 02:44

After death, human microbes survive in soil and help break down the body. They work with soil microbes to speed up decomposition and recycle nitrogen, which plants need to grow. These microbes can live in the soil for months or years, turning dead bodies into nutrients that support new life. 🌱🦠💀 [Source] @googlefactss#Decomposition#Microbes#Soil#NitrogenCycle#Ecosystem