yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] borisblack:
I’ve done everything according to instructions I got here, but I see that some of my apps are on SD with no possibility to move them to ext3. As I wrote before I want all my apps & dalvik be at ext with no use of internal memory & regular android a2sd. So I installed temasek's DT 2.7.5.2-1 Modified rebooted phone, at CM settings – Applications – Install location checked – Internal. In terminal wrote su (enter) a2sd cachesd (enter). Then I installed A2SDGUI, opened it & pressed 2 buttons at first tab ‘Apps are on internal storage’ & ‘Zipalign on boot is off’ – rebooted phone. Now look at my screens & tell me where I done wrong.
[Nexus One Android Development] temasek:
From your pictures I don't see anything is wrong.

Under settings -> applications -> manage my applications -> sd card, if u see any app is checked it meant that it is installed to your external (ie froyo a2sd). If all the apps there are unchecked then it meant all apps are installed to your internal (ext partition). Those apps under "sd card" basically means it the app dev enable move to sd function.

Sounds confusing. :)

Just select the app and manually move them to internal. There are apps which by default will install to external so nothing u can do to stop it. Just move them manually to internal if it happen to be installed to external.

Remember this, your internal is referring to your sd-ext partition. Your sd card is referring to external aka froyo styled a2sd.

As for the GUI FOR DT, if it says apps on sd it meant apps on sd-ext.
[Nexus One Android Development] borisblack:
it is getting crazy for me :confused: last screen with Beautiful Widgets Animation - it is at SD card tab, it is NOT checked & it can only be moved to SD, when i do that - it still stays at SD Card tab but IS checked - what does that mean?

it is ok for me with memory(even though apps already took 20mb) but each time i connect my N1 to my pc i get the message like "some apps will be stopped..." & what is most annoying all my hidden with Launcher pro apps appearing in app drawer again & again.

UPD. Guess got it now with meanings internal/external. temasek, is it ok that i installed about 20 apps & phone memory (settings -> Memory -> last line) went down from 196mb to 164mb now?
[Nexus One Android Development] temasek:
Every apps will have its data saved in /data/data folder. Depending on what type of app, it can be 0 size to even example around 16mb for Google Earth. That is why even with DT A2SD, your real internal storage will still drop but at a slower pace.

If u do feel that its dropping fast and need more space, next best solution is to enable datasd in DT. This will then move /data/data to your sd-ext partition. This will require DT 2.7.5.3b4
[Nexus One Android Development] djmcnz:
You have no space on /system - delete some stuff... be careful.
[Nexus One Android Development] Lazat:
So are you not running cachesd and appsd? Only datasd? What do you guys think gives most performance:

alt 1: cachesd, appsd, datasd

Alt2: cacheinternal, appsd, datasd

Alt3: cachesd, appsd, datainternal?

From mte4991s quadrantruns it seems like he get very high IO, that suggest that it is better to have datasd then datainternal? But my logic tells me its best to spread the load over different "drives". So if I would use datasd then it would be best to use cacheinternal? Gahh I'm getting so confused ;D

I have a class 10 card.
[Nexus One Android Development] temasek:
U are confused...............u cannot just enable datasd only.

By using DT script, you already move your apps to sd-ext partition. This is your base. The other options are not compulsory as follows:-

- moving dalvik-cache to sd-ext (optional)

- moving apps' data (ie /data/data) to sd-ext (optional)

I am also clocking over 1950 in Quadrant, but its no big deal. I would say forget about Quadrant, its not really that accurate.

What contributed to high Quadrant scores? tweaks........

http://xdaforums.com/showpost.php?p=12533976&postcount=1314

Have fun reading. :)
[Nexus One Android Development] Lazat:
Thanks for your fast reply, but u didn't answer my question ;) what is best to use perfomance vise?

CacheSD and DATASD

Or

CacheINTERNAL and DataSD

Or

CacheSD and DataINTERNAL?
[Nexus One Android Development] temasek:
It is all depending on your needs actually, not really whats the performance base. There are both advantages and disadvantages. U do the maths. What I need is storage and I've already used > 1 gb space in my 2gb storage.

I have 2gb EXT4 partition in my Class 10 card with dalvik-cache on sd and datasd enabled. And performance wise............WOW!
[Nexus One Android Development] temasek:
Update

