Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Clothes make the man. Naked people have little or no influence on society. -- Mark Twain


comp / comp.mobile.android / What is your experience with Samsung "RAM Plus" virtual memory expansion?

SubjectAuthor
* What is your experience with Samsung "RAM Plus" virtual memory expansion?Andrew
+* Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Andy Burns
|`- Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Arno Welzel
+- Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Edward.C
`* Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Edward.C
 +* Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Andy Burns
 |+- Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Arno Welzel
 |`* Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Frank Slootweg
 | +* Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Carlos E.R.
 | |`- Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Andrew
 | `* Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Arno Welzel
 |  `* Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Frank Slootweg
 |   +* Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Andy Burns
 |   |`* Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Frank Slootweg
 |   | `- Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Arno Welzel
 |   `- Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Arno Welzel
 `- Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?Java Jive

1
Subject: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Andrew
Newsgroups: comp.mobile.android
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Date: Thu, 5 Dec 2024 06:08 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: andys@nospam.com (Andrew)
Newsgroups: comp.mobile.android
Subject: What is your experience with Samsung "RAM Plus" virtual memory expansion?
Date: Thu, 5 Dec 2024 06:08:49 -0000 (UTC)
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 5 Dec 2024 06:08:49 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
logging-data="14927"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.13
Cancel-Lock: sha1:ccgmtn1kVNzr7h50Ek4DSk9a5SY= sha256:AomxpVSuWYbEPGZ6R6OO8M/F+s2RZRZtQLqTPNkv7/8=
sha1:JOPSFtLFt3qpQRhtMRhILIUEPGU= sha256:+Dmrh283+Fz1sPdY5iM4WxTqKqTPXpiPfRRiVU+7CE4=
View all headers

To help another user on another thread I checked my settings to show him
how an inexpensive phone can have enough horsepower to be just fine,
I happened to go into my settings & saw a Samsung setting for "RAM Plus".
Settings > Battery & device care > Memory > RAM Plus = on/off

When I looked at the RAM Plus in my Samsung Galaxy A32-5G, it showed:
(_) 2GB
(o) 4GB

Looking up what the heck Samsung RAM Plus even is, I find this cite:
<https://www.simplymac.com/android/what-is-samsung-ram-plus-is-it-worth-it>
"Samsung RAM Plus is a feature found in certain Samsung smartphones
that creates virtual RAM by using a portion of the device's internal
storage to provide extra temporary memory when the actual RAM is
running low."

I didn't even realize this existed until now (or maybe I knew at one time
and forgot) but what I'm asking here is what is your experience with it?

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Andy Burns
Newsgroups: comp.mobile.android
Date: Thu, 5 Dec 2024 10:26 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Thu, 5 Dec 2024 10:26:34 +0000
Lines: 12
Message-ID: <lrddeqFpjo0U4@mid.individual.net>
References: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net BYDNaBPn8V3I3Dq7/JwBJQsrbrtHG9B/0XAB1615Gj+SnP+B/Z
Cancel-Lock: sha1:+6pqTSmI16fPsI4UoO2xTJij8iI= sha256:bfew4veTkx+b8sDGCxtC7AfbT2wrLbjDK2P1EF6g7GU=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com>
View all headers

Andrew wrote:

> "Samsung RAM Plus is a feature found in certain Samsung smartphones
>  that creates virtual RAM by using a portion of the device's internal
>  storage to provide extra temporary memory when the actual RAM is
>  running low."
>
> I didn't even realize this existed until now

Sounds like a swap file, but doesn't android already use zram for
swapping? Not played with (or needed to play with) kernel stuff in
android for years ...

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Arno Welzel
Newsgroups: comp.mobile.android
Date: Thu, 5 Dec 2024 21:57 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Thu, 5 Dec 2024 22:57:37 +0100
Lines: 24
Message-ID: <lrelugF1tcgU1@mid.individual.net>
References: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com>
<lrddeqFpjo0U4@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net fmjtZy1EBep9UEomZ24nKQkduuDpH4mujlj3iOM2Ruf86kGaac
Cancel-Lock: sha1:guto9UFUgiQVDAG9H2x0VC+MuUc= sha256:1bN51sZeHR6qsKKNwJ22jYNv/pYL+RbZg/UONIbY26s=
Content-Language: de-DE
In-Reply-To: <lrddeqFpjo0U4@mid.individual.net>
View all headers

