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

Резултати

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

Пребарај: #love

当前筛选 #love清除筛选
EKOLOG.UZ| ENG

@ekologuzenglish · Post #11894 · 13.03.2026 г., 01:04

#Love A touching moment that reminds us about compassion. A mother crab was playing peacefully with her little baby near the water when suddenly a man grabbed the tiny crab from her claws. In desperation, the mother stayed nearby as if begging him to return her child. And when he finally did, she immediately pulled the baby close, holding it tightly as if afraid to lose it again. Even crabs have love for their children. Love does not depend on species, language, or size. Sometimes animals remind us of the simplest truth: every living being deserves care, respect, and the chance to live in peace. 🦀❤️☘️Read the latest environmental news on the @ekologuz page. Follow us and send your suggestions and wishes via @eklguz_bot Instagram | Facebook | Twitter | Sayt | Youtube.

Hashtags

Inspiring Thoughts

@Inspiringthoughts · Post #10473 · 08.02.2025 г., 10:38

When we feel #love and kindness toward others, it not only makes others feel loved and cared for, but it helps us also to develop inner happiness and peace. The practice of compassion and kindness is what brings us true happiness, both for ourselves and for those around us. -Dalai Lama 🌼💫❣

Hashtags

123•••5•••10•••15•••20•••25•••30•••35•••40•••45•••50•••55•••60•••6465
ПретходнаСтраница 1 од 65Следна