How to add more ram to our tiny devices(Through SD card;) ) - XPERIA X8 General

http://forum.xda-developers.com/showthread.php?t=683123
How to use Swap space on SD to increase ram on our devices so we can run more demanding apps.

swap is possible only with custom kernel, so it will not work for us

I believe that doixanh proved more than enough that custom kernel is not needed for any kernel modifications Still, we would need a module.

but i don't think that he should make swap module it will be better if he will finish this

Well, it's up to him what he wishes to develop

IMO swap is useless for Android. It has its own memory management already.

And it would certainly take a high class sd card, AND it would be harmful for it So next time we should just buy a phone with bigger RAM memory

doixanh said:
IMO swap is useless for Android. It has its own memory management already.
Click to expand...
Click to collapse
So, how can we increase the memory through SD, my finding isn't good ? If not, how to do it the right way?XD

Graveir said:
And it would certainly take a high class sd card, AND it would be harmful for it So next time we should just buy a phone with bigger RAM memory
Click to expand...
Click to collapse
I don't really care about my SD card's health XD i just want more ram XD

But what do you need slow RAM for? RAM is very dynamic and since we already use app2sd it could even slow your device down instead of enhancing performance...
EDIT: Well, maybe it would be faster if you have a class 10 card...

Yeah SD is slow and putting swap there will be incredibly slow.
Sent from my X8 using XDA App

doixanh said:
Yeah SD is slow and putting swap there will be incredibly slow.
Sent from my X8 using XDA App
Click to expand...
Click to collapse
Yes, but i want this because you know that there are some applications that won't run on X8 because of it's low ram...so, i dont care about about speed, also, i don't use app2sd, so no slowdown, I am using Class 4 card

Yeah I know. Just my opinion