DT-CM7-2.7.5.3b4-EXT4-B0-signed.zip

==> Mirror

- Change to barrier=0 (barrier=1 is default)

For EXT4 partition only........

barrier=<0|1(*)> This enables/disables the use of write barriers in the jbd code. barrier=0 disables, barrier=1 enables. This also requires an IO stack which can support barriers, and if jbd gets an error on a barrier write, it will disable again with a warning. Write barriers enforce proper on-disk ordering of journal commits, making volatile disk write caches safe to use, at some performance penalty.

If your disks are battery-backed in one way or another, disabling barriers may safely improve performance.

Original post of modified DT- http://xdaforums.com/showpost.php?p=12533976&postcount=1314
[Nexus One Android Development] dgart08:
Hey temasek, thanks for all this great work and help you continue to share with us.

I would like to know if your tweaks will work on stock MIUI gingerbread roms. The rom now comes loaded with DTA2SD beta4. I tried the writeback script but had no luck. Any ideas on why any of your tweaks wouldn't work?

It'd be great if they would work on MIUI.....
[Nexus One Android Development] temasek:
The additions I did were nothing great to shout about cuz its common knowledge among many advanced users here in xda. What I did was to post and share what I experience in using this fantastic DT by tkirton.

As for data=writeback, its not a script. Below are the explainations

Data Mode

=========

There are 3 different data modes:

* writeback mode

In data=writeback mode, ext4 does not journal data at all. This mode provides a similar level of journaling as that of XFS, JFS, and ReiserFS in its default mode - metadata journaling. A crash+recovery can cause incorrect data to appear in files which were written shortly before the crash.

This mode will typically provide the best ext4 performance.

* ordered mode

In data=ordered mode, ext4 only officially journals metadata, but it logically groups metadata information related to data changes with the data blocks into a single unit called a transaction. When it's time to write the new metadata out to disk, the associated data blocks are written first. In general, this mode performs slightly slower than writeback but significantly faster than journal mode.

* journal mode

data=journal mode provides full data and metadata journaling. All new data is written to the journal first, and then to its final location.

In the event of a crash, the journal can be replayed, bringing both data and

metadata into a consistent state. This mode is the slowest except when data

needs to be read from and written to disk at the same time where it outperforms all others modes. Curently ext4 does not have delayed allocation support if this data journalling mode is selected.

I've only use CM ROM since my beginning of Android and those things I've posted only tested on CM ROMs so not sure why isn't working on MIUI.

Maybe if its added into the script to auto check if you have writeback or not and auto add if u do not have. - Coded by Catzilla from cyanogenmod forum

chkjournal=`tune2fs -l $a2sdblk | grep -q -e "journal_data_writeback"; echo $?`
if [ $chkjournal == 0 ];
then
echo -e "[ ] Writeback enabled." | $tee
else
echo -e "[X] Enabling writeback, will take effect on reboot.." | $tee
tune2fs -o journal_data_writeback $a2sdblk

I don't wanna add into the script cuz some may not want data=writeback.

Options, options, options...............
[Nexus One Android Development] dgart08:
Ok nevermind... I got all your tweaks working flawlessly on MIUI!!! :D

Everything seemed to work after I flashed your modified DTA2SD app.

This is great! I will share this w/ the MIUI community.

Thanks again!
[Nexus One Android Development] temasek:
Oh! Good to know, glad it work well for u.

Cheers :)
[Nexus One Android Development] mtw4991:
dang, having to reboot multiple times(like 6 now)still not getting volume back to normal and spinning CM7 logo on boot kinda hangs for a second then continues...
[Nexus One Android Development] temasek:
Lol

That's the down side of having datasd with DT for now. No solution atm but reboot.

I read tkirton should have a test product soon........ I hope.
[Nexus One Android Development] mtw4991:
I hope so too...took 7 reboots to get it back! pita :rolleyes:
[Nexus One Android Development] temasek:
That's why I try not to reboot, if its possible. I heard tkirton is simplifying his scripts so I am looking forward to test it. Been a long time since tkirton posted here.
[Nexus One Android Development] mtw4991:
Tematkirton maybe one n the same? :cool: