using VRAM as swap space ??? - Pixel C Q&A, Help & Troubleshooting

Hi all,
I was wondering...
The Pixel C has 3GB of ram and 1GB of VRAM.
Would it be possible to use part of the VRAM, instead of using the 500MB zram, as swap space?
I personally exclusively use my PixelC in a chroot environment with debian and Xserver Xsdl, so GPU is not much used anyway, so there is almost 1GB of memory just sitting there unused...
I have read the following pages that mention that something was/is possible on desktop NVIDIA gpus...
https://stackoverflow.com/questions/6321551/how-to-use-graphics-memory-as-ram
https://web.archive.org/web/2016032...iki.info/TIP_Use_memory_on_video_card_as_swap
By the way... would it be remotely possible to swap out the ram chips? from what i understand there are 2 1.5 GB samsung chips on the board...
Would do anything to get more memory on my beloved tablet

Related

Using my extra memory on my SD card

With all the things we can do with this PPC, coming loaded with 512 MB ROM / 288 MB RAM, and the fact i've got over a GIG of free space on my SD card and no real interest to put movies or music on it.
Can i add that spare memory into windows, maybe give it a few extra megs of RAM.
It would be crazy if something like this were impossible.
Well, technically it wouldn't be RAM but rather SWAP or VRAM (VirtualRAM) as it's called on Windows. Not as good as actual RAM, but good for being able to handle more programs without too much bottlenecking.
No idea how to do it, though I used to do it on an old Linux based phone. Good luck finding an answer, I'd like to have this as an option as well
LOl yes i know, but thank-you for the reminder. It was just easier to say RAM than going into the explanation I'm thinking this shouldn't be a major issue.

[Q] How increase RAM in JB..??

Hi All
after upgarde from GB to JB (either LEAK / Official), JB seemed Slow. whether to change the partitions on a flash PIT file MB2 / 4 can increase the RAM capacity in JB.
I found a thread where we can change it by using the application PIT "PIT_Magic".
but I do not understand how its use. if anyone can to using it please share...
Thanks
Original Thread PIT MAGIC
rozyid said:
Hi All
after upgarde from GB to JB (either LEAK / Official), JB seemed Slow. whether to change the partitions on a flash PIT file MB2 / 4 can increase the RAM capacity in JB.
I found a thread where we can change it by using the application PIT "PIT_Magic".
but I do not understand how its use. if anyone can to using it please share...
Thanks
Original Thread PIT MAGIC
Click to expand...
Click to collapse
You cant do that!there is about 140MB unused ram in stock firmware. in order to increase ram and use full of it ,you sould have uncompiled kernel source and know android kernel programming and change it.
but always you can change your phone partition sizes through PIT Magic while falshing.
kernel source
sorset said:
You cant do that!there is about 140MB unused ram in stock firmware. in order to increase ram and use full of it ,you sould have uncompiled kernel source and know android kernel programming and change it.
but always you can change your phone partition sizes through PIT Magic while falshing.
Click to expand...
Click to collapse
Hi Sorset
maybe we can help to hafidzduddin to edit the kernel in order to read that we change the RAM to 1 GB .. ..
From where you flashing JB? From GB or JB XXMB4?
edit PIT to get 1gb RAM
ddikodroid said:
From where you flashing JB? From GB or JB XXMB4?
Click to expand...
Click to collapse
from JB MB4
i just Edit PIT FILE on MB4 to get RAM 1 GB, but I have not dared to try it..
I am still gathering information about the RAM partition address....
1 GB? ~768MB is enough for me. Though i really think that it can't go over 700+MB.
1 Gb? WTF?
Our device doesn't have true ram? I thought that we have some sort of LDDR2 ram and it's quite different from it's flash NAND.
I think you can't go over installed 768 mb and you can't even reach this number because gpu also use the same ram.
I hope Samsung didn't put the ram on storage because it will wear out like hell. NAND it's not fast, not even prone to multiple write cycles.
Even if you're successful in increasing you ram, you will make something like swap partition on linux. But I highly doubt it will work.
Swap system is not used on mobile devices because NAND wears up too fast.
According to this:
http://forum.xda-developers.com/showpost.php?p=35222874&postcount=14
...we do not have LDDR2. There is only 4GB chip named UME300 (IC-NAND Flash Memory, 4 GB, SDIN5D2-4G-944L, BGA, P/N: 1107-002091)
It may be true regarding memory size of ACE 2:
system 1,2 + USB 1,1 + 0,768 + spare for dead cells = 4GB
SIII Mini for example have 1GB RAM and I/O and RAM operations are much much faster. Also there are no 768MB LDDR2 chips on market. Using emmc as low speed LDDR2 substitute is quite common in Samsung devices.
arroyo said:
According to this:
http://forum.xda-developers.com/showpost.php?p=35222874&postcount=14
...we do not have LDDR2. There is only 4GB chip named UME300 (IC-NAND Flash Memory, 4 GB, SDIN5D2-4G-944L, BGA, P/N: 1107-002091)
It may be true regarding memory size of ACE 2:
system 1,2 + USB 1,1 + 0,768 + spare for dead cells = 4GB
SIII Mini for example have 1GB RAM and I/O and RAM operations are much much faster. Also there are no 768MB LDDR2 chips on market. Using emmc as low speed LDDR2 substitute is quite common in Samsung devices.
Click to expand...
Click to collapse
I thought this was a joke at first when rozyid said we can increase our RAM
so it was 601MB system + 302MB cache + 1,2GB data + 1,1GB usb = ~3,2GB
It will make sense if the remaining is our "RAM"
if somehow someone able to increase this by resizing other partition (/cache maybe?) it would be really nice
And btw, what is the function of /cache? When I checked it using link2sd it wasn't used
But hey, didn't we used another partition /preload in JB? If I'm not wrong it was about 200MB, right? So then it be more than 4GB if we add it to previous calculation
Sent from my GT-I8160 using xda app-developers app
[Noob] For example wont decreasing the RAM on the device increase the "ram" allocated to the GPU thus increasing our gaming performance in any way?
S3 mini RAM score is only 10% faster in antutu, either S3 mini doesn't have true RAM or our device has one.
I think you've added up incorrectly here. 4GB is usually 3.7gb total.
Also, if you looked in the PDF's from one of the links above, you would notice we do in fact have LP-DDR2 ram...
arroyo said:
According to this:
http://forum.xda-developers.com/showpost.php?p=35222874&postcount=14
...we do not have LDDR2. There is only 4GB chip named UME300 (IC-NAND Flash Memory, 4 GB, SDIN5D2-4G-944L, BGA, P/N: 1107-002091)
Click to expand...
Click to collapse
I was very confused when you wrote this. It's absolute non-sense to use NAND as RAM. It will wear in only one month.
They should have at least the most creepy ram, cache or something else that it can be re-writable.
You can have smooth gui with no RAM installed. It's impossible. You can't draw 20000 triangles per frame and having decent framerates without having a ram that it's capable of speed near 1 Gb/s ...
Also usually memory came in banks, 256 Mb banks were usual in the past, so puting 3 banks can give you 768 MB.
@Jamielawther
I would love that fact to be truth, but this diagram is not hardware schematic. It is logical diagram how things push data between elements. Move couple pages further and try to find element for LP-DDR2 on PCB. I did not found one. Also in document 05-GT-I8160-EPLIS-11.pdf you have the list of electrical parts. I did not found SEC Code for anything that could be LP-DDR2.
@veaceslaw
Take a look at PCB in 08-GT-I8160-TSHOO-7.pdf. There are no 3 ram chips there. In fact there is only one 4GB. If they used emmc as a RAM, it won't die in one month. Probably it last for 2 years or more ... after warranty it may die.
In my PC, SSD disk is used as TEMP and cache memory for last 2 years. Still running flawlessly. Every ROM chip has some space left for spare blocks to be used as a replacement for died blocks.
arroyo said:
@veaceslav
Take a look at PCB in 08-GT-I8160-TSHOO-7.pdf. There are no 3 ram chips there. In fact there is only one 4GB. If they used emmc as a RAM, it won't die in one month. Probably it last for 2 years or more ... after warranty it may die.
In my PC, SSD disk is used as TEMP and cache memory for last 2 years. Still running flawlessly. Every ROM chip has some space left for spare blocks to be used as a replacement for died blocks.
Click to expand...
Click to collapse
Can you find the U8500 chip?
veaceslav said:
Can you find the U8500 chip?
Click to expand...
Click to collapse
UCP300
arroyo said:
UCP300
Click to expand...
Click to collapse
http://forum.gsmhosting.com/vbb/archive/t-1363562.html
UCP 300 is RF chip and I don't know what rf is, but it's in GT i9100 and I don't think i9100 have Novathor
if you do it guys it would be awesome
because all good games with best graphics lags
i even dont want to get back to this ugly outdated gingerbread
arroyo said:
@Jamielawther
I would love that fact to be truth, but this diagram is not hardware schematic. It is logical diagram how things push data between elements. Move couple pages further and try to find element for LP-DDR2 on PCB. I did not found one. Also in document 05-GT-I8160-EPLIS-11.pdf you have the list of electrical parts. I did not found SEC Code for anything that could be LP-DDR2.
@veaceslaw
Take a look at PCB in 08-GT-I8160-TSHOO-7.pdf. There are no 3 ram chips there. In fact there is only one 4GB. If they used emmc as a RAM, it won't die in one month. Probably it last for 2 years or more ... after warranty it may die.
In my PC, SSD disk is used as TEMP and cache memory for last 2 years. Still running flawlessly. Every ROM chip has some space left for spare blocks to be used as a replacement for died blocks.
Click to expand...
Click to collapse
Anyone bothered to look through the documentation?
If you check 08-GT-I8160-TSHOO-7.pdf on the first page you can see the block diagram and there you can see stated LP-DDR2.
Check the attached picture.
If same chip is being used as RAM, then what is the benefit of moving data from on part of same memory to another? Won't that reduce io speed, cos I thought the purpose of RAM is to speed up data access for CPU from normally slower data storage eg. Hard drive.
Sent from my GT-I8160 using xda app-developers app

