Re: Swap

Jos Collin <[email protected]>
Newsgroups gmane.linux.debian.user.laptop
Message-ID <CALsRJ1KEO-nvNpQZB=Jat7o16siJ+guRAYkN5DDn_iZjcWEE8Q@mail.gmail.com>
I think that's a good idea. I will create a swap file instead of a swap
partition, so that I can monitor and change it easily at a later point of
time. In that case, I will partition my SSD as a single 120GB ext4, which
is having a 5gb swap file.
On 04-Feb-2016 9:50 PM, "[email protected]" <[email protected]> wrote:

> Hi,
>
> swap space is crucial if you suspend or hibernate your system. If you want
> to be able to do that, your swap should be at least the same size of your
> RAM. That said, the old rule "RAM size x 2" had sense some time ago, with
> much smaller sizes than nowadays. Nowaday it's not really needed. In your
> case, if you want to be able to suspend and hibernate you need at least
> 4GB, but 8GB wouldn't make much sense. I'd go with 5 GB, or 6 if you work
> with software that requires an awful lot of RAM.
>
> For more infos, see also https://wiki.debian.org/Swap
>
> FG
>
> ---- Messaggio originale ----
> Da : [email protected]
> Data : 04/02/2016 - 16:42 (CET)
> A : [email protected]
> Oggetto : Swap
>
> Hello,
>
> How much swap space does 4GB ram ideally requires ? I have been using the
> rule "RAM size x 2" for calculating the size of swap. But as the RAM sizes
> are bigger nowadays, is this a wrong calculation ? I mean, is it okay if I
> use 1 GB of swap space (or lesser) for a 4gb RAM ?
>
> (I use to suspend my system everyday by pressing  alt+shutdown menu in
> gnome 3)
>
> Please suggest.
>
> Thanks,
> Jos Collin
>
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.