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


Groups > linux.debian.user > #262081

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

From gene heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: swap-fle on arm64, need to disable, how?
Date 2023-10-02 02:00 +0200
Message-ID <HkevU-cTZc-7@gated-at.bofh.it> (permalink)
References (1 earlier) <HjLWV-cCBi-1@gated-at.bofh.it> <HjQMV-cFvR-1@gated-at.bofh.it> <HjVjz-cIoi-1@gated-at.bofh.it> <Hk09z-cLph-3@gated-at.bofh.it> <HkaVj-cS2t-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 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 in fstab.
>>>
>>> Well, zram is the way to go; why would you still use swap partitions
>>> or swap files instead?  Are you deliberately trying to wear out your
>>> SSDs or to slow down your computer?
>>>
>> zram is probably the way to go for board with lots of dram. Something
>> the pi's don't have.
> 
> You only need as much RAM as is sufficient for what you're doing.
> That's the way to go while having more RAM doesn't hurt much.
> 
> Swapping to SSDs is slow.  If it's faster than zram, something must be
> wrong.
> 
> In an earlier message you're saying RAM isn't an issue.  So why are
> you messing with it?
> 
> 10GB swap on an SSD you're actually tring to use?  Ugh ...  It's maybe
> ok for preventing the system from going into some undefined and
> undesirable state from running out of memory for instances in which
> you're trying to figure out how much RAM you need.  Once you figured
> it out, you add sufficent amounts of RAM and use zram.
> 
> BTW, how do you prevent breaking the lathe when the pi or the software
> fails?  There's things that can go wrong and lathes tend to be rather
> powerful tools.  Do you have some device to detect failures and some
> kind of break that stops the lathe immediately when something goes
> wrong?
> 

There are several checks which can stop lcnc in the next millisecond. 
They have been well tested, but have yet to do so while working. I am 
slowly converting all my stepper drivers to closed loop versions, the 
next generation in motors, which have several advantages over std 
steppers. First they control motor power with the magnitude of the 
error, so motors don't run burn your hand hot unless being really 
pushed. 2nd, they get to where lcnc ends them or if they can't get 
there, they'll kill the motor power and advise lcnc of the failure which 
if wired correctly, shuts lcnc down in its tracks a millisecond later. I 
now have 5 of those motors turning things and that failure has yet to 
occur while working.  I guess I'm sold.

Take care & stay well, hm

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>

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


Thread

swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-09-29 21:20 +0200
  Re: swap-fle on arm64, need to disable, how? Andy Smith <andy@strugglers.net> - 2023-09-29 21:30 +0200
    Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-09-29 22:40 +0200
      Re: swap-fle on arm64, need to disable, how? Andy Smith <andy@strugglers.net> - 2023-09-29 23:40 +0200
        Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-09-30 09:30 +0200
          Re: swap-fle on arm64, need to disable, how? Andy Smith <andy@strugglers.net> - 2023-09-30 13:50 +0200
            Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-09-30 17:20 +0200
              Re: swap-fle on arm64, need to disable, how? Andy Smith <andy@strugglers.net> - 2023-09-30 22:20 +0200
                Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 02:30 +0200
                Re: swap-fle on arm64, need to disable, how? Curt <curty@free.fr> - 2023-10-01 17:10 +0200
                Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 19:00 +0200
          Re: swap-fle on arm64, need to disable, how? David Wright <deblis@lionunicorn.co.uk> - 2023-09-30 20:20 +0200
      Re: swap-fle on arm64, need to disable, how? Max Nikulin <manikulin@gmail.com> - 2023-09-30 03:30 +0200
  Re: swap-fle on arm64, need to disable, how? Matthias Böttcher <matthias.boettcher@gmail.com> - 2023-09-30 19:30 +0200
    Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-09-30 20:00 +0200
      Re: swap-fle on arm64, need to disable, how? Greg Wooledge <greg@wooledge.org> - 2023-09-30 20:20 +0200
        Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 01:50 +0200
        Re: swap-fle on arm64, need to disable, how? Max Nikulin <manikulin@gmail.com> - 2023-10-01 10:20 +0200
      Re: swap-fle on arm64, need to disable, how? Matthias Böttcher <matthias.boettcher@gmail.com> - 2023-09-30 21:30 +0200
    Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 00:40 +0200
      Re: swap-fle on arm64, need to disable, how? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-10-01 04:30 +0200
      Re: swap-fle on arm64, need to disable, how? hw <hw@adminart.net> - 2023-10-01 05:30 +0200
        Re: swap-fle on arm64, need to disable, how? Max Nikulin <manikulin@gmail.com> - 2023-10-01 10:10 +0200
          Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 11:10 +0200
            Re: swap-fle on arm64, need to disable, how? Greg Wooledge <greg@wooledge.org> - 2023-10-01 15:00 +0200
              Re: swap-fle on arm64, need to disable, how? "Andrew M.A. Cater" <amacater@einval.com> - 2023-10-01 15:40 +0200
                Re: swap-fle on arm64, need to disable, how? David Wright <deblis@lionunicorn.co.uk> - 2023-10-01 17:40 +0200
                Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 19:00 +0200
              Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 18:50 +0200
                Re: swap-fle on arm64, need to disable, how? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-10-01 20:10 +0200
                Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 21:20 +0200
                Re: swap-fle on arm64, need to disable, how? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-10-02 00:50 +0200
                Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-04 10:10 +0200
        Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 10:40 +0200
          Re: swap-fle on arm64, need to disable, how? David Wright <deblis@lionunicorn.co.uk> - 2023-10-01 17:40 +0200
          Re: swap-fle on arm64, need to disable, how? hw <hw@adminart.net> - 2023-10-01 22:10 +0200
            Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-02 02:00 +0200
            Re: swap-fle on arm64, need to disable, how? Max Nikulin <manikulin@gmail.com> - 2023-10-03 04:40 +0200

csiph-web