[Q]What is /datadata and what are the pros/cons? - Captivate Q&A, Help & Troubleshooting

I feel like the title is pretty self explanatory and would appreciate any input on this. A quick google of it didn't yield anything really relevant to my question.

I believe it just the way they mount your sd card
Sent from my SGH-I897 using xda app-developers app

Snow_fox said:
I feel like the title is pretty self explanatory and would appreciate any input on this. A quick google of it didn't yield anything really relevant to my question.
Click to expand...
Click to collapse
Read:
http://forum.xda-developers.com/showthread.php?t=1541942
/datadata is a custom partition in CM7/9 and Roms based on that for the Galaxy S class phones. It's faster than the 2 GB /data storage for apps and that's why it's used for app storage on CM7 and CM9.
The fix in this thread works quite well as it leaves the commonly used libraries in /datadata but puts the rest of the app in /data.
Thanks,

Related

CacheMate Settings

Hello guys! I'm new to the app, CacheMate. I would like to know your settings please
xr4v3nx said:
Hello guys! I'm new to the app, CacheMate. I would like to know your settings please
Click to expand...
Click to collapse
Would you mind telling me a little bit more about CacheMate? I ask because I was doing some research on Linux partition swap sizes last week and frequently ran into people on the G1 board and elsewhere saying that you can set the swap size to "0 MB" provided you "use CacheMate." What's does this program do and what's the benefit?
Appreciate any help!
KarateExplosion6 said:
Would you mind telling me a little bit more about CacheMate? I ask because I was doing some research on Linux partition swap sizes last week and frequently ran into people on the G1 board and elsewhere saying that you can set the swap size to "0 MB" provided you "use CacheMate." What's does this program do and what's the benefit?
Appreciate any help!
Click to expand...
Click to collapse
Here sir
http://www.aaandroid.com/index.php/cachemate/
Basically, what it does is it removes cache from your phone's internal memory and if you want, your SD card too, thus, gives you extra space for stuff.
It's a great asset if your browse the net a lot. Once click and you've freed a lot of memory.
Sent from my Froyo Eris using XDA App
i've been using cache cleaner. how is cachemate better/different?
Thanks
Jp50 said:
i've been using cache cleaner. how is cachemate better/different?
Thanks
Click to expand...
Click to collapse
I guess it has more options to play with? We love options
And it could clean caches in the SD.
Buy it otd the best and it auto Cleanse
Sent from my FroyoEris using XDA App

[Q] Should I be running my apps from my SDCard?

