Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #179931

Re: if you have no swap in your installation this is what you do??? Why???

From Sven Hartge <sven@svenhartge.de>
Newsgroups linux.debian.user
Subject Re: if you have no swap in your installation this is what you do??? Why???
Date 2017-04-09 19:00 +0200
Message-ID <tuolY-5r2-13@gated-at.bofh.it> (permalink)
References <tumtQ-490-9@gated-at.bofh.it> <tunJg-5bL-25@gated-at.bofh.it>
Organization Newsfeed am Wurmloch

Show all headers | View raw


Darac Marjal <mailinglist@darac.org.uk> wrote:

> A swap partition is not subject to the controls of a file system. That
> is, it can't get fragmented, it can be positioned at the fast (or slow)
> end of a disk, it can be (as you suggest) placed on a completely
> separate device. It can be shared between dual-booting Linux systems.

A swap file does not get fragmented either, since it has to be allocated
completely before use. Also the myth that a swap file is slower compared
to a partition is not true since at least Linux 2.3.

And the placement of the swap is of just theoretical nature. The speed
of swap is like comparing the movement speed of a glacier with that of
the speed of sound to star with. Even if a swap space in the other
portion of a HDD is 1.5 times faster than a swap space in the inner one,
it still is abysmally slower than RAM. So in the end really does not
matter where you place your swap on your HDD.

Placing swap on an SSD helps, but if your system starts to heavily swap
pages out, you are trashed anyways.

S°

-- 
Sigmentation fault. Core dumped.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

if you have no swap in your installation this is what you do???  Why??? GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-04-09 17:00 +0200
  Re: if you have no swap in your installation this is what you  do??? Why??? Andy Smith <andy@strugglers.net> - 2017-04-09 18:20 +0200
  Re: if you have no swap in your installation this is what you do???  Why??? Darac Marjal <mailinglist@darac.org.uk> - 2017-04-09 18:20 +0200
    Re: if you have no swap in your installation this is what you do??? Why??? Sven Hartge <sven@svenhartge.de> - 2017-04-09 19:00 +0200

csiph-web