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

Резултати

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

Пребарај: #bikes

当前筛选 #bikes清除筛选
Car News

@car_news · Post #1891 · 16.03.2026 г., 13:28

🇯🇵 Yamaha releases the world’s first production scooter with an airbag 🏍 The new Tricity 300 (2026) features a collision detection system that deploys an airbag from under the handlebar during an accident. 🤞 Tests show that using this system reduces life-threatening risk by more than 30 times. 💰 Sales are expected to start next quarter. The official price hasn’t been announced yet, but the current Tricity 300 version costs around $10,000. #bikes@Car_News

Hashtags

Car News

@car_news · Post #1650 · 08.11.2025 г., 14:45

🏍Brabus unveils motorcycle priced at €42,000 📰 German tuning house Brabus has presented the exclusive 1400 R Signature Edition bike, based on the KTM 1390 Super Duke R EVO. 🔎 The motorcycle features carbon bodywork, 17-inch Monoblock II EVO Platinum Edition wheels, leather seats with Dinamica microfiber, and special dashboard graphics. 🐎 The 1.35-liter V2 engine retains its 190 hp and 145 Nm output and is complemented by a Brabus exhaust system. The bike is equipped with WP-APEX semi-active suspension and Brembo brakes. #bikes#Brabus@Car_News

Car News

@car_news · Post #1591 · 17.10.2025 г., 12:40

📰Yamaha goes full cyberpunk 🏍 This is the MOTOROiD 2, a motorcycle from the future. 🔎 It features a self-balancing system that keeps the bike upright and prevents it from tipping over. The bike can recognize its owner’s face and respond to gestures. Instead of traditional handlebars, it has integrated grips built into the body and supports autonomous control. #Yamaha#bikes@Car_News

Bali News

@balinews · Post #346 · 11.03.2025 г., 12:00

🛵Bali governor wants to ban tourists from driving bikes...again 😠 Bali Governor Wayan Koster has decided to revisit the topic of tourists driving motorcycles. He complained that foreigners are recklessly riding motorcycles without clothes and without helmets. 📰 The governor plans to introduce a regional PERDA regulation banning tourists from driving motorcycles. The measure is proposed in response to frequent traffic violations by commuters and is aimed at improving safety and order on the roads. 🤔Such initiatives have arisen before, but did not find support from the authorities and were not implemented. It is still unknown whether this decree will pass now, as the Minister of Tourism in Indonesia has changed since last time. @BaliNews #transport#bikes#rules#tourism