Jump to content

Alicejacka

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Alicejacka

  1. Could you change the file creation to use `fallocate -l` instead of `dd` (I assume) that way it's instant

     

    EDIT:

    I guess not https://askubuntu.com/a/1017312

     

    RE-EDIT:

    ok maybe it is ok on xfs?

    http://manpages.ubuntu.com/manpages/kinetic/en/man8/swapon.8.html

    Quote

    Preallocated files created by fallocate(1) may be interpreted as files with holes too depending of the filesystem. Preallocated swap files are supported on XFS since Linux 4.18.

     

    I'm making a PR now

     

    I'm having a problem where after 10GB ish it hangs

×
×
  • Create New...