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 #18067 · 15.03.2026 г., 19:29

📰 Linux 7.0 Lands Improvements To Deal With Upcoming Rust Changes, Build Reproducibility Merged to mainline yesterday for Linux 7.0 were yet more Rust changes in preparing for upcoming Rust releases as well as enhancing the kernel build reproducibility when engaging the Rust code... 🔗 Source: https://www.phoronix.com/news/Linux-7.0-rc4-More-Rust #kernel#linux

Linuxgram 🐧

@linuxgram · Post #18056 · 13.03.2026 г., 22:03

📰Linux 6.12 Through Linux 7.0 File-System Benchmarks For EXT4 + XFS Earlier this month were various Linux 7.0 file-system benchmarks showing how XFS is leading the race in the overall upstream Linux file-system performance on this forthcoming kernel. Stemming from that testing some premium supporters requested a fresh look at the historical performance of XFS as well as EXT4. So today's article is a look at how XFS and EXT4 have performed on every kernel release going back to Linux 6.12 LTS. 🔗 Source: https://www.phoronix.com/review/linux-612-linux-70-xfs-ext4 #kernel#linux

Linuxgram 🐧

@linuxgram · Post #18053 · 13.03.2026 г., 19:00

📰Linux Kernel API Specification Framework Advances Past RFC Stage After going through five rounds of review under a Request For Comments (RFC) flag, today the latest round of Kernel API Specification Framework patches were sent out with the RFC flag removed... 🔗 Source: https://www.phoronix.com/news/Kernel-API-Spec-Framework #kernel#linux

Linuxgram 🐧

@linuxgram · Post #18034 · 11.03.2026 г., 20:31

📰 Linux Patches Make The IPv6 Stack Less Modular To Lower Architectural Burden Currently the Linux IPv6 networking stack can be built into the Linux kernel, built as a loadable kernel module, or not built at all. With proposed patches from a SUSE engineer, the IPv6 networking stack would be limited to being a kernel built-in or not at all. In doing away with IPv6 as a loadable kernel module would allow simplifying some code and lowering the Linux networking maintenance burden... 🔗 Source: https://www.phoronix.com/news/Linux-IPv6-Built-In-Or-Nothing #kernel#linux

Linuxgram 🐧

@linuxgram · Post #17978 · 05.03.2026 г., 13:53

📰 Good News! EA Is Expanding Its Anti-Cheat to ARM64, and Linux Could Be Next Javelin, their kernel-level anti-cheat solution, might be heading to Linux. 🔗 Source: https://itsfoss.com/news/ea-anti-cheat-expansion-plans/ #linux#kernel

Linuxgram 🐧

@linuxgram · Post #17952 · 03.03.2026 г., 13:20

📰 ARCTIC Cooling Publishes ARCTIC Fan Controller Driver For Linux A Linux driver has been published for the ARCTIC Fan Controller to be able to read fan speeds under Linux as well as setting the PWM fan speed for each of the ten fans supported by this controller. Making this driver all the more exciting is that ARCTIC Cooling is directly working on this driver rather than just being a community/third-party creation. Furthermore, ARCTIC Cooling is working on getting this driver to the upstream Linux kernel... 🔗 Source: https://www.phoronix.com/news/ARCTIC-Fan-Controller-Linux #linux#kernel

Linuxgram 🐧

@linuxgram · Post #17945 · 02.03.2026 г., 16:18

📰IPFire 2.29 Core Update 200 Ships Linux Kernel 6.18 LTS IPFire 2.29 Core Update 200 introduces Linux kernel 6.18 LTS and a preview of the new IPFire Domain Blocklist for DNS filtering. 🔗 Source: https://linuxiac.com/ipfire-2-29-core-update-200-ships-linux-kernel-6-18-lts/ #linux#kernel

Linuxgram 🐧

@linuxgram · Post #17943 · 02.03.2026 г., 14:40

📰Armbian 26.2 Introduces Linux kernel 6.18 LTS Images and Imager Upgrades Armbian 26.2 Goa introduces expanded SBC support, Linux 6.18-based images, and continued enhancements for Rockchip and Allwinner platforms. 🔗 Source: https://linuxiac.com/armbian-26-2-introduces-linux-kernel-6-18-lts-images-and-imager-upgrades/ #linux#kernel

Linuxgram 🐧

@linuxgram · Post #17929 · 28.02.2026 г., 14:18

📰 Your Linux LTS Kernel Will Be Supported Longer Than You Thought More breathing room for distros and enterprise Linux users as LTS kernels get extended EOL dates. 🔗 Source: https://itsfoss.com/news/linux-lts-kernel-support-extension/ #linux#kernel

Linuxgram 🐧

@linuxgram · Post #17919 · 27.02.2026 г., 16:05

📰 Numerous AMDXDNA Ryzen AI Driver Fixes For Linux 7.0-rc2 Sent out today were all of the DRM/accel driver fixes for the week, ahead of the Linux 7.0-rc2 kernel release due out on Sunday... 🔗 Source: https://www.phoronix.com/news/Linux-7.0-rc2-DRM-Fixes #linux#kernel

Linuxgram 🐧

@linuxgram · Post #17902 · 26.02.2026 г., 15:18

📰 RK3588 and RK3576 video decoders support merged in the upstream Linux Kernel Support for Rockchip’s VDPU381 and VDPU383 decoders is now upstream in Linux, bringing mainline H.264/HEVC decode support, robust IOMMU-reset recovery, and new HEVC V4L2 UAPI controls aligned with Vulkan Video. 🔗 Source: https://www.collabora.com/news-and-blog/news-and-events/rk3588-and-rk3576-video-decoders-support-merged-in-the-upstream-linux-kernel.html #linux#kernel

Linuxgram 🐧

@linuxgram · Post #17901 · 26.02.2026 г., 12:39

📰 Linux 6.18 LTS / 6.12 LTS / 6.6 LTS Support Periods Extended Greg Kroah-Hartman today extended the planned maintenance periods of the latest Linux 6.18, Linux 6.12, and Linux 6.6 Long Term Support (LTS) kernel series... 🔗 Source: https://www.phoronix.com/news/Linux-6.18-LTS-6.12-6.6-Extend #linux#kernel

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