Andy Burns, 2024-12-05 11:26:

> Andrew wrote:
>
>> "Samsung RAM Plus is a feature found in certain Samsung smartphones
>>  that creates virtual RAM by using a portion of the device's internal
>>  storage to provide extra temporary memory when the actual RAM is
>>  running low."
>>
>> I didn't even realize this existed until now
>
> Sounds like a swap file, but doesn't android already use zram for
> swapping? Not played with (or needed to play with) kernel stuff in
> android for years ...

Yes, "RAM Plus" is swapping. ZRAM on the other hand is compressing data
within the RAM when it is not needed at the moment and uncompressing it
again when needed. So ZRAM is faster than swapping but does not give you
as much memory since data still remains in RAM, just in a different form.

--
Arno Welzel
https://arnowelzel.de

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Edward.C
Newsgroups: comp.mobile.android
Organization: A noiseless patient Spider
Date: Fri, 6 Dec 2024 05:40 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ec@spam.invalid (Edward.C)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Fri, 6 Dec 2024 13:40:20 +0800
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <d6406c12-b752-4c49-b531-be2dcc57af41@spam.invalid>
References: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 06 Dec 2024 06:41:19 +0100 (CET)
Injection-Info: dont-email.me; posting-host="b8c03f1c164f88995d89bdd1e371e0df";
logging-data="2276430"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1dbqeYHz++He/jZpOHrwwQ0QqB/Of3os="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:YwlAsZ7onViBPjuxuWqumGmdw28=
In-Reply-To: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com>
Content-Language: en-US
View all headers

On 12/5/2024 2:08 PM, Andrew wrote:
> To help another user on another thread I checked my settings to show him
> how an inexpensive phone can have enough horsepower to be just fine, I
> happened to go into my settings & saw a Samsung setting for "RAM Plus".
> Settings > Battery & device care > Memory > RAM Plus = on/off
>
> When I looked at the RAM Plus in my Samsung Galaxy A32-5G, it showed:
> (_) 2GB
> (o) 4GB
>
> Looking up what the heck Samsung RAM Plus even is, I find this cite:
> <https://www.simplymac.com/android/what-is-samsung-ram-plus-is-it-worth-it>
> "Samsung RAM Plus is a feature found in certain Samsung smartphones
>  that creates virtual RAM by using a portion of the device's internal
>  storage to provide extra temporary memory when the actual RAM is
>  running low."
>
> I didn't even realize this existed until now (or maybe I knew at one time
> and forgot) but what I'm asking here is what is your experience with it?

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.

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Edward.C
Newsgroups: comp.mobile.android
Organization: A noiseless patient Spider
Date: Fri, 6 Dec 2024 07:04 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ec@spam.invalid (Edward.C)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Fri, 6 Dec 2024 15:04:49 +0800
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <viu7ob$26lh3$1@dont-email.me>
References: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 06 Dec 2024 08:05:48 +0100 (CET)
Injection-Info: dont-email.me; posting-host="b8c03f1c164f88995d89bdd1e371e0df";
logging-data="2315811"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184t3wZzz3xD+gDzWtTzpOOn66T7U2495c="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:muRKZ3BTX6S5s/3WKWCj4+2MMNs=
Content-Language: en-US
In-Reply-To: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com>
View all headers

On 12/5/2024 2:08 PM, Andrew wrote:
> To help another user on another thread I checked my settings to show him
> how an inexpensive phone can have enough horsepower to be just fine, I
> happened to go into my settings & saw a Samsung setting for "RAM Plus".
> Settings > Battery & device care > Memory > RAM Plus = on/off
>
> When I looked at the RAM Plus in my Samsung Galaxy A32-5G, it showed:
> (_) 2GB
> (o) 4GB
>
> Looking up what the heck Samsung RAM Plus even is, I find this cite:
> <https://www.simplymac.com/android/what-is-samsung-ram-plus-is-it-worth-it>
> "Samsung RAM Plus is a feature found in certain Samsung smartphones
>  that creates virtual RAM by using a portion of the device's internal
>  storage to provide extra temporary memory when the actual RAM is
>  running low."
>
> I didn't even realize this existed until now (or maybe I knew at one time
> and forgot) but what I'm asking here is what is your experience with it?

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.

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Andy Burns
Newsgroups: comp.mobile.android
Date: Fri, 6 Dec 2024 08:05 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Fri, 6 Dec 2024 08:05:54 +0000
Lines: 11
Message-ID: <lrfpj4F77p6U1@mid.individual.net>
References: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com>
<viu7ob$26lh3$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net BZi85Hv2q9vv20cXsLunpQbZbnaQQazfMulLEX35ywD2cLiAyk
Cancel-Lock: sha1:OCQVxT8TRPJ8itfxU5IOUIK5Pzs= sha256:sSeBNctZA/81g5svOl/m6wSr32UgUNJyWRQNz53pHhE=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <viu7ob$26lh3$1@dont-email.me>
View all headers

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?

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Arno Welzel
Newsgroups: comp.mobile.android
Date: Fri, 6 Dec 2024 08:55 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Fri, 6 Dec 2024 09:55:16 +0100
Lines: 21
Message-ID: <lrfsfjF7o4hU1@mid.individual.net>
References: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com>
<viu7ob$26lh3$1@dont-email.me> <lrfpj4F77p6U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 1zA86pfUGa0xqEcW4KXZDAeyql95gy+knERi44FpezSd95MBUx
Cancel-Lock: sha1:7RhYgDRxFLIkHYN+7GGRtYZbHSs= sha256:Vue76ord1IWM7SIuDo5HlCdxDBCbms/5GSFdMaw5lKQ=
Content-Language: de-DE
In-Reply-To: <lrfpj4F77p6U1@mid.individual.net>
View all headers

Andy Burns, 2024-12-06 09:05:

> 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?

It depends on the app. Loading and preparing data ready to be used after
being killed may take more time than just swapping in the memory contents.

--
Arno Welzel
https://arnowelzel.de

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Frank Slootweg
Newsgroups: comp.mobile.android
Organization: NOYB
Date: Fri, 6 Dec 2024 11:51 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
Date: 6 Dec 2024 11:51:56 GMT
Organization: NOYB
Lines: 26
Message-ID: <vius10.17o.1@ID-201911.user.individual.net>
References: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com> <viu7ob$26lh3$1@dont-email.me> <lrfpj4F77p6U1@mid.individual.net>
X-Trace: individual.net 9qgIRQg+l1igk+iRP2VdpgqWSElf1cWsjQJQSwzpf2Y6WaRJRC
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:Yako7cdhWjOS/5s1lyKhMPPFP3c= sha256:GnxU0bEk9/EIa32RsBe3BVjJcKMR69NfQgCsJhPDb1I=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
View all headers

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.

After all, we still use paging (and possibly even swapping) on real
computers, don't we? If all programs/processes would be killable/
restartable without data/state loss, we wouldn't have to do that.

That said, on my Samsung Galaxy A51 Android 13 with 4GB RAM, 'RAM
Plus' is enabled and set to 4GB (other choice is 2GB). I don't think
I've set that, so I assume it's set when the device is 'Checking...'
when you tap the 'Memory' entry. (Currently, it says 2.7GB of 4GB used,
762 MB available, 525 MB reserved.)

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Java Jive
Newsgroups: comp.mobile.android
Organization: A noiseless patient Spider
Date: Fri, 6 Dec 2024 11:52 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: java@evij.com.invalid (Java Jive)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Fri, 6 Dec 2024 11:52:29 +0000
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <viuohu$2akg0$1@dont-email.me>
References: <virg1h$eif$1@nnrp.usenet.blueworldhosting.com>
<viu7ob$26lh3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 06 Dec 2024 12:52:32 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2325e2b6cff0d61336c8821904fb66b3";
logging-data="2445824"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Cm0FQ2YDIquDIpndrd4ltzgaOPzToMnM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:OVmjulqTlTmzxUURe4CtgxFfiiE=
Content-Language: en-US
In-Reply-To: <viu7ob$26lh3$1@dont-email.me>
View all headers

On 2024-12-06 07:04, Edward.C wrote:
>
> I have 12GB of RAM on my A55.

I read that first as "I have 12GB of RAM on my arse" ... could be
useful, I suppose.

--

Fake news kills!