Hi all,
Wondering if my Dream does perform better if I move my applications over to the SDCard (Through the Applications Manager)?
Will it affect the performance of an open application itself? (Slow it down considerably)
What else can I do with the SDCard so it can help the performance of the device?
I just purchased a 16gig Class 10 Patriot SDCard and put it in and moved my pics and music over to it.
Using CyanogenMod 6.1.0-DS, The phone was rooted/unlocked before I put this new card in. It had a 2gigClass2 card in it during the root/unlock.
Thanks
Heeter
Anyone?
Thanks
Heeter
Moving your apps to sdcard frees up internal memory. Read up on swap. Should be good with that card. Again firerat's AIO patch has swap in it as well. Sounds like u need that to start running options to get u all fixed up
Sent from my HTC Magic using XDA App
Awesome,
Thanks for you answer, johnson8cyl
Will get that application.
Heeter
johnson8cyl tip should help!
Hey thanks, johnson8cyl
My Live wallpaper is working now, and I added my swappiness=100
Where can I tell how much swap do I have?
Thanks a million,
Heeter
Firstly swap is not advisable on a froyo rom if that is what you are running (this has been proven time and again) and setting the swappiness to 100% WILL kill your sdcard at a rather accelerated rate.
Firstly learn about CompCache and swap and the advantages of both (Personally never ever touch swap as CC is alot more controllable and easier to clean when the dreaded swap lag hits home).
Also to see what swap/cc you are running open terminal emulator and type -
free (hit enter)
I'd also look into the options of apps2ext and moving dalvik cache to sd-ext (Firerats All In One Patch - Beta 3) data should not be moved again Froyo does not play well if it is.
shadowch31 said:
Firstly swap is not advisable on a froyo rom if that is what you are running (this has been proven time and again) and setting the swappiness to 100% WILL kill your sdcard at a rather accelerated rate.
Firstly learn about CompCache and swap and the advantages of both (Personally never ever touch swap as CC is alot more controllable and easier to clean when the dreaded swap lag hits home).
Also to see what swap/cc you are running open terminal emulator and type -
free (hit enter)
I'd also look into the options of apps2ext and moving dalvik cache to sd-ext (Firerats All In One Patch - Beta 3) data should not be moved again Froyo does not play well if it is.
Click to expand...
Click to collapse
Awesome, Thank You, Shadowch31.
I have 0 for swap right now & my swappiness is set at 60.
What do you mean "data should not be moved again Froyo does not play well if it is." which data are you mentioning?
Thanks again,
Heeter
Heeter said:
Awesome, Thank You, Shadowch31.
I have 0 for swap right now & my swappiness is set at 60.
What do you mean "data should not be moved again Froyo does not play well if it is." which data are you mentioning?
Thanks again,
Heeter
Click to expand...
Click to collapse
If you go down the root of moving apps2ext (advisable on a G1) using FR's AIO then you will be presented with an option to move data to sd-ext, just say NO!
Thanks a million, shadowch31!
This is so cool, learning a lot with my G1.
Is there a good place to read and learn about compcache?
Thanks again.
Heeter
Hey shadow. I have run swap on my mt3g every time. My phone doesn't seem to like compcache. You maybe have a reason why or ideas? I can't ever seem to get it to play nice. Always have swap file at 32 swappiness at 30. Don't have many apps. Always been ok for me
$free
total used free shared buffers
Mem: 112700 106136 6564 0 404
Swap: 31428 15464 15964
Total: 144128 121600 22528
$
Sent from my HTC Magic using XDA App
Heeter said:
Thanks a million, shadowch31!
This is so cool, learning a lot with my G1.
Is there a good place to read and learn about compcache?
Thanks again.
Heeter
Click to expand...
Click to collapse
http://wiki.cyanogenmod.com/index.php?title=Swap_and_Compcache
Another link with brief easy explanation.
http://forum.xda-developers.com/showthread.php?t=558637
Sent from my HTC Magic using XDA App
johnson8cyl said:
Hey shadow. I have run swap on my mt3g every time. My phone doesn't seem to like compcache. You maybe have a reason why or ideas? I can't ever seem to get it to play nice. Always have swap file at 32 swappiness at 30. Don't have many apps. Always been ok for me
$free
total used free shared buffers
Mem: 112700 106136 6564 0 404
Swap: 31428 15464 15964
Total: 144128 121600 22528
$
Sent from my HTC Magic using XDA App
Click to expand...
Click to collapse
Well if it works for you fella then cool, don't forgot that all opinions and views here are from a personal stand point, and for me Swap and me just don't get along so CC it is and as I have written a script that can stop, clean, resize (if needed) and restart CC cutting out the annoying lag problems ALL swap enabled phones run into, and thats fact not opinion meant for me CC was the best option.
What had you set the CC to? What is your sdcard as in class? Anything below a class 6 and I could see why it would cause problems and why swap would run better. As I have never touched or even seen an MT3G in real life I have no idea about the phone or its performance when matched against the G1. I know it holds more internal memory and am pretty sure thats where the difference ends.
Come chat in my irc channel, link in sig if you want to try a few things to see if we can't get it working properly for you if you wish to experiment but the old saying does go 'If it aint broke, don't try to fix it'
johnson8cyl said:
Another link with brief easy explanation.
http://forum.xda-developers.com/showthread.php?t=558637
Sent from my HTC Magic using XDA App
Click to expand...
Click to collapse
Just to add on to that see this post from the link provided by Johnson.
The greatest laymans explanation of CC
http://forum.xda-developers.com/showpost.php?p=4933785&postcount=9
shadowch31 said:
Just to add on to that see this post from the link provided by Johnson.
The greatest laymans explanation of CC
http://forum.xda-developers.com/showpost.php?p=4933785&postcount=9
Click to expand...
Click to collapse
Haha, LOLOL
Heeter
Well ill have to catch u when I'm home to chat sometime. Maybe this weekend. I'm always interested in learning from others more educated than myself. Just tried turning off swap and using CC on laszlo 5.1 and couldn't even get it to boot back up. Still have stock sdcard from T-Mobile if you'll believe that. Lol. Gotta order a class 6 probably transcend SD.
Sent from my HTC Magic using XDA App

Increasing SD card speed.