[Q] 2Gb Vs 3Gb RAM

Hey!
Would like to know if it is noticeble the difference between the LG G3 the version of 3Gb of RAM from the 2Gb of RAM.
Any one have tested or know?
Thanks.
G3 uses 1.5 gb of ram at all times, so if you get the 2 gb version itll always be pretty close to the ceiling
nohcho said:
G3 uses 1.5 gb of ram at all times, so if you get the 2 gb version itll always be pretty close to the ceiling
Click to expand...
Click to collapse
'One' of the main reasons I got the G3 was that it has 3GB ram. Most modern phones are pretty similar in terms of speed but memory makes a big difference. You can get by with 2gb but 3GB is much better and makes it much more future proof.
If you are using dual window for all apps through the little mod, you are less likely to have issues with running low on memory.
Sent from my VS985 4G using Tapatalk
Currently it doesn't really matter - Android 4.4 requires only 512 MB.
The reason why a device with much RAM shows a high RAM usage is that Android considers empty/unused RAM to be wasted. As long as there is RAM available it will fill it with apps. It doesn't require additional battery power to keep a currently unused app in the RAM, it even saves power (and time) at the app's next usage because instead of loading the app it just needs to shove it to the front.
There is a defined amount of RAM that is kept empty for instantaneous usage, but everything else will get filled - provided that there are enough apps to fill it with. Android's memory management keeps track of your app usage. Apps that are used regularly get a high priority, seldom used apps a low one. If the system runs out of memory it will close low priority apps, beginning with those that haven't been used for the longest amount of time.
The only difference between 2 GB and 3 GB is that more seldom used apps can be held in the RAM. Under normal circumstances you shouldn't be able to tell the difference between 2 GB and 3 GB. About half of the devices shipped with KitKat still only have 1 GB.
Android L will probably require 1 GB - and with the 64bit support it might even result in devices with more than 4 GB of RAM. But that will be just for marketing, not because there is a technical need. Same as now with the 3 GB devices.
But I have to admit: I am a sucker for specs as well. I think about buying a G3 and since the surcharge for the 32 GB flash and the 3 GB RAM is only about 10% if will most likely go for the bigger one. I try to hide being suckered with the argument that 32 GB of flash are a lot better than 16 GB. - RAM? There is a difference in RAM sizes?

