Re: Fedora 35 swapon: /swapfile: swapon failed: Invalid argument

2022-03-27 Thread Chris Murphy
On Thu, Mar 24, 2022 at 6:36 AM Brad Bell wrote: > > I am doing algorithmic differentiation with very large tapes and my jobs > sometimes run out of memory. So the workload is producing a substantial amount of anonymous pages. It's kinda hard to tell what to do to optimize without a decent amoun

Re: Fedora 35 swapon: /swapfile: swapon failed: Invalid argument

2022-03-24 Thread George N. White III
On Thu, 24 Mar 2022 at 09:36, Brad Bell wrote: > I am doing algorithmic differentiation with very large tapes and my jobs > sometimes run out of memory. > Sometimes software developed for small problems can benefit from adjustments to better manage memory for larger problems. Swapping is a ver

Re: Fedora 35 swapon: /swapfile: swapon failed: Invalid argument

2022-03-24 Thread Richard Shaw
On Thu, Mar 24, 2022 at 7:36 AM Brad Bell wrote: > I am doing algorithmic differentiation with very large tapes and my jobs > sometimes run out of memory. > Another helpful datapoint would be how much physical memory do you have? This use case certainly isn't a typical desktop user one and memo

Re: Fedora 35 swapon: /swapfile: swapon failed: Invalid argument

2022-03-24 Thread Brad Bell
I am doing algorithmic differentiation with very large tapes and my jobs sometimes run out of memory. On 3/23/22 12:51, Richard Shaw wrote: On Wed, Mar 23, 2022 at 2:04 PM Brad Bell wrote: The instructions below worked for me and the created extra swap space (not as much as desired b

Re: Fedora 35 swapon: /swapfile: swapon failed: Invalid argument

2022-03-23 Thread Richard Shaw
On Wed, Mar 23, 2022 at 2:04 PM Brad Bell wrote: > The instructions below worked for me and the created extra swap space (not > as much as desired but I > can fix that) > > ~>swapon -s > FilenameTypeSizeUsedPriority > /dev/zram0 partition 8388604

Re: Fedora 35 swapon: /swapfile: swapon failed: Invalid argument

2022-03-23 Thread Brad Bell
The instructions below worked for me and the created extra swap space (not as much as desired but I can fix that) ~>swapon -s FilenameTypeSizeUsedPriority /dev/zram0 partition 8388604 390584100 /swapfile file65532

Re: Fedora 35 swapon: /swapfile: swapon failed: Invalid argument

2022-03-23 Thread Matti Pulkkinen
ke, 2022-03-23 kello 11:40 +, bradb...@seanet.com kirjoitti: > I am trying to create a swapfile on my fedora 35 system and do not > know what I am doing wrong: > trash>uname -a > Linux fedora 5.16.15-201.fc35.x86_64 #1 SMP PREEMPT Thu Mar 17 > 05:45:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux >

Re: Fedora 35 swapon: /swapfile: swapon failed: Invalid argument

2022-03-23 Thread George N. White III
On Wed, 23 Mar 2022 at 08:41, wrote: > I am trying to create a swapfile on my fedora 35 system and do not know > what I am doing wrong: > trash>uname -a > Linux fedora 5.16.15-201.fc35.x86_64 #1 SMP PREEMPT Thu Mar 17 05:45:13 > UTC 2022 x86_64 x86_64 x86_64 GNU/Linux > > Why do you need to creat

Fedora 35 swapon: /swapfile: swapon failed: Invalid argument

2022-03-23 Thread bradbell
I am trying to create a swapfile on my fedora 35 system and do not know what I am doing wrong: trash>uname -a Linux fedora 5.16.15-201.fc35.x86_64 #1 SMP PREEMPT Thu Mar 17 05:45:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux If I follow the swapfile instructions on https://docs.fedoraproject.org/en