I may be contacted via the contact address given on my website:
www.macfh.co.uk

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Carlos E.R.
Newsgroups: comp.mobile.android
Date: Fri, 6 Dec 2024 13:02 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Fri, 6 Dec 2024 14:02:36 +0100
Lines: 74
Message-ID: <c89b2lxidn.ln2@Telcontar.valinor>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net aMkUnOOnzXD35ajmkfFnigCAvRWZNfnhqnnUmY95mhveiKGg+7
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:XecSPFRecgWPqh4GQGXPpwhm4iY= sha256:R/yw+DXcGrpYZr4NTLs5fx/1wHxPjUfR2TCZg/RrQj8=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <vius10.17o.1@ID-201911.user.individual.net>
View all headers

On 2024-12-06 12:51, Frank Slootweg wrote:
> 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.
>
> After all, we still use paging (and possibly even swapping) on real
> computers, don't we? If all programs/processes would be killable/
> restartable without data/state loss, we wouldn't have to do that.

Yes, I am using swap. In Linux, it is used for hibernation, and when
there is memory pressure; my mini server uses it.

>
> That said, on my Samsung Galaxy A51 Android 13 with 4GB RAM, 'RAM
> Plus' is enabled and set to 4GB (other choice is 2GB). I don't think
> I've set that, so I assume it's set when the device is 'Checking...'
> when you tap the 'Memory' entry. (Currently, it says 2.7GB of 4GB used,
> 762 MB available, 525 MB reserved.)

I looked up "memory" on mine, which is not Samsung but Motorola, and
there is no memory entry in the config. I found "performance" (under
system), and on this I saw "intelligent application start (enabled)" and
"RAM improvement" (disabled). The later says "if there is enough
storage, use some to enlarge the RAM".

Device memory: 6GB
memory expansion 1.5GB (greyed out)

This must be swap. There is a switch to enable it.

It doesn't say how much ram is in use, except with graphic bar; I
estimate 5 GB are in use.

So I search instead for the word "RAM". Size of ram is found under
"about the phone", "hardware info". Again, it doesn't say how much is in
use. It also mentions there is 128 GB of ROM.

Funny the different names used across different brands. Of course, my
phone is in Spanish, but even so it is not the same menus.

On the storage chapter, my phone has 128 GB, of which the beast is
applications (61 GB). Photos are just 11 GB, videos 6.2 GB. I have two
large applications: OsmAnd+ (17.97 GB) and Pocket Casts (15.41GB). The
later is a surprise. To my knowledge I am subscribed to only one
podcast, which I have configured so save automatically, so that I can
listen with no network. But I had no idea they were taking so much space.

Wasap is just 2.91 GB.

Ah... pocketcasts is also storing a second podcast, one of "books in one
hour" since May 2022 (one per week); older ones are listed, not stored.
I have now disabled auto download of this one.

--
Cheers, Carlos.

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Andrew
Newsgroups: comp.mobile.android
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Date: Fri, 6 Dec 2024 21:21 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: andys@nospam.com (Andrew)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
Date: Fri, 6 Dec 2024 21:21:33 -0000 (UTC)
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <vivpst$1l3s$1@nnrp.usenet.blueworldhosting.com>
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> <c89b2lxidn.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 6 Dec 2024 21:21:33 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
logging-data="54396"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.13
Cancel-Lock: sha1:Q0ujYdGe0iLrPEQglbMTJ20Guz4= sha256:So5887hhwQ296t4VZ4PSjty2lNSYQRfu1zv+n6EVHj4=
sha1:iG/rS3X+St/LF5pAjxPU5iRQvO0= sha256:+3GZoxVNJWzWuNCtnU4hBR6uRDtOwYHeDiU5Ugqlm3w=
View all headers

Carlos E.R. wrote on Fri, 6 Dec 2024 14:02:36 +0100 :

> Funny the different names used across different brands. Of course, my
> phone is in Spanish, but even so it is not the same menus.

There is also a section in my "Developer options" under "Memory" which, for
my Android 13 Galaxy A32-5G starts with a quizzical "number of hours".

Choices for memory times are: 3 hours, 6 hours, 12 hours & 1 day
Then it states "Average memory usage = 2.5GB"
Then Performance = Normal
Total = 4GB
Reserved = 572MB
Average usage = 73%
Available = 0.5GB

Then there is a section for "Memory usage" saying:
"61 processes used memory in the last 3 hours"

Which is probably what the "hours" are at the top (I guess).

When I click on that "Memory Usage" up comes a listing for the last "3
hours" (pretty much confirming what the time was at the top).