How to increase Internal,Ram

Hey guys I have a Xperia s running on 6.0.1 aosp ROM...it is rooted and repartitioned ...can anyone tell me how to get the complete 32gb and 1gb ram coz the custom ROM has eaten my 3gb internal and I need full 1gb ram ..thks
Have you ever used a computer before?
The OS needs resources, it's a piece of software after all. The GPU will, in turn take some RAM, as it's not exactly a GeForce with dedicated RAM.
In other words, the only way you're getting 32 GB and 1 GB of RAM is if you uninstall everything, including the OS. Good luck doing anything with it other than holding down some sheets of paper or balancing a table.

OP3 use of RAM memory

Hello, i recently bought a One Plus 3, basically because i wanted to have more RAM, but i noticed that even though i have like 6Gb of Ram to do whatever i want, the phone uses with nothing open like 1,5Gb of RAM, the 500mb of RAM doesn't bother me because they come from apps i usually use, but the fact the launcher itself uses 1Gb is like way too much, i come from a Galaxy S3 with less than 1Gb of Ram and the TouchWiz laucher which is heavy only used like 400-500mb of RAM why is this? I know the easiest answer would be that the OP3 has more things, but do we really gain a lot more of functions that justify this heavy use of RAM from the launcher, or are we looking at not-well optimized launcher?
well your gs3 couldnt really use 1gb of ram and the oneplus 3 can. easy as that.
timrock7 said:
well your gs3 couldnt really use 1gb of ram and the oneplus 3 can. easy as that.
Click to expand...
Click to collapse
that means the OP3 is not as well optimized as the touchwiz?
No.. GS3 runs older OS like kitkat but as OS Improves they require more ram OP3 is now on Nougat which is amazing so duh... It needs more ram
Unused RAM is wasted RAM. As the OP3 has 6GB of RAM, it can allocate more RAM to certain apps and the launcher to ensure that nothing is closed in the background and everything runs smooth. Don't worry about RAM usage. For example if you launch a game, the game will then have priority to ensure that it is allocated enough RAM. Android is smart in its use of RAM so no need to worry.
tommybarchi said:
Hello, i recently bought a One Plus 3, basically because i wanted to have more RAM, but i noticed that even though i have like 6Gb of Ram to do whatever i want, the phone uses with nothing open like 1,5Gb of RAM, the 500mb of RAM doesn't bother me because they come from apps i usually use, but the fact the launcher itself uses 1Gb is like way too much, i come from a Galaxy S3 with less than 1Gb of Ram and the TouchWiz laucher which is heavy only used like 400-500mb of RAM why is this? I know the easiest answer would be that the OP3 has more things, but do we really gain a lot more of functions that justify this heavy use of RAM from the launcher, or are we looking at not-well optimized launcher?
Click to expand...
Click to collapse
That's why we have 6 gigs of RAM. Think little bit. They can use it as we have it. Pretty simple, right?
See its similar to methodology as if you you have larger space on bed you will occupy more space, similar to this when you have higher ram allocation to particular app is continuously decreased and increased so if no other apps are running allocation to your launcher will be higher to give it a smoother operation but as you start opening more ram hungry apps the allocation then decreases allocation for uelr launcher and allocate it accordingly
Go check how RAM and RAM management works.
It's kinda pointless to waste time explaining something here if you lack the basics about this topic.
Long story short: the more you have, the more will be used. Take the same desktop OS, install it on machines with vastly different RAM capacities and you'll see different RAM usages.
Sent from my ONEPLUS A3003 using Tapatalk
The more used ram the better, at least in vast majority of scenarios

Categories

Resources