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

Резултати

Пронајдени 1,453 слични објави

Глобално пребарување

Linuxgram 🐧

@linuxgram · Post #18275 · 01.04.2026 г., 19:57

📰 NVIDIA announce a preview of "DRM Per-Plane Color Pipeline API" support on Linux (good for HDR) NVIDIA just announced something quite interesting, in the form of an upcoming update for their GPU drivers for Linux.Read the full article on GamingOnLinux. 🔗 Source: https://www.gamingonlinux.com/2026/04/nvidia-announce-a-preview-of-drm-per-plane-color-pipeline-api-support-on-linux-good-for-hdr/ #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18261 · 31.03.2026 г., 15:41

📰 A Lot Of Rust Graphics Driver Changes For Linux 7.1, NVIDIA Nova Driver Additions Sent out yesterday were the DRM Rust feature changes for DRM-Next ahead of the Linux 7.1 merge window coming in April. The Rust graphics/display driver code for Linux 7.1 includes more programming language abstractions and other Rust infrastructure work to make graphics drivers written in Rust more capable... 🔗 Source: https://www.phoronix.com/news/Rust-DRM-For-Linux-7.1 #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18256 · 31.03.2026 г., 13:49

📰 Axios Supply Chain Attack Pushes Cross-Platform RAT via Compromised npm Account The popular HTTP client known as Axios has suffered a supply chain attack after two newly published versions of the npm package introduced a malicious dependency that delivers a trojan capable of targeting Windows, macOS, and Linux systems.Versions 1.14.1 and 0.30.4 of Axios have been found to inject "plain-crypto-js" version 4.2.1 as a fake dependency.According to StepSecurity, the two. 🔗 Source: https://thehackernews.com/2026/03/axios-supply-chain-attack-pushes-cross.html #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18253 · 31.03.2026 г., 10:32

📰 The Next LVFS Actions Begin Tomorrow To Encourage More Hardware Vendors To Step Up Last year the Linux Vendor Firmware Service (LVFS) announced plans for major vendors to pay or contribute code to this project that makes it easy for deploying new system and device firmware on Linux systems. They are asking those with less than 99 employees to contribute $10k USD annually or those larger organizations to contribute $100k USD annually or to be employing engineer(s) to work full-time on LVFS/Fwupd. 🔗 Source: https://www.phoronix.com/news/LVFS-April-2026-Actions #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18252 · 31.03.2026 г., 08:52

📰 Fastfetch 2.61 System Information Tool Drops Windows 7 and 8 Support Fastfetch 2.61 drops Windows 7 and 8 support, introduces faster GPU detection, and transitions to a pure C build on Linux. 🔗 Source: https://linuxiac.com/fastfetch-2-61-system-information-tool-drops-windows-7-and-8-support/ #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18240 · 30.03.2026 г., 09:18

📰 Linux 7.0-rc6 Released With The Fixes Still Coming In Heavy Linux 7.0-rc6 was just released in quickly working toward the stable Linux 7.0 release in mid-April. This was another busy week with lots of bug fixes... 🔗 Source: https://www.phoronix.com/news/Linux-7.0-rc6-Released #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18239 · 30.03.2026 г., 08:36

📰 I stopped guessing why my Linux PC was slow and used one command to find out Your boot isn't slow for no reason, it just hasn't told you why yet. 🔗 Source: https://www.xda-developers.com/your-linux-pc-is-probably-booting-slower-than-it-should/ #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18217 · 27.03.2026 г., 22:31

📰 Immutable Linux sounded bulletproof until I tried to use it I thought this was supposed to make things easier for the user? 🔗 Source: https://www.xda-developers.com/immutable-linux-sounded-bulletproof-until-i-tried-to-use-it/ #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18206 · 26.03.2026 г., 22:28

📰 Stop using these 6 built-in Linux commands; I found something way better These alternatives have replaced several default commands for me. 🔗 Source: https://www.xda-developers.com/built-in-linux-commands-better-alternatives/ #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18190 · 26.03.2026 г., 07:48

📰 ASUS Armoury & HP WMI Drivers Add More Laptops Ahead Of Linux 7.0-rc6 Merged today was another round of platform-drivers-x86 changes for the ongoing Linux 7.0 cycle. There are bug fixes plus some new hardware support additions that make this merge notable. Due to the new hardware support amounting to just device IDs and not risking existing hardware support, it's fine for merging at this late stage of Linux 7.0 development... 🔗 Source: https://www.phoronix.com/news/Linux-7.0-rc6-More-Platform-Drv #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18164 · 24.03.2026 г., 14:34

📰NVIDIA 595.58.03 Linux Driver Debuts As Stable R595 Build Building off the NVIDIA 595.45.04 Linux beta driver that brought DRI3 v1.2 support and new Vulkan capabilities, the NVIDIA 595.58.03 Linux driver released this morning as the first stable Linux driver build in the R595 release branch... 🔗 Source: https://www.phoronix.com/news/NVIDIA-595.58.03-Linux #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18162 · 23.03.2026 г., 21:27

📰 I ditched GIMP for Krita and never looked back When I made the jump from Windows to Linux midway through 2025, I knew I had to find an alternative to one of my favorite image editors, Paint.net. It was simple, it did the job, and unfortunately, it wasn't on Linux. So, I went for the next-best thing I could think of off the top of my head: GIMP. 🔗 Source: https://www.xda-developers.com/i-ditched-gimp-for-krita-and-never-looked-back/ #linux

Hashtags

12•••678910•••100•••121122
ПретходнаСтраница 8 од 122Следна