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

Резултати

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

Пребарај: #tarantulanebula

当前筛选 #tarantulanebula清除筛选
Universe Mysteries 🪐

@cosmomyst · Post #32 · 30.07.2025 г., 04:51

🪐 The Tarantula Nebula in the Large Magellanic Cloud is the most active star-forming region in the Local Group of galaxies, producing some of the most massive stars ever observed. Inside this cosmic web, the star R136a1 blazes with a mass over 250 times that of the Sun, pushing the boundaries of how big stars can grow before they collapse. ✨ #TarantulaNebula⚡#starformation⚡#R136a1 👉subscribe Universe Mysteries

Universe Mysteries 🪐

@cosmomyst · Post #493 · 12.11.2025 г., 12:21

🪐 The pulsar PSR J0537−6910, spinning an incredible 62 times per second, sits in the Tarantula Nebula of the Large Magellanic Cloud and holds the record for the fastest known "glitches." Glitches are sudden jumps in a pulsar’s rotation speed—caused by internal adjustments in these ultra-dense, spinning neutron stars—and PSR J0537−6910’s frequent glitches help scientists unlock secrets about the strange matter inside these cosmic lighthouses. ✨ #pulsars⚡#neutronstars⚡#tarantulanebula⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​

Universe Mysteries 🪐

@cosmomyst · Post #729 · 01.04.2026 г., 22:21

🪐 The rapidly spinning star VFTS 102, found in the Tarantula Nebula of the Large Magellanic Cloud, is one of the fastest rotating stars ever observed—spinning at over 2 million kilometers per hour. This extreme speed stretches the star into an oblate shape and may be the result of a dramatic past, possibly caused by a close encounter or collision with another star. ✨ #unusualstars⚡#tarantulanebula⚡#rotation⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​

Universe Mysteries 🪐

@cosmomyst · Post #431 · 16.10.2025 г., 12:21

🪐 The star VFTS 352, located in the Tarantula Nebula about 160,000 light-years away, is actually two massive stars orbiting each other so closely that their outer layers touch—creating a rare "overcontact binary." This unusual system is on the verge of merging, and both stars are so hot and bright that their shared atmosphere fuses them together, making VFTS 352 one of the most extreme examples of stellar partnership ever found. ✨ #unusualstars⚡#binaries⚡#TarantulaNebula⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​

Universe Mysteries 🪐

@cosmomyst · Post #247 · 09.09.2025 г., 16:11

🪐 In the Tarantula Nebula of the Large Magellanic Cloud, light from young, massive stars races outward at the universal speed limit—299,792 kilometers per second—helping illuminate vast clouds of gas across 1,000 light-years of space. Because nothing can travel faster than this speed in a vacuum, the glow we see from such stellar nurseries is always an echo from the past, showing us cosmic events exactly as they unfolded years, decades, or even millennia ago. ✨ #speedoflight⚡#tarantulanebula⚡#largemagellaniccloud⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries ​

Universe Mysteries 🪐

@cosmomyst · Post #554 · 12.12.2025 г., 22:21

🪐 The star R136a1, found in the Tarantula Nebula of the Large Magellanic Cloud, is considered the most massive known star, weighing in at about 215 times the mass of our Sun. Unlike ordinary stars, R136a1 is so hot and bright that it blasts vast amounts of its own material into space, shortening its lifespan to just a few million years—an incredibly brief existence for such a cosmic giant. ✨ #unusualstars⚡#tarantulanebula⚡#stellarphysics⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​