Looks like you can increase the speed of your SD card by modifying the cache size.
Here's a guide,
http://forum.xda-developers.com/showthread.php?t=1010807
And, here's an app to do it.
https://market.android.com/details?id=com.sdincrease.it
Well, I have only one GT540. So, am not ready to try it yet. So, get your hands on it guys.
.
nibras_reeza said:
Looks like you can increase the speed of your SD card by modifying the cache size.
Here's a guide,
http://forum.xda-developers.com/showthread.php?t=1010807
And, here's an app to do it.
https://market.android.com/details?id=com.sdincrease.it
Well, I have only one GT540. So, am not ready to try it yet. So, get your hands on it guys.
Click to expand...
Click to collapse
It sounds good but I don't think I will need it.
iv tried it and it seems to work i am getting faster access to avi files etc
Thanks
Hope someone finds it useful but I wonder if this will make the SD faster.
[EDIT]
Hope someone finds it useful but I wonder if this will make the SD wear out faster.
nibras_reeza said:
Thanks
Hope someone finds it useful but I wonder if this will make the SD faster.
Click to expand...
Click to collapse
I think it won't make the sd card faster.
I installed the sd tool and sd increase apps. Changing to 2048k did speed up reads but the change is not persistent i.e. you have to re-apply with the app after every boot...
Might apply the update zip though because it is noticeably quicker.
http://www.ipmart-forum.com/showthread.php?660647-SD-Increase-1.3
lavero.burgos said:
http://www.ipmart-forum.com/showthread.php?660647-SD-Increase-1.3
Click to expand...
Click to collapse
Thanks. Must have updated the app cos I'd swear that option wasn't there before
Sent from my GT540 using XDA Premium App

Want to better understand /data & /datadata

Hey everyone,
I've been surfing the forum and found some great information about what I'm experiencing (low disk space when mtdblock6 [/datadata] is @ or >90%).
I've moved my 'high data' apps to the SDCard but I saw no change in mtdblock6... In addition, from all the data listed (used 1-tap cleaner) it does not add up to as much as listed in mtdblock6.
I'm not looking for a solution at this point, but I want to understand what is going on inside the software. What exactly gets stored in /datadata vs. /data? To me it seems like the app code is stored in /data and app data in /datadata, but it doesn't seem 100%... especially if moving apps to the SD card changes nothing.
Can anyone help me understand better? Thanks so much for any help you can give. I'm not a coder, but I'm very technically capable.
PS If I could figure out exactly what app has what data stored where, that would be AWESOME! - thx
I can't help you understand it, I'm interested, too - but this doesn't belong in Development, so I moved it into Q&A. Now we'll both learn something
reinbeau said:
I can't help you understand it, I'm interested, too - but this doesn't belong in Development, so I moved it into Q&A. Now we'll both learn something
Click to expand...
Click to collapse
Add me in this learners queue
But still waiting for answer
Apps are in /data while their save data is in /datadata. The /datadata partition was removed in CM10 because the system needed more room. So if you have a slow nand/early build phone, CM10 will be a little or a lot laggy for you. When you move apps to sd card, you are doing what it says, apps to sd card only... Hope i helped, did i explain everything?
Sent from my GT-I9300 using xda premium
b-eock said:
Apps are in /data while their save data is in /datadata. The /datadata partition was removed in CM10 because the system needed more room. So if you have a slow nand/early build phone, CM10 will be a little or a lot laggy for you. When you move apps to sd card, you are doing what it says, apps to sd card only... Hope i helped, did i explain everything?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Thank you! Got it but I want to know how much more room needed by datadata? is 2GB internal storage not enough for all?
Games will quickly fill that up...
Sent from my GT-I9300 using xda premium
Well /data gets the 1 GB and /datadata only gets ~172 MB, so it fills up a lot faster.
While we're having this discussion, can somebody explain to me how one partition can be faster than another if they are on the same physical medium, and why /datadata's space is so limited? I've been curious for a while.
Its a faster physical chip i think!
Sent from my GT-I9300 using xda premium
I don't know the specific reason the CM team went to a specific /datadata size like that, but I've read in a few place that they took that decision very seriously and opted for the 172 to give the phone the fasted speed possible.
And, under normal circumstances, it does take a lot to fill the 172 MB. However, I've run into a full /datadata partition a few times. The chief cause was because of 'system data' in the /datadata folder taking up WAY too much space. I found this through the Disk Usage app. No amount of formatting was able to get rid of the 'system data' until I flashed back to stock GB (I use the KH3 version with CWM injected).
Glad I read this before flashing helly bean on my cappy. I have 5gb free on internal card. Is there no possible way to increase the partition from 172mb?
Sent from my SGH-I897 using xda app-developers app
There is a fix (not sure of the link) that cuts the link between /data/data and /datadata which - if i understand it right - basically allows more data from the apps to be stored. The downside is that it could result in a slower phone.
I'm not sure what you mean by the 5 GB internal... you won't lose any of that by upgrading. The smaller partition is only for the data for your apps, not the app itself. The app itself is stored in the /data directory.
And since you mentioned moving to JB, I believe one of the earlier posts mentioned that JB won't be using this system (early ports still may, though). And the /datadata partition has been the same with CM ROMs since at least GB ROMs.
I always had upwards of 100 apps on my phone and never ran into /datadata issues from app data.

