Skip to content

Curious apparent additional space freed up following up easimon/maximize-build-space@master with AdityaGarg8/[email protected] . #50

@mirage335

Description

@mirage335

After easimon/maximize-build-space@master , https://github.com/easimon/maximize-build-space/issues/new?template=Blank+issue :

Available storage:
Filesystem Size Used Avail Use% Mounted on
/dev/root 73G 71G 1.6G 98% /
tmpfs 7.9G 172K 7.9G 1% /dev/shm
tmpfs 3.2G 1.1M 3.2G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sdb15 105M 6.1M 99M 6% /boot/efi
/dev/sda1 74G 70G 50M 100% /mnt
tmpfs 1.6G 12K 1.6G 1% /run/user/1001
/dev/mapper/buildvg-buildlv 103G 24K 103G 1% /home/runner/work/pumpCompanion/pumpCompanion

After additionally AdityaGarg8/[email protected] , https://github.com/AdityaGarg8/remove-unwanted-software/tree/v4.1 :

Filesystem Size Used Avail Use% Mounted on
/dev/root 73G 56G 18G 77% /
tmpfs 7.9G 172K 7.9G 1% /dev/shm
tmpfs 3.2G 1.1M 3.2G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sdb15 105M 6.1M 99M 6% /boot/efi
/dev/sda1 74G 69G 1.2G 99% /mnt
tmpfs 1.6G 12K 1.6G 1% /run/user/1001
/dev/mapper/buildvg-buildlv 103G 24K 103G 1% /home/runner/work/pumpCompanion/pumpCompanion

Interestingly, / (ie. /dev/root) now has 18G available, although in this case that had been set to 1.625G for the easimon/maximize-build-space@master step. Also, /mnt (ie. /dev/sda1) now has 1.2G available, up from the 50M again set for the easimon/maximize-build-space@master step .

I do not know if these results genuinely reflect more build space available, as I have not attempted to iteratively, algorithmically fill the available space on each of these partitions. Though, that would be an interesting GitHub Actions runner script.

I think this does illustrate the usefulness of a GitHub Actions runner script that automatically starts up runners with different settings and functions in different orders, including converting to BTRFS which can better provide not only compression but also cp --sparse, etc, automatically finding a strategy to maximize build space. ChatGPT o1 or better should be able to recommend some structured code and functions to begin such a project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions