Re: Swap a good drive to another computer

2024-11-28 Thread David Christensen
On 11/28/24 03:47, Tom Browder wrote: My main computer is acting strangely as if it has either memory issues or some other hardware problem. I have not had any time to do any diagnosis. As a quick solution, could I swap the single SSD to another computer and expect it to boot up? Thanks, and Ha

Re: Swap a good drive to another computer

2024-11-28 Thread Tom Browder
On Thu, Nov 28, 2024 at 10:46 songbird wrote: … > you may still have some issues, but i'd say it would be > worth a try. > > you may need to change your bios or efi settings. > Thanks, songbird! Best Regards, -Tom

Re: Swap a good drive to another computer

2024-11-28 Thread Tom Browder
On Thu, Nov 28, 2024 at 06:59 Roberto C. Sánchez wrote: … may break. However, you should have a sufficiently functional system to > be able to deal with those things. Thanks, Roberto! Best regards, -Tom

Re: Swap a good drive to another computer

2024-11-28 Thread songbird
Tom Browder wrote: > My main computer is acting strangely as if it has either memory issues or > some other hardware problem. I have not had any time to do any diagnosis. > > As a quick solution, could I swap the single SSD to another computer and > expect it to boot up? > > Thanks, and Happy Thank

Re: Swap a good drive to another computer

2024-11-28 Thread Tom Browder
On Thu, Nov 28, 2024 at 06:59 wrote: … > Most probably you won't break anything -- but doing a backup is a good > idea anyway, if you hold your data dear. Thanks, Tomas, I do have good backups! Best regards, -Tom

Re: Swap a good drive to another computer

2024-11-28 Thread Lists
On 2024-11-28 12:47, Tom Browder wrote: My main computer is acting strangely as if it has either memory issues or some other hardware problem. I have not had any time to do any diagnosis. As a quick solution, could I swap the single SSD to another computer and expect it to boot up? Thanks, a

Re: Swap a good drive to another computer

2024-11-28 Thread Roberto C . Sánchez
On Thu, Nov 28, 2024 at 06:47:44AM -0500, Tom Browder wrote: >My main computer is acting strangely as if it has either memory issues or >some other hardware problem. I have not had any time to do any diagnosis. >As a quick solution, could I swap the single SSD to another computer and >

Re: Swap a good drive to another computer

2024-11-28 Thread tomas
On Thu, Nov 28, 2024 at 06:47:44AM -0500, Tom Browder wrote: > My main computer is acting strangely as if it has either memory issues or > some other hardware problem. I have not had any time to do any diagnosis. > > As a quick solution, could I swap the single SSD to another computer and > expect

Re: swap-fle on arm64, need to disable, how?

2023-10-04 Thread gene heskett
On 10/1/23 18:46, Stefan Monnier wrote: There I disagree, Greg, it makes a handy download tool, directly from wherever, directly to the machine that needs it. That, apt/synaptic and git are the major net tools I use. Obviously I'm not trying to run them simultaneously. Every machine here 7 ATM,

Re: swap-fle on arm64, need to disable, how?

