Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Be consistent. -- Larry Wall in the perl man page


computers / alt.os.linux.ubuntu / Re: Swap file

SubjectAuthor
* Swap fileAlbert Arkwright
+* Re: Swap fileMike Easter
|`* Re: Swap fileJoerg Lorenz
| +* Re: Swap fileJonathan N. Little
| |`* Re: Swap fileJoerg Lorenz
| | `- Re: Swap fileJoerg Lorenz
| `- Re: Swap fileMike Easter
+- Re: Swap fileJoerg Lorenz
+* Re: Swap fileMarco Moock
|`* Re: Swap fileBobbie Sellers
| `* Re: Swap fileJoerg Lorenz
|  `- Re: Swap fileDan Purgert
+- Re: Swap fileAnton Ertl
+* Re: Swap filebilou
|`- Re: Swap fileGrant Taylor
`- Re: Swap fileBit Twister

1
Swap file

<tb1hsr$t5g$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2331&group=alt.os.linux.ubuntu#2331

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!nOqLI1EbCan+82M4Y2qJhQ.user.46.165.242.75.POSTED!not-for-mail
From: Albert.Arkwright@gmail.com (Albert Arkwright)
Newsgroups: alt.os.linux.ubuntu
Subject: Swap file
Date: Sun, 17 Jul 2022 18:38:00 +0100
Organization: Aioe.org NNTP Server
Message-ID: <tb1hsr$t5g$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="29872"; posting-host="nOqLI1EbCan+82M4Y2qJhQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Albert Arkwright - Sun, 17 Jul 2022 17:38 UTC

Do you see any reason to create a swap file on a system with 24GB ram
and 200 GB disk space?

I don't have a swap file but wondered if there will be some improvement
if 1GB is allocated to the swap file.

https://i.imgur.com/Areqwn3.png

Re: Swap file

<jjj0p1Fn6soU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2332&group=alt.os.linux.ubuntu#2332

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!news5.corell.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: MikeE@ster.invalid (Mike Easter)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Sun, 17 Jul 2022 10:55:44 -0700
Lines: 17
Message-ID: <jjj0p1Fn6soU1@mid.individual.net>
References: <tb1hsr$t5g$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net SbsjtyH2PTF4+/UeEIU8gwR4+C+CmKdml4Lv13F4sG+/GrdJDB
Cancel-Lock: sha1:bGgFDWAGL96shpjppSv8bkxeHFg=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
In-Reply-To: <tb1hsr$t5g$1@gioia.aioe.org>
Content-Language: en-US
 by: Mike Easter - Sun, 17 Jul 2022 17:55 UTC

Albert Arkwright wrote:
> Do you see any reason to create a swap file on a system with 24GB ram
> and 200 GB disk space?
>
> I don't have a swap file but wondered if there will be some improvement
> if 1GB is allocated to the swap file.

I 'scanned' a couple of articles; I didn't read them carefully because
there was too much discussion.

The 'unified' answer is YES, you should have some swap, even if you have
plenty of ram.

Some of those answers recommended the swap be zram instead of hdd.

--
Mike Easter

Re: Swap file

<tb1kb9$b4b9$1@solani.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2333&group=alt.os.linux.ubuntu#2333

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: hugybear@gmx.ch (Joerg Lorenz)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Sun, 17 Jul 2022 20:27:52 +0200
Message-ID: <tb1kb9$b4b9$1@solani.org>
References: <tb1hsr$t5g$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 17 Jul 2022 18:27:53 -0000 (UTC)
Injection-Info: solani.org;
logging-data="364905"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Cancel-Lock: sha1:xt2AuPBIb2s+Oed3DWJ/3phyeeg=
In-Reply-To: <tb1hsr$t5g$1@gioia.aioe.org>
X-User-ID: eJwNydEVADEEBMCWzrOWlIPQfwm5+R1TCttBI2xtxdPmqKbMREqHfLi+CCgD9PqvQ/fg1jjrAQ/eELY=
Content-Language: de-CH
 by: Joerg Lorenz - Sun, 17 Jul 2022 18:27 UTC

Am 17.07.22 um 19:38 schrieb Albert Arkwright:
> Do you see any reason to create a swap file on a system with 24GB ram
> and 200 GB disk space?

No.

--
Gutta cavat lapidem (Ovid)

Re: Swap file

<tb1kcq$b4b9$2@solani.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2334&group=alt.os.linux.ubuntu#2334

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: hugybear@gmx.ch (Joerg Lorenz)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Sun, 17 Jul 2022 20:28:41 +0200
Message-ID: <tb1kcq$b4b9$2@solani.org>
References: <tb1hsr$t5g$1@gioia.aioe.org> <jjj0p1Fn6soU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 17 Jul 2022 18:28:42 -0000 (UTC)
Injection-Info: solani.org;
logging-data="364905"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Cancel-Lock: sha1:o8X4VBzWZP7omHOFNLJj1Xr4thA=
Content-Language: de-CH
X-User-ID: eJwNwgERwDAIA0BLdBAYchqa+pew3T88V05FIgP3N6G5dURA72E3Q6F0d0FevffiU7AUx2gfN6URxA==
In-Reply-To: <jjj0p1Fn6soU1@mid.individual.net>
 by: Joerg Lorenz - Sun, 17 Jul 2022 18:28 UTC

Am 17.07.22 um 19:55 schrieb Mike Easter:
> The 'unified' answer is YES, you should have some swap, even if you have
> plenty of ram.

Explain why. There is no reason.

--
Gutta cavat lapidem (Ovid)

Re: Swap file

<20220717211208.3f69c5d4@ryz>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2336&group=alt.os.linux.ubuntu#2336

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo01@posteo.de (Marco Moock)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Sun, 17 Jul 2022 21:12:08 +0200
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <20220717211208.3f69c5d4@ryz>
References: <tb1hsr$t5g$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="af6f4f423b81aba0b25ba825757fa5eb";
logging-data="4004798"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DKDQi94hLeMfyA8u358AP"
Cancel-Lock: sha1:8KEPNyeZmFZenzCh9V2aEmWlqDQ=
 by: Marco Moock - Sun, 17 Jul 2022 19:12 UTC

Am Sonntag, 17. Juli 2022, um 18:38:00 Uhr schrieb Albert Arkwright:

> Do you see any reason to create a swap file on a system with 24GB ram
> and 200 GB disk space?

In case the RAM is full, no application needs to be stopped.
But I also run Linux without swap on many machines with enough RAM -
no problems yet because I never used the entire RAM.

Re: Swap file

<tb1nc1$3qi1k$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2337&group=alt.os.linux.ubuntu#2337

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: lws4art@gmail.com (Jonathan N. Little)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Sun, 17 Jul 2022 15:19:29 -0400
Organization: LITTLE WORKS STUDIO
Lines: 17
Message-ID: <tb1nc1$3qi1k$1@dont-email.me>
References: <tb1hsr$t5g$1@gioia.aioe.org> <jjj0p1Fn6soU1@mid.individual.net>
<tb1kcq$b4b9$2@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 17 Jul 2022 19:19:29 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="5790d8f917cfbe32ff15f246689598ec";
logging-data="4016180"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Qx5WT0qTC2PCOJiPRcfYug8WJ/dL9Im4="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
Firefox/68.0 SeaMonkey/2.53.13
Cancel-Lock: sha1:uVxdxP89nljBtFUbJ5JIIGCdxNo=
In-Reply-To: <tb1kcq$b4b9$2@solani.org>
X-Face: o[H8T0h*NGH`K`P)s+4PmYlcy|GNl`~+L6Fi.m:%15m[c%{C7V-ump|WiCYPkQ+hFJhq;XW5^1Rg_El'"fE$~AcYW$Pq\yeh9K_-dJqlQ5\y2\;[yw5DYCtOtsf_.TUy}0U\oL^>[3Y#{AP2^o'bG`bwj`]]UNpCxY\(~xK9b+uZKxrb*4-rkD+
X-Dan: Yes Dan this is a Winbox
 by: Jonathan N. Little - Sun, 17 Jul 2022 19:19 UTC

Joerg Lorenz wrote:
> Am 17.07.22 um 19:55 schrieb Mike Easter:
>> The 'unified' answer is YES, you should have some swap, even if you have
>> plenty of ram.
>
> Explain why. There is no reason.
>

The only reason I would think is if you use hibernate

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Re: Swap file

<tb1ooi$3qj43$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2338&group=alt.os.linux.ubuntu#2338

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bliss@mouse-potato.com (Bobbie Sellers)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Sun, 17 Jul 2022 12:43:14 -0700
Organization: dis-organization
Lines: 25
Message-ID: <tb1ooi$3qj43$1@dont-email.me>
References: <tb1hsr$t5g$1@gioia.aioe.org> <20220717211208.3f69c5d4@ryz>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 17 Jul 2022 19:43:14 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="9f21e5aaf31386eaf09f437076a18640";
logging-data="4017283"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/N2t5l8kps7g3mM+dR0IwA"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.0.2
Cancel-Lock: sha1:Ro2GLluRk7xqMe8uJTfPAvqHMvU=
Content-Language: en-US
In-Reply-To: <20220717211208.3f69c5d4@ryz>
 by: Bobbie Sellers - Sun, 17 Jul 2022 19:43 UTC

On 7/17/22 12:12, Marco Moock wrote:
> Am Sonntag, 17. Juli 2022, um 18:38:00 Uhr schrieb Albert Arkwright:
>
>> Do you see any reason to create a swap file on a system with 24GB ram
>> and 200 GB disk space?
>
> In case the RAM is full, no application needs to be stopped.
> But I also run Linux without swap on many machines with enough RAM -
> no problems yet because I never used the entire RAM.
>

So it depends on how hard you are going to be using the machine. If
your programs and data are large enough to use up the RAM memory then
you might want to create a similar sized swap so that you don't lose
anything if some one sends you something bulky.

Previous owner of very bulky files in the days when 32 Megabytes
was a large memory.

bliss - it is all relative and the human race is all relatives.

--
bliss dash SF 4 ever at dslextreme dot com

Re: Swap file

<jjj7fpFo88kU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2339&group=alt.os.linux.ubuntu#2339

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!news5.corell.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: MikeE@ster.invalid (Mike Easter)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Sun, 17 Jul 2022 12:50:16 -0700
Lines: 27
Message-ID: <jjj7fpFo88kU1@mid.individual.net>
References: <tb1hsr$t5g$1@gioia.aioe.org> <jjj0p1Fn6soU1@mid.individual.net>
<tb1kcq$b4b9$2@solani.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 5ZijTU1vmwW9IzBtoL0hWQ4LQE0pEVigEyOxJKP48RcIWx8LMI
Cancel-Lock: sha1:dfewUzEu+ggQdfml0Xa6aqHoNPo=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
In-Reply-To: <tb1kcq$b4b9$2@solani.org>
Content-Language: en-US
 by: Mike Easter - Sun, 17 Jul 2022 19:50 UTC

Joerg Lorenz wrote:
> schrieb Mike Easter:
>> The 'unified' answer is YES, you should have some swap, even if you have
>> plenty of ram.
>
> Explain why. There is no reason.
>
https://unix.stackexchange.com/questions/190398/do-i-need-swap-space-if-i-have-more-than-enough-amount-of-ram
Do I need swap space if I have more than enough amount of RAM?

https://haydenjames.io/linux-performance-almost-always-add-swap-space/
Linux Performance: Why You Should Almost Always Add Swap Space

https://superuser.com/questions/810170/should-i-disable-swap-file-if-i-have-lots-of-ram-or-should-i-move-it-to-a-virtua
Should I disable swap file if I have lots of RAM or should I move it
to a virtual RAM drive?

This one even created a table for all kinds of different sizes of ram w/
& w/o hibernation:

RAM Size - Swap Size (Without Hibernation) - Swap size (With Hibernation)
24GB - 5GB - 29GB
https://itsfoss.com/swap-size/

--
Mike Easter

Re: Swap file

<tb1rff$b8cp$1@solani.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2340&group=alt.os.linux.ubuntu#2340

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: hugybear@gmx.ch (Joerg Lorenz)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Sun, 17 Jul 2022 22:29:35 +0200
Message-ID: <tb1rff$b8cp$1@solani.org>
References: <tb1hsr$t5g$1@gioia.aioe.org> <jjj0p1Fn6soU1@mid.individual.net>
<tb1kcq$b4b9$2@solani.org> <tb1nc1$3qi1k$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 17 Jul 2022 20:29:35 -0000 (UTC)
Injection-Info: solani.org;
logging-data="369049"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Cancel-Lock: sha1:iqbBgFQB3ZqXrMQgoL5dQLXh1OM=
Content-Language: de-CH
In-Reply-To: <tb1nc1$3qi1k$1@dont-email.me>
X-User-ID: eJwNwoERACEIA7CVBEtxHQG7/wj/l8SmsRMMIvSjV2xZkOl18WTq52dYS7wypGaYAlojfB7eEc0=
 by: Joerg Lorenz - Sun, 17 Jul 2022 20:29 UTC

Am 17.07.22 um 21:19 schrieb Jonathan N. Little:
> Joerg Lorenz wrote:
>> Am 17.07.22 um 19:55 schrieb Mike Easter:
>>> The 'unified' answer is YES, you should have some swap, even if you have
>>> plenty of ram.
>>
>> Explain why. There is no reason.
>>
>
> The only reason I would think is if you use hibernate

For this the swap partition would have to be larger than the installed
RAM. But believe me: Linux will use the HDD/SSD to hibernate even
without a dedicated swap-partition.

My Mint machines both have no swap-partition.

--
Gutta cavat lapidem (Ovid)

Re: Swap file

<tb1rmu$b8cp$2@solani.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2341&group=alt.os.linux.ubuntu#2341

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: hugybear@gmx.ch (Joerg Lorenz)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Sun, 17 Jul 2022 22:33:34 +0200
Message-ID: <tb1rmu$b8cp$2@solani.org>
References: <tb1hsr$t5g$1@gioia.aioe.org> <20220717211208.3f69c5d4@ryz>
<tb1ooi$3qj43$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 17 Jul 2022 20:33:34 -0000 (UTC)
Injection-Info: solani.org;
logging-data="369049"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Cancel-Lock: sha1:Mv8GOVmdNwX2TY7fAEa9WWiT/Eo=
Content-Language: de-CH
In-Reply-To: <tb1ooi$3qj43$1@dont-email.me>
X-User-ID: eJwNycEBwEAEBMCWLIsoR070X0LuO+MWiJMMD/r6bg/sAbSLL1pzrlHQyanPyFuqIXKydL1+EkwQLw==
 by: Joerg Lorenz - Sun, 17 Jul 2022 20:33 UTC

Am 17.07.22 um 21:43 schrieb Bobbie Sellers:
> So it depends on how hard you are going to be using the machine.

No. Linux is using free HDD/SSD-space for this purpose and manages it on
its own.

--
Gutta cavat lapidem (Ovid)

Re: Swap file

<tb1sa4$b8up$1@solani.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2342&group=alt.os.linux.ubuntu#2342

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: hugybear@gmx.ch (Joerg Lorenz)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Sun, 17 Jul 2022 22:43:48 +0200
Message-ID: <tb1sa4$b8up$1@solani.org>
References: <tb1hsr$t5g$1@gioia.aioe.org> <jjj0p1Fn6soU1@mid.individual.net>
<tb1kcq$b4b9$2@solani.org> <tb1nc1$3qi1k$1@dont-email.me>
<tb1rff$b8cp$1@solani.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 17 Jul 2022 20:43:48 -0000 (UTC)
Injection-Info: solani.org;
logging-data="369625"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Cancel-Lock: sha1:z5OCrEbZTkIFxo9U46lbyxyWWnE=
X-User-ID: eJwNwoERACEIA7CVxEr781Bh/xH8XBIMWofJk5PTXdhNGbfkP9oFTBizjBAhVdxRfV7gAznfEbk=
In-Reply-To: <tb1rff$b8cp$1@solani.org>
Content-Language: de-CH
 by: Joerg Lorenz - Sun, 17 Jul 2022 20:43 UTC

Am 17.07.22 um 22:29 schrieb Joerg Lorenz:
> For this the swap partition would have to be larger than the installed
> RAM. But believe me: Linux will use the HDD/SSD to hibernate even
> without a dedicated swap-partition.
>
> My Mint machines both have no swap-partition.

MacBook Pro has a swap-partition of currently 222 MB which is nothing
given the 16 GB RAM and a utilisation of less than 3 GB RAM. Mac OS is
managing the thing also on its own.

--
Gutta cavat lapidem (Ovid)

Re: Swap file

<2022Jul18.124902@mips.complang.tuwien.ac.at>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2343&group=alt.os.linux.ubuntu#2343

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Mon, 18 Jul 2022 10:49:02 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 16
Message-ID: <2022Jul18.124902@mips.complang.tuwien.ac.at>
References: <tb1hsr$t5g$1@gioia.aioe.org>
Injection-Info: reader01.eternal-september.org; posting-host="0431e474a9813a044ef941fd2aa2a968";
logging-data="301750"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WVGxt+VAWNwXmcz3souru"
Cancel-Lock: sha1:RN7U/z43ksC2VxsIIC9PrEAZ8xw=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Mon, 18 Jul 2022 10:49 UTC

Albert Arkwright <Albert.Arkwright@gmail.com> writes:
>Do you see any reason to create a swap file on a system with 24GB ram
>and 200 GB disk space?
>
>I don't have a swap file but wondered if there will be some improvement
>if 1GB is allocated to the swap file.

If performance is ok as-is, there is little reason to add a swap file.
In general swapping to HDDs is so slow that I don't recommend it.
With SSDs it may be better.

- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html

Re: Swap file

<slrntdai3d.hjh.dan@djph.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2344&group=alt.os.linux.ubuntu#2344

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dan@djph.net (Dan Purgert)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Mon, 18 Jul 2022 11:47:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <slrntdai3d.hjh.dan@djph.net>
References: <tb1hsr$t5g$1@gioia.aioe.org> <20220717211208.3f69c5d4@ryz>
<tb1ooi$3qj43$1@dont-email.me> <tb1rmu$b8cp$2@solani.org>
Injection-Date: Mon, 18 Jul 2022 11:47:34 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="85ac6e37258948bcec7b76d3e526bdce";
logging-data="339781"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JKlT9L7vNTYVXF/xQ6PAOtOJaAZmfnxk="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:38zn6RB4JfJQuTuj1h1g+4jSblg=
X-PGP-KeyID: 0x4CE72860
 by: Dan Purgert - Mon, 18 Jul 2022 11:47 UTC

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Joerg Lorenz wrote:
> Am 17.07.22 um 21:43 schrieb Bobbie Sellers:
>> So it depends on how hard you are going to be using the machine.
>
> No. Linux is using free HDD/SSD-space for this purpose and manages it on
> its own.

If you have zero swap, the only available "management" option for the
kernel is oom-killer.

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE3asj+xn6fYUcweBnbWVw5UznKGAFAmLVSG0ACgkQbWVw5Uzn
KGBcNRAApeQt/wQIS44fmT3gXdOGXiYSH3F4CE5Yf4ffCBXvxLJXETErzjHJMLkz
gYtjWQ41hOYv40ijBlVqBvGVaiSm8Rg8IG1HtqM9cDoQ8/XsL/4CQOY3KIUnPaYV
6fOkuRPtRR4hjaVEEJ1vwrbisfxZJ3zyGfNd65SO1Dqw01Dx5rCryKH1dGkBhJjV
qpalboXkVMft0KIP7Eg3QcrZC/Nn8iCoxYIKOj+qhGQTZadEwd56vdWS6lOxoopH
D2pM49W4YzrB4+VdaJEX2HILAdmI2Svufk/jApxjd8NJ3wZENkxiUG2bLSCavD5y
w7TfKCfx1YYHUJDfYfeJmW3FA0E0T8cnIbL1lsptnnIGbdLHmOqk7zQ5hENmd1Y2
kfDVuXZHiFpMjVHlTc58wc3YhjmfDJF3wKYADrx0YIf6cIJQZAfCnAWiyJc04LUO
p66bJpeh140qUt9OL8YXtXA9iLsz1s3PJ/6tJ3+h1xcwIzA3CJX5OF4MlrP+2Cth
JuzkyRK/ymh+tPvmDmCHsI0T+Pvrh13GBWNrGKhuSd2QrTNuwa9pjCqemD4noizs
l8Ghe6XzUX6lfIJ2ETe3kIdogdYg4jzy2CaaiI+NdAIFbuipUgVZ4d3wJzQNDZCj
oJZxMVD3p1EitEI+r2/2L+7c1sZ5K0qxTukBw+Kogef43hzvNps=
=i1ks
-----END PGP SIGNATURE-----

--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860

Re: Swap file

<62d5eb18$0$26307$426a74cc@news.free.fr>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2347&group=alt.os.linux.ubuntu#2347

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-b.proxad.net!nnrp6-1.free.fr!not-for-mail
Date: Tue, 19 Jul 2022 01:21:59 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Subject: Re: Swap file
Content-Language: en-US
Newsgroups: alt.os.linux.ubuntu
References: <tb1hsr$t5g$1@gioia.aioe.org>
From: bilou@sfr.fr (bilou)
In-Reply-To: <tb1hsr$t5g$1@gioia.aioe.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 11
Message-ID: <62d5eb18$0$26307$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 19 Jul 2022 01:22:00 CEST
NNTP-Posting-Host: 176.168.237.255
X-Trace: 1658186520 news-1.free.fr 26307 176.168.237.255:51164
X-Complaints-To: abuse@proxad.net
 by: bilou - Mon, 18 Jul 2022 23:21 UTC

On 17/07/2022 19:38, Albert Arkwright wrote:
> Do you see any reason to create a swap file on a system with 24GB ram
> and 200 GB disk space?
>
> I don't have a swap file but wondered if there will be some improvement
> if 1GB is allocated to the swap file.
>
> https://i.imgur.com/Areqwn3.png
>
A swapfile is a bad thing a swap partition is a good one.
If your 24G ram system has not got one it is bad.

Re: Swap file

<slrntdc0ha.1epqf.BitTwister@wb.home.test>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2348&group=alt.os.linux.ubuntu#2348

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Mon, 18 Jul 2022 20:00:17 -0500
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <slrntdc0ha.1epqf.BitTwister@wb.home.test>
References: <tb1hsr$t5g$1@gioia.aioe.org>
Injection-Info: reader01.eternal-september.org; posting-host="63450cd2d8ef8df10ff14585c5d4bc8b";
logging-data="738653"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/I6Y+zBUeCkoWjYMu4evxOOGlrxmYzI/E="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:41zhwSn02xg7KKRGzDLp0zfa8ig=
 by: Bit Twister - Tue, 19 Jul 2022 01:00 UTC

On Sun, 17 Jul 2022 18:38:00 +0100, Albert Arkwright wrote:
> Do you see any reason to create a swap file on a system with 24GB ram
> and 200 GB disk space?

Disk space is not decision maker unless there is not room for swap partition.

>
> I don't have a swap file but wondered if there will be some improvement
> if 1GB is allocated to the swap file.

If you never need swap then there is no need for swap. Since you have
no swap it is kinda hard to tell if it is needed. Requirement is application
dependent.

On the other hand If you want to hibernate/sleep you need swap to be
size of ram + 1 meg.

Take my setup as an example. My web browsing node is used to read mail
with claws-mail, firefox brwowsing and slrn for Usenet. And yet we see
$ free -h
total used free shared buff/cache available
Mem: 7.8Gi 772Mi 721Mi 14Mi 6.3Gi 6.7Gi
Swap: 8.0Gi 45Mi 8.0Gi

On my MythTv node which is only doing Over the Air tv recording/transcribing/showings we see
# free -h
total used free shared buff/cache available
Mem: 5.8Gi 1.3Gi 108Mi 1.0Mi 4.4Gi 4.2Gi
Swap: 9.3Gi 794Mi 8.5Gi

My guess is the file integrity / host intrusion detection Environment system (aide)
is using a whole bunch of ram checking the system for any changes when it runs
daily.

Re: Swap file

<tb4vdt$88c$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2349&group=alt.os.linux.ubuntu#2349

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Swap file
Date: Mon, 18 Jul 2022 21:55:21 -0600
Organization: TNet Consulting
Message-ID: <tb4vdt$88c$1@tncsrv09.home.tnetconsulting.net>
References: <tb1hsr$t5g$1@gioia.aioe.org>
<62d5eb18$0$26307$426a74cc@news.free.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 19 Jul 2022 00:55:25 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="8460"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <62d5eb18$0$26307$426a74cc@news.free.fr>
Content-Language: en-US
 by: Grant Taylor - Tue, 19 Jul 2022 03:55 UTC

On 7/18/22 5:21 PM, bilou wrote:
> A swapfile is a bad thing a swap partition is a good one.

I think a swap partition is better than a swap file.

I also think that a swap file is better than no swap at all.

How much swap is situationally dependent.

--
Grant. . . .
unix || die

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor