• Swap partition?

    From Vincent Coen@2:250/1 to All on Fri Apr 8 19:23:19 2022
    Hello All!

    I have noticed that for the Pi on both a 3B+ and a 4B 8GB Ram both using a HDD and SSD respectively there is no swap partition set up.

    Every other Linux system I have does even if the Ram is 16 GB so two questions:
    Is there a good reason why it does not get set up ?
    What is the best way to set one up.

    While the 8Gb may not get over committed the 3 easily can and I want to runs some real applications on both (uses a terminal app built with Cobol and C) as well as a bbs system..

    This will act as a special service to maintain Echo areas for various network and issue at the start of month various reports and files and these are sent out.

    With this lot running, it might well need to swap out ram to HDD during processing.

    Needles to say, I will be checking this 'assumption' to verify one way or another but I do not like to not have a swap space declared even if it is only 2 - 4 Gb.

    Vincent

    --- Mageia Linux v8 X64/Mbse v1.0.8/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Shaun Buzza@1:229/110 to Vincent Coen on Fri Apr 8 15:05:11 2022
    I have noticed that for the Pi on both a 3B+ and a 4B 8GB Ram both using
    a HDD and SSD respectively there is no swap partition set up.

    Huh. I hadn't even noticed. Just checked my own 3B+, and sure enough, no swap...With what I do with it, it doesn't need a swap. But, as you described later on, you plan to do something very different.

    Every other Linux system I have does even if the Ram is 16 GB so two questions:
    Is there a good reason why it does not get set up ?
    What is the best way to set one up.

    My first guess would be that this is done to prevent the early death of the SD card. After all, not that long ago, the SD card was the only place one could install PiOS. And SD cards wear out quite a bit faster than a HDD or SSD.

    I'm not sure if it's the best way, but *my* way would be to install gparted (or equivalent), resize the main partition, and build a swap partition. Reboot, 'swapon', and Bob's yer uncle.

    For best performance, I would also ensure the swap partition was at the *front* on a HDD; for a SSD (or SD card), it wouldn't matter.

    McDoob
    SysOp, PiBBS
    pibbs.sytes.net

    ... What does it mean to pre-board? Do you get on before you get on?

    --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
    * Origin: PiBBS (1:229/110)
  • From Ahem A Rivet's Shot@3:770/3 to Shaun Buzza on Fri Apr 8 20:50:34 2022
    On Fri, 08 Apr 2022 15:05:11 +1200
    nospam.Shaun.Buzza@f110.n229.z1.fidonet.org (Shaun Buzza) wrote:

    For best performance, I would also ensure the swap partition was at the *front* on a HDD; for a SSD (or SD card), it wouldn't matter.

    Why ? Putting it dead centre of the tracks would seem to minimise average seek time to the swap area.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Vincent Coen@2:250/1 to Shaun Buzza on Fri Apr 8 22:08:56 2022
    Hello Shaun!

    Friday April 08 2022 15:05, you wrote to me:

    I have noticed that for the Pi on both a 3B+ and a 4B 8GB Ram
    both using a HDD and SSD respectively there is no swap partition
    set up.

    Huh. I hadn't even noticed. Just checked my own 3B+, and sure enough,
    no swap...With what I do with it, it doesn't need a swap. But, as you described later on, you plan to do something very different.

    Every other Linux system I have does even if the Ram is 16 GB so
    two questions: Is there a good reason why it does not get set up
    ? What is the best way to set one up.

    My first guess would be that this is done to prevent the early death
    of the SD card. After all, not that long ago, the SD card was the only
    place one could install PiOS. And SD cards wear out quite a bit faster
    than a HDD or SSD.

    I'm not sure if it's the best way, but *my* way would be to install
    gparted (or equivalent), resize the main partition, and build a swap partition. Reboot, 'swapon', and Bob's yer uncle.

    For best performance, I would also ensure the swap partition was at
    the *front* on a HDD; for a SSD (or SD card), it wouldn't matter.

    Yes that is the way to go - it is just why on earth that do not provide it.

    I must admit it is a first and only instance of this - I have NEVER seen this else where and that includes many, many installs even for *nix's including Cromix going back to the late 70's and early 80's.

    Suppose that's what happens when non professions build distro's without reading
    the manuals.


    Vincent

    --- Mageia Linux v8 X64/Mbse v1.0.8/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Vincent Coen@2:250/1 to Ahem A Rivet's Shot on Fri Apr 8 22:12:48 2022
    Hello Ahem!

    Friday April 08 2022 20:50, you wrote to Shaun Buzza:

    On Fri, 08 Apr 2022 15:05:11 +1200 nospam.Shaun.Buzza@f110.n229.z1.fidonet.org (Shaun Buzza) wrote:

    For best performance, I would also ensure the swap partition was at
    the *front* on a HDD; for a SSD (or SD card), it wouldn't matter.

    Why ? Putting it dead centre of the tracks would seem to minimise average seek time to the swap area.

    For a mainframe easy but for a micro using any O/S almost impossible - they is not the control to do so with out being VERY specific what cylinders / sectors to use and that means knowing exacting the size of the drive and the use of a calculator :)

    This does not apply to a SSD as Seek, Acces and transfer times are the same from the beginning to the end of the SSD.

    Vincent

    --- Mageia Linux v8 X64/Mbse v1.0.8/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From druck@3:770/3 to Vincent Coen on Fri Apr 8 21:34:53 2022
    On 08/04/2022 08:23, Vincent Coen wrote:
    I have noticed that for the Pi on both a 3B+ and a 4B 8GB Ram both using a HDD
    and SSD respectively there is no swap partition set up.

    That's because Raspbian is setup to use a swap file, see my post of a
    few minutes ago.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Shaun Buzza@1:229/110 to Vincent Coen on Fri Apr 8 18:12:56 2022
    Yes that is the way to go - it is just why on earth that do not provide it.

    I gave you one (possible) reason already.

    I must admit it is a first and only instance of this - I have NEVER seen this else where and that includes many, many installs even for *nix's including Cromix going back to the late 70's and early 80's.

    I have to agree. I was quite surprised when I realized that I had no swap partition, as well. But, I don't need one, either.

    Since you brought it up: in the 70s and 80s (and even into the very early 90s), 1 MB of RAM was unimaginable, and 1 GB was absolutely impossible. Swap space was almost a requirement, given that limitation...but that limitation no longer exists...

    Suppose that's what happens when non professions build distro's without reading the manuals.

    Don't be like that, man. I am truly bone-tired of dealing with people who insist on being as negative as possible.

    So the Pi Foundation didn't include a swap partition. That makes them 'unprofessional'? You're the same every time you leave the house without SCUBA gear, then! Who knows, someone might want to go diving, you unprofessional so-and-so!

    Sorry for ranting a little, just then. As I said, I've passed my limit of negativity for this week.

    McDoob
    SysOp, PiBBS
    pibbs.sytes.net

    ... Error, no Keyboard - Press F1 to Continue.

    --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
    * Origin: PiBBS (1:229/110)
  • From Shaun Buzza@1:229/110 to druck on Fri Apr 8 18:20:07 2022
    That's because Raspbian is setup to use a swap file, see my post of a
    few minutes ago.

    I request clarification on ths. See my post of a few minutes ago.

    McDoob
    SysOp, PiBBS
    pibbs.sytes.net

    ... Unzip... expand... What kind of pervert came up with this?

    --- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
    * Origin: PiBBS (1:229/110)
  • From Dennis@3:770/3 to Shaun Buzza on Fri Apr 8 19:37:26 2022
    On 4/8/22 01:12, Shaun Buzza wrote:

    So the Pi Foundation didn't include a swap partition. That makes them 'unprofessional'? You're the same every time you leave the house without SCUBA
    gear, then! Who knows, someone might want to go diving, you unprofessional so-and-so!

    At the other extreme, when I worked on super computers there was no swap
    space. The compute nodes had no disks - only ram. If you tried to swap
    your configuration was wrong. The job failed and you fixed it.
    To get to disk storage you had to go over the interconnect to a storage
    server. You only did this to load the programs and store the final
    results. If you were swapping your performance would not be "super" :-).

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Computer Nerd Kev@3:770/3 to Vincent Coen on Sat Apr 9 10:30:39 2022
    Vincent Coen <nospam.Vincent.Coen@f1.n250.z2.fidonet.org> wrote:
    Hello All!

    I have noticed that for the Pi on both a 3B+ and a 4B 8GB Ram both using a HDD
    and SSD respectively there is no swap partition set up.

    Every other Linux system I have does even if the Ram is 16 GB so two questions:
    Is there a good reason why it does not get set up ?

    As most users install to an SD card, I guess they'd usually rather
    just run out of RAM than wear out their card by constantly writing
    to it.

    What is the best way to set one up.

    Resize the partitions and add a new one, then run mkswap on it. It
    will probably be automatically detected and enabled by Linux at
    boot. Or you can use a swap file.

    If you were running on an SD card though, I'd suggest looking at
    compressed swap in RAM, paradoxical as the scheme may sound.

    --
    __ __
    #_ < |\| |< _#

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Shaun Buzza on Sat Apr 9 10:12:00 2022
    On Fri, 08 Apr 2022 18:12:56 +1200
    nospam.Shaun.Buzza@f110.n229.z1.fidonet.org (Shaun Buzza) wrote:

    Since you brought it up: in the 70s and 80s (and even into the very early 90s), 1 MB of RAM was unimaginable,

    The original workstation recipe was 1 MIP, 1 megabyte and 1
    megapixel - it's grossly inadequate these days in MIPs and megabytes
    although its rare to see the megapixel exceeded by even one order of
    magnitude (although they tend to be 32 bit pixels now).

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Hermann Riemann@3:770/3 to All on Sat Apr 9 14:59:55 2022
    Am 08.04.22 um 22:34 schrieb druck:

    That's because Raspbian is setup to use a swap file, see my post of a
    few minutes ago.

    If I have a swap partition in an USB HDD
    which swap ist used?
    the swap file on SD or the swap partition on hdd?

    Exist suspend to disk for raspberry pi?

    --
    http://www.hermann-riemann.de

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Charlie Gibbs@3:770/3 to Ahem A Rivet's Shot on Sat Apr 9 18:07:57 2022
    On 2022-04-09, Ahem A Rivet's Shot <steveo@eircom.net> wrote:

    On Fri, 08 Apr 2022 18:12:56 +1200 nospam.Shaun.Buzza@f110.n229.z1.fidonet.org (Shaun Buzza) wrote:

    Since you brought it up: in the 70s and 80s (and even into the very early
    90s), 1 MB of RAM was unimaginable,

    The original workstation recipe was 1 MIP, 1 megabyte and 1
    megapixel - it's grossly inadequate these days in MIPs and megabytes
    although its rare to see the megapixel exceeded by even one order of magnitude (although they tend to be 32 bit pixels now).

    I heard such machines referred to as "3M". This was presumably a
    play on the name of the Minnesota Mining and Manufacturing Company,
    the creators of Scotch Tape [tm]. (Their name was much better known
    in those days.)

    --
    /~\ Charlie Gibbs | Microsoft is a dictatorship.
    \ / <cgibbs@kltpzyxm.invalid> | Apple is a cult.
    X I'm really at ac.dekanfrus | Linux is anarchy.
    / \ if you read it the right way. | Pick your poison.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Vincent Coen@2:250/1 to Hermann Riemann on Sat Apr 9 21:24:51 2022
    Hello Hermann!

    Saturday April 09 2022 14:59, you wrote to All:

    Am 08.04.22 um 22:34 schrieb druck:

    That's because Raspbian is setup to use a swap file, see my post of
    a few minutes ago.

    If I have a swap partition in an USB HDD
    which swap ist used?
    the swap file on SD or the swap partition on hdd?

    Exist suspend to disk for raspberry pi?

    On my systems it is the first one to be defined and mounted in fstab


    Vincent

    --- Mageia Linux v8 X64/Mbse v1.0.8/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Ahem A Rivet's Shot@3:770/3 to Charlie Gibbs on Sat Apr 9 21:43:00 2022
    On Sat, 09 Apr 2022 18:07:57 GMT
    Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:

    I heard such machines referred to as "3M". This was presumably a
    play on the name of the Minnesota Mining and Manufacturing Company,
    the creators of Scotch Tape [tm]. (Their name was much better known
    in those days.)

    The 3M name is still well known and is to be found proudly
    emblazoned on the protective film over pretty much every self-adhesive
    thing that actually sticks and stays stuck, many people have noticed this
    and worry if they don't see it (Gorilla is good too but much newer and
    still building trust).

    On this side of the pond Scotch tape is almost unheard of because
    of Sellotape.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Vincent Coen@2:250/1 to Ahem A Rivet's Shot on Sun Apr 10 00:42:43 2022
    Hello Ahem!

    Saturday April 09 2022 21:43, you wrote to Charlie Gibbs:

    On Sat, 09 Apr 2022 18:07:57 GMT
    Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:

    I heard such machines referred to as "3M". This was presumably a
    play on the name of the Minnesota Mining and Manufacturing Company,
    the creators of Scotch Tape [tm]. (Their name was much better known
    in those days.)

    The 3M name is still well known and is to be found proudly
    emblazoned on the protective film over pretty much every self-adhesive
    thing that actually sticks and stays stuck, many people have noticed
    this and worry if they don't see it (Gorilla is good too but much
    newer and still building trust).

    On this side of the pond Scotch tape is almost unheard of because
    of Sellotape.

    Here in England I just opened one of my desk drawers to find :
    Scotch Magic 810 33 m x 19 mm - Invisable Permanent write on it or Type on it. Magic Transparent Tape # 810 1A 33 m x 19 mm.

    Correct, not used a lot as these are well over 30 years old, may be over 40.

    Now if I look in my don't know if I still want it cupboard I can see some magnetic tape reels 10.5", cassette mag tapes and even deep down a cuople of
    8 track tapes all unused and yep all Scotch but I also have some other brands of Professional record tapes.

    Am I likely to use any them - Err nope as I sold off most if not all of the tape drives / tape recorders etc ranging in size from 0.25, .5, 1 and 2"
    widths and there is a few of computer tapes also still in their boxes along with some DLT's, Mini-Disks just so they are not lonely.

    One day, must deal with them :)


    Vincent

    --- Mageia Linux v8 X64/Mbse v1.0.8/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Andy Burns@3:770/3 to Ahem A Rivet's Shot on Sun Apr 10 08:31:58 2022
    Ahem A Rivet's Shot wrote:

    On this side of the pond Scotch tape is almost unheard of because
    of Sellotape.

    Most rolls of Sellotape eventually go manky, but I've never known Scotch tape do
    that.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Mike@3:770/3 to usenet@andyburns.uk on Sun Apr 10 09:36:32 2022
    In article <jbfffgFh0g2U2@mid.individual.net>,
    Andy Burns <usenet@andyburns.uk> wrote:

    On this side of the pond Scotch tape is almost unheard of because
    of Sellotape.

    Most rolls of Sellotape eventually go manky, but I've never known Scotch tape do
    that.

    UK: heard of it, and +1 ...

    Sellotape [TM] or Sellotape (as in generic knockoffs) either turns to sticky mush on a roll (not useful) or looses adhesion and becomes a roll of
    clear plastic with powdery bits shedding off as it unreels all over the
    floor ... neither useful long term. Definite limited shelf-life.

    That's before you get to *using* it and having it turn a funny colour
    and discolour any paper you stuck it to.

    Scotch "Magic" tape doesn't die on the roll, or discolour in use, so
    for paper-repair tasks etc. is much better. I don't know what (the proper stuff) conservators use, but Magic tape is good enough for me!
    --
    --------------------------------------+------------------------------------ Mike Brown: mjb[-at-]signal11.org.uk | http://www.signal11.org.uk

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Andy Burns on Sun Apr 10 10:10:34 2022
    On Sun, 10 Apr 2022 08:31:58 +0100
    Andy Burns <usenet@andyburns.uk> wrote:

    Ahem A Rivet's Shot wrote:

    On this side of the pond Scotch tape is almost unheard of because
    of Sellotape.

    Most rolls of Sellotape eventually go manky, but I've never known Scotch
    tape do that.

    TBH I never use either, but I see Sellotape pretty much everywhere
    tape is sold unless the only option is nameless junk and I rarely see Scotch tape on sale.

    I wasn't trying to suggest that Sellotape was better, it's just as universal as Cadbury's chocolate here and about as far from being the best.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Ahem A Rivet's Shot on Sun Apr 10 12:30:55 2022
    On Sun, 10 Apr 2022 10:10:34 +0100, Ahem A Rivet's Shot wrote:


    I wasn't trying to suggest that Sellotape was better, it's just as universal as Cadbury's chocolate here and about as far from being the
    best.

    IIRC Cadbury's used to be pretty good chocolate: I used to like their
    Energy Chocolate (very dark colour and not very sweet) until the company
    was bought by Kraft in 2010, at which point their products quickly became inedible sweet junk.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Martin Gregorie on Sun Apr 10 14:07:56 2022
    On Sun, 10 Apr 2022 12:30:55 -0000 (UTC)
    Martin Gregorie <martin@mydomain.invalid> wrote:

    On Sun, 10 Apr 2022 10:10:34 +0100, Ahem A Rivet's Shot wrote:


    I wasn't trying to suggest that Sellotape was better, it's just
    as universal as Cadbury's chocolate here and about as far from being the best.

    IIRC Cadbury's used to be pretty good chocolate: I used to like their
    Energy Chocolate (very dark colour and not very sweet) until the company

    It's never been good by Dutch/Belgian/Swiss[n] or even German
    standards ...

    was bought by Kraft in 2010, at which point their products quickly became inedible sweet junk.

    ... but yeah it used to be a lot better than it is now.

    [n] OK ok Nestle ... very sad.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Ahem A Rivet's Shot on Sun Apr 10 14:35:12 2022
    On Sun, 10 Apr 2022 14:07:56 +0100, Ahem A Rivet's Shot wrote:

    On Sun, 10 Apr 2022 12:30:55 -0000 (UTC)
    Martin Gregorie <martin@mydomain.invalid> wrote:

    On Sun, 10 Apr 2022 10:10:34 +0100, Ahem A Rivet's Shot wrote:


    I wasn't trying to suggest that Sellotape was better, it's just
    as universal as Cadbury's chocolate here and about as far from being
    the best.

    IIRC Cadbury's used to be pretty good chocolate: I used to like their
    Energy Chocolate (very dark colour and not very sweet) until the
    company

    It's never been good by Dutch/Belgian/Swiss[n] or even German
    standards ...

    was bought by Kraft in 2010, at which point their products quickly
    became inedible sweet junk.

    ... but yeah it used to be a lot better than it is now.

    [n] OK ok Nestle ... very sad.

    What did you make of "Tony's Chocolonely"? Dutch, but rather too sweet and
    not dark enough for my taste,plus the 'crazy paving' break lines instead
    of a rectangular grid was annoying. However, it seems to have disapeared:
    not surprised as I didn't bother with a second bar.

    OTOH I usually have a bar of Lindt 90% dark in the house, even though I
    eat very little chocolate.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Martin Gregorie on Sun Apr 10 17:13:30 2022
    On Sun, 10 Apr 2022 14:35:12 -0000 (UTC)
    Martin Gregorie <martin@mydomain.invalid> wrote:

    What did you make of "Tony's Chocolonely"? Dutch, but rather too sweet
    and not dark enough for my taste,plus the 'crazy paving' break lines
    instead of a rectangular grid was annoying. However, it seems to have disapeared: not surprised as I didn't bother with a second bar.

    Never saw that one - probably just as well.

    OTOH I usually have a bar of Lindt 90% dark in the house, even though I
    eat very little chocolate.

    With that a little goes a long way.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to Vincent Coen on Sun Apr 10 19:13:15 2022
    On 2022-04-08, Vincent Coen <nospam.Vincent.Coen@f1.n250.z2.fidonet.org> wrote:
    Hello All!

    I have noticed that for the Pi on both a 3B+ and a 4B 8GB Ram both using a HDD
    and SSD respectively there is no swap partition set up.

    Others have suggested why the default might be no swap for ther
    "standard" SD card run Pi. Alot of replies where off-topic without the
    courtesy of changing the subject line - sigh.

    You don't say what OS you are using. But I believe PiOS encourages the
    use of a swap file not a swap partition, using the utuility
    dphys-swapfile - see man page. Just editing dphys-swapfile config
    file (/etc/dphys-swapfile - at least on my old version PiOS) and
    restarting should work.

    Or running the dphys-swapfile utility would suffice ...

    sudo dphys-swapfile setup
    sudo dphys-swapfile swapon

    Goodle throws up some pages

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Brian Gregory@3:770/3 to Jim Jackson on Sun Apr 10 21:54:46 2022
    On 10/04/2022 20:13, Jim Jackson wrote:
    Others have suggested why the default might be no swap for ther
    "standard" SD card run Pi. Alot of replies where off-topic without the courtesy of changing the subject line - sigh.

    Surely the default for Raspberry Pi OS is a silly 100MB swap file on the
    SD card.

    --
    Brian Gregory (in England).

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Martin Gregorie on Mon Apr 11 12:28:55 2022
    On 10/04/2022 13:30, Martin Gregorie wrote:
    the company
    was bought by Kraft in 2010, at which point their products quickly became inedible sweet junk.
    Exactly. I used to buy the Bournville chocolate. Occasionally a milk
    chocolate fruit and nut bar.
    I bought precisely one post takeover and threw it away uneaten

    Why marketing people think that the _only_ thing that matters in a
    consumer product is the marketing, is beyond me.


    --
    The New Left are the people they warned you about.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Vincent Coen on Mon Apr 11 13:22:19 2022
    On 08/04/2022 11:12, Vincent Coen wrote:
    Friday April 08 2022 20:50, you wrote to Shaun Buzza:
    ][Swap parition location]
    > Why ? Putting it dead centre of the tracks would seem to minimise
    > average seek time to the swap area.

    For a mainframe easy but for a micro using any O/S almost impossible - they is
    not the control to do so with out being VERY specific what cylinders / sectors
    to use and that means knowing exacting the size of the drive and the use of a calculator :)

    RISC OS (a microcomputer OS) didn't have a swap partition, but it
    formatted all of its discs so the disc map (equivalent of the FAT) was
    in the middle of the disc, and allocated files from the middle out to
    the edges. This minimised the seek time from the files to the disc map
    which would be updated during every operation.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From scott@alfter.diespammersdie.us@3:770/3 to Shaun Buzza on Mon Apr 11 15:16:25 2022
    Shaun Buzza <nospam.Shaun.Buzza@f110.n229.z1.fidonet.org> wrote:
    Since you brought it up: in the 70s and 80s (and even into the very early 90s),
    1 MB of RAM was unimaginable, and 1 GB was absolutely impossible.

    It didn't take that long to get to 1 MB. The 68K desktops (Mac, Amiga,
    etc.) of the second half of the '80s mostly shipped with at least 1 MB. It wasn't just the 68K boxes, either. While the Apple IIGS shipped with 256K
    at its introduction in 1986, it didn't take long for most to conclude it
    really needed at least 1 MB if you wished to use it as more than just a
    faster IIe.

    (I could mention the Lisa, introduced in 1983 with 1 MB, but its $10k
    pricetag kept it out of reach of most. It was only two or three years later that the Macintosh Plus shipped with the same 1 MB for thousands less.)

    --
    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( https://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From scott@alfter.diespammersdie.us@3:770/3 to Ahem A Rivet's Shot on Mon Apr 11 15:22:47 2022
    Ahem A Rivet's Shot <steveo@eircom.net> wrote:
    On Fri, 08 Apr 2022 15:05:11 +1200 nospam.Shaun.Buzza@f110.n229.z1.fidonet.org (Shaun Buzza) wrote:

    For best performance, I would also ensure the swap partition was at the
    *front* on a HDD; for a SSD (or SD card), it wouldn't matter.

    Why ? Putting it dead centre of the tracks would seem to minimise average seek time to the swap area.

    For spinning rust, data transfer rates are usually higher at the beginning
    of the disk than at the end.

    --
    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( https://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Charlie Gibbs@3:770/3 to scott@alfter.diespammersdie.us on Mon Apr 11 16:17:26 2022
    On 2022-04-11, scott@alfter.diespammersdie.us
    <scott@alfter.diespammersdie.us> wrote:

    Shaun Buzza <nospam.Shaun.Buzza@f110.n229.z1.fidonet.org> wrote:

    Since you brought it up: in the 70s and 80s (and even into the very
    early 90s), 1 MB of RAM was unimaginable, and 1 GB was absolutely
    impossible.

    It didn't take that long to get to 1 MB. The 68K desktops (Mac,
    Amiga, etc.) of the second half of the '80s mostly shipped with at
    least 1 MB. It wasn't just the 68K boxes, either. While the Apple
    IIGS shipped with 256K at its introduction in 1986, it didn't take
    long for most to conclude it really needed at least 1 MB if you wished
    to use it as more than just a faster IIe.

    (I could mention the Lisa, introduced in 1983 with 1 MB, but its $10k pricetag kept it out of reach of most. It was only two or three years
    later that the Macintosh Plus shipped with the same 1 MB for thousands
    less.)

    I still recall reading in a trade rag in the early '70s how IBM rocked
    the industry by slashing the price of a megabyte of memory from $75,000
    to a mere $15,000. And now I walk around with a thumb drive in my
    pocket that cost me $1 per gigabyte. It truly is staggering.

    --
    /~\ Charlie Gibbs | Microsoft is a dictatorship.
    \ / <cgibbs@kltpzyxm.invalid> | Apple is a cult.
    X I'm really at ac.dekanfrus | Linux is anarchy.
    / \ if you read it the right way. | Pick your poison.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Charlie Gibbs@3:770/3 to The Natural Philosopher on Mon Apr 11 16:17:26 2022
    On 2022-04-11, The Natural Philosopher <tnp@invalid.invalid> wrote:

    On 10/04/2022 13:30, Martin Gregorie wrote:

    the company
    was bought by Kraft in 2010, at which point their products quickly became
    inedible sweet junk.

    Exactly. I used to buy the Bournville chocolate. Occasionally a milk chocolate fruit and nut bar.
    I bought precisely one post takeover and threw it away uneaten

    Why marketing people think that the _only_ thing that matters in a
    consumer product is the marketing, is beyond me.

    Because it makes them lots of money?

    No one in this world, so far as I know - and
    I have searched the records for years, and
    employed agents to help me - has ever lost
    money by underestimating the intelligence of
    the great masses of the plain people. Nor
    has anyone ever lost public office thereby.
    -- H.L. Mencken

    --
    /~\ Charlie Gibbs | Microsoft is a dictatorship.
    \ / <cgibbs@kltpzyxm.invalid> | Apple is a cult.
    X I'm really at ac.dekanfrus | Linux is anarchy.
    / \ if you read it the right way. | Pick your poison.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to scott@alfter.diespammersdie.us on Mon Apr 11 17:06:46 2022
    On Mon, 11 Apr 2022 15:22:47 GMT
    scott@alfter.diespammersdie.us wrote:

    Ahem A Rivet's Shot <steveo@eircom.net> wrote:
    On Fri, 08 Apr 2022 15:05:11 +1200 nospam.Shaun.Buzza@f110.n229.z1.fidonet.org (Shaun Buzza) wrote:

    For best performance, I would also ensure the swap partition was at the
    *front* on a HDD; for a SSD (or SD card), it wouldn't matter.

    Why ? Putting it dead centre of the tracks would seem to
    minimise average seek time to the swap area.

    For spinning rust, data transfer rates are usually higher at the beginning
    of the disk than at the end.

    Sure but seek times matter more than data rate on a busy system.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to The Natural Philosopher on Mon Apr 11 17:08:00 2022
    On Mon, 11 Apr 2022 12:28:55 +0100
    The Natural Philosopher <tnp@invalid.invalid> wrote:

    Why marketing people think that the _only_ thing that matters in a
    consumer product is the marketing, is beyond me.

    They have sales figures to back them up - unfortunately.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Ahem A Rivet's Shot on Mon Apr 11 17:49:58 2022
    On 11/04/2022 17:06, Ahem A Rivet's Shot wrote:
    On Mon, 11 Apr 2022 15:22:47 GMT
    scott@alfter.diespammersdie.us wrote:

    Ahem A Rivet's Shot <steveo@eircom.net> wrote:
    On Fri, 08 Apr 2022 15:05:11 +1200
    nospam.Shaun.Buzza@f110.n229.z1.fidonet.org (Shaun Buzza) wrote:

    For best performance, I would also ensure the swap partition was at the >>>> *front* on a HDD; for a SSD (or SD card), it wouldn't matter.

    Why ? Putting it dead centre of the tracks would seem to
    minimise average seek time to the swap area.

    For spinning rust, data transfer rates are usually higher at the beginning >> of the disk than at the end.

    Sure but seek times matter more than data rate on a busy system.

    Well that is all down to the exact nature of the data transfer. And what caching strategies are involved.

    Most drive software caches the directory and inode tracks and will
    employ a sequential access across the disk to read and write, shuffling
    sector orders. as it were, to maximise throughput

    Then data transfer becomes the limiting factor




    --
    "Nature does not give up the winter because people dislike the cold."

    ― Confucius

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Charlie Gibbs on Mon Apr 11 17:55:50 2022
    On Mon, 11 Apr 2022 16:17:26 GMT
    Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:

    And now I walk around with a thumb drive in my
    pocket that cost me $1 per gigabyte.

    An expensive one then, they're running about 35-40c per gigabyte
    now in sizes up 512GB for thumb drives and a bit less for 1Tb drives from reputable suppliers.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Charlie Gibbs on Mon Apr 11 17:51:42 2022
    On 11/04/2022 17:17, Charlie Gibbs wrote:
    On 2022-04-11, The Natural Philosopher <tnp@invalid.invalid> wrote:

    On 10/04/2022 13:30, Martin Gregorie wrote:

    the company
    was bought by Kraft in 2010, at which point their products quickly became >>> inedible sweet junk.

    Exactly. I used to buy the Bournville chocolate. Occasionally a milk
    chocolate fruit and nut bar.
    I bought precisely one post takeover and threw it away uneaten

    Why marketing people think that the _only_ thing that matters in a
    consumer product is the marketing, is beyond me.

    Because it makes them lots of money?

    But great brands with itrterly vile products do not succeed.


    No one in this world, so far as I know - and
    I have searched the records for years, and
    employed agents to help me - has ever lost
    money by underestimating the intelligence of
    the great masses of the plain people.

    Hmm. These day's people are beginning to wise up...

    Nor
    has anyone ever lost public office thereby.
    Oh yes they have

    Theresa May.

    -- H.L. Mencken



    --
    Labour - a bunch of rich people convincing poor people to vote for rich
    people by telling poor people that "other" rich people are the reason
    they are poor.

    Peter Thompson

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to scott@alfter.diespammersdie.us on Mon Apr 11 17:46:57 2022
    On 11/04/2022 16:22, scott@alfter.diespammersdie.us wrote:
    Ahem A Rivet's Shot <steveo@eircom.net> wrote:
    On Fri, 08 Apr 2022 15:05:11 +1200
    nospam.Shaun.Buzza@f110.n229.z1.fidonet.org (Shaun Buzza) wrote:

    For best performance, I would also ensure the swap partition was at the
    *front* on a HDD; for a SSD (or SD card), it wouldn't matter.

    Why ? Putting it dead centre of the tracks would seem to minimise >> average seek time to the swap area.

    For spinning rust, data transfer rates are usually higher at the beginning
    of the disk than at the end.

    Not on a disk with constant sectors per track, it ain't...

    I think only early floppy disks on non standard formats featured more
    bits per track on the outside...



    --
    "Nature does not give up the winter because people dislike the cold."

    ― Confucius

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to scott on Mon Apr 11 18:03:27 2022
    On Mon, 11 Apr 2022 15:22:47 GMT, scott wrote:

    Ahem A Rivet's Shot <steveo@eircom.net> wrote:
    On Fri, 08 Apr 2022 15:05:11 +1200
    nospam.Shaun.Buzza@f110.n229.z1.fidonet.org (Shaun Buzza) wrote:

    For best performance, I would also ensure the swap partition was at
    the *front* on a HDD; for a SSD (or SD card), it wouldn't matter.

    Why ? Putting it dead centre of the tracks would seem to
    minimise
    average seek time to the swap area.

    For spinning rust, data transfer rates are usually higher at the
    beginning of the disk than at the end.

    Agreed, but for even quite a small disk capacity (I'm thinking of the old
    the 14", 20 surface, 3600rpm removable disks as used by mainframes and minicomputers until the early 1980s), when the relatively sluggish head movement speed made the difference in read speed between outer and inner
    tracks irrelevant.

    These disks held around 60 Mchars/Mbytes and typically had 135mS random
    access times, or around 7.5 accesses a second. They were pretty much the
    norm on smaller manually operated mainframes and minis. Sequential read
    wasn't a lot faster: IIRC there was no interleave and a disk revolution
    was 16.6 mS at 3600 RPM, so you got around 60 reads a second: a whole 8
    times faster than random access. In this era the disk controller was often several metres away from its drives and AFAIK, although it knew which cylinder[*] the heads were on it had no way to know which sector was under
    the heads.

    These numbers I gave are for an ICL 1903 running UDAS, which was typically
    used in unitasking mode, with programs either run manually by an operator
    or sequentially a stack of job cards by the George 1 single streaming OS.

    However, the 1903 could run George 3 if it had at least 32K of 24 bit
    words of RAM, and G3 was a full multitasking OS and had an improved disk accessing system which tracked disk head position and direction of
    movement and maintained two sorted queues of access requests: one was for accesses ahead of the heads and the other was for accesses behind the
    heads. It worked by servicing requests from the 'ahead' queue until that
    was empty and then switching direction. Even this simple strategy roughly doubled the disk access rate. The difference was obvious if you stood by
    the drives, listened and watched: compared with the heads thrashing in and
    out when accessing a random or indexed dataset under UDAS, the volley of
    clicks you heard as the heads floated gently in and out across the disk
    under George 3 was obviously doing more work in less time.

    I don't recall disks being much faster than that until controllers with built-in track buffering became commonly integrated into 5", 3.5" and 2.5" disks.

    [*] back in the day we talked about 'cylinders' rather than 'tracks'
    because, depending on capacity and manufacturer, a 14" removable disk had anywhere from 1 to 40 recording surfaces and could hold anywhere from 5 MB
    to 1 GB.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From scott@alfter.diespammersdie.us@3:770/3 to The Natural Philosopher on Tue Apr 12 17:11:08 2022
    The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 11/04/2022 16:22, scott@alfter.diespammersdie.us wrote:
    Ahem A Rivet's Shot <steveo@eircom.net> wrote:
    On Fri, 08 Apr 2022 15:05:11 +1200
    nospam.Shaun.Buzza@f110.n229.z1.fidonet.org (Shaun Buzza) wrote:

    For best performance, I would also ensure the swap partition was at the >>>> *front* on a HDD; for a SSD (or SD card), it wouldn't matter.

    Why ? Putting it dead centre of the tracks would seem to minimise >>> average seek time to the swap area.

    For spinning rust, data transfer rates are usually higher at the beginning >> of the disk than at the end.

    Not on a disk with constant sectors per track, it ain't...

    Try running some disk-benchmarking software on an old hard drive. You'll
    see faster transfer rates at the start than at the end.

    --
    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( https://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From scott@alfter.diespammersdie.us@3:770/3 to Ahem A Rivet's Shot on Tue Apr 12 17:08:05 2022
    Ahem A Rivet's Shot <steveo@eircom.net> wrote:
    On Mon, 11 Apr 2022 16:17:26 GMT
    Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:

    And now I walk around with a thumb drive in my
    pocket that cost me $1 per gigabyte.

    An expensive one then, they're running about 35-40c per gigabyte
    now in sizes up 512GB for thumb drives and a bit less for 1Tb drives from reputable suppliers.

    ...and even cheaper if you're not a stickler for brand names. The 128GB
    stick I keep on my keychain was under 18¢/GB, and according to the seller, I bought it a year ago yesterday.

    By comparison, my first MB (as an expansion card for an Apple IIe) was
    closer to $200-$300 when I bought it maybe 31-32 years ago.

    --
    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( https://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)