2023-10-02 Thread Max Nikulin
On 02/10/2023 03:01, hw wrote: Once you figured it out, you add sufficent amounts of RAM and use zram. Is it possible for *Pi boards? Even laptops may have soldered RAM with no spare slots. ZRAM may be fast, but if you need, say +2G in comparison to physical RAM size, the chance of success

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread gene heskett
On 10/1/23 16:01, hw wrote: On Sun, 2023-10-01 at 04:31 -0400, gene heskett wrote: On 9/30/23 23:22, hw wrote: On Sat, 2023-09-30 at 18:29 -0400, gene heskett wrote: On 9/30/23 13:28, Matthias Böttcher wrote: sudo dphys-swapfile swapoff sudo systemctl stop dphys-swapfile.service sudo systemct

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread Stefan Monnier
>>> There I disagree, Greg, it makes a handy download tool, directly >>> from wherever, directly to the machine that needs it. That, >>> apt/synaptic and git are the major net tools I use. Obviously I'm >>> not trying to run them simultaneously. Every machine here 7 ATM, can >>> browse the net, m

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread hw
On Sun, 2023-10-01 at 04:31 -0400, gene heskett wrote: > On 9/30/23 23:22, hw wrote: > > On Sat, 2023-09-30 at 18:29 -0400, gene heskett wrote: > > > On 9/30/23 13:28, Matthias Böttcher wrote: > > > > sudo dphys-swapfile swapoff > > > > sudo systemctl stop dphys-swapfile.service > > > > sudo system

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread gene heskett
On 10/1/23 14:06, Stefan Monnier wrote: There I disagree, Greg, it makes a handy download tool, directly from wherever, directly to the machine that needs it. That, apt/synaptic and git are the major net tools I use. Obviously I'm not trying to run them simultaneously. Every machine here 7 ATM,

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread Stefan Monnier
> There I disagree, Greg, it makes a handy download tool, directly from > wherever, directly to the machine that needs it. That, apt/synaptic and git > are the major net tools I use. Obviously I'm not trying to run them > simultaneously. Every machine here 7 ATM, can browse the net, making it ver

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread gene heskett
On 10/1/23 11:01, Curt wrote: On 2023-10-01, gene heskett wrote: Andy, with good luck, you may make to your 89th birthday, which with good luck I'll celebrate next Wednesday. I certainly hope you do. By then you will not see any humor in trying to remember what, if anything, you had for brea

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread gene heskett
On 10/1/23 09:39, Andrew M.A. Cater wrote: On Sun, Oct 01, 2023 at 08:58:36AM -0400, Greg Wooledge wrote: On Sun, Oct 01, 2023 at 05:07:48AM -0400, gene heskett wrote: You've a good view of this hw. However swap is not important to run linuxcnc, in fact its to be avoided because it messes with

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread gene heskett
On 10/1/23 08:59, Greg Wooledge wrote: On Sun, Oct 01, 2023 at 05:07:48AM -0400, gene heskett wrote: You've a good view of this hw. However swap is not important to run linuxcnc, in fact its to be avoided because it messes with realtime response. Linuxcnc needs, even with much of the control off

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread David Wright
On Sun 01 Oct 2023 at 13:39:17 (+), Andrew M.A. Cater wrote: > On Sun, Oct 01, 2023 at 08:58:36AM -0400, Greg Wooledge wrote: > > On Sun, Oct 01, 2023 at 05:07:48AM -0400, gene heskett wrote: > > > You've a good view of this hw. However swap is not important to run > > > linuxcnc, in fact its t

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread David Wright
On Sun 01 Oct 2023 at 04:31:26 (-0400), gene heskett wrote: > On 9/30/23 23:22, hw wrote: > > On Sat, 2023-09-30 at 18:29 -0400, gene heskett wrote: > > > However that did give me a clue about getting rid of zram0, which has > > > been done now, thank you. Now I hope to uncomment the SSD line in f

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread Darac Marjal
On 01/10/2023 09:31, gene heskett wrote: Fedora has it by default since a while, and at first I thought it's a very stupid idea.  In practise, I can't be bothered anymore to create these annoying swap partitions.  They're only a waste of disc space. There haven't been any issues with it, and

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread Curt
On 2023-10-01, gene heskett wrote: >> > Andy, with good luck, you may make to your 89th birthday, which with > good luck I'll celebrate next Wednesday. I certainly hope you do. By > then you will not see any humor in trying to remember what, if anything, > you had for breakfast this morning.

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread Andrew M.A. Cater
On Sun, Oct 01, 2023 at 08:58:36AM -0400, Greg Wooledge wrote: > On Sun, Oct 01, 2023 at 05:07:48AM -0400, gene heskett wrote: > > You've a good view of this hw. However swap is not important to run > > linuxcnc, in fact its to be avoided because it messes with realtime > > response. Linuxcnc needs

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread Greg Wooledge
On Sun, Oct 01, 2023 at 05:07:48AM -0400, gene heskett wrote: > You've a good view of this hw. However swap is not important to run > linuxcnc, in fact its to be avoided because it messes with realtime > response. Linuxcnc needs, even with much of the control offloaded to mesa > and similar smart c

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread gene heskett
On 10/1/23 04:05, Max Nikulin wrote: On 01/10/2023 10:21, hw wrote: Well, zram is the way to go; why would you still use swap partitions or swap files instead? The topic of this thread is a *Pi board. It does not have as much RAM as significant part of x86_64 laptops and desktops with install

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread gene heskett
On 9/30/23 23:22, hw wrote: On Sat, 2023-09-30 at 18:29 -0400, gene heskett wrote: On 9/30/23 13:28, Matthias Böttcher wrote: sudo dphys-swapfile swapoff sudo systemctl stop dphys-swapfile.service sudo systemctl disable dphys-swapfile.service . However that did give me a clue about getting ri

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread Max Nikulin
On 01/10/2023 01:16, Greg Wooledge wrote: On Sat, Sep 30, 2023 at 01:50:57PM -0400, gene heskett wrote: cnc@rpi4:/etc$ sudo dphys-swapfile swapoff sudo: dphys-swapfile: command not found ... unicorn:~$ apt-cache search dphys swap dphys-swapfile - Autogenerate and use a swap file From my poin

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread Max Nikulin
On 01/10/2023 10:21, hw wrote: Well, zram is the way to go; why would you still use swap partitions or swap files instead? The topic of this thread is a *Pi board. It does not have as much RAM as significant part of x86_64 laptops and desktops with installed Fedora. It seems, Gene it trying

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread hw
On Sat, 2023-09-30 at 18:29 -0400, gene heskett wrote: > On 9/30/23 13:28, Matthias Böttcher wrote: > > sudo dphys-swapfile swapoff > > sudo systemctl stop dphys-swapfile.service > > sudo systemctl disable dphys-swapfile.service > > > > . > However that did give me a clue about getting rid of zram

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread Stefan Monnier
> But I cannot label the partition. At least not with gparted. I did > generate a new blkid then put the partuuid in fstab, rebooted it and > that worked. This sounds to me like a subliminal message telling me "see all the pain you avoided by using LVM instead". Stefan

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread gene heskett
On 9/30/23 16:15, Andy Smith wrote: Hello, On Sat, Sep 30, 2023 at 11:15:18AM -0400, gene heskett wrote: On 9/30/23 07:46, Andy Smith wrote: On Sat, Sep 30, 2023 at 03:26:19AM -0400, gene heskett wrote: On 9/29/23 17:32, Andy Smith wrote: On Fri, Sep 29, 2023 at 04:36:04PM -0400, gene hesket

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread gene heskett
On 9/30/23 14:16, Greg Wooledge wrote: search dphys swap Something I need to learn. But its been yonks since I last needed that. Anyway, problem is solved, Thank you. Take care ad stay well. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, a

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread gene heskett
On 9/30/23 13:28, Matthias Böttcher wrote: sudo dphys-swapfile swapoff sudo systemctl stop dphys-swapfile.service sudo systemctl disable dphys-swapfile.service . However that did give me a clue about getting rid of zram0, which has been done now, thank you. Now I hope to uncomment the SSD line

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread Andy Smith
Hello, On Sat, Sep 30, 2023 at 11:15:18AM -0400, gene heskett wrote: > On 9/30/23 07:46, Andy Smith wrote: > > On Sat, Sep 30, 2023 at 03:26:19AM -0400, gene heskett wrote: > > > On 9/29/23 17:32, Andy Smith wrote: > > > > On Fri, Sep 29, 2023 at 04:36:04PM -0400, gene heskett wrote: > > > > > Swa

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread Matthias Böttcher
Hi Gene, please check explanations in this blog: https://www.dwarmstrong.org/zram-linuxmint/ HTH Matthias gene heskett schrieb am Sa., 30. Sept. 2023, 19:51: > On 9/30/23 13:28, Matthias Böttcher wrote: > > sudo dphys-swapfile swapoff > > sudo systemctl stop dphys-swapfile.service > > sudo sys

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread Greg Wooledge
On Sat, Sep 30, 2023 at 01:50:57PM -0400, gene heskett wrote: > On 9/30/23 13:28, Matthias Böttcher wrote: > > sudo dphys-swapfile swapoff > > sudo systemctl stop dphys-swapfile.service > > sudo systemctl disable dphys-swapfile.service > > > > . > Looks familiar but none of that is installed > cnc

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread David Wright
On Sat 30 Sep 2023 at 03:26:19 (-0400), gene heskett wrote: > On 9/29/23 17:32, Andy Smith wrote: > > On Fri, Sep 29, 2023 at 04:36:04PM -0400, gene heskett wrote: > > > cnc@rpi4:/etc$ sudo swapon -s > > > FilenameTypeSize Used > > > Priority > > > /dev/z

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread gene heskett
On 9/30/23 13:28, Matthias Böttcher wrote: sudo dphys-swapfile swapoff sudo systemctl stop dphys-swapfile.service sudo systemctl disable dphys-swapfile.service . Looks familiar but none of that is installed cnc@rpi4:/etc$ sudo dphys-swapfile swapoff sudo: dphys-swapfile: command not found cnc@r

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread Matthias Böttcher
sudo dphys-swapfile swapoff sudo systemctl stop dphys-swapfile.service sudo systemctl disable dphys-swapfile.service

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread gene heskett
On 9/30/23 07:46, Andy Smith wrote: Hello, On Sat, Sep 30, 2023 at 03:26:19AM -0400, gene heskett wrote: On 9/29/23 17:32, Andy Smith wrote: On Fri, Sep 29, 2023 at 04:36:04PM -0400, gene heskett wrote: Swap file is the last thing I want, much slower than a swap partition. There has been no

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread Andy Smith
Hello, On Sat, Sep 30, 2023 at 03:26:19AM -0400, gene heskett wrote: > On 9/29/23 17:32, Andy Smith wrote: > > On Fri, Sep 29, 2023 at 04:36:04PM -0400, gene heskett wrote: > > > Swap file is the last thing I want, much slower than a swap partition. > > > > There has been no performance differenc

Re: swap-fle on arm64, need to disable, how?

2023-09-30 Thread gene heskett
On 9/29/23 17:32, Andy Smith wrote: Hello, On Fri, Sep 29, 2023 at 04:36:04PM -0400, gene heskett wrote: On 9/29/23 15:21, Andy Smith wrote: On Fri, Sep 29, 2023 at 03:15:54PM -0400, gene heskett wrote: I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd card I need to turn

Re: swap-fle on arm64, need to disable, how?

2023-09-29 Thread Max Nikulin
On 30/09/2023 03:36, gene heskett wrote: On 9/29/23 15:21, Andy Smith wrote: On Fri, Sep 29, 2023 at 03:15:54PM -0400, gene heskett wrote: I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd cnc@rpi4:/etc$ sudo swapon -s Filename    Type

Re: swap-fle on arm64, need to disable, how?

2023-09-29 Thread Andy Smith
Hello, On Fri, Sep 29, 2023 at 04:36:04PM -0400, gene heskett wrote: > On 9/29/23 15:21, Andy Smith wrote: > > On Fri, Sep 29, 2023 at 03:15:54PM -0400, gene heskett wrote: > > > I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd > > > card I > > > need to turn off the swap fil

Re: swap-fle on arm64, need to disable, how?

2023-09-29 Thread gene heskett
On 9/29/23 15:21, Andy Smith wrote: Hello, On Fri, Sep 29, 2023 at 03:15:54PM -0400, gene heskett wrote: I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd card I need to turn off the swap file, and swapon -a the SSD stuff. Have you looked in /etc/fstab where as you know fi

