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


Groups > comp.mobile.android > #145025

Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?

From Frank Slootweg <this@ddress.is.invalid>
Newsgroups comp.mobile.android
Subject Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
Date 2024-12-07 13:14 +0000
Organization NOYB
Message-ID <vj1l7i.1to.1@ID-201911.user.individual.net> (permalink)
References <virg1h$eif$1@nnrp.usenet.blueworldhosting.com> <viu7ob$26lh3$1@dont-email.me> <lrfpj4F77p6U1@mid.individual.net> <vius10.17o.1@ID-201911.user.individual.net> <lriun1Fmn2pU3@mid.individual.net>

Show all headers | View raw


Arno Welzel <usenet@arnowelzel.de> wrote:
> Frank Slootweg, 2024-12-06 12:51:
> 
> > Andy Burns <usenet@andyburns.uk> wrote:
> >> Edward.C wrote:
> >>
> >>> I think it depends on your usage. If you always have many apps running 
> >>> at the same time, maybe it can give slight improvement in performance.
> >>>
> >>> I have disabled it and never noticed any difference, probably because I 
> >>> have 12GB of RAM on my A55.
> >>
> >> Given the way Android apps save their state and are then ready to be 
> >> killed when there is pressure on memory, ready to be reloaded "as they 
> >> were", then using swap seems a bit pointless?
> > 
> >   Yes, but not all apps can be killed and reloaded/restarted "as they
> > were". For example those which depend on external data or/and state. For
> > those apps, you want them to be swapped instead of killed.
> 
> By definition an app *must* support the fact, that it can be killed at
> any time. Even rotating the display will kill and restart the current
> running activity. That's the reason, why dialog boxes should not be used
> but UI fragments instead since the state of fragments will be handled by
> the OS instead of the app.
>
> But on the other hand it depends on the app developers how good the
> implement state changes.

  My/the point is that not all apps *can* be designed that way. It might
be that *if* they can be designed that way, they *must* be designed that
way. But an app developer can not be required to do the impossible.

  Note that I specifically mentioned external data or/and state. If an
app is killed, external data or/and state might/will be lost and the app
*cannot* recover when restarted. Examples of such apps are apps which
depend on data from (internal or external sensors or other data
sources).

  Also note I mentioned in the part you snipped, if all apps/programs
could be designed that way, we wouldn't have paging/swapping on real
computers, but we do. Guess why that is?

Back to comp.mobile.android | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What is your experience with Samsung "RAM Plus" virtual memory expansion? Andrew <andys@nospam.com> - 2024-12-05 06:08 +0000
  Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Andy Burns <usenet@andyburns.uk> - 2024-12-05 10:26 +0000
    Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Arno Welzel <usenet@arnowelzel.de> - 2024-12-05 22:57 +0100
  Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? "Edward.C" <ec@spam.invalid> - 2024-12-06 13:40 +0800
  Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? "Edward.C" <ec@spam.invalid> - 2024-12-06 15:04 +0800
    Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Andy Burns <usenet@andyburns.uk> - 2024-12-06 08:05 +0000
      Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Arno Welzel <usenet@arnowelzel.de> - 2024-12-06 09:55 +0100
      Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Frank Slootweg <this@ddress.is.invalid> - 2024-12-06 11:51 +0000
        Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? "Carlos E.R." <robin_listas@es.invalid> - 2024-12-06 14:02 +0100
          Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Andrew <andys@nospam.com> - 2024-12-06 21:21 +0000
        Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Arno Welzel <usenet@arnowelzel.de> - 2024-12-07 13:51 +0100
          Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Frank Slootweg <this@ddress.is.invalid> - 2024-12-07 13:14 +0000
            Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Andy Burns <usenet@andyburns.uk> - 2024-12-07 14:05 +0000
              Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Frank Slootweg <this@ddress.is.invalid> - 2024-12-07 16:18 +0000
                Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Arno Welzel <usenet@arnowelzel.de> - 2024-12-09 00:50 +0100
            Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Arno Welzel <usenet@arnowelzel.de> - 2024-12-09 00:46 +0100
    Re: What is your experience with Samsung "RAM Plus" virtual memory expansion? Java Jive <java@evij.com.invalid> - 2024-12-06 11:52 +0000

csiph-web