Android OS used 1.0GB average memory usage
Android System used 328MB average memory usage
System UI used 206MB average memory usage
etc.

The sort options are "maximum usage" or "average usage".

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Arno Welzel
Newsgroups: comp.mobile.android
Date: Sat, 7 Dec 2024 12:51 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Sat, 7 Dec 2024 13:51:45 +0100
Lines: 31
Message-ID: <lriun1Fmn2pU3@mid.individual.net>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net x3vEm/NIsexch/0VSblQoAD/2A5SxCWfgmunyXQ2dSum4g9vgL
Cancel-Lock: sha1:4aMKaOaqUaYUs3OqPPHVOfpV94U= sha256:Y5czCL4UGj++LjYpTIWOVGeKJkxcqiMR1CbLSCEQ/CA=
Content-Language: de-DE
In-Reply-To: <vius10.17o.1@ID-201911.user.individual.net>
View all headers

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.

--
Arno Welzel
https://arnowelzel.de

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Frank Slootweg
Newsgroups: comp.mobile.android
Organization: NOYB
Date: Sat, 7 Dec 2024 13:14 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
Date: 7 Dec 2024 13:14:24 GMT
Organization: NOYB
Lines: 42
Message-ID: <vj1l7i.1to.1@ID-201911.user.individual.net>
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>
X-Trace: individual.net ePPQCazM+VvcXUl+n0a7tg3Aeo8dhF0W63gZTTMtesuIPXuzQk
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:cqACUtXSmPOQoCYwbPP3R1Ptu1o= sha256:7L2ExDGF0u0jewEhcy3DnljNqKI5o7/D5kCy9rc9y7c=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
View all headers

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?

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Andy Burns
Newsgroups: comp.mobile.android
Date: Sat, 7 Dec 2024 14:05 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Sat, 7 Dec 2024 14:05:15 +0000
Lines: 15
Message-ID: <lrj30vFnapjU3@mid.individual.net>
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>
<vj1l7i.1to.1@ID-201911.user.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 3hSE9EynbaiqFnQnHQ6BagB+2O4L/+spUw1OfaeenVrKuWMGar
Cancel-Lock: sha1:0sjFPxXMUpTYKMWWYwWHlAtFiTk= sha256:tv7uDQf9llfsuSxFAsurY8dW95yQb7bc/dAJM4B9JMg=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <vj1l7i.1to.1@ID-201911.user.individual.net>
View all headers

Frank Slootweg wrote:

> My/the point is that not all appscan be designed that way. It might
> be thatif they can be designed that way, theymust 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).

They can save the most recent sensor values as part of their state, so
if they get killed, they can use the saved value rather than re-reading
the value from the sensor.

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Frank Slootweg
Newsgroups: comp.mobile.android
Organization: NOYB
Date: Sat, 7 Dec 2024 16:18 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: this@ddress.is.invalid (Frank Slootweg)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
Date: 7 Dec 2024 16:18:03 GMT
Organization: NOYB
Lines: 36
Message-ID: <vj2006.g08.1@ID-201911.user.individual.net>
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> <vj1l7i.1to.1@ID-201911.user.individual.net> <lrj30vFnapjU3@mid.individual.net>
X-Trace: individual.net eyluJKGxEn/CCMPe95OfhwHNOmPTMpHes9kPE+ZiKcOEwPoQQv
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:trSLfz0+m8kGBz/dmkCHZUULkYg= sha256:m8mLgvab3GSkGLnk6vYNfvJfWr5LrR6bcF+RZNYtj8g=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
View all headers

Andy Burns <usenet@andyburns.uk> wrote:
> Frank Slootweg wrote:
>
> > My/the point is that not all appscan 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).
>
> They can save the most recent sensor values as part of their state, so
> if they get killed, they can use the saved value rather than re-reading
> the value from the sensor.

Yes, but they will miss the sensor data that was generated between the
time the app was killed and when it was restarted. Think tracking/
tracing apps, activity trackers - including sleep tracking -, etc., etc..
For example the developer of Sleep as Android developed the
DontKillMyApp app [1]. Need I say more!?

Like I said, if paging/swapping wasn't needed, computers wouldn't have
those functionalities, because one 'disk'-access (load-only) is faster
than two (page/swap out and back in).

