Joel Wirāmu Pauling a29ef69496 feat(memory/IO) This update optimizes memory throughput and I/O performance across all ROCKNIX AArch64 targets by enabling File-System-backed Transparent Huge Pages (THP) and implementing a tiered hardware-aware tuning strategy.
With MGLRU and zRAM providing a safety net, enabling Large Page (2MB) support reduces TLB misses, allowing the CPU to prioritize emulation logic over memory address translation.

Key Features Enabled
File-System THP (CONFIG_READ_ONLY_THP_FOR_FS): Collapses read-only file mappings (game binaries/data) into huge pages to accelerate asset loading.

Contiguous Page Table Entries (CONFIG_ARM64_CONTPTE): Allows the MMU to treat groups of pages as a single entry, increasing TLB efficiency on high-performance targets.

Memory Compaction & Migration: Re-enabled infrastructure to shuffle physical RAM into contiguous blocks required for huge pages.

Architecture-Specific Write Support (CONFIG_ARCH_WANT_PMD_MKWRITE): Ensures efficient huge page handling during high-performance memory writes.

Tiered Userspace Management
The rocknix-memory-manager applies specific logic at boot based on the SoC and RAM capacity:

Flagship Mode (RK3588, SM8x, RK3399):

Sets defrag to defer+madvise for proactive huge page creation.

Sets vm.compaction_proactiveness to 40 to maintain a pool of contiguous blocks.

Budget Mode (H700, RK3326):

Sets defrag to defer only to prevent CPU "stalls" during gameplay.

Sets vm.compaction_proactiveness to 10 to prioritize raw CPU availability.

Texture Performance: Globally enables shmem_enabled=advise to benefit Vulkan and Wayland texture handling.

Swappiness: Sets vm.swappiness to 100 when ZRAM is active to keep physical RAM unfragmented for huge page allocations.

Safety Rationale
MGLRU: Prevents "reclaim storms" during huge page allocation on 1GB devices.

zRAM: Absorbs memory pressure via high-speed compressed swap.

Read-Only Focus: FS-Backed THP targets low-risk mappings while providing high-impact gains for asset streaming.
2026-02-05 08:47:25 +13:00
2025-11-12 21:31:15 +01:00
2025-11-16 21:03:46 +00:00
2025-08-09 13:52:08 +10:00
2025-07-14 18:35:54 +01:00
2025-07-13 19:02:44 +01:00
2025-11-09 22:25:20 +01:00
2025-11-01 11:25:09 +02:00

      Latest Version Activity Pull Requests Discord Server


ROCKNIX is an immutable Linux distribution for handheld gaming devices developed by a small community of enthusiasts. Our goal is to produce an operating system that has the features and capabilities that we need, and to have fun as we develop it.

Features

  • ROCKNIX has a very active community of developers and users.
  • Integrated cross-device local and remote network play.
  • In-game touch support on supported devices.
  • Fine grain control for battery life or performance.
  • Includes support for playing Music and Video.
  • Bluetooth audio and controller support.
  • Support for HDMI audio and video out, and USB audio.
  • Device to device and device to cloud sync with Syncthing and rclone.
  • VPN support with Wireguard, Tailscale, and ZeroTier.
  • Includes built-in support for scraping and retroachievements.

Screenshots

Community

The ROCKNIX community utilizes Discord for discussion, if you would like to join us please use this link: https://discord.gg/seTxckZjJy

Licenses

ROCKNIX is a fork of JELOS, all licenses apply and credit to the JELOS team.

You are free to:

  • Share: copy and redistribute the material in any medium or format
  • Adapt: remix, transform, and build upon the material

Under the following terms:

  • Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • NonCommercial: You may not use the material for commercial purposes.
  • ShareAlike: If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

ROCKNIX Software

Copyright (C) 2024-present ROCKNIX

Original software and scripts developed by the ROCKNIX are licensed under the terms of the GNU GPL Version 2. The full license can be found in this project's licenses folder.

Bundled Works

All other software is provided under each component's respective license. These licenses can be found in the software sources or in this project's licenses folder. Modifications to bundled software and scripts by the JELOS team are licensed under the terms of the software being modified.

Credits

Like any Linux distribution, this project is not the work of one person. It is the work of many persons all over the world who have developed the open source bits without which this project could not exist. Special thanks to CoreELEC, LibreELEC, JELOS, and to developers and contributors across the open source community.

Description
No description provided
Readme 419 MiB
Languages
Makefile 50.2%
Shell 39.2%
Python 7.6%
C 1.2%
C++ 0.8%
Other 1%