doixanh said:
Yeah I know. Just my opinion
Click to expand...
Click to collapse
So, is there a way of using ram just for the ram consuming apps, to make X8 able to at least run them? (You already released an SD card speed fix, so it should go a bit faster...Can you help me, cuz i really like running RAM hungry apps and i don't have enough ram :|

No I don't know about that. Haven't tried swap thingies yet

for example, there are games, like dungeon defenders that requires 256 MB of RAM at the runtime (it's the requirement of unreal enginge 3 i belive). some guys have managed to run the game on LG swift, which is pretty much the same device as x8 when it comes to hardware. maybe it's not running too fast (although i saw some video where it was even faster than on some more powerful devices), and it's not quite playable, but some people might still enjoy it. and without SWAP, it's impossible; and it's just a one example.

wujekandrzej said:
for example, there are games, like dungeon defenders that requires 256 MB of RAM at the runtime (it's the requirement of unreal enginge 3 i belive). some guys have managed to run the game on LG swift, which is pretty much the same device as x8 when it comes to hardware. maybe it's not running too fast (although i saw some video where it was even faster than on some more powerful devices), and it's not quite playable, but some people might still enjoy it. and without SWAP, it's impossible; and it's just a one example.
Click to expand...
Click to collapse
Thanks for supporting my ideea XD We really need Swap for Ram Hungry apps

Yes. great. ideA. but... is posible?

The app that does this on market requires custom kernel so might not be possible atm

Next i-wonder-if-you-can-make-...- topic?
Wysłano z X8 z użyciem Tapatalk

Related

Available Memory

So when im not running anything, when i open Advanced Task Killer it has like 125M is this right???
So what the other 387MB doing?
what I see
when I 1st start I have about 230MB, after a few minutes it goes down to about 90mb...without opening anything...seems many programs on the Samsung "open" by themselves...also, I see that the CPU goes down to about 100Mhz so I keep it at 1000Mhz with setcpu....plus deleted many Samsung apps(about 30MB)...helps with the lag...
Don't worry so much about it. This isn't windows, you don't need to worry about free RAM. Android will kill tasks as needed to free ram when it needs to. Some of that is likely used for disk cache as well. That will also be released as needed. Let the OS do its job, it's quite good at it..
Killing some of the bloatware will help as well, but you need root.
I also think that this phone, like the G1, has some of the speced 512M ram dedicated to the camera, GPU, and other stuff. In the terminal, free shows about 388M as total ram.
is it a good to create a swap partition on the SD card?
Why on earth would you want swap with this much ram? You likely can, with root and swapper, but why? This phone doesn't need it like the G1 did. Swap could help keep more apps open in the background, but there are already a lot of them there. I don't see any benefit to swap right now. What isn't working for you that you think is related to low ram?
ttabbal said:
Why on earth would you want swap with this much ram? You likely can, with root and swapper, but why? This phone doesn't need it like the G1 did. Swap could help keep more apps open in the background, but there are already a lot of them there. I don't see any benefit to swap right now. What isn't working for you that you think is related to low ram?
Click to expand...
Click to collapse
Yeah...what he said ^
Sent from my Samsung Vibrant using XDA App
As with the nexus one, not all 512mb can be addressed by the system right off the bat; we may need to wait until a newer kernel comes out
Sent from my SGH-T959 using XDA App

What's with the i9000 RAM?

I had my HTC Desire which has 512MB of RAM.
on stock froyo rom i have managed to have around 300MB free while on rom's with sense around 220-250mb free after boot
on galaxy i have around 130-160mb top after boot. WTF?
The desire actually has 576mb of ram, which partially explains the difference. Don't know about the rest, maybe poor optimization of the touchwiz interface.
thats because of poor memory I/O management by Samsung.....
thats why you see lots of lagging complaints by end users....
widjaja74_us said:
thats because of poor memory I/O management by Samsung.....
thats why you see lots of lagging complaints by end users....
Click to expand...
Click to collapse
Is this true?
djglenn1337 said:
Is this true?
Click to expand...
Click to collapse
It's 100% guessing, and my bet is that it's the same amount of bullcrap. The lag is likely caused by many running apps, but for entirely different reasons than poor memory management. Samsung has no reason to fiddle with the memory management implemented in android, so I'm quite confident they didn't because it would be a waste of time.
Sent from my GT-I9000
mickeko said:
It's 100% guessing, and my bet is that it's the same amount of bullcrap. The lag is likely caused by many running apps, but for entirely different reasons than poor memory management. Samsung has no reason to fiddle with the memory management implemented in android, so I'm quite confident they didn't because it would be a waste of time.
Sent from my GT-I9000
Click to expand...
Click to collapse
Then why would it lag like hell fresh from the box without any form of tweaking or installing apps?
kenkiller said:
Then why would it lag like hell fresh from the box without any form of tweaking or installing apps?
Click to expand...
Click to collapse
because the lag is caused by slow internal storage also.
That is why the best fixes for lag involve moving things to external sdcards
kenkiller said:
Then why would it lag like hell fresh from the box without any form of tweaking or installing apps?
Click to expand...
Click to collapse
If I knew I'd tell you.. I'm not going to pretend that I know how the SGS is designed. Could be poor CPU-throttling, power management issue, maybe the sole cause for the lag is a poor gps driver that hogs up too much of a specific system bus... I have no clue, but there are tons of ways to make a phone lag that doesn't have alot to do with memory management.
Sent from my GT-I9000
Have any of you tried to flash to a newer firmware?
With JM2/JP3 you can see 305mb (rahter than the 256 of stock JF3), and the free memory is usually between 200-230mb.
We're supposed to see beter Himem memory in the final builds of froyo, resulting in more available memory, though endeed a large part of the 512mb is reserved for radio/gps/wifi/bt and other system uses.

Is it good to Use Swap?

How good or bad is it to Use a swap partition, pros & con's ?
mevricksam said:
How good or bad is it to Use a swap partition, pros & con's ?
Click to expand...
Click to collapse
I guess its okay to use swap. Swap increases your ram and so you can preform better multitasks.
I think the con is that the phone gets slow if your SD card is not good. But i am really not sure on this one
mevricksam said:
How good or bad is it to Use a swap partition, pros & con's ?
Click to expand...
Click to collapse
SWAP expands your RAM, so when you have it, you can open more apps than than you could without it.
If You're not trying to run many RAM-eating apps at the same time, you're only wasting your SD space.
I close every app i don't need, so SWAP i useless for me. Also i'm using Dorimanx ROM, which when SWAP is enabled has no built in task manager. If it wasnt like that, i would probably have it, just in case.
About slowing phone down: SWAP will never work as fast as RAM, since it has slower access time than native RAM. It's just to keep everything going even if you ran out of RAM, maybe a little slower, but still.

ROEHSOFT RAM Expander (SWAP)

Does this work as good as it says?
https://play.google.com/store/apps/...sMSwxLDEwMiwiY29tLnN3YXBpdC5leHBhbmRlci5kZSJd
its good for gaming and multitask
and good for xperia play with 512 mb ram you try it good
younesb said:
and good for xperia play with 512 mb ram you try it good
Click to expand...
Click to collapse
have you tried it?
insane5125 said:
have you tried it?
Click to expand...
Click to collapse
There are some benefits to SWAP yes, however using your MicroSD as RAM is far far slower than using actual RAM - so some things can play a little badly with it.
It also isn't a healthy thing to use when it comes to prolonging the lifespan of your MicroSD card as its using all those writes at an almost constant rate.
That being said though, enabling a SWAP partition on your MicroSD card is a somewhat easy thing to do and there are loads of other apps that will do this for free for you. I would not pay for this.
me tried in all roms me use my memory class 10 and good swap for me
Spizzy01 said:
There are some benefits to SWAP yes, however using your MicroSD as RAM is far far slower than using actual RAM - so some things can play a little badly with it.
It also isn't a healthy thing to use when it comes to prolonging the lifespan of your MicroSD card as its using all those writes at an almost constant rate.
That being said though, enabling a SWAP partition on your MicroSD card is a somewhat easy thing to do and there are loads of other apps that will do this for free for you. I would not pay for this.
Click to expand...
Click to collapse
So what your saying is it would let me have more multitasking but at the same time it would be slower.
First here is how to do that for free.
http://forum.xda-developers.com/showthread.php?p=32729884
Sent from my R800i using xda app-developers app
And yes I use that method, for me my Neo2Play gained some speed, less lags. But there is but, best is when used with fast card. I have 32GB class 10, on my old class 2 it wasn't so impressive.
Works great for me with 1105 MB swap RAM on Atomic GB 7.0.(2.3.7) Especially when using it with RAM Manager Pro on Hard Multitasking setting.
:laugh:
hehe
This sounds cool
amazing
AeroDelight said:
Works great for me with 1105 MB swap RAM on Atomic GB 7.0.(2.3.7) Especially when using it with RAM Manager Pro on Hard Multitasking setting.
:laugh:
Click to expand...
Click to collapse
amazing :laugh:
working
inuer said:
amazing :laugh:
Click to expand...
Click to collapse
I found a free version as well v2.0.2 and use it on my I337 S4 from ATT and works with not one force close

z1 Multitasking solutions ( fix)

Hello, as all of you know the Z1 has very bad ram management, and apps reload most of the time unlike other 2gb ram phones
i used ram expander ,worked very good for a month, then my micro sd died.
please everyone share his solution or alternatives and thanks.
I think too many people are blaming the wrong thing for the wrong problems.
No proper testers for roms... so the wrong thing gets fixed.
Kernel Auditor has Virtual Memory and LMK settings. If you want, have a try.
Anyway, is there any relation between Virtual Memory and Dead SD Card?
PielunA said:
Kernel Auditor has Virtual Memory and LMK settings. If you want, have a try.
Anyway, is there any relation between Virtual Memory and Dead SD Card?
Click to expand...
Click to collapse
Not sure how Ram expander works, but it might just be those programs that create a swap file on the SD card - so i'm guessing that since data is constantly being read/written all the time to the external sdcard, it uses up the limited lifespan of the device. But it might just be a coincidence that this breaks the SD card
Yeah unfortunately SD cards don't like being constantly written to.
tomascus said:
Not sure how Ram expander works, but it might just be those programs that create a swap file on the SD card - so i'm guessing that since data is constantly being read/written all the time to the external sdcard, it uses up the limited lifespan of the device. But it might just be a coincidence that this breaks the SD card
Click to expand...
Click to collapse
OmegaRED^ said:
Yeah unfortunately SD cards don't like being constantly written to.
Click to expand...
Click to collapse
Yes it does. Nearly everything has its own lifespan. And in case of TLC Memory, it often happens.
However, since that TLCs are usually slow and not reliable, it shouldn't be considered as a main memory. There are some alternatives like MLC Memory.
And... cuz SONY Xperia Z1's SD Card Slot is even pretty slow, it is really slow compared with internal eMMC memory. It is definitely not for cache memory or virtual mem.
PielunA said:
Yes it does. Nearly everything has its own lifespan. And in case of TLC Memory, it often happens.
However, since that TLCs are usually slow and not reliable, it shouldn't be considered as a main memory. There are some alternatives like MLC Memory.
And... cuz SONY Xperia Z1's SD Card Slot is even pretty slow, it is really slow compared with internal eMMC memory. It is definitely not for cache memory or virtual mem.
Click to expand...
Click to collapse
Speed or no speed.
SD cards don't like the abuse.
At hackaday we did tests with several SD cards to see how long different cards survived in a raspberry pi.
All of them failed in a very short time.
The constant reading a writing wrecks them unlike SSD drives that have RAM to help them cope with this constant write and erase..
Maybe i don't use the phone so much or don't have too many apps to put the phone really under stress but to me it really seams like the phone is flying. Or probably it's because i came after a samsung experience before i got the z1. I've never experienced app reloading until now, only an app crash, but it was because of the app (chromium for snapdragon).
Gamer4Life said:
Hello, as all of you know the Z1 has very bad ram management
Click to expand...
Click to collapse
Actually, I don't know that. No matter what I do, the available ram doesn't go below 800 mgb. I even turned off swap to gain speed and disk caching in Firefox. Believe it or not, but this also helps to lower CPU temperature by about 5 degrees.
Get rid of bloat both Google and Sony or better go for a custom rom.
have you tried some debloated and tweaked rom?
have you tried some debloated and tweaked rom?
Acid2910 said:
have you tried some debloated and tweaked rom?
Click to expand...
Click to collapse
it's the same, i had lg G1 , G2, galaxy s4 and i could open too many apps and games without getting any reload, but on this z1 4 apps, or a game and 2 apps, and boom, reload ...,
happens on kitkat, lollipop too.
i swear on my optimus g, i can open asphalt 8, asphalt nitro, gta san andreas, with fb and messenger on background, and i still get like 400mb free ram.
each game consuming near 200mb ram on task manager
5.1.1 came with great RAM optimisations and they streamlined the system apps memory usage greatly. Secondly it is all relative to what apps you got installed that run continuosly. I just cant relate to your problem with my Z1 as I just had a few times it has run low on RAM (LP 5.1.1) and that was switching between photo album and heavy photo editor (Polarr) after half an hour.
About the games well.. Optimus G renders it in 1280x720 and the Xperia Z1 at 1920x1080 which requires more RAM for the framebuffers.
EQ2000 said:
5.1.1 came with great RAM optimisations and they streamlined the system apps memory usage greatly. Secondly it is all relative to what apps you got installed that run continuosly. I just cant relate to your problem with my Z1 as I just had a few times it has run low on RAM (LP 5.1.1) and that was switching between photo album and heavy photo editor (Polarr) after half an hour.
About the games well.. Optimus G renders it in 1280x720 and the Xperia Z1 at 1920x1080 which requires more RAM for the framebuffers.
Click to expand...
Click to collapse
Z1 compact has 720p and its ram sucks like z1 and z ultra
I finished Doom3 on my sgs4mini....
I cant get past the second level without:
1. overheating.
2. auto close.
Just set up your phone new (Clean Install through PC Compain) you notice that most user are happy with the Multitasking management of the Z1 always include me too.
Just flash your phone new to a older software (4.4.4) debloat maybe increase the swap profile( I deactivated mine completely swap=0 and happy with multitasking)
Also
Flash new Rom
Try Custom
Try new kernel when open a bootloader don't kill you
Be smart optimize it.
Buy new phone or go again to Samsung.
But please stop crying here
Gesendet vom Flagschiff Z1

Categories

Resources