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 #18593 · 28.04.2026 г., 07:21

📰 Red Hat's Stratis Storage 3.9 Released With Online Encryption/Decryption/Reencryption It's crazy to realize it has been ten years already since Red Hat abandoned their Btrfs plans for Red Hat Enterprise Linux and dropped it, which was a technology preview feature since RHEL6. In its place Red Hat engineers began developing Stratis for next-gen Linux storage with ZFS/Btrfs-like features but instead building atop XFS, LUKS, Device Mapper, and Clevis. After a while since the last major release, Stratis Storage 3.9 released today... 🔗 Source: https://www.phoronix.com/news/Stratis-Storage-3.9-Released #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18560 · 24.04.2026 г., 16:50

📰 More ancient Linux device support faces the chop One way to deal with bug hunting LLMs: ditch the old drivers One tactic to deal with LLM-powered vulnerability detection is simple – just speed up the removal of old code. If it's gone, it no longer matters if it's buggy.… 🔗 Source: https://go.theregister.com/feed/www.theregister.com/2026/04/24/ancient_linux_drivers_going/ #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18549 · 23.04.2026 г., 20:12

📰 Bazzite is what most Linux gaming distros wish they were Choose Bazzite if you want a console-like experience on Linux. 🔗 Source: https://www.xda-developers.com/bazzite-is-what-most-gaming-distros-wish-they-were/ #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18546 · 23.04.2026 г., 16:00

📰 System76’s New Pangolin Pro Brings Ryzen AI Power to a 3.64 lb Linux Laptop System76 has introduced the Pangolin Pro, a new Linux laptop with Ryzen AI 7 350, a 16-inch 2K 165Hz display, and OCuLink eGPU support. 🔗 Source: https://linuxiac.com/system76-pangolin-pro-linux-laptop/ #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18543 · 23.04.2026 г., 11:14

📰 Many USB Improvements & New Hardware Merged For Linux 7.1 Ready to go ahead of the Linux 7.1 merge window closing at week's end are numerous new USB device support additions and other USB subsystem enhancements... 🔗 Source: https://www.phoronix.com/news/Linux-7.1-USB #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18535 · 22.04.2026 г., 19:27

📰 Linux is the only OS that respects your aging gaming hardware With the RAM and storage crisis still going strong, all it takes is one look at how much hardware is, and suddenly, your years-old PC perhaps isn't as bad as you first thought. Unfortunately, while your hardware may be capable of rendering newer games just fine, your operating system may be dragging you down. 🔗 Source: https://www.xda-developers.com/linux-is-the-only-os-that-respects-your-aging-gaming-hardware/ #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18533 · 22.04.2026 г., 16:55

📰 Run Linux apps on Windows 95 with Windows 9x subsystem for Linux Microsoft introduced a Windows Subsystem for Linux (WSL) with Windows 10. Initially it allowed you to run command line Linux utilities in Windows, but over time Microsoft added support for applications with a graphical user interface. But WSL still only officially supports Windows 10 and Windows 11. What if you want to run Linux apps . 🔗 Source: https://liliputing.com/run-native-linux-apps-on-windows-95-with-windows-9x-subsystem-for-linux/ #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18525 · 22.04.2026 г., 10:37

📰 New GoGra malware for Linux uses Microsoft Graph API for comms A Linux variant of the GoGra backdoor uses legitimate Microsoft infrastructure, relying on an Outlook inbox for stealthy payload delivery. 🔗 Source: https://www.bleepingcomputer.com/news/security/new-gogra-malware-for-linux-uses-microsoft-graph-api-for-comms/ #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18524 · 22.04.2026 г., 10:03

📰 PipeWire 1.6.4 Improves ALSA Sequencer Port Names, Fixes More Bugs PipeWire 1.6.4 audio/video server for Linux is now available for downlaod with ALSA Sequencer improvements and various bug fixes. 🔗 Source: https://9to5linux.com/pipewire-1-6-4-improves-alsa-sequencer-port-names-fixes-more-bugs #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18521 · 22.04.2026 г., 04:22

📰 F2FS, EXT4 & XFS Focus On Fixes For Linux 7.1 The Flash Friendly File-System (F2FS) updates have been merged for the ongoing Linux 7.1 merge window that will wrap up on Sunday. This follows earlier merges for the XFS and EXT4 drivers too... 🔗 Source: https://www.phoronix.com/news/F2FS-Linux-7.1 #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18517 · 21.04.2026 г., 19:11

📰 Framework Announces Framework Laptop 13 Pro with Touchscreen Display Framework Laptop 13 Pro has been announced today by Framework Computer as a Linux-first notebook with a touchscreen display. 🔗 Source: https://9to5linux.com/framework-announces-framework-laptop-13-pro-with-touchscreen-display #linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18515 · 21.04.2026 г., 17:52

📰 AlmaLinux Comments On California Age Verification Law The RHEL-derived AlmaLinux is the latest Linux distribution commenting on the recent age verification laws led by California with their Digital Age Assurance Act... 🔗 Source: https://www.phoronix.com/news/AlmaLinux-Age-Verification-Laws #linux

Hashtags

123456•••100•••121122
ПретходнаСтраница 4 од 122Следна