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 #18378 · 10.04.2026 г., 13:13

📰 More SpacemiT K3 RVA23 SoC Functionality Expected For Linux 7.1 The SpacemiT K3 is exciting as one of the first RISC-V RVA23 designs coming to market. For the Linux 7.0 kernel there is initial K3 support in the mainline kernel while the upcoming Linux 7.1 merge window is expected to land more K3 enablement... 🔗 Source: https://www.phoronix.com/news/More-SpacemiT-K3-For-Linux-7.1 #kernel#linux

Linuxgram 🐧

@linuxgram · Post #18373 · 10.04.2026 г., 09:25

📰Deepin 25.1 Arrives With Linux Kernel 6.18 and New AI Features Deepin 25.1 updates the desktop with Linux kernel 6.18, new UOS AI tools, file manager enhancements, and many fixes. 🔗 Source: https://linuxiac.com/deepin-25-1-arrives-with-linux-kernel-6-18-and-new-ai-features/ #kernel#linux

Linuxgram 🐧

@linuxgram · Post #18360 · 09.04.2026 г., 07:14

📰Linux 7.0 Adds Support For New Keys On Upcoming Laptops For Expanded AI Agent Interactions Since last year the Linux kernel already supported the Microsoft Copilot key appearing on recent laptops to trigger AI agent interactions. That keyboard key is becoming more common but now three additional new keys have been standardized for additional AI integration on future PCs. Merged today for Linux 7.0 is supporting those new standardized keycodes for AI use... 🔗 Source: https://www.phoronix.com/news/Linux-7.0-New-AI-Agent-Keys #kernel#linux

Linuxgram 🐧

@linuxgram · Post #18356 · 08.04.2026 г., 19:11

📰 Little Snitch, the macOS network tool, is now available on Linux A Linux version of Little Snitch, the iconic network monitoring and firewall tool for macOS, has been released. Little Snitch for Linux is written in Rust and uses eBPF for kernel-level traffic interception (which lets sandboxed code run inside the Linux kernel without modifying it). The tool lists processes on your machine making network connections, with options to block them. 🔗 Source: https://www.omgubuntu.co.uk/2026/04/little-snitch-linux #linux#kernel

Linuxgram 🐧

@linuxgram · Post #18338 · 07.04.2026 г., 16:50

📰 Linux's Second-In-Command Turns To New Fuzzing Tools For Uncovering Kernel Bugs Greg Kroah-Hartman, the main Linux stable kernel maintainer and typically viewed as the second-in-command to the Linux kernel development, has turned to new "gregkh_clanker_t1000" fuzzing tooling to help uncover new kernel bugs... 🔗 Source: https://www.phoronix.com/news/Greg-KH-Clanker-Linux-Bugs #linux#kernel

Linuxgram 🐧

@linuxgram · Post #18331 · 07.04.2026 г., 10:48

📰 RISC-V XIP Linux Feature Being Removed After It Keeps Breaking For Months At A Time Introduced in Linux 5.13 back in 2021 was eXecute In Place "XIP" support for RISC-V that allows for the kernel image to be executed from ROM. The intent is on allowing the kernel to run from non-volatile storage like NOR flash that is directly addressable by the CPU and to reduce RAM usage. But after RISC-V XIP support is broken for months at a time, the feature is now set to be retired from the mainline kernel... 🔗 Source: https://www.phoronix.com/news/RISC-V-XIP-Being-Removed #linux#kernel

Linuxgram 🐧

@linuxgram · Post #18326 · 06.04.2026 г., 16:46

📰 Patch to end i486 support hits Linux kernel merge queue After a year of patchwork, maintainers look ready to start retiring 486-class CPUs It's taken nearly a full version number to get the pieces in order, but the long-awaited end of 486 chip support in the Linux kernel appears to be nigh with Linux 7.1's release later this year. … 🔗 Source: https://go.theregister.com/feed/www.theregister.com/2026/04/06/patch_to_end_i486_support/ #linux#kernel

Linuxgram 🐧

@linuxgram · Post #18319 · 06.04.2026 г., 06:52

📰Linux 7.0-rc7 Released With Improved Docs For AI Agents, WiFi Driver Performance Fix Timed for Easter this year is the seventh weekly release candidate for the Linux 7.0 kernel. If all goes well, Linux 7.0 stable will be out next week... 🔗 Source: https://www.phoronix.com/news/Linux-7.0-rc7-Released #linux#kernel

Linuxgram 🐧

@linuxgram · Post #18312 · 04.04.2026 г., 17:02

📰 Razer Wolverine V3 Pro & Betop KP50 Controllers To Be Supported By Linux 7.0 Ahead of tomorrow's Linux 7.0-rc7 kernel release, this week's batch of input fixes were sent in and merged. Besides a few small input fixes are also some new device IDs and quirks for hardware now to be handled by Linux 7.0... 🔗 Source: https://www.phoronix.com/news/Linux-7.0-rc7-Input-Fixes #linux#kernel

Linuxgram 🐧

@linuxgram · Post #18298 · 03.04.2026 г., 15:32

📰 Meta Has A New Linux Optimization To Avoid Throttling TCP Throughput Unnecessarily Meta's great Linux engineering team have been working through some fresh performance optimizations recently from optimizing /proc/interrupts outputs to renewing their investment in jemalloc. A new Linux kernel patch this week provides another optimization to avoid a possible situation of throttling the TCP throughput unnecessarily on Linux systems... 🔗 Source: https://www.phoronix.com/news/Linux-VM-Pressure-TCP-Through #linux#kernel

Linuxgram 🐧

@linuxgram · Post #18271 · 01.04.2026 г., 13:39

📰 The Linux Kernel's Minimum Rust Version Supported Prepares For Rust 1.85 Baseline The Rust-For-Linux crew is preparing to raise the minimum supported Rust version for building the Linux kernel and and similarly also bumping the minimum supported version of bindgen, the tool for generating Rust FFI bindings for C code in the kernel... 🔗 Source: https://www.phoronix.com/news/Linux-Preps-For-Rust-1.85-Base #linux#kernel

Linuxgram 🐧

@linuxgram · Post #18265 · 31.03.2026 г., 21:27

📰 New Rust-Based BUS1 In-Kernel IPC In Development For The Linux Kernel After KDBUS failed to make it into the mainline Linux kernel more than one decade ago as an in-kernel version of D-Bus, BUS1 was proposed as a clean sheet design for in-kernel, capability-based inter-process communication (IPC). BUS1 didn't gain enough traction to make it to the mainline kernel and then many of the same developers devised Dbus-Broker as a more performant D-Bus user-space implementation. 🔗 Source: https://www.phoronix.com/news/BUS1-Linux-2026 #linux#kernel

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