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

Резултати

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

Пребарај: #cosmic

当前筛选 #cosmic清除筛选
Space Universe🌌

@spaceuniverses · Post #146 · 26.02.2022 г., 07:00

🌟Planetary nebulas are expanding shells of gas produced by a dying #star as it sheds its outer layers. These jettisoned shells remain for a relatively short time in #cosmic terms — tens of thousands of years — before gradually dissipating into #space. Planetary nebula NGC 7027 is located about 2,900 light years from Earth.

Universe Mysteries 🪐

@cosmomyst · Post #415 · 12.10.2025 г., 22:21

🪐 On August 27, 1998, astronomers detected a remarkable gamma-ray burst from the magnetar SGR 1900+14, located about 20,000 light-years away in the constellation Aquila. This event released more than a thousand times the energy of the Sun in just a fraction of a second, making it one of the brightest gamma-ray flashes ever recorded and proving that magnetars—neutron stars with ultra-strong magnetic fields—can unleash explosions powerful enough to briefly outshine entire galaxies. ✨ #gamma-ray-bursts ⚡#magnetar⚡#cosmic-explosions ⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​

科技&趣闻&杂记

@kejiqu · Post #4250 · 10.03.2026 г., 03:06

宇宙是无限的吗? 观测数据显示宇宙呈现平坦状态,但其真实大小和超出可观测范围的整体形状可能永远无法确定。科学家指出,如同地球表面具有可测量的尺寸,如果地球膨胀,其尺寸会随时间增加。然而,宇宙的真实性质,包括其是否无限,以及超出可观测范围的形状,仍然是未解之谜。目前的技术手段无法确定宇宙的全局几何结构,其真实尺寸和形状可能永远无法被人类完全认知。SciTechDaily 🏷#Universe#Cosmic#Geometry#Observations 📢频道👥群组📝投稿

Universe Mysteries 🪐

@cosmomyst · Post #502 · 16.11.2025 г., 22:21

🪐 In 2021, astronomers detected a record-breaking gamma-ray burst called GRB 211211A, which defied expectations by lasting over a minute—much longer than most "short" bursts thought to arise from merging neutron stars. Observations with space telescopes revealed this unusually long burst likely came from the merger of two neutron stars in a distant galaxy, showing that cosmic collisions can create gamma-ray explosions with a wider variety of durations and energies than previously believed. ✨ #gamma-ray-bursts ⚡#neutron-stars ⚡#cosmic-explosions ⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​

Universe Mysteries 🪐

@cosmomyst · Post #365 · 02.10.2025 г., 22:21

🪐 In December 2004, the galaxy NGC 1637 in the constellation Eridanus was the source of a rare and powerful cosmic event known as a "short gamma-ray burst." Lasting less than two seconds, these bursts are believed to result from the merger of two neutron stars—ultra-dense remnants of massive stars—which create a flash of high-energy gamma rays strong enough to briefly outshine entire galaxies before fading away in moments. ✨ #gamma-rays ⚡#neutron-stars ⚡#cosmic-explosions ⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​

Universe Mysteries 🪐

@cosmomyst · Post #645 · 28.01.2026 г., 12:21

🪐 The dwarf galaxy GRB Host 080605, located nearly 6.5 billion light-years away, is home to one of the brightest long-duration gamma-ray bursts ever detected. This powerful explosion, which lasted over a minute, released more energy than our Sun will emit in its entire lifetime, making GRB 080605 a textbook example of how collapsing massive stars can light up distant galaxies with blinding bursts of high-energy light. ✨ #gamma-ray-bursts ⚡#distant-galaxies ⚡#cosmic-explosions ⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​

Universe Mysteries 🪐

@cosmomyst · Post #391 · 08.10.2025 г., 12:21

🪐 When a massive star dies in a distant galaxy, it can create a stunning cosmic explosion called a gamma-ray burst, or GRB—an event so powerful that it outshines entire galaxies for a few seconds. In 2021, the galaxy GN-z11, over 13.4 billion light-years away, was revealed as the host of one of the earliest gamma-ray bursts ever detected, showing that even in the universe's first few hundred million years, these immense blasts were shaping the cosmos. ✨ #gamma-ray-bursts ⚡#GN-z11 ⚡#cosmic-explosions ⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​

12
ПретходнаСтраница 1 од 2Следна