Ask / Submit
3

explanation how could we have just 800mb ram if spec has 1gb? [answered]

asked 2016-12-12 17:26:45 +0300

cemoi71 gravatar image

updated 2016-12-12 18:59:43 +0300

Hello sailors,

i just tell me why if my jp1 has 1gb ram, there are just around 800mb attributed (or to be displayed)?
For what are the other 214mb dedicated? the OS it self? the boot manager?
I didn't find any part of software which could inform me for what it is used.

Maybe i didn't have the right keywords to find it.
But i didn't find a thread with clear information, on how is the ram managed.
And i find really odd that nothing on the phone displays the usage of the whole ram allocation.
Normally if all would be done with transparency, then we may see the whole ram usage with the size of the os itself. right?

Edit: Seems to be that this hidden part is occupied for zram and GPU usages.
I ask me why the information about those two parts are not accessible in the simplest way (gui)?
Furthermore, seems that actually the jp1 with 1gb ram and android function get a ram space too tight.
Why is it not possible too place a further swap possibility on the sdcard?
This thread ask for something ok at this time.
But now thing had some evolutions, and apps usages need more memories.

I'll be thankful if someone could explain some things about it.

Have a good sail.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by cemoi71
close date 2016-12-19 13:19:43.819461

Comments

3

Some part is used by zram

[root@Sailfish nemo]# zramctl
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT

/dev/zram0 52.6M 49M 17.3M 19.7M [SWAP]

/dev/zram1 52.6M 49.1M 17.2M 19.6M [SWAP]

tvicol ( 2016-12-12 17:37:18 +0300 )edit
4

And since there is no dedicated video ram, other part of the 1GiB is used for display / GPU, just like a normal pc with integrated graphics.

Fuzzillogic ( 2016-12-12 18:39:16 +0300 )edit

@tvicol i've directly checked what zram is, seems to me an interesting point.
Many thanks for your commands. Does it means that zram occupied 2x52,6mb=105,2mb?
@Fuzzillogic the ~120mb rest is just for graphic part? or is there something more?
Why those two parts are not accessible in the simplest way?

cemoi71 ( 2016-12-12 18:51:24 +0300 )edit
2

what do you mean "accessible in the simplest way"? It is possible to place a swap file/partition on the sd card, I've done so to stop the oom killer interrupting HERE WeGo maps for example while driving.

till ( 2016-12-12 19:09:42 +0300 )edit

i know that's possible with cli. And if it's possibl,e with cli, then is possible with gui. The problem with cli we may make something wrong by miswriting or misunderstanding, that a gui may just present what is acceptable. Do you know something like an function/app ?

cemoi71 ( 2016-12-13 10:32:48 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2016-12-19 13:18:34 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2016-12-19 13:19:29 +0300

cemoi71 gravatar image

I answer myself about this point...
Like @tvicol told a part is used for zram (cli command zramctl).
As @Fuzzillogic told an other part is for GPU (how much? don't know, surely the rest -we should currently believe it).

Thanks to @till for the swap information part.

edit flag offensive delete publish link more

Comments

Much will be used by the GPU, on nearly every system with an internal GPU the system-memory provides the graphic-memory. Expect 200MB for the GPU, rest for kernel itself and BIOS.

hoschi ( 2016-12-19 23:26:48 +0300 )edit

Question tools

Follow
2 followers

Stats

Asked: 2016-12-12 17:26:45 +0300

Seen: 585 times

Last updated: Dec 19 '16