Re: swap-fle on arm64, need to disable, how?

2023-09-29 Thread Andy Smith
Hello, On Fri, Sep 29, 2023 at 03:15:54PM -0400, gene heskett wrote: > I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd card I > need to turn off the swap file, and swapon -a the SSD stuff. Have you looked in /etc/fstab where as you know filesystem mounts are described? If th

Re: Swap size in debain 12

2023-08-13 Thread Andy Smith
Hello, On Sun, Aug 13, 2023 at 01:38:35PM +0100, Darac Marjal wrote: > If it's useful, you *can* Hibernate to a swap file. > https://wiki.debian.org/Hibernation/Hibernate_Without_Swap_Partition It > looks a little flaky, though, because you need to tell the kernel how many > bytes into a device to

Re: Swap size in debain 12

2023-08-13 Thread Darac Marjal
On 12/08/2023 15:32, Erwan David wrote: Le 12/08/2023 à 16:24, David Wright a écrit : On Sat 12 Aug 2023 at 15:45:52 (+0200), Erwan David wrote: Installing a new debian 12 I see that the installer setups a 1G swap on a 24G RAM laptop. Is the hibernation out of swap now ? (I chose to have a bi

Re: Swap size in debain 12

2023-08-12 Thread Andrew M.A. Cater
On Sat, Aug 12, 2023 at 04:32:34PM +0200, Erwan David wrote: > Le 12/08/2023 à 16:24, David Wright a écrit : > > On Sat 12 Aug 2023 at 15:45:52 (+0200), Erwan David wrote: > > > Installing a new debian 12 I see that the installer setups a 1G swap > > > on a 24G RAM laptop. > > > > > > Is the hiber

Re: Swap size in debain 12

2023-08-12 Thread Erwan David
Le 12/08/2023 à 16:24, David Wright a écrit : On Sat 12 Aug 2023 at 15:45:52 (+0200), Erwan David wrote: Installing a new debian 12 I see that the installer setups a 1G swap on a 24G RAM laptop. Is the hibernation out of swap now ? (I chose to have a biigger swap, but I find it strange) The ar

Re: Swap size in debain 12

2023-08-12 Thread David Wright
On Sat 12 Aug 2023 at 15:45:52 (+0200), Erwan David wrote: > Installing a new debian 12 I see that the installer setups a 1G swap > on a 24G RAM laptop. > > Is the hibernation out of swap now ? (I chose to have a biigger swap, > but I find it strange) The arguments are rehearsed in: https://wi

Re: swap maxed out when plenty of RAM available

2022-03-25 Thread Nicholas Geovanis
On Fri, Mar 25, 2022 at 12:27 PM Greg Wooledge wrote: > On Fri, Mar 25, 2022 at 04:51:51PM +, Adam Weremczuk wrote: > > [Tue Mar 22 00:24:10 2022] Tasks state (memory values in pages): > > [Tue Mar 22 00:24:10 2022] [ pid ] uid tgid total_vm rss > > pgtables_bytes swapents oom_score

Re: swap maxed out when plenty of RAM available

2022-03-25 Thread Greg Wooledge
On Fri, Mar 25, 2022 at 04:51:51PM +, Adam Weremczuk wrote: > [Tue Mar 22 00:24:10 2022] Tasks state (memory values in pages): > [Tue Mar 22 00:24:10 2022] [  pid  ]   uid  tgid total_vm  rss > pgtables_bytes swapents oom_score_adj name > [Tue Mar 22 00:24:10 2022] [   2211] 0  2211   

Re: swap maxed out when plenty of RAM available

2022-03-25 Thread Adam Weremczuk
Thanks all for picking up a discussion and all the useful hints. The container has been behaving since reboot, using 0 swap ATM. Post-mortem on dhcp service crash is showing 100% memory usage and OOM, still not sure why though: [Tue Mar 22 00:24:10 2022] apt-get invoked oom-killer: gfp_mask=

Re: swap maxed out when plenty of RAM available

2022-03-24 Thread Nathanael Schweers
Adam Weremczuk writes: > The container was running like that for several months until this morning > when its core service (dhcp) started failing. Just a wild guess, but do you know what caused dhcp to fail? Was it too little memory? > > I logged in to investigate and noticed 100% of swap be

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Charles Kroeger
I use dphys-swapfile this is a system service that auto configures a swap at boot without requiring a static partition. it computes the size of an optimal swap file and or resizes an existing swap file if necessary. it mounts, dismounts, and deletes the swap if not wanted. it doesn't dynamically

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread David Christensen
On 3/22/22 07:55, Adam Weremczuk wrote: Hi all, I run a tiny and lightweight Debian 9.9 LXC container on Proxmox 6.2-6. It has 512 MB of memory and 512 MB of swap assigned and typically needs 50-100 MB to operate. Last year I started seeing about half of swap being used with very little use

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Greg Wooledge
On Tue, Mar 22, 2022 at 04:00:23PM -0400, Kenneth Parker wrote: > On Tue, Mar 22, 2022 at 2:17 PM Greg Wooledge wrote: > > > On Tue, Mar 22, 2022 at 01:00:42PM -0500, Nicholas Geovanis wrote: > > > That's the usual issue. The /tmp filesystem is usually configured to live > > > in RAM, > > > > Tha

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Kenneth Parker
On Tue, Mar 22, 2022 at 2:17 PM Greg Wooledge wrote: > On Tue, Mar 22, 2022 at 01:00:42PM -0500, Nicholas Geovanis wrote: > > That's the usual issue. The /tmp filesystem is usually configured to live > > in RAM, > > That's not the default in Debian. Of course, it might have been set up > that wa

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Greg Wooledge
On Tue, Mar 22, 2022 at 01:00:42PM -0500, Nicholas Geovanis wrote: > That's the usual issue. The /tmp filesystem is usually configured to live > in RAM, That's not the default in Debian. Of course, it might have been set up that way on the OP's system. > at some point an application needed to us

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Nicholas Geovanis
On Tue, Mar 22, 2022 at 12:21 PM Dan Ritter wrote: > Charles Curley wrote: > > On Tue, 22 Mar 2022 14:55:34 + > > Adam Weremczuk wrote: > > > > > It has 512 MB of memory and 512 MB of swap assigned and typically > > > needs 50-100 MB to operate. > > > > The rule of thumb to which I am accust

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Dan Ritter
Charles Curley wrote: > On Tue, 22 Mar 2022 14:55:34 + > Adam Weremczuk wrote: > > > It has 512 MB of memory and 512 MB of swap assigned and typically > > needs 50-100 MB to operate. > > The rule of thumb to which I am accustomed is to have a swap space > double the physical RAM. If necessa

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Greg Wooledge
On Tue, Mar 22, 2022 at 10:35:40AM -0600, Charles Curley wrote: > On Tue, 22 Mar 2022 14:55:34 + > Adam Weremczuk wrote: > > > It has 512 MB of memory and 512 MB of swap assigned and typically > > needs 50-100 MB to operate. > > The rule of thumb to which I am accustomed is to have a swap sp

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Charles Curley
On Tue, 22 Mar 2022 14:55:34 + Adam Weremczuk wrote: > It has 512 MB of memory and 512 MB of swap assigned and typically > needs 50-100 MB to operate. The rule of thumb to which I am accustomed is to have a swap space double the physical RAM. If necessary, you can create a swap file and add

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread Pascal Hambourg
Le 14/02/2019 à 03:14, Curt Howland a écrit : I also put in ramdisk options for /tmp in /etc/fstab You mean tmpfs, not ramdisk. Nobody sane would prefer ramdisk over tmpfs for /tmp.

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread David Christensen
On 2/13/19 1:28 PM, Andy Smith wrote: On Wed, Feb 13, 2019 at 01:14:36PM -0800, David Christensen wrote: A swap partition is faster than a swap file. Has something changed in this regard since kernel version 2.6 then? http://lkml.iu.edu/hypermail/linux/kernel/0507.0/1690.html I do not follo

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread David Christensen
On 2/13/19 1:23 PM, Dan Ritter wrote: David Christensen wrote: On 2/13/19 6:11 AM, Dan Ritter wrote: If you want maximum SSD longevity, increase the amount of space that the SSD can use for remapping by never writing to some amount of space. Easiest is to not fill the disk with partitions -- le

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread Curt Howland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 One of the things I do with an SSD is turn down "swappiness" to a minimum. In /etc/sysctl.d/custom.conf I put the following lines: vm.swappiness = 0 vm.vfs_cache_pressure = 40 vm.dirty_background_ratio = 10 vm.dirty_ratio = 40 There are also a

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread Andy Smith
Hello, On Wed, Feb 13, 2019 at 04:23:56PM -0500, Dan Ritter wrote: > "Over-provisioning often takes away from user capacity, either > temporarily or permanently, but it gives back reduced write > amplification, increased endurance, and increased performance." > > Increased endurance is increased

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread Michael Stone
On Wed, Feb 13, 2019 at 01:14:36PM -0800, David Christensen wrote: AFAIK over-provisioning has no effect on longevity -- longevity is proportional to total number of cells times rated erase/ write cycles per cell divided by write throughput. In the absence of trim, restricting the logical capac

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread Andy Smith
Hello, On Wed, Feb 13, 2019 at 01:14:36PM -0800, David Christensen wrote: > A swap partition is faster than a swap file. Has something changed in this regard since kernel version 2.6 then? http://lkml.iu.edu/hypermail/linux/kernel/0507.0/1690.html Cheers, Andy -- https://bitfolk.com/ -- No-no

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread Dan Ritter
David Christensen wrote: > On 2/13/19 6:11 AM, Dan Ritter wrote: > > If you want maximum SSD longevity, increase the amount of space that > > the SSD can use for remapping by never writing to some amount of > > space. Easiest is to not fill the disk with partitions -- leave 5-10% > > empty. > > A

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread David Christensen
On 2/13/19 5:41 AM, deb wrote: Again -- fussing with a full (not from a live .iso) 9.7 install; the Debian GUI installer is suggesting a Swap partition on a Kingston SSD. #1 Given that it's not great to pound the same area of a SSD with writes; is it indeed still best practice to go with a swap

Thanks Dan. Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread deb
Thank you. On 2/13/2019 9:11 AM, Dan Ritter wrote: deb wrote: On 2/13/2019 8:46 AM, Michael Stone wrote: On Wed, Feb 13, 2019 at 08:41:33AM -0500, deb wrote: #1 Given that it's not great to pound the same area of a SSD with writes; is it indeed still best practice to go with a swap partition

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread Dan Ritter
deb wrote: > > On 2/13/2019 8:46 AM, Michael Stone wrote: > > On Wed, Feb 13, 2019 at 08:41:33AM -0500, deb wrote: > > > #1 Given that it's not great to pound the same area of a SSD with > > > writes; is it indeed still best practice to go with a swap partition > > > on a SSD rather than a swap F

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread deb
On 2/13/2019 8:46 AM, Michael Stone wrote: On Wed, Feb 13, 2019 at 08:41:33AM -0500, deb wrote: #1 Given that it's not great to pound the same area of a SSD with writes; is it indeed still best practice to go with a swap partition on a SSD rather than a swap FILE? That's not a thing: the SS

Re: Swap space choice on a SSD <- Current best practice on?

2019-02-13 Thread Michael Stone
On Wed, Feb 13, 2019 at 08:41:33AM -0500, deb wrote: #1 Given that it's not great to pound the same area of a SSD with writes; is it indeed still best practice to go with a swap partition on a SSD rather than a swap FILE? That's not a thing: the SSD will balance writes physically across the d

Re: Swap priority in Debian

2018-08-25 Thread Reco
Hi. On Sat, Aug 25, 2018 at 06:07:01PM +0530, Subhadip Ghosh wrote: > > > On Saturday 25 August 2018 04:29 PM, Reco wrote: > > Hi. > > > > On Sat, Aug 25, 2018 at 09:42:31AM +0530, Subhadip Ghosh wrote: > > > Hi, > > > > > > I am a Debian testing user. Recently I am experiencing fr

Re: Swap priority in Debian

2018-08-25 Thread Subhadip Ghosh
On Saturday 25 August 2018 04:29 PM, Reco wrote: Hi. On Sat, Aug 25, 2018 at 09:42:31AM +0530, Subhadip Ghosh wrote: Hi, I am a Debian testing user. Recently I am experiencing freezing on my Debian system intermittently and during troubleshooting the same, I found out that the I hav

Re: Re: Swap priority in Debian

2018-08-25 Thread dekkzz78
On 08/25, Rick Thomas wrote: On Aug 25, 2018, at 1:15 AM, Subhadip Ghosh wrote: On Saturday 25 August 2018 01:17 PM, Dekks Herton wrote: Subhadip Ghosh writes: Hi, I am a Debian testing user. Recently I am experiencing freezing on my Debian system intermittently and during troubleshooti

Re: Swap priority in Debian

2018-08-25 Thread Reco
Hi. On Sat, Aug 25, 2018 at 09:42:31AM +0530, Subhadip Ghosh wrote: > Hi, > > I am a Debian testing user. Recently I am experiencing freezing on my Debian > system intermittently and during troubleshooting the same, I found out that > the I have a swap partition with priority set to -2.

Re: Swap priority in Debian

2018-08-25 Thread Rick Thomas
On Aug 25, 2018, at 1:15 AM, Subhadip Ghosh wrote: > > On Saturday 25 August 2018 01:17 PM, Dekks Herton wrote: >> Subhadip Ghosh writes: >> >>> Hi, >>> >>> I am a Debian testing user. Recently I am experiencing freezing on my >>> Debian system intermittently and during troubleshooting the

Re: Swap priority in Debian

2018-08-25 Thread Subhadip Ghosh
On Saturday 25 August 2018 01:17 PM, Dekks Herton wrote: Subhadip Ghosh writes: Hi, I am a Debian testing user. Recently I am experiencing freezing on my Debian system intermittently and during troubleshooting the same, I found out that the I have a swap partition with priority set to -2. B

Re: Swap priority in Debian

2018-08-25 Thread Dekks Herton
Subhadip Ghosh writes: > Hi, > > I am a Debian testing user. Recently I am experiencing freezing on my > Debian system intermittently and during troubleshooting the same, I > found out that the I have a swap partition with priority set to > -2. But according to the below manpage: > > https://manp

Re: swap on second hard drive

2016-05-19 Thread Pascal Hambourg
Le 19/05/2016 07:46, deloptes a écrit : Haha, that's fair enough. It took me about 1h to reverse the setup to paper, that I have done few years ago on one server with 12disks Not only uuid, but crypt and lvm on top. I finally draw a map with this. Tip : lsblk comes in handy to print the relati

Re: swap on second hard drive

2016-05-19 Thread Peter Hillier-Brook
On 19/05/16 06:46, deloptes wrote: > Peter Hillier-Brook wrote: > >> On 18/05/16 22:02, deloptes wrote: >>> Peter Hillier-Brook wrote: >>> On 17/05/16 18:02, Felix Miata wrote: > Peter Hillier-Brook composed on 2016-05-17 16:41 (UTC+0100): > >> I recently re-formatted and re-parti

[OT] LABELs Re: swap on second hard drive

2016-05-19 Thread David Wright
On Thu 19 May 2016 at 07:46:10 (+0200), deloptes wrote: > Peter Hillier-Brook wrote: > > On 18/05/16 22:02, deloptes wrote: > >> Peter Hillier-Brook wrote: > >>> On 17/05/16 18:02, Felix Miata wrote: > Mounting by UUID is an optional default. Mounting life is simpler here, > because I don

Re: swap on second hard drive

2016-05-18 Thread deloptes
Peter Hillier-Brook wrote: > On 18/05/16 22:02, deloptes wrote: >> Peter Hillier-Brook wrote: >> >>> On 17/05/16 18:02, Felix Miata wrote: Peter Hillier-Brook composed on 2016-05-17 16:41 (UTC+0100): > I recently re-formatted and re-partitioned a second disk that I use > for exp

Re: swap on second hard drive

2016-05-18 Thread Peter Hillier-Brook
On 18/05/16 22:02, deloptes wrote: > Peter Hillier-Brook wrote: > >> On 17/05/16 18:02, Felix Miata wrote: >>> Peter Hillier-Brook composed on 2016-05-17 16:41 (UTC+0100): >>> I recently re-formatted and re-partitioned a second disk that I use for experimenting with various distributions

Re: swap on second hard drive

2016-05-18 Thread deloptes
Peter Hillier-Brook wrote: > On 17/05/16 18:02, Felix Miata wrote: >> Peter Hillier-Brook composed on 2016-05-17 16:41 (UTC+0100): >> >>> I recently re-formatted and re-partitioned a second disk that I use for >>> experimenting with various distributions. A consequence is that previous >>> UUIDs

Re: swap on second hard drive

2016-05-18 Thread Peter Hillier-Brook
On 17/05/16 18:02, Felix Miata wrote: > Peter Hillier-Brook composed on 2016-05-17 16:41 (UTC+0100): > >> I recently re-formatted and re-partitioned a second disk that I use for >> experimenting with various distributions. A consequence is that previous >> UUIDs have disappeared into the bit bucke

Re: swap on second hard drive

2016-05-17 Thread Pascal Hambourg
Le 17/05/2016 17:41, Peter Hillier-Brook a écrit : I recently re-formatted and re-partitioned a second disk that I use for experimenting with various distributions. A consequence is that previous UUIDs have disappeared into the bit bucket but, during booting of my main system a script somewhere i

Re: swap on second hard drive

2016-05-17 Thread Felix Miata
Peter Hillier-Brook composed on 2016-05-17 16:41 (UTC+0100): I recently re-formatted and re-partitioned a second disk that I use for experimenting with various distributions. A consequence is that previous UUIDs have disappeared into the bit bucket but, during booting of my main system a script

Re: Swap partition vs swap file

2012-11-22 Thread Darac Marjal
On Wed, Nov 21, 2012 at 12:23:42PM -0800, David Guntner wrote: > Hi all, > > While still trying to figure out why Thunderbird isn't working so well > with Dovecot, I figured I'd move onto another mystery; thought I'd seek > out some opinions here. :-) > > When setting up Linux systems, I've alway

Re: Swap partition vs swap file

2012-11-21 Thread Rob Owens
On Wed, Nov 21, 2012 at 12:23:42PM -0800, David Guntner wrote: > Hi all, > > While still trying to figure out why Thunderbird isn't working so well > with Dovecot, I figured I'd move onto another mystery; thought I'd seek > out some opinions here. :-) > > When setting up Linux systems, I've alway

Re: Swap partition vs swap file

2012-11-21 Thread Claudius Hubig
Hello David, David Guntner wrote: > swap *file* instead. > > So, anyone? Pros & cons? Is there any reason to prefer one over the other? Are you sure you need swap at all? If so, will your server still deliver acceptable performance if it is actively swapping? If yes, then the performance of t

Re: Swap partition vs swap file

2012-11-21 Thread Kelly Clowers
Pretty sure the partition is far more common. The file version is there if you need it, but hopefully you don't. Having the pages sit in a file on top of a filesystem just adds some extra layers, probably decreases performance a bit, AFAIK On Wed, Nov 21, 2012 at 12:23 PM, David Guntner wrote: >

Re: swap-partition

2012-11-03 Thread Klaus Jantzen
Klaus Jantzen wrote: Hello, on my machine I have two HDDs with Windows, Debian and another Linux system. Because of the two Linux systems I have two swap partitions. As I want to remove the other Linux I want to get rid of one of the swap partitions. How can I find out which swap partition i

Re: swap-partition

2012-11-03 Thread Pedro Eugênio Rocha
Hi guys, On Fri, Nov 2, 2012 at 11:18 AM, Karl E. Jorgensen wrote: > On Fri, Nov 02, 2012 at 01:07:28PM +, Klaus Jantzen wrote: > > Hello, > > > > on my machine I have two HDDs with Windows, Debian and another Linux > system. > > Because of the two Linux systems I have two swap partitions. >

Re: swap-partition

2012-11-02 Thread Karl E. Jorgensen
On Fri, Nov 02, 2012 at 01:07:28PM +, Klaus Jantzen wrote: > Hello, > > on my machine I have two HDDs with Windows, Debian and another Linux system. > Because of the two Linux systems I have two swap partitions. > > As I want to remove the other Linux I want to get rid of one of the swap > p

  1   2   3   4   5   >