Helmi, why dont u make full 128MB ram and 32Mb_Pool? Because I wanna try that rom and install all software in SD card, what about ur opinion?
I think he can but cahe,temp,ie temp files should be in RAMdisk as they are now.
I disagree with this.
No need to have 128 MB RAM in WM5.
vivi said:
I think he can but cahe,temp,ie temp files should be in RAMdisk as they are now.
I disagree with this.
No need to have 128 MB RAM in WM5.
Click to expand...
Click to collapse
I suggest that to one who are not using IE.
I don't install any programs in RAMdisk.
I don't use IE either,but I set RAMdisk to store other apps temp files such as MsReader temp files.
I use SKtools to set other apps temp files store in RAMdisk to avoid Compaction threads.
This is the reason that I want RAMdisk to be as it is now.
Related
Is anyone give a link of wm6 without ramdisk i have 2gb card so i dont use ramdisk.thanks all
I removed ramdisk.lnk from /Windows/Start Up and not is not loaded anymore.
I have also 2GB SD-card. I dont see that my phone has gone to slower.
But what is ramdisk, where the space is taken, why, how can I take most advantage about it?
is the ramdisk space missing?
ok so i made a linux-swap partion on my sd card that is 64mb. Now do i need to activate it somehow? or does cynogen do it for me? i tried to search but couldnt find. also do i need update my radio? it is 2.22.19.26I
You need user.conf and userinit.sh files on your ext partition. There's a guide on how to set that up here.
ok and can i have compcache and linux-swap at the same time? or do they do the same thing? also do i need to make a partion for compcache? and i cant find the htc keyboard in 4.2.3.1, does it come with it?
i thought if you have 4.2.3.1 you didnt have to add the files as it does everything for you? am I missing something.
is compcache and linux swap the same thing? and do we need both?
nahanee20 said:
is compcache and linux swap the same thing? and do we need both?
Click to expand...
Click to collapse
lol, no.
Swap is virtual memory. It uses a seperate partition to act as extra RAM, but it's nowhere near comparable to real RAM.
Compcache compresses what's in the RAM, so there's more space to cram files in. The problem is constantly compressing and decompressing files in RAM puts a heavy strain on the CPU.
so do i need to put the usernit files on or did this rom already do it?
does anyone know how to use the user.config app to do this?
nahanee20 said:
does anyone know how to use the user.config app to do this?
Click to expand...
Click to collapse
You DO NOT have to add any user int files to your sd for swap to work.
Its already rolling if you installed correctly.
go to terminal and use the print command to view your allocated spaces for each ext
Better yet, use the "free" command to see if it is really being used. I am pretty sure Cynanogen does not use a swap partition by default. It needs to be enabled. A easy way to check and setup your swap it to download swapper.
When I type free in the terminal I see 0 for total, used and free swap. I made an ext4 and a 32mb swap partition on my sd card. How do I enable swap on Cyanogen 4.2.5?
beav_35 said:
When I type free in the terminal I see 0 for total, used and free swap. I made an ext4 and a 32mb swap partition on my sd card. How do I enable swap on Cyanogen 4.2.5?
Click to expand...
Click to collapse
search user.conf app on market
Hallo everyone,I am stuck in a problem for a long time,As you know,X1'ROM is 512 MB,but my device storage space is always about 200 MB though my rom file is usually smaller than 100MB,I thought it should be about 512-100≈400 MB or some Left,I wonder Where does the missing 400-200=200MB space go?and need a way can solve this,THX
Finally I get the reason,Because i use OSBuilder to create Imgfs.bin,and now I use ImgfsFromDump,It is OK now,thanks all the same!
Hmm, I think device memory is slip into 2 sections... 1 is Storage, 1 is Program... Maybe i wrong, but if u should check that in ur X1, Settings---> SD card and Phone Storage.
U will see that there are 2 section for all, Device and SD card, and Device has 2 sections that are Total storage and Total Program.
Hope u understand my English, I'm learning Eng now, so i still practice it
It depends on rom what you are using. The rom file (nbh) is compress so the decompressed size is about 2 times larger. And people usually use the cutomization what starts after rom update. It also uses some space. Just do a hard reset and see how much space is used.
So yes the 200MB is believable.
Shady313 said:
It depends on rom what you are using. The rom file (nbh) is compress so the decompressed size is about 2 times larger. And people usually use the cutomization what starts after rom update. It also uses some space. Just do a hard reset and see how much space is used.
So yes the 200MB is believable.
Click to expand...
Click to collapse
thanks for your relpy , And Maybe I did'nt describe it well , I mean when I cooked a rom that is 100 MB then they storage space is 200MB , When rom is 80 MB ,the storage is still 200MB , even 60 MB, no space increase or decrease when rom is smaller or bigger,that's the problem
"Its recommend to partition your sdcard before flash"
whats the use?..........
you can use cwm with the phone or minitool partition wizard with the pc
venkatarajeev131 said:
"Its recommend to partition your sdcard before flash"
whats the use?..........
Click to expand...
Click to collapse
the rom maybe containing a2sd script that's why it need a second partition do it there is no harm
What size this partition should be? 100MB is enough?
felipevsw said:
What size this partition should be? 100MB is enough?
Click to expand...
Click to collapse
atleast 512 mb for ext parttion you should create a swap partition of 256 mb,
swap will replace the ram according to the swappiness set by you
dhlalit11 said:
atleast 512 mb for ext parttion you should create a swap partition of 256 mb,
swap will replace the ram according to the swappiness set by you
Click to expand...
Click to collapse
So it should be 2 partitions: one with 512 MB and another with 256 MB... The one with 512 should be formatted ext4? and the other swap (of course)?
felipevsw said:
So it should be 2 partitions: one with 512 MB and another with 256 MB... The one with 512 should be formatted ext4? and the other swap (of course)?
Click to expand...
Click to collapse
Set it as ext2, it's faster.
---------- Post added at 08:15 PM ---------- Previous post was at 08:06 PM ----------
dhlalit11 said:
atleast 512 mb for ext parttion you should create a swap partition of 256 mb,
swap will replace the ram according to the swappiness set by you
Click to expand...
Click to collapse
Here's some info on how Linux (and thus Android) uses swap. http://www.linux-tutorial.info/modules.php?name=MContent&pageid=89
I wouldn't bother with it on a phone since Linux will just swap unchanged files right back to where they are on the phone storage without the need for a swap file and since it's unlikely that you'll ever multitask large user files on it there really is no need for it.
felipevsw said:
So it should be 2 partitions: one with 512 MB and another with 256 MB... The one with 512 should be formatted ext4? and the other swap (of course)?
Click to expand...
Click to collapse
swap is optional but it's good to have
dhlalit11 said:
swap is optional but it's good to have
Click to expand...
Click to collapse
For what? Who is changing large data files on their phone? In all likelihood it will cost you more memory to have a swap file than it will save you memory since it won't be used.
Linux won't use it at all if the file in memory hasn't changed since it was last read from storage, it will just swap it back to where it was last read, that is, if you have an app open and more memory is needed linux will first check to see if the file has been changed since last read and since it's an app it will just link it back to where it was read from in the first place rather than to put yet another copy in swap.
Jinxxed said:
For what? Who is changing large data files on their phone? In all likelihood it will cost you more memory to have a swap file than it will save you memory since it won't be used.
Linux won't use it at all if the file in memory hasn't changed since it was last read from storage, it will just swap it back to where it was last read, that is, if you have an app open and more memory is needed linux will first check to see if the file has been changed since last read and since it's an app it will just link it back to where it was read from in the first place rather than to put yet another copy in swap.
Click to expand...
Click to collapse
am not talking about swap file am talking about swap partition and if you think there is no need then why are there paid apps like swapper for root and why are people paying for them.
suppose you are playing shadow gun with help of cf3d after the play you find that all the app like launcher background working apps are stopped due to low ram but if you have swap then the app's memory will move to swap partition and it will not close
when I had mini I had a swap partition of 512 MB and it was really working and if you think the life of SD will decrease then you should know that it has a veeeeeery lil effect on life so don't worry there is no harm
Thank u for this useful thread..
dhlalit11 said:
am not talking about swap file am talking about swap partition and if you think there is no need then why are there paid apps like swapper for root and why are people paying for them.
suppose you are playing shadow gun with help of cf3d after the play you find that all the app like launcher background working apps are stopped due to low ram but if you have swap then the app's memory will move to swap partition and it will not close
when I had mini I had a swap partition of 512 MB and it was really working and if you think the life of SD will decrease then you should know that it has a veeeeeery lil effect on life so don't worry there is no harm
Click to expand...
Click to collapse
Whether you use a swap file or partition is irrelevant, Linux can use either and they work exactly the same.
In your example, all the apps would be swapped RIGHT BACK TO WHERE THEY ARE STORED since they did not change since last read, the swap would be unused and the apps would still be swapped.
I don't know if it's that you fail to comprehend the simple subject or refuse to read both what i post and what i link to but you are not understanding this.
Of course it won't affect the SD cards lifetime, it won't be used.
Hi. guys
Can anybody explain for me the disadvantages of swapping?
Will it reduce my SD crard lifetime?
I'm on PAC ROM and using Ram expander app for swapping and now my phone has a great multitasking and I dont have any problem about lack of Ram.
hobab1619 said:
Hi. guyss designe
Can anybody explain for me the disadvantages of swapping?
Will it reduce my SD crard lifetime?
I'm on PAC ROM and using Ram expander app for swapping and now my phone has a great multitasking and I dont have any problem about lack of Ram.
Click to expand...
Click to collapse
It will reduce your SD lifetime, since it use part of card as RAM, so it is in use all the time. In the other way u use a swap file or swap partition? (Dont know in wich way Ram expander work). When you use file it use sdcard filesystem. When you use swap partition it will use swap filesystem which is designed to work with writing/reading space all the time so I think its better.
You must have in mind that adding to high size of swap can slow your device down, while system will want to use swap at first. So its not recommended to use swap higher than your real RAM size.
smogf said:
It will reduce your SD lifetime, since it use part of card as RAM, so it is in use all the time. In the other way u use a swap file or swap partition? (Dont know in wich way Ram expander work). When you use file it use sdcard filesystem. When you use swap partition it will use swap filesystem which is designed to work with writing/reading space all the time so I think its better.
You must have in mind that adding to high size of swap can slow your device down, while system will want to use swap at first. So its not recommended to use swap higher than your real RAM size.
Click to expand...
Click to collapse
Thank you for explanation.
I think this app use a swap file. Can you tell me how can I enable swap partition? and what size do you suggest? Is 256mb good?
And in your opinion how long my SD card lifetiime will last ? (nearly)
In total I think the advantage of swapping is more than the disadvantages of it! Now I don't have any launcher redraws and also music won't be stopped while internet browsing+ a great multitasking that I didn't have ever!
sorry for my English
hobab1619 said:
Hi. guys
I'm on PAC ROM and using Ram expander app for swapping and now my phone has a great multitasking and I dont have any problem about lack of Ram.
Click to expand...
Click to collapse
Bro can u tell me does ram expander works on other custom roms too such as mrsteves cm11, official cm11, etc.
It didn't work for me on two roms mentioned above.
Can u please share ur ram expander settings i mean the swap directory u selected. So i can try once again & go back to kitkat.
Iam using it on stock rom + with too many xposed modules. No lag at all
Talking about the life of sdcard. It will affect it but to a very less extent.
If u use a class 10 memory card u will not encounter any problems.
Iam using this app for more than 5 months on SP and in other phone for over a year.
I still didn't face problem with my sd card.
akashsaini7 said:
Bro can u tell me does ram expander works on other custom roms too such as mrsteves cm11, official cm11, etc.
It didn't work for me on two roms mentioned above.
Can u please share ur ram expander settings i mean the swap directory u selected. So i can try once again & go back to kitkat.
Iam using it on stock rom + with too many xposed modules. No lag at all
Talking about the life of sdcard. It will affect it but to a very less extent.
If u use a class 10 memory card u will not encounter any problems.
Iam using this app for more than 5 months on SP and in other phone for over a year.
I still didn't face problem with my sd card.
Click to expand...
Click to collapse
Thank you for your information.
As I told Im using it on PAC Rom and I have not tested it on other roms.
I selected /mnt/media-rw/sdcard1 as my directory and the value of swappiness and DriverCache are 50 & 8192 for me. ( what these settings means?)
these settings are default and I didnt change them.
Now plz share your setting like swappiness and DriveCache value and perfectKernel checkbox and also swap size. definitely these settings affect on SD card lifetime and help me a lot.
My settings in stock rom swapiness 40, minfree 68mb & drive cache 8192 (can't change this one). All are default values didn't change them
And the most important one SwapDir storage/removable/sdcard1using 513mb swap file.
Sorry for two posts but was unable to attach screenshot in previous one.
akashsaini7 said:
Sorry for two posts but was unable to attach screenshot in previous one.
Click to expand...
Click to collapse
About card lifetime.... heh... I used swap on my old LG GT540 and didnt recieved any bad behavior of card after 2 years So it will affect your card, but... not so much as it could
About screenshot. I cant get it working on CM11 Whats the path to your swapfile? - sorry already there have to look better
smogf said:
About card lifetime.... heh... I used swap on my old LG GT540 and didnt recieved any bad behavior of card after 2 years So it will affect your card, but... not so much as it could
About screenshot. I cant get it working on CM11 Whats the path to your swapfile? - sorry already there have to look better
Click to expand...
Click to collapse
I already said i was also unable to get it work on cm11 (offical & mrsteves one).
But i never tried mnt/media-rw/sdcard1. But @hobab1619 is using this directory.
So i think this one can work.
akashsaini7 said:
I already said i was also unable to get it work on cm11 (offical & mrsteves one).
But i never tried mnt/media-rw/sdcard1. But @hobab1619 is using this directory.
So i think this one can work.
Click to expand...
Click to collapse
I've tried this directory in cm11. Cant enable swap option. Now try other path. Maybe one of this will work. Or maybe cm11 Kernel was compiled without enabled swap option? This is second question.
smogf said:
I've tried this directory in cm11. Cant enable swap option. Now try other path. Maybe one of this will work. Or maybe cm11 Kernel was compiled without enabled swap option? This is second question.
Click to expand...
Click to collapse
If this is a kernel related problem you can try cm11 for locked bootloader that is based on stock kernel. ( PAC ROM is a stock kernel based ROM too)
I think so. None of apps work for me. When I will find my old sdcard i will check how about swap partition. If that will not work it have to be kernel related. I cant change whole system right now (to check cm for LB) since its my daily use phone and i make some holidays right now. Maybe in two weeks.