I'm sure there are many, many other applications where killing
processes just isn't an option. Actually the exact opposite, I think
there are few applications where killing the process(es) *is* acceptable
behaviour.

[1] 'DontKillMyApp: Make apps work'
<https://play.google.com/store/apps/details?id=com.urbandroid.dontkillmyapp>
Referenced from 'Tracking crashes, stops suddenly' on
<https://sleep.urbandroid.org/docs/sleep/automatic_sleep_tracking.html#after-fall-asleep>

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Arno Welzel
Newsgroups: comp.mobile.android
Date: Sun, 8 Dec 2024 23:46 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Mon, 9 Dec 2024 00:46:19 +0100
Lines: 62
Message-ID: <lrmpecFbgjbU1@mid.individual.net>
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>
<vj1l7i.1to.1@ID-201911.user.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net INgF6Sxg7M7ce5lmRhn4tAt2s5rOUbTw9X36YAOjDODPj5bg59
Cancel-Lock: sha1:lIy6OOdwzRQbxIMJCxn1QJ3gvWY= sha256:IXisQm+KIRrCSAwCtTjbf13xk8sjNJNaxnqCiT5vnKo=
Content-Language: de-DE
In-Reply-To: <vj1l7i.1to.1@ID-201911.user.individual.net>
View all headers

Frank Slootweg, 2024-12-07 14:14:

> 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.

Android *will* kill app activities all the time. An app which can not
deal with that, is mostly useless since - as I explained - even rotating
the display will cause this. Yes, some apps just cope with that by
disabling display rotation as long as the main activity is in the
foreground.

Also see here:

<https://developer.android.com/reference/android/app/Activity#onCreate(android.os.Bundle)>

<https://developer.android.com/reference/android/app/Activity#onSaveInstanceState(android.os.Bundle)>

<https://developer.android.com/reference/android/app/Activity#onRestoreInstanceState(android.os.Bundle)>

[...]
> 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?

On "real computers" an application process will not be killed just
because you minimize a window. And paging also has nothing to do with
that either but is just the process to move RAM pages to a swap file if
not needed - regardless if there is a process running or not.

--
Arno Welzel
https://arnowelzel.de

Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory expansion?
From: Arno Welzel
Newsgroups: comp.mobile.android
Date: Sun, 8 Dec 2024 23:50 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.mobile.android
Subject: Re: What is your experience with Samsung "RAM Plus" virtual memory
expansion?
Date: Mon, 9 Dec 2024 00:50:36 +0100
Lines: 41
Message-ID: <lrmpmdFbgjbU2@mid.individual.net>
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>
<vj1l7i.1to.1@ID-201911.user.individual.net>
<lrj30vFnapjU3@mid.individual.net>
<vj2006.g08.1@ID-201911.user.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net ifbjGm4QysWeeDPtROe2bwfFSEgF7VgIGqq+Io0V2LlCAJ+xEm
Cancel-Lock: sha1:XpdHfDuYso6WKJIeRht+WdTcI5g= sha256:1HyJHk9vLk7mvfJWSFeZutPT7XRdGxJDaIxgO3YnwhU=
Content-Language: de-DE
In-Reply-To: <vj2006.g08.1@ID-201911.user.individual.net>
View all headers

Frank Slootweg, 2024-12-07 17:18:

> Andy Burns <usenet@andyburns.uk> wrote:
>> Frank Slootweg wrote:
>>
>>> My/the point is that not all appscan 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).
>>
>> They can save the most recent sensor values as part of their state, so
>> if they get killed, they can use the saved value rather than re-reading
>> the value from the sensor.
>
> Yes, but they will miss the sensor data that was generated between the
> time the app was killed and when it was restarted. Think tracking/

To keep things running in Android, there are *services* besides apps.
These don't get killed regularly and can be triggered by events like "x
seconds hev passed" or "location has changed at least 10 meters", "IP
packet was recieved" etc. but they may drain the battery if not properly
implemented.

[...]
> Like I said, if paging/swapping wasn't needed, computers wouldn't have
> those functionalities, because one 'disk'-access (load-only) is faster
> than two (page/swap out and back in).

When paging was invented, it did *not* use regular file I/O but a
dedicated hard disc partition where RAM pages where written directly to
hard disc sectors which is *faster* than reading files.

--
Arno Welzel
https://arnowelzel.de

1

rocksolid light 0.9.8
clearnet tor