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

Резултати

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

Пребарај: #uluwatu

当前筛选 #uluwatu清除筛选
Bali News

@balinews · Post #457 · 08.07.2025 г., 09:55

🏚Demolition of illegal buildings has begun in Bingin 📰 Protests have been unsuccessful. Mass demolition of illegal buildings has begun on Bingin Beach: more than forty warungs, boutique hotels, and surf schools are to be dismantled. 📍 The authorities call it the restoration of state land, while local entrepreneurs fear losing their only source of income. Among the establishments that are to disappear from the coastal map are the varungs Didi's, Kelly's, and Ombak. #beaches#Uluwatu#realestate@BaliNews

Bali News

@balinews · Post #132 · 02.08.2024 г., 10:01

🏄‍♀️Rip Curl Cup kicked off in Uluwatu 📍 One of the most prestigious competitions in world surfing has started at the Balinese spot Padang Padang. 🌊 On which of the days in August the awards will be drawn, no one knows. Organizers, judges and athletes will be waiting for the best waves, the so-called "pipes", to show all that they know how to do for a month. 🏆 This year the format of the Rip Curl Cup has been updated. The organizers decided to follow the ideas of gender equality and agreed to hold separate competitions for women at the same time with men. The last time this happened in Bali was 21 years ago. President of Rip Curl Indonesia James Hendy explained that the decision to create a women's division this year was made after the success of Canadian surfer Erin Brooks, who competed with men at the last Rip Curl Cup last year and reached the final, in which at first even led. 🖥 You can watch the broadcast of the championship itself, as well as find out the date of the championship at the link. 🎉 The main party of Rip Curl Cup-2024 will start at 17:00 on August 30 and will continue until midnight. @BaliNews #events#beaches#beaches#sports#Uluwatu

Bali News

@balinews · Post #120 · 19.07.2024 г., 11:02

🛣Details about the construction of a district road in Bukit District authorities are set to solve the road issue in Uluwatu by laying a new district road. Construction of the first section from Siligita village to Sawangan in Nusa Dua district has already started. The original idea was to extend the toll road, which now runs from the airport to Nusa Dua, all the way to Uluwatu. Right now, traffic on the main road jl. Uluwatu is difficult because it is both a hub of commerce and the main thoroughfare of the area, used by everyone from locals to construction vehicles and tour buses. The land acquisition budget for 2024 will be $16 million, with the next one already promised to increase to $19 million. According to an insider in Bali's land office, all consideration of new housing development in the green zone on Bukit is now halted just in time for the land acquisition for the new roads. @BaliNews #roads#roads#authorities#Bukit#Uluwatu#NusaDua