Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

od: rs90: Set page size to 4k #91

Open
wants to merge 1 commit into
base: opendingux
Choose a base branch
from

Commits on Nov 29, 2022

  1. od: rs90: Set page size to 4k

    This makes the OS and applications a lot more RAM efficient:
    
    1. Reduces OS overhead by 3.5 MiB.
    2. Reduces RAM usage of applications (amount varies).
    
    This comes at small performance cost,
    <1 FPS in the emulators and ports that I've tested.
    
    Measuring `MemAvailable` and `Slab` with just "Terminal" running:
    
    Before:
    
        MemAvailable:       9760 kB
        Slab:               6816 kB
    
    After:
    
        MemAvailable:      13812 kB
        Slab:               5904 kB
    
    DevilutionX now loads the dungeon (without audio)
    and the FPS is unchanged.
    
    Signed-off-by: Gleb Mazovetskiy <[email protected]>
    glebm committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    295351a View commit details
    Browse the repository at this point in the history