Results 1 to 10 of 43

Thread: My ARM fleet

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #31
    Join Date
    Sep 2010
    Location
    Leiden, the Netherlands
    Posts
    4,471
    For those of us that have 64-bit Linux/ARM systems and that want to crunch 32-bit apps here as reminder

    Your 64-bit OS has standard no 32-bit libraries! ARMv8.0-A and ARMv8.2-A systems -and quite likely any other ARMv8.x-A- can be 'tricked' into accepting 32-bit work though by this command-line 'hacking' (debian-style):
    Code:
    sudo dpkg --add-architecture armhf
    sudo apt update --fix-missing
    sudo apt dist-upgrade
    sudo apt install libc6:armhf libstdc++6:armhf zlib1g:armhf libfuse2:armhf libgomp1:armhf libboinc7:armhf
    to be sure you get all, edit your cc_config.xml to have these lines on a ARMv8 system:
    Code:
    <cc_config>
        <options>
            <alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
            <alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
        </options>
    </cc_config>
    Mind you: with the newest and latest upcoming ARMv9 SOCs running 32-bit taks will no longer be possible! (only applies when you are crunching on the very latest high-end smartphones: Cortex-A510, Cortex-A710, Cortex-A715, Cortex-X2, Cortex-X3, Neoverse N2, Neoverse V2)

    If you run a 64-bit OS on a Raspberry Pi 3, or a 4 with 1 or 2 GB of RAM (perhaps even with 4GB), be sure to install ZRAM as well:
    add the following lines to /etc/sysctl.conf (and then enable in real-time with the appropriate commands.)
    Code:
    vm.vfs_cache_pressure=500
    vm.swappiness=100
    vm.dirty_background_ratio=1
    vm.dirty_ratio=50
    To enable these settings temporarily without rebooting, use the following commands:
    Code:
    sudo sysctl -w vm.swappiness=100
    sudo sysctl -w vm.vfs_cache_pressure=500
    Last edited by Dirk Broer; 12-30-2023 at 11:08 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •