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 #18192 · 26.03.2026 г., 10:43

📰 Inside the Systemd Age Verification Debate: Developer Responds to Criticism A single pull request turned a quiet open source contributor into the unlikely target of one of the Linux community's most heated controversies. We interacted with Dylan Taylor to hear his side of the story. 🔗 Source: https://feed.itsfoss.com/link/24361/17306445/dylan-taylor-systemd-controversy #systemd#linux#opensource

Linuxgram 🐧

@linuxgram · Post #18292 · 03.04.2026 г., 08:51

📰 Systemd-Free Artix Linux Sees First Release in 2026 with XLibre and PipeWire Artix Linux 2026.04 distribution is now available for download with XLibre and PipeWire by default, Linux kernel 6.19, and more. Here's what's new! 🔗 Source: https://9to5linux.com/systemd-free-artix-linux-sees-first-release-in-2026-with-xlibre-and-pipewire #linux#systemd#kernel

Linuxgram 🐧

@linuxgram · Post #17992 · 06.03.2026 г., 10:26

📰 Linux From Scratch 13.0 Released as First Systemd-Only Version The Linux From Scratch project has released LFS 13.0 and BLFS 13.0, featuring updated packages, the 6.18.10 kernel, and a systemd-only build. 🔗 Source: https://linuxiac.com/linux-from-scratch-13-0-released-as-first-systemd-only-version/ #linux#systemd#kernel

DOFH - DevOps from hell

@dofh_ru · Post #3662 · 13.04.2025 г., 11:32

Cilium: Полное руководство по сетевому взаимодействию, безопасности и наблюдаемости в Kubernetes Cilium — это облачное решение для сетевого взаимодействия, предназначенное для обеспечения, защиты и мониторинга сетевого соединения между нагрузками (workloads) с помощью расширенных возможностей технологии eBPF (extended Berkeley Packet Filter), мощного механизма ядра Linux. Специалистам, знакомым с сетевым взаимодействием в Kubernetes, известно, насколько важны плагины CNI (Container Network Interface) для управления сетевой коммуникацией внутри и между узлами кластера. В данной статье подробно рассматриваются архитектура Cilium, ключевые особенности, методы развертывания, а также проводится сравнение с другими известными технологиями, такими как Istio. https://telegra.ph/Cilium-Polnoe-rukovodstvo-po-setevomu-vzaimodejstviyu-bezopasnosti-i-nablyudaemosti-aka-observability-v-Kubernetes-04-13 #ит_статьи#linux#devops#network#kubernetes#cilium#ebpf

Linuxgram 🐧

@linuxgram · Post #18399 · 12.04.2026 г., 00:46

📰 Trisquel GNU/Linux 12.0 LTS Released with GNU Linux-Libre 6.8 Kernel, MATE 1.26 Trisquel GNU/Linux 12.0 LTS distribution is now available for download with GNU Linux-libre 6.8 kernel, MATE 1.26 desktop environment, updated packages, and various improvements. 🔗 Source: https://9to5linux.com/trisquel-gnu-linux-12-0-lts-released-with-gnu-linux-libre-6-8-kernel-mate-1-26 #gnu#kernel#linux

Linuxgram 🐧

@linuxgram · Post #18729 · 09.05.2026 г., 21:10

📰 JDownloader site hacked to replace installers with Python RAT malware The website for the popular JDownloader download manager was compromised earlier this week to distribute malicious Windows and Linux installers, with the Windows payload found deploying a Python-based remote access trojan. 🔗 Source: https://www.bleepingcomputer.com/news/security/jdownloader-site-hacked-to-replace-installers-with-python-rat-malware/ #linux#python

Linuxgram 🐧

@linuxgram · Post #18697 · 07.05.2026 г., 10:27

📰 PyPI Packages Deliver ZiChatBot Malware via Zulip APIs on Windows and Linux Cybersecurity researchers have discovered three packages on the Python Package Index (PyPI) repository that are designed to stealthily deliver a previously unknown malware family called ZiChatBot on Windows and Linux systems."While these wheel packages do implement the features described on their PyPI web pages, their true purpose is to covertly deliver malicious files," Kaspersky. 🔗 Source: https://thehackernews.com/2026/05/pypi-packages-deliver-zichatbot-malware.html #linux#python

Linuxgram 🐧

@linuxgram · Post #17835 · 19.02.2026 г., 14:42

📰 PipeWire 1.6 Released With Many New Features PipeWire 1.6 is out today as the newest feature release for this software widely used by the Linux desktop for managing of audio and video streams while nicely integrating with sandboxed Flatpak apps and more... 🔗 Source: https://www.phoronix.com/news/PipeWire-1.6 #linux#flatpak

Linuxgram 🐧

@linuxgram · Post #18079 · 16.03.2026 г., 17:21

📰 Fedora Workstation 44 Beta Benchmarks On The AMD Ryzen AI Max Framework Desktop Since last week's Fedora 44 Beta release I have been testing out this upcoming Fedora Linux version on a few systems in the lab, most notably with the Framework Desktop powered by the powerful AMD Ryzen AI Max+ 395 "Strix Halo". Fedora Workstation 44 Beta has been looking nice and running stable albeit in some instances seeing lower performance at this point than Fedora Workstation 43 but overall in good shape. 🔗 Source: https://www.phoronix.com/review/fedora-44-beta #linux#fedora#amd

Linuxgram 🐧

@linuxgram · Post #18775 · 13.05.2026 г., 15:40

📰 The best cheap Linux-based desktop you can buy was never designed to run Linux The M1 Mac mini wasn’t designed to be a Linux desktop, but Asahi Linux has turned it into one of the best cheap machines around. 🔗 Source: https://www.xda-developers.com/best-cheap-linux-based-desktop-never-designed-run/ #linux#linuxbased

Linuxgram 🐧

@linuxgram · Post #18715 · 08.05.2026 г., 21:21

📰 Proton Experimental gets fixes for Rocket League, Crimson Desert, Helldivers 2 and more Valve just launched the latest exciting upgrade for Proton Experimental, to ensure as many Windows games as possible run well on Linux / SteamOS machines.Read the full article on GamingOnLinux. 🔗 Source: https://www.gamingonlinux.com/2026/05/proton-experimental-gets-fixes-for-rocket-league-crimson-desert-helldivers-2-and-more/ #linux#proton

Linuxgram 🐧

@linuxgram · Post #18688 · 06.05.2026 г., 13:24

📰 VKD3D-Proton 3.0.1 Brings More Improvements For Direct3D 12 On Vulkan Hans-Kristian Arntzen of Valve's Linux graphics driver team announced the release today of VKD3D-Proton 3.0.1 for Direct3D 12 over the Vulkan API... 🔗 Source: https://www.phoronix.com/news/VKD3D-Proton-3.0.1 #linux#proton

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