RAM managment

guys i know you all heard for this app (Ram manager pro)
https://play.google.com/store/apps/details?id=com.smartprojects.RAMOptimization&hl=en
but, i bet lot of you didnt notice a biiiiiig update...now you can swap your RAM on your internal, the fastest partition in our device (not even close to sd card class100)
but, im not sure about it, and i ask for help from developers or android wizz that know this method...
i noticed that this thing works, but, after you swap, you dont have space left...so, iv got partitioned my sd card, only to 256mb, just to check...and it really works again!
Again, but, you need to create swap file right after flashing fresh rom, so it (swap file) occupy internal memory at once! Cause, if you instal some apps, it will use sd ext, and probably go to sd card, wich doesnt make any difference in performance...
Once again, im asking for opinion of expert, to confirm this...
Im using latest jb4.2.2, and best way to check this is to play some game and to listen a music at same time : DIDNT GET FC OR ANY LAG!
tnx in advance
NOTE: don't create swap bigger than 128mb, thats our max internal
Does it really works? Because i used to swap too but it didnt make any difference in performance. The only thing i notice is my phone got hotter alot.....
Sent from my GT-S5570
Nixoman said:
guys i know you all heard for this app (Ram manager pro)
https://play.google.com/store/apps/details?id=com.smartprojects.RAMOptimization&hl=en
but, i bet lot of you didnt notice a biiiiiig update...now you can swap your RAM on your internal, the fastest partition in our device (not even close to sd card class100)
but, im not sure about it, and i ask for help from developers or android wizz that know this method...
i noticed that this thing works, but, after you swap, you dont have space left...so, iv got partitioned my sd card, only to 256mb, just to check...and it really works again!
Again, but, you need to create swap file right after flashing fresh rom, so it (swap file) occupy internal memory at once! Cause, if you instal some apps, it will use sd ext, and probably go to sd card, wich doesnt make any difference in performance...
Once again, im asking for opinion of expert, to confirm this...
Im using latest jb4.2.2, and best way to check this is to play some game and to listen a music at same time : DIDNT GET FC OR ANY LAG!
tnx in advance
NOTE: don't create swap bigger than 128mb, thats our max internal
Click to expand...
Click to collapse
Tried this last year .....the script was made by custdroid.....
Unfortunately the constant read and write on ROM is not so good for the hardware.. ...so I deprecated the project for mini also with such low internal memory I could create only 32mb swap on internal and the phone soon started yo take its toll ...you may try this but I am sharing my experience cause it may feel smooth for sometime but it reduces the life of your mini considerably cause ROM is supposed to non-volatile unlike RAM which is volatile...
Sent from my GT-S5570 using Tapatalk 2
but isnt everytime you start app you writing and reading with data and cache? on internal?
Nixoman said:
but isnt everytime you start app you writing and reading with data and cache? on internal?
Click to expand...
Click to collapse
But is that really as frequent and as comprehensive as RAM?
Sent from my GT-S5570 using Tapatalk 2
hsay said:
But is that really as frequent and as comprehensive as RAM?
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
i don't know, only way is to test it by myself, ill report behavior of my mini in one week, iv got nothing to lose, already out of warranty, almost 3 years old, got new nokia n9, i gonna take the bullet for that
Nixoman said:
i don't know, only way is to test it by myself, ill report behavior of my mini in one week, iv got nothing to lose, already out of warranty, almost 3 years old, got new nokia n9, i gonna take the bullet for that
Click to expand...
Click to collapse
That was a rhetoric question ....sarcasm if you may ...anyway you may try it....
Sent from my GT-S5570 using Tapatalk 2
hsay said:
That was a rhetoric question ....sarcasm if you may ...anyway you may try it....
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
why to be rhetoric when can be (or not) usefull if no harm causing to device? :fingers-crossed:

Categories

Resources