Groups | Search | Server Info | Login | Register


Groups > comp.sys.raspberry-pi > #37891

Re: Adding a hardware swap partition

From Anssi Saari <anssi.saari@usenet.mail.kapsi.fi>
Newsgroups comp.sys.raspberry-pi
Subject Re: Adding a hardware swap partition
Date 2026-03-25 14:53 +0200
Organization An impatient and LOUD arachnid
Message-ID <sm0jyv03wag.fsf@lakka.kapsi.fi> (permalink)
References (3 earlier) <10p6e63$151t6$1@dont-email.me> <slrn10re7ma.3r3.zsd@x360.localdomain> <10p7d94$1giuh$1@dont-email.me> <slrn10rji08.p41.zsd@x360.localdomain> <10pfjuo$bhl2$1@dont-email.me>

Show all headers | View raw


bp@www.zefox.net writes:

> If I was going to set up swap it seemed prudent to make it as fast
> as I reasonably could. I didn't (and so far still don't) have a clear
> idea how much difference a swap file versus a swap partition makes.

The difference is very little to nothing. It's not like using a swap
file would need to go through the file system layer and all that. Not
since a long time. Here's a discussion thread about the perf difference
from a couple of decades ago, when the 2.6 kernel was new:
https://lkml.org/lkml/2005/7/7/326

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Adding a hardware swap partition bp@www.zefox.net - 2026-03-11 16:20 +0000
  Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-11 16:43 +0000
  Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-11 21:39 +0000
    Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-12 15:37 +0000
      Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-12 20:59 +0000
        Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-13 01:26 +0000
          Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-13 11:15 +0000
            Re: Adding a hardware swap partition Theo <theom+news@chiark.greenend.org.uk> - 2026-03-13 14:16 +0000
              Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-13 16:01 +0000
                Re: Adding a hardware swap partition Theo <theom+news@chiark.greenend.org.uk> - 2026-03-13 18:28 +0000
                Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-13 21:50 +0000
              Re: Adding a hardware swap partition druck <news@druck.org.uk> - 2026-03-13 21:26 +0000
          Re: Adding a hardware swap partition Kees Nuyt <kees@nospam.demon.invalid> - 2026-03-13 22:25 +0100
  Re: Adding a hardware swap partition Jim Jackson <jj@franjam.org.uk> - 2026-03-12 09:13 +0000
    Re: Adding a hardware swap partition Jim Jackson <jj@franjam.org.uk> - 2026-03-12 09:31 +0000
  Re: Adding a hardware swap partition Jim Jackson <jj@franjam.org.uk> - 2026-03-12 10:07 +0000
  Re: Adding a hardware swap partition Jim Diamond <zsd@jdvb.ca> - 2026-03-13 14:40 -0300
    Re: Adding a hardware swap partition druck <news@druck.org.uk> - 2026-03-15 13:25 +0000
      Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-15 14:02 +0000
        Re: Adding a hardware swap partition Josef Möllers <josef@invalid.invalid> - 2026-03-15 17:02 +0100
        Re: Adding a hardware swap partition Jim Diamond <zsd@jdvb.ca> - 2026-03-15 18:04 -0300
          Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-15 21:31 +0000
            Re: Adding a hardware swap partition Theo <theom+news@chiark.greenend.org.uk> - 2026-03-16 16:01 +0000
              Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-16 22:53 +0000
          Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-15 22:53 +0000
            Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-16 01:41 +0000
            Re: Adding a hardware swap partition Richard Kettlewell <invalid@invalid.invalid> - 2026-03-16 09:54 +0000
              Re: Adding a hardware swap partition Richard Harnden <richard.nospam@gmail.invalid> - 2026-03-16 11:49 +0000
                Re: Adding a hardware swap partition Richard Kettlewell <invalid@invalid.invalid> - 2026-03-16 12:18 +0000
            Re: Adding a hardware swap partition Jim Diamond <zsd@jdvb.ca> - 2026-03-17 18:30 -0300
              Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-19 01:36 +0000
                Re: Adding a hardware swap partition Richard Kettlewell <invalid@invalid.invalid> - 2026-03-19 08:52 +0000
                Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-19 14:49 +0000
                Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-19 19:23 +0000
                Re: Adding a hardware swap partition Richard Kettlewell <invalid@invalid.invalid> - 2026-03-19 22:01 +0000
                Re: Adding a hardware swap partition Richard Kettlewell <invalid@invalid.invalid> - 2026-03-19 22:00 +0000
                Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-20 03:50 +0000
                Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-20 07:02 +0000
                Re: Adding a hardware swap partition Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-19 22:56 +0000
                Re: Adding a hardware swap partition Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2026-03-25 14:53 +0200
                Re: Adding a hardware swap partition bp@www.zefox.net - 2026-03-25 18:53 +0000
          Re: Adding a hardware swap partition The Natural Philosopher <tnp@invalid.invalid> - 2026-03-16 12:38 +0000

csiph-web