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


Groups > linux.debian.user > #262036

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-01 11:10 +0200
Message-ID <Hk0CB-cLOy-3@gated-at.bofh.it> (permalink)
References <HjrbP-cpWt-11@gated-at.bofh.it> <HjLWV-cCBi-1@gated-at.bofh.it> <HjQMV-cFvR-1@gated-at.bofh.it> <HjVjz-cIoi-1@gated-at.bofh.it> <HjZGx-cLfQ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 installed Fedora.
> 
> It seems, Gene it trying to run some CNC software and Firefox to control 
> it, perhaps some CAD. I suspect that some of mysterious issues are 
> caused by not enough RAM. Adding swap on a hard drive instead of ZRAM 
> may relief some issues.
> 
> However I would consider moving most of application to another machines. 
> My suggestion is to monitor RAM usage and to avoid overloading of *Pi 
> boards. Perhaps swap may be still necessary for complicated CNC tasks.
> 
> .
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 cards, it still needs to check what the machine 
is doing 1000 times a second. The way I'm doing it, the wobble in this 
timing as 50 to 80 microseconds, which doesn't bother the machine all 
that much, the real time killer is firing up firefox which can lock out 
the irq response for hundreds of milliseconds.  So I don't carve metal 
and browse the web at the same time.  I added some dials and decoders so 
I can run this lathe, which only has 3 motors, and no compound at all, 
by hand using the dials as hand cranks. Originally doing this on an 
rpi3b when it was new in the 2017-2018 timeframe, I put all the hand 
control stuff in a slower 200 hz thread since I can't turn the dials any 
faster by hand anyway. Its still there. Linuxcnc, driving the two 
motors, is a far more accurate compound than the broken compound I've 
removed ever was.  The third motor is driving the spindle at 
continuously variable speeds with an encoder telling linuxcnc where the 
spindle is 240 times a revolution.  There are no change gears, yet it 
can cut any thread, inch or metric including some I've dreamed up. 
Sub-micron accurate at any angle.  Whats not to like?

Take care & stay well.

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