Hi there, i already searched and i know what swap and zram are aswell their differences and all that... but what i want to know and i was unable to find is can i use both of them? I mean can i use hardswap with a partition of lets say 512 on a class 10 card and use zram at the same time? Will i have anymore benefits using both of them if i can or it will just slow down the device/doesnt bring any benefits at all using both?
I am asking because i am running omega 53v and yank55 kernel and in the kernel there both option, i am just wondering if it is worth enabling swap and zram or i have to choose 1 of them.
Related
Hi All,
Share your tips here for boost up your Archos,
Anyone use extra SWAP instead of official one (64M)?
I will use 512MB for SWAP in /data/swap512 and custom /data/local.prop to enhance my Archos, but it seems not enough.
Update: 14-07-2011
My Archos seems faster than before since I've installed:
1. Sysctl Config
2. Spare Parts 4
in Sysctl Config, I use belowsetting:
min free kbytes: 32568
dirty ratio: 5
dirty background ratio: 3
vfs cache pressure: 1
Oom allocating task: Enabled
also I ticked compcache in Spare Parts then Reboot.
*I think Swap and Compcache can not be turn on in same time since I type 'free' in terminal and there is no swap memory anymore.
please share yours here.
Cheers!
Leo
I'll be honest and say that my Archos 70 is running like my Nexus S, it's mental man, I can't believe I'm using the Archos, I've got no lag, it's super fast, looks good, no hicups, and thats after finding scripts, build, local.prop tweaks, sysctl.conf tweaks, android tweaks, ALL of which I found here, just search for build.prop tweaks, or sysctl tweaks and you'll find them,
You need ROOT by the way
@LeoNg628:
What do you think you want to do that would need 512MB swap?
What is slow/laggy?
If Uruk is slow and laggy, you are doing something serious wrong.
You do understand that the archos is not the replacement for a quadcore gaming computer?
fzelle said:
@LeoNg628:
What do you think you want to do that would need 512MB swap?
What is slow/laggy?
If Uruk is slow and laggy, you are doing something serious wrong.
You do understand that the archos is not the replacement for a quadcore gaming computer?
Click to expand...
Click to collapse
Claim down bros
I am just curious and looking for some tweaks to boost up my Archos more than now.
I've installed UD 1.1rc once, but I think Custom ROM is not yet suitable for my Archos since my Archos 70IT is A70H, which is a HDD version.
If I install the UD into my Archos, it will automatically installed into my HDD and it will cause the battery drain quickly and not usable...T^T
Therefore, I am already give up on SWAP 512, because it make my Archos very unstable and reboot sometimes....
So, I just open a thread for our Archos user to share their great info here and let us discuss here...
btw, do you have any idea to boost up the official FW?
(I'm using 2.3.81 with rw Root)
SWFlyerUK said:
I'll be honest and say that my Archos 70 is running like my Nexus S, it's mental man, I can't believe I'm using the Archos, I've got no lag, it's super fast, looks good, no hicups, and thats after finding scripts, build, local.prop tweaks, sysctl.conf tweaks, android tweaks, ALL of which I found here, just search for build.prop tweaks, or sysctl tweaks and you'll find them,
You need ROOT by the way
Click to expand...
Click to collapse
Firstly, thanks your hints.
But any source that directly workable on our Archos?
I've found this:
http://forum.xda-developers.com/showthread.php?t=929448
and this:
http://forum.xda-developers.com/showthread.php?t=1015108
also a great help Spare Parts:
http://forum.xda-developers.com/showthread.php?p=12310102
VM tips:
http://forum.xda-developers.com/showthread.php?t=523707
Build.prop hints from Moto:
http://forum.xda-developers.com/showthread.php?t=771232
second:
http://forum.xda-developers.com/showthread.php?t=1026169
Does the Multiboot work on the 70H?
If it works, that gives a boost allready because it has a compcache and some other tweaks.
It also comes with root and an union fs that lets you change the system files of the std android.
fzelle said:
Does the Multiboot work on the 70H?
If it works, that gives a boost allready because it has a compcache and some other tweaks.
It also comes with root and an union fs that lets you change the system files of the std android.
Click to expand...
Click to collapse
I haven't try multiboot on my A70H, I've just have installed SDE after I buy it.
And I gain compcache after install Spare Parts..
Hi
I would like to know if anybody knows of a way to enable the use of a swap file on the SD Card in the Xperia X10.
Using Memory Info & check swapfile that checks compatibility for SWAPit RAM Expander I get:
Code:
Your device has not accept an swapfile.
Your device is not compatible .... you should try
to find a custom kernel for your Device via google
because your device manufacturer has locked the
swap-function in your device!
Using Swapper 2 I get:
Code:
->Enabling swap (file) FAIL
->
swapon: /sdcard/swapfile.swp: Function not implemented
I currrently have Z's newest custom kernel installed.
Per haps the stock kernel supports swap files? (I wouldn't think that it would, since Z probably wouldn't remove that...)
As you know this device has very little RAM (384MB...) available to itself. I don't care about the low speed of swapfiles or the card dying on me, I just want multitasking ability. (I'll buy a Class 10 card to make it bearable)
If anyone has some ideas, I'd really appreceate it.
Thanks
Hey,
how would I go about enabling swap on Entropy512's DD for the US version? Rather, assuming root access, how would I go about enabling swap, period? I just got a "class 10" (with a write speed of pitiful) 32 GB card that I want to play with.
Also, how would I go about scripting/enabling ZRAM?
Thanks!
alljokingaside said:
Hey,
how would I go about enabling swap on Entropy512's DD for the US version? Rather, assuming root access, how would I go about enabling swap, period? I just got a "class 10" (with a write speed of pitiful) 32 GB card that I want to play with.
Also, how would I go about scripting/enabling ZRAM?
Thanks!
Click to expand...
Click to collapse
Or just point me in the right direction so I can f* up my player on my own time...
Or, how different is the Android kernels from Linux kernels?
I guess only one who can enable swap Is person who made the kernel.
Sent from my GT-I9000 using XDA
Recent CM has enable Swap/zRam future , i only have zRam, i already partition my SDCard. How do i make use of that future? (the swap one)
You don't need swap, it's a pointless thing to do. If it makes you feel better then go for it, but you can read why here: http://zerocredibility.wordpress.com/2009/08/24/why-android-swap-doesnt-make-sense/
thanks for the information. but still, how? i look up in terminal, by typing "free" my swap is 0 and 0. if i use devil kernel i can see my swap partition working. sorry if i'm not mention i'm in stock kernel
my device is LWW running PACman 4.3:laugh: and m using transcend 32GB micro sd class 4....but i am unable to play high end graphic games wich take a lot of RAM like asphalt 8 etc...they lag lyk hell and then exit and come back to homescreen:crying:
so i created a SWAP partition of 500MB using minitool partition wizard..
now i hav two doubts:
( M SORRY BUT BELIEVE ME I HAV DONE MAX SEARCHING OF THIS TOPIC ON GOOGLE AS WELL AS ON XDA...ALL I GOT WAS...CONFUSED )
1. wich one is better.. creating dedicated SWAP partition (lyk i hav done) or using apps lyk swapper wich create a swap file somewhere on the SD card or are they both the same??wich one do you recommend??... do both the above methods damage sdcard?? Also is the damage to the sdcard in the long run more in one of the cases or both are equally same??
2. is just a clarification sounds a bit n00bish:silly: too...after creating a swap partition on sdcard (as i hav done), is using third party apps lyk swapper the only way for the device to detect the created swap partition or is there any other way???if so pls tell me..
once again m sorry for creating a new thread...but i did a lotta search and i only got confused...also if i hav missed out any guide on using swap partition..pls link me to it...
thank u
skull47 said:
my device is LWW running PACman 4.3:laugh: and m using transcend 32GB micro sd class 4....but i am unable to play high end graphic games wich take a lot of RAM like asphalt 8 etc...they lag lyk hell and then exit and come back to homescreen:crying:
so i created a SWAP partition of 500MB using minitool partition wizard..
now i hav two doubts:
( M SORRY BUT BELIEVE ME I HAV DONE MAX SEARCHING OF THIS TOPIC ON GOOGLE AS WELL AS ON XDA...ALL I GOT WAS...CONFUSED )
1. wich one is better.. creating dedicated SWAP partition (lyk i hav done) or using apps lyk swapper wich create a swap file somewhere on the SD card or are they both the same??wich one do you recommend??... do both the above methods damage sdcard?? Also is the damage to the sdcard in the long run more in one of the cases or both are equally same??
2. is just a clarification sounds a bit n00bish:silly: too...after creating a swap partition on sdcard (as i hav done), is using third party apps lyk swapper the only way for the device to detect the created swap partition or is there any other way???if so pls tell me..
once again m sorry for creating a new thread...but i did a lotta search and i only got confused...also if i hav missed out any guide on using swap partition..pls link me to it...
thank u
Click to expand...
Click to collapse
dont worry bro your right here :good: its the help thread 1st i dont have uch xperience with swap as i never used it bcuz i dindt see a big ''diffrence''
but some things to swap: class 4 is bit low for swap recommended is class 6 or better 8. AFAIK swap partition can more likely damage our sd (this CAN happen, when sth went wrong, but usally it DONT DOES (damage on sd) !!) apps for swap are sver but make sure u have enabled save remount feature. also important if u set PARTION swap u must set it too in an app like swapper2 to use it.. (choose there swap on partition) also swap is a tricky thing more means not better, lokk if u have big swap and swappiness (how much to swap ) this means work for the cpu - more work for cpu means lag. same for size more isnt allways better. u must find the middle for a happy cpu and bit more ram, but there isnt ''THE SOLUTION'' i faced it works diffrent from ICS-JB-STOCK etc., even depends on roms and which tweaks it uses.. (i mean if it uses zram its now double the work for cpu ) also important is a fast r/w speed for sd if its to low it stucks on , means lag for u. (thats why a class 6+ card are recommended)
for game:
i mean the best u can do is to use a clean rom without much junk, also installing 2 or more tweakpacks NOT MEANS system runs better. so take it light other tipps to game:
- set background processe to 4 or 2 or evon 0.
- fligtmode on
- kill all apps bfore start play
- dont overclock as much ucan ( it donsent mean it will run smoother, if cpu is overworked it will simly lag.)
- use gpu rendering.
DONT use taskillers!! (these are only work for system and battery eaters)
- set good and fast govenor, and i/o scheduler when u can, search for a good kernel for game as it will offer u best peformace increase.
hope it helped u a bit
thnx for replyin man...you cleared my mind a bit...:good:
i know class 4 is a bit slow...but now after enabling swap i am able to run asphalt 8 with very little (negligible) lag...
but i dont understand by what u mean "enable save remount feature"??
also what u mean by this
bejunk said:
... apps for swap are sver but make...
Click to expand...
Click to collapse
i wil try ur gaming tips...
but i dont know much about governors and i/o schedulers...i'll read and find out..but do they actually make a difference??
and can u link me to any performance tweak threads??i too wil try nd search..:fingers-crossed:
also by ur statement u mean that enabling Zram is of no use??:silly:
yup i agree with u..i too hate task killers...
nd i dont want to risk damaging my phone so i dont overclock
skull47 said:
thnx for replyin man...you cleared my mind a bit...:good:
i know class 4 is a bit slow...but now after enabling swap i am able to run asphalt 8 with very little (negligible) lag...
but i dont understand by what u mean "enable save remount feature"??
also what u mean by this
i wil ry ur gaming tips...
but i dont know much about governors and i/o schedulers...i'll read and find out..but do they actually make a difference??
and can u link me to any performance tweak threads??i too wil try nd search..:fingers-crossed:
also by ur statement u mean that enabling Zram is of no use??:silly:
yup i agree with u..i too hate task killers...
nd i dont want to risk damaging my phone so i dont overclock
Click to expand...
Click to collapse
no prob bro :good: yes u must find a middle of use swap but not to much as it will slow down cpu (and whole device)
"enable save remount feature" -> use swapper2 app (free) then go first into settings and set if U USE a spap file (on sd) OR if u USE partition on sd (have to be set to in advaced options.) i mean with this if u see there options they are (called) like this ENABLE IT. ist much safer., alos dont set the swappiness to high
go to settings, performance. there u will have some govenors to choose. govenors are like people thery lazy one may good for battery or there stressy one which give u more performance on battery cost and so on read more about them here :http://forum.xda-developers.com/showthread.php?t=2017715 there really important for gaming as they decide how ur system & cpu.. behavs if its called by an app for power like ur game (make a BIG diffrence) i/o schedulers are sth other but think there only avaiable from JB...
also tell me which rom u have!!!! (stock or not etc.)
to zram: zram are compressed stuff to have bit more ram, but it means also more work (ALL TIME) for ur cpu as he have to copres and decopress files bfore placing/ calling from RAM, and when u use SWAP, zram is useless. as its only for low memory devices which sometimes need more ram i especially didnt use it as my ra is okay and it will only eat cpu & battery, i would say in your case u get performance LOSS as of using bith a same time , as said bfore SWAP means mor cpu work too, then imagne cpu must also handle the zram, + game and system, it CANT BE GOOD! and btw a good (best for game) kernel will gie you more boost than all the mentioned things here bcuz hes the most responsible for calling the hw. (if game needs juice )
overclock is okay but i would not more oc than to 1.1 Ghz or 1.2 this is okay btw i use also 1ghz for normal use
with tweks i mean do some build prop tweaks (i would advice do only some not allways all, bcuz more means not everytime better as u know)
than dont use ''lock home in memeory'' and delete ram scripts from init.d folder in system/etc
set a good sd write read speed using some market app. like 1024 or 2048.
a good thread for some tweaks is '' project fluid'' by spex :good: its simple and well working on mostly all roms aslo it contains a tweaked adreno config..
just try some bit around, and tell me which rom
peace
bejunk said:
and tell me which rom
Click to expand...
Click to collapse
i already told in 1st post...am using PACman 4.3 (build 825)...
BTW unfortunately for JB 4.3 there is no gaming kernel
skull47 said:
i already told in 1st post...am using PACman 4.3 (build 825)...
BTW unfortunately for JB 4.3 there is no gaming kernel
Click to expand...
Click to collapse
Okay sry bro was in a hurry so excuse bad englisch bfore, let stake it short
Use only swap no zram, allow the system to give RAM, use sio as io sheduler, as govenor for perfirmace use interactive, smartassh3, or performance this will kepp cpu at highest value.
If u want attach ur build.prop and i take a look for u.
Checks init.ds. And suoercharger makes gaming not good...
Did u use greenify,bro?
Also sry for not recognizibg that u mentiond rom,sry..
I doubt swap will help ...
Mostly it will crash again even with swap ....
Post the logcat when you play the game and it crashes... We will see what happened ...