Slow Input in /data f2fs - Asus Transformer TF700

I am having slow input speeds according to A1 sd benchmark, 1.17MB/s. The tablet also seems very slow. I am using CROMi-X 5.4 Resurrected. I have been using the rom for about a month now. I wasn't sure if I installed it correctly the first time so I reinstalled it, making sure to format /data to ext4 in TWRP, then to f2fs when flashing rom. I confirmed /data is f2fs in terminal emulator. Am I missing something or is this normal? Should I move to data2sd? I get read/write of 24/15 MB/s on my sd card. I get read speed of 41MB/s on /data. Also, my sd card is not recognized in TWRP. It is a 64 GB Samsung evo class 10.

I appreciate all the views. But no replies, so I'll add some more info I've collected
Disk Speed Test:
Read: 4.7MB/s
Write 1.0MB/s
SD Tools
Write: 26.8MB/s
Read: 43MB/S
SD Tools seemed faster than other benchmarks, so I tested my external SD card:
Write: 102.2MB/s
Read: 166.6MB/s
So at least it agrees that the internal speeds are much slower than on my external card.
I get a Quadrant score of 7570 in Performance Mode.
I'm confused, as I thought f2fs was supposed to solve the i/o speed issues. I'm considering Data2SD, but, as far as I can tell, most roms don't even support this feature, I assume because the opinion is that with f2fs It's no longer needed.
I'll mention again that my experience with the tablet is that it feels slow, launching apps, switching between apps, times which make it feel like an i/o bottleneck.
Is CROMi-x a slow rom? Any opinions on what rom I should use?
Is anyone else having trouble in TWRP with the size of the SD card? Does veryone use 32GB? As I said my 64GB isn't recognized.
Should I try a different benchmark?
ANY replies would be greatly appreciated. Any opinions on any of these issues or anything anyone thinks I should try would be a big help! Thanks in advance!

Look, this tablet has crappy hardware: the emmc has just very low quality, slow memory. Nothing can fix that. But certain things can help with it and one of them is f2fs.
IMO f2fs worked better than data2sd so I don't think it's worth trying, but then: It would be a great learning experience, so why not give it a shot....
Next roms you can try are Tim's KatKiss roms. All of them are great, I'm currently playing around with Nougatella and it's impressive. For this device impressive.
You have to compare any custom rom to stock. And they are almost all better. But none of them will turn this tablet into a speed freak.
To get the most out of this tablet: Stay away from social media apps, stay away from apps that update in the background in general like Tapatalk, news apps, weather, widgets of any kind etc, use as few Google apps as you can...
In short: with just a gig of memory and saddled with a slow emmc, this tablet is still good for certain purposes. But as a daily driver? I don't have the patience.....
Oh - and TWRP just does not play well with some microSDs and if I remember correctly the 64 gig Samsung Evo was one of them. You do have it formatted fat32 right?

I'm on timduru's kisskat MM 029. My TF700 has never run better and I will switch to his N variant when it gets a little more duru love . But, his ROM has put life back into these tablets, most of which had been shelved! Sure it's a lag bag. But now it's MUCH MUCH better and I use mine everyday again. Just flash the MM version and see for yourself and make sure to do a clean install and follow the instructions to the letter.
If that tablet doesn't have any abnormal issues I'm pretty certain you'll be happier.

I just installed katkiss nougatella and now it's running great. The only thing I did differently, besides that it's a different rom, is that after formatting \data to ext4 I reformatted to f2fs while still in TWRP. With the previous ROM I did a full format to ext4 but formatted to f2fs using the installer. In case that helps someone else with this problem.
I now get write speeds around 15MB\s in benchmark programs, and apps run great and browser OK.
Thanks to those who commented and to all who even took a look. What a great community to keep these tablets alive.

Related

APPS2SD Performance - Noob

Hey all! New to Android (but not cooked roms - winmo mostly). Have noticed that my MT3G is running REALLY SLOW fairly frequently (despite killing apps quite a bit). I'm running Cyanogen's 4.2.2 with APP2SD (ext3 partition). I believe APP2SD may be the culprit but I am not sure. Need a bit of help understanding how this works? Does it create a swapfile + storage for apps, or is it storage only? Any help is appreciated!
do you have a class 8 micro sd card? and do you also have the 32mb linux swap partition along with the ext3?
It is not a class 8, I think it is a class 6 if I am not mistaken I can check (possibly a 4 but definitely not less than 4). The swapfile partition, it is an ext3.
musclendabx said:
Hey all! New to Android (but not cooked roms - winmo mostly). Have noticed that my MT3G is running REALLY SLOW fairly frequently (despite killing apps quite a bit). I'm running Cyanogen's 4.2.2 with APP2SD (ext3 partition). I believe APP2SD may be the culprit but I am not sure. Need a bit of help understanding how this works? Does it create a swapfile + storage for apps, or is it storage only? Any help is appreciated!
Click to expand...
Click to collapse
You really don't need a2sd on the mt3g since it has plenty of internal memory. However, a2sd shouldn't be the cause of your slowdown as a class 6 sdcard is faster than the internal flash.
If you're looking for speed, you may want to try my ROM, which doesn't use a2sd for the mt3g by default, and is pretty much the fastest android ROM on the planet.
http://forum.xda-developers.com/showthread.php?t=566676
dwang said:
You really don't need a2sd on the mt3g since it has plenty of internal memory. However, a2sd shouldn't be the cause of your slowdown as a class 6 sdcard is faster than the internal flash.
If you're looking for speed, you may want to try my ROM, which doesn't use a2sd for the mt3g by default, and is pretty much the fastest android ROM on the planet.
http://forum.xda-developers.com/showthread.php?t=566676
Click to expand...
Click to collapse
or.......
If you like the Hero/Sense UI.......
dwang said:
You really don't need a2sd on the mt3g since it has plenty of internal memory. However, a2sd shouldn't be the cause of your slowdown as a class 6 sdcard is faster than the internal flash.
If you're looking for speed, you may want to try my ROM, which doesn't use a2sd for the mt3g by default, and is pretty much the fastest android ROM on the planet.
http://forum.xda-developers.com/showthread.php?t=566676
Click to expand...
Click to collapse
First of all thanks Dwang for cooking that rom *very appreciated*.
AFA the SD card, I checked and could not tell, it could be a class 2 actually (it is the stock card that came with it, and the only thing on it is a large C with a 2 inside of it so I am assuming it is a class 2). So maybe that is the culprit (my Gold Card is actually a class 6).
If a class 6 (or class 8) is faster than the internal memory, would I benefit from having a swap file on a faster card rather than running off the internal memory?
I was tempted to use the Sense UI roms but I was reading than they are considerably slower. Don't care about eye candy as much as speed and functionality. Based on that would the sense UI still be useful to me?
Again, thanks so much for this Dwang (and for those who have taken the time to reply)
musclendabx said:
First of all thanks Dwang for cooking that rom *very appreciated*.
If a class 6 (or class 8) is faster than the internal memory, would I benefit from having a swap file on a faster card rather than running off the internal memory?
Again, thanks so much for this Dwang (and for those who have taken the time to reply)
Click to expand...
Click to collapse
If you are using my ROM, then it doesn't implement swap on the sdcard. It implements compcache which is a compressed swap in RAM (this is not internal flash, two different things). In my testing I have found it faster than using a swap partition on the sdcard (others may disagree).
eViL D: said:
or.......
If you like the Hero/Sense UI.......
Click to expand...
Click to collapse
Or, looks like the Evil deed just got rejected by noob... Dwang wins once again, yeah!
In all fairness eViL was just giving me other options and I wasn't too clear about preferring speed (I mist say the eye candy on the sense UI is soooo tempting but given the issues that I am having right now with my apps2sd, i'm a little shy to go that way). So before the noob gets dissed, figure I would set the record straight... now let the flaming wars begin... LOL

can Vodoo Lag Fix be Ported for us? - Post from the I9000

Great idea Chainfire.
When a user first decided to use a modified/custom/different firmware on their Samsung Galaxy S, they usually go through these steps:
1. Flash with Odin/Kies
2. Flash update.zip for root
3. Flash other update.zip (GPS fix, battery mod, etc) as necessary
4. Do a lag fix.
It took me a few hours and reading through countless posts to see the pro's and con's for each lag fix.
I will try to go through them as succintly as possible, and if anyone needs more explanation you can either click the link or do a search.
Feel free to correct me, this is how I see the lagfix as when I applied and tested it
Before starting, here is the internal structure of non volatile memory (where data persist after reboots) in Samsung Galaxy S:
- 128MB of very fast NAND (some people incorrectly called this ROM)
- 16/8GB of internal SD with 2GB set aside for application installs (this is why you see your internal SD as either 13+ or 5+ remaining, the 2GB shows up as Internal Phone storage)
- your micro SD card (external SD)
The lag is due to the inefficiency of the file system used in the 2GB (/data) partition for applications, stalling a lot of the read/write operation. You can search this for further reading if you want to.
Lag fixes
- MoDaCo's lagfix: Better than stock on old F/Ws but about the same as JM1/2/5 and JP1/2/3
This lagfix uses the 128MB very fast NAND to store your applications instead.
Pro: very very fast applications opening/switching performance
Cons: You are limited to 128MB of apps including built in apps .
- Mimocan's lagfix: Significant improvements in performance which can also be benchmarked. Requires an external SDcard formatted partly in fat and partly ext3 or ext4.
This moves the /data files into the ext3/ext4 partition on an external microSD card
Pros: very fast, lots of storage space for apps
Cons: You will be unable to unmount your external SD card when the phone is on, and you need an external SD card for this to work
- OneClick Lagfix by RyanZA: Based on mimocan but using the internal SD card. Results are better than with basic mimocan and it is a lot easier to install.
This creates a file inside the 2GB partition that is mounted as /data.
Pros: very fast, lots of storage space for apps, easy to install and undo, available in the market.
Cons: if you install too many apps you won't be able to roll back the lag fix unless you delete some apps. Superseded by RyanZA lag fix 2.3 beta
Erroneous free space on Internal Phone storage (/data)
There are still stalls when installing apps, and when accessing android applications database
- CFLagFix by Chainfire: Based on mimocan, approximately the same as RyanZA's fix.
pretty much the same as OneClick Lagfix.
look above for Pros
Cons: There are still stalls when installing apps, and when accessing android applications database
-Voodoo lag fix by supercurio: a new class of total lag fix
Instead of creating a file inside the rfs partition and mounting it as /data/data, the voodoo lag fix updates the kernel so that the the 2GB partition is using ext4 instead or rfs. This gives the best possible lag fix.
Pros: fast, smooth, across everything you do. The way galaxy s should have been in the first place. The best and most consistent lag fix with no remaining lag left that is caused by rfs.
Support with other kernel mods are starting to show: backlight mod, OC/UV kernel
Cons: Incompatible with clockworkmod recovery
I am now using voodoo lagfix beta 4 only
http://project-voodoo.org/
Love the Vodoo color would like to try this as well...they are getting OUTRAGIOUS numbers in quadrant!
1deviant said:
Great idea Chainfire.
When a user first decided to use a modified/custom/different firmware on their Samsung Galaxy S, they usually go through these steps:
1. Flash with Odin/Kies
2. Flash update.zip for root
3. Flash other update.zip (GPS fix, battery mod, etc) as necessary
4. Do a lag fix.
It took me a few hours and reading through countless posts to see the pro's and con's for each lag fix.
I will try to go through them as succintly as possible, and if anyone needs more explanation you can either click the link or do a search.
Feel free to correct me, this is how I see the lagfix as when I applied and tested it
Before starting, here is the internal structure of non volatile memory (where data persist after reboots) in Samsung Galaxy S:
- 128MB of very fast NAND (some people incorrectly called this ROM)
- 16/8GB of internal SD with 2GB set aside for application installs (this is why you see your internal SD as either 13+ or 5+ remaining, the 2GB shows up as Internal Phone storage)
- your micro SD card (external SD)
The lag is due to the inefficiency of the file system used in the 2GB (/data) partition for applications, stalling a lot of the read/write operation. You can search this for further reading if you want to.
Lag fixes
- MoDaCo's lagfix: Better than stock on old F/Ws but about the same as JM1/2/5 and JP1/2/3
This lagfix uses the 128MB very fast NAND to store your applications instead.
Pro: very very fast applications opening/switching performance
Cons: You are limited to 128MB of apps including built in apps .
- Mimocan's lagfix: Significant improvements in performance which can also be benchmarked. Requires an external SDcard formatted partly in fat and partly ext3 or ext4.
This moves the /data files into the ext3/ext4 partition on an external microSD card
Pros: very fast, lots of storage space for apps
Cons: You will be unable to unmount your external SD card when the phone is on, and you need an external SD card for this to work
- OneClick Lagfix by RyanZA: Based on mimocan but using the internal SD card. Results are better than with basic mimocan and it is a lot easier to install.
This creates a file inside the 2GB partition that is mounted as /data.
Pros: very fast, lots of storage space for apps, easy to install and undo, available in the market.
Cons: if you install too many apps you won't be able to roll back the lag fix unless you delete some apps. Superseded by RyanZA lag fix 2.3 beta
Erroneous free space on Internal Phone storage (/data)
There are still stalls when installing apps, and when accessing android applications database
- CFLagFix by Chainfire: Based on mimocan, approximately the same as RyanZA's fix.
pretty much the same as OneClick Lagfix.
look above for Pros
Cons: There are still stalls when installing apps, and when accessing android applications database
-Voodoo lag fix by supercurio: a new class of total lag fix
Instead of creating a file inside the rfs partition and mounting it as /data/data, the voodoo lag fix updates the kernel so that the the 2GB partition is using ext4 instead or rfs. This gives the best possible lag fix.
Pros: fast, smooth, across everything you do. The way galaxy s should have been in the first place. The best and most consistent lag fix with no remaining lag left that is caused by rfs.
Support with other kernel mods are starting to show: backlight mod, OC/UV kernel
Cons: Incompatible with clockworkmod recovery
I am now using voodoo lagfix beta 4 only
http://project-voodoo.org/
Love the Vodoo color would like to try this as well...they are getting OUTRAGIOUS numbers in quadrant!
Click to expand...
Click to collapse
I believe we have diffrent ext partitions than on the other galaxy s variants.
Sent from my SPH-D700 using XDA App
the epic doesn't need a lag fix. the quadrant numbers are due to a flaw in quadrant. the lag fix isn't really providing that much better performance (except fixing the lag for phones that need it), quadrant just blows the score out of proportion. Cyanogen was able to tailor an exploit to show this happens on any phone: http://briefmobile.com/cyanogen-demonstrates-quadrants-flaws
as for voodoo color, I don't believe there is a general port yet, but it is built-in to the MixUp kernel.
dwyw42 said:
the epic doesn't need a lag fix. the quadrant numbers are due to a flaw in quadrant. the lag fix isn't really providing that much better performance (except fixing the lag for phones that need it), quadrant just blows the score out of proportion. Cyanogen was able to tailor an exploit to show this happens on any phone: http://briefmobile.com/cyanogen-demonstrates-quadrants-flaws
as for voodoo color, I don't believe there is a general port yet, but it is built-in to the MixUp kernel.
Click to expand...
Click to collapse
I have the mixup kernel w/vodoo and love it! I just saw this NFO and wanted a more educated explaination...now I have it!
Forever looking to run faster, just one of my many flaws..never satisfied.
Do love my Epic!!!
Its included in the boss rom and GenuisDogs kernels
Wait a minute? Are you saying that its possible for the voodoo lag fix to be ported to the Epic 4g and thus making this fast phone faster? Am I reading correctly? (I saw on his page that they are planning to work on te Epic as well)
We do not need the lag fix. The lag fix will not make our phone any faster.
voodoo cons: needs more battery than oclf or chainfire's fix
my experience is, that voodoo is less smooth (less means a bit less but its great too - not laggy)
Eazail70x7 said:
Wait a minute? Are you saying that its possible for the voodoo lag fix to be ported to the Epic 4g and thus making this fast phone faster? Am I reading correctly? (I saw on his page that they are planning to work on te Epic as well)
Click to expand...
Click to collapse
I talked to Supercurio about me porting it before, but we came to the conclusion that it's unnecessary. We don't use the same NAND chips as the other phones, so we don't have to deal with all the lag **** except what's introduced with RFS. And changing from RFS breaks clockworkmod, so I am avoiding it.
All this is nice,but why is nobody talkin about a fix to use whole 512mb of ram instead 324mb?I had MTS3GS with 600mhz cpu and 512 ram and I hate to admit but it was faster than my Epic even with Sence.If someone could come up with a fix to use whole 512mb instead of 324mb then this phone would fly,this is the only thing that hinders this phone.Rest of the ram is used for cache(ramdisk).
What needs to be done is whole 512mb used for ram and fast NAND used for cache.324mb ram is not sufficient to run android smoothly.

			
				
lviv73 said:
All this is nice,but why is nobody talkin about a fix to use whole 512mb of ram instead 324mb?I had MTS3GS with 600mhz cpu and 512 ram and I hate to admit but it was faster than my Epic even with Sence.If someone could come up with a fix to use whole 512mb instead of 324mb then this phone would fly,this is the only thing that hinders this phone.Rest of the ram is used for cache(ramdisk).
What needs to be done is whole 512mb used for ram and fast NAND used for cache.324mb ram is not sufficient to run android smoothly.
Click to expand...
Click to collapse
I'm trying to decide if you are trolling this thread or if you recently suffered head trauma. Those are the two most likely things that I can imagine would cause someone to say the MTS3GS is anywhere near as fast as the epic.
richse said:
I'm trying to decide if you are trolling this thread or if you recently suffered head trauma. Those are the two most likely things that I can imagine would cause someone to say the MTS3GS is anywhere near as fast as the epic.
Click to expand...
Click to collapse
B,talk to ur moms like that fagit,i had mytouch slide and it was just as fast if not faster with haf of cpu power.
lviv73 said:
B,talk to ur moms like that fagit,i had mytouch slide and it was just as fast if not faster with haf of cpu power.
Click to expand...
Click to collapse
Could someone translate this from "stupid" into english so I can read it and possibly respond?
Lol I'm having a difficult time myself.....is it really faster than the epic? Unlike some people, I don't post nonsense that I know nothing about...I would rather ask first and try and get a correct answer
Sent from my SPH-D700 using XDA App
specialk0324 said:
Lol I'm having a difficult time myself.....is it really faster than the epic? Unlike some people, I don't post nonsense that I know nothing about...I would rather ask first and try and get a correct answer
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Yeah man,mytouch slide was the fastest phone I ever owned(with 2.1),i think that having 512mb ram is better than having 1ghz cpu.If Epic used 512MB it would most likely be even faster.
Which I tried explaining to the last dude before that ***** came at me wrong without a reason,but its the intenet what can you do,lol.
Just to squash any kind of confusion in this thread...
In no way is the Mytouch Slide faster than the Epic 4G.
/thread
infamousjax said:
Just to squash any kind of confusion in this thread...
In no way is the Mytouch Slide faster than the Epic 4G.
/thread
Click to expand...
Click to collapse
Go to tmobile and use one with stock 2.1 its just as fast as epic.I dont know what they did to that underpowered phone but its fast.It might not be as fast watching videos,loadind games,etc.But android system itself is fast and more snappy then Epic,i compared the two,gotta be extra ram.
Don't take this the wrong way....but if it didn't load games or play movies as fast, doesn't that at least in part make the epic faster?
Sent from my SPH-D700 using XDA App
infamousjax said:
Just to squash any kind of confusion in this thread...
In no way is the Mytouch Slide faster than the Epic 4G.
/thread
Click to expand...
Click to collapse
+1 agreed, there is no way.
Sent from my SPH-D700 using XDA App

[Q] RAM

Is there a way to use memory in ur sdcard as ram for ur phone, so i can increase the performance. i think u can, so if u now how to can u post a link?
And i am using MikRunny rom
B RAD G 296 said:
Is there a way to use memory in ur sdcard as ram for ur phone, so i can increase the performance. i think u can, so if u now how to can u post a link?
And i am using MikRunny rom
Click to expand...
Click to collapse
IIRC, there is a mod to use either a partition or a file on your MicroSD card for SWAP space... which is basically where programs that normally reside in ram would go when not in use... think its one by sparksco...
however, I dont see hardly any kernels with it built in these days... its a GOD SEND on my HD2 and Hero... Id love to use SWAP partition on all my devices...
hope someone more knowledgeable about whats out will reply
First this is the wrong thread for questions and answers.
And yes we have a few kernals that allow swap. But the rom as well needs to have that available from what I recall. Think cm uses 128 max though. I know there is a miui rom that uses swap here too. Does come in handy. You will need to reformat your sd card for swap if your going to use it. There is also ext3 and 4 and that acts like available storage space for your phone. I would only use 1-1.5 gb for that though. Some of these big games only want to go on your sd card.
Sent from my PG06100 using Tapatalk
One of our biggest supporters of swap has actually decided it's not such a good idea.
And it does not speed things up. It slows things down. Even with a class 10 sd card.
VICODAN said:
One of our biggest supporters of swap has actually decided it's not such a good idea.
And it does not speed things up. It slows things down. Even with a class 10 sd card.
Click to expand...
Click to collapse
what that makes no sense how does it slow down
B RAD G 296 said:
what that makes no sense how does it slow down
Click to expand...
Click to collapse
I was using swap for quite some time and it seemed to work really well for awhile and then started to cause my phone a lot of lock-ups after awhile. I think it was just eating up my sdcard too much. And it has been proven that swap wears on your sdcard quite a bit. I don't think it's worth it. There's a script made by Darkky that patches memory leaks in roms that seems to work good. I include these in a lot of roms and my memory always stays above 80mb.
WARNING: LONG WINDED POST... read at your own risk...
VICODAN said:
One of our biggest supporters of swap has actually decided it's not such a good idea.
And it does not speed things up. It slows things down. Even with a class 10 sd card.
Click to expand...
Click to collapse
What people fail to understand is that SWAP or fake ram is INHERENTLY IOPS sensitive... that being said, NONE of the Class 10 MicroSD cards have had ANYWHERE NEAR good enough IOPS for SWAP intensive operations... On my HD2 I went through testing 10 MicroSD cards of different Class's and sizes to find out which gave me the best performance while using SWAP and what gave me the best IOPS, Sadly, out of them all, only a Class 4 and Class 6, where anywhere decent enough to be good enough to function as SWAP devices... I mean 4 other ones worked... but you could tell with these 2....
B RAD G 296 said:
what that makes no sense how does it slow down
Click to expand...
Click to collapse
It makes perfect sense... lets take game files from an SSD and transfer them to a HDD... while RAM and MicroSD both use NAND/Flash memory, its still a medium transfer as well! ERGO if you have a crappy IOPS MicroSD card, your going to notice slowdowns and wait times while things in RAM are swapped out to SWAP and vice versa... I guess the best comparison is using the SLEEP function on Windows 7 VS the Hibernation function...
sparksco said:
I was using swap for quite some time and it seemed to work really well for awhile and then started to cause my phone a lot of lock-ups after awhile. I think it was just eating up my sdcard too much. And it has been proven that swap wears on your sdcard quite a bit. I don't think it's worth it. There's a script made by Darkky that patches memory leaks in roms that seems to work good. I include these in a lot of roms and my memory always stays above 80mb.
Click to expand...
Click to collapse
yeah SWAP eats the CRAP out of your MicroSD card... proven fact... HOWEVER, if your like me, 8GB and 16GB cards are rather cheep these days, I totally dont mind spending $10-30 every 6~ months buying a new MicroSD card if it keeps my OLD device speedy... (pun intended)
I got a link around here that I posted somewhere with like 4-6 different MicroSD test run results... will edit this post and link it later...
Oh, and yeah, this belongs in Q&A... but I cant blame you... its a legacy device... and I only visit the Android development section for any device I use... :X
EDIT1: "halrulez" my HD2 running on the NIGHTLY CM7 builds has ZERO problems using/utilizing my 1GB SWAP partition... its all kernel/romsetup based...
EDIT2: some things I thought I should point out after I re-read my own post... in the Windows Sleep V Hibernation statement, when in Sleep, the RAM is kept on, and thus requires no loading time, in Hibernation, RAM is stored on the HDD/SSD and must be transferred back onto RAM before it will boot... I also forgot that I backup my MicroSD's contents with Dropbox and Box software, as well as backup's that are performed whenever I plugin my Phone or MicroSD to my desktop or laptop...
There are apps like juwe11's ram app, rom toolbox has a memory settings, script manager in combination with v6 supercharger script (which I highly recommend, as it helps prevent sense reloads), auto killer memory, etc. Each phone has a "brain" of it's own. My phone likes v6 or auto killer memory, but other phones like juwe11's ramscript/app. Trial and error. Good luck, and post your results if you want to.
Sent from my PG06100 using Tapatalk
Hammerfest said:
WARNING: LONG WINDED POST... read at your own risk...
What people fail to understand is that SWAP or fake ram is INHERENTLY IOPS sensitive... that being said, NONE of the Class 10 MicroSD cards have had ANYWHERE NEAR good enough IOPS for SWAP intensive operations... On my HD2 I went through testing 10 MicroSD cards of different Class's and sizes to find out which gave me the best performance while using SWAP and what gave me the best IOPS, Sadly, out of them all, only a Class 4 and Class 6, where anywhere decent enough to be good enough to function as SWAP devices... I mean 4 other ones worked... but you could tell with these 2....
It makes perfect sense... lets take game files from an SSD and transfer them to a HDD... while RAM and MicroSD both use NAND/Flash memory, its still a medium transfer as well! ERGO if you have a crappy IOPS MicroSD card, your going to notice slowdowns and wait times while things in RAM are swapped out to SWAP and vice versa... I guess the best comparison is using the SLEEP function on Windows 7 VS the Hibernation function...
yeah SWAP eats the CRAP out of your MicroSD card... proven fact... HOWEVER, if your like me, 8GB and 16GB cards are rather cheep these days, I totally dont mind spending $10-30 every 6~ months buying a new MicroSD card if it keeps my OLD device speedy... (pun intended)
I got a link around here that I posted somewhere with like 4-6 different MicroSD test run results... will edit this post and link it later...
Oh, and yeah, this belongs in Q&A... but I cant blame you... its a legacy device... and I only visit the Android development section for any device I use... :X
EDIT1: "halrulez" my HD2 running on the NIGHTLY CM7 builds has ZERO problems using/utilizing my 1GB SWAP partition... its all kernel/romsetup based...
EDIT2: some things I thought I should point out after I re-read my own post... in the Windows Sleep V Hibernation statement, when in Sleep, the RAM is kept on, and thus requires no loading time, in Hibernation, RAM is stored on the HDD/SSD and must be transferred back onto RAM before it will boot... I also forgot that I backup my MicroSD's contents with Dropbox and Box software, as well as backup's that are performed whenever I plugin my Phone or MicroSD to my desktop or laptop...
Click to expand...
Click to collapse
Really doesn't get explained any better than this.
Hammerfest said:
WARNING: LONG WINDED POST... read at your own risk...
What people fail to understand is that SWAP or fake ram is INHERENTLY IOPS sensitive... that being said, NONE of the Class 10 MicroSD cards have had ANYWHERE NEAR good enough IOPS for SWAP intensive operations... On my HD2 I went through testing 10 MicroSD cards of different Class's and sizes to find out which gave me the best performance while using SWAP and what gave me the best IOPS, Sadly, out of them all, only a Class 4 and Class 6, where anywhere decent enough to be good enough to function as SWAP devices... I mean 4 other ones worked... but you could tell with these 2....
It makes perfect sense... lets take game files from an SSD and transfer them to a HDD... while RAM and MicroSD both use NAND/Flash memory, its still a medium transfer as well! ERGO if you have a crappy IOPS MicroSD card, your going to notice slowdowns and wait times while things in RAM are swapped out to SWAP and vice versa... I guess the best comparison is using the SLEEP function on Windows 7 VS the Hibernation function...
yeah SWAP eats the CRAP out of your MicroSD card... proven fact... HOWEVER, if your like me, 8GB and 16GB cards are rather cheep these days, I totally dont mind spending $10-30 every 6~ months buying a new MicroSD card if it keeps my OLD device speedy... (pun intended)
I got a link around here that I posted somewhere with like 4-6 different MicroSD test run results... will edit this post and link it later...
Oh, and yeah, this belongs in Q&A... but I cant blame you... its a legacy device... and I only visit the Android development section for any device I use... :X
EDIT1: "halrulez" my HD2 running on the NIGHTLY CM7 builds has ZERO problems using/utilizing my 1GB SWAP partition... its all kernel/romsetup based...
EDIT2: some things I thought I should point out after I re-read my own post... in the Windows Sleep V Hibernation statement, when in Sleep, the RAM is kept on, and thus requires no loading time, in Hibernation, RAM is stored on the HDD/SSD and must be transferred back onto RAM before it will boot... I also forgot that I backup my MicroSD's contents with Dropbox and Box software, as well as backup's that are performed whenever I plugin my Phone or MicroSD to my desktop or laptop...
Click to expand...
Click to collapse
That is a good explaintion. But personally I don't want to be the guy that releases a rom with swap already in it and get the guilt of someone's sdcard breaking. As drob311 said there's apps and other ways of making it work and my rom/kernel does still support these other ways of using it.
sparksco said:
That is a good explaintion. But personally I don't want to be the guy that releases a rom with swap already in it and get the guilt of someone's sdcard breaking. As drob311 said there's apps and other ways of making it work and my rom/kernel does still support these other ways of using it.
Click to expand...
Click to collapse
you do know that you can enable SWAP in a rom, but make it contained to SWAP PARTITION only? ergo if they made a SWAP partition on their MicroSD card... hence you have zero liability if said card breaks... you have to have SOME knowledge to repartition a MicroSD card properly for a SWAP partition
BTW, I fully support enabling it that way, it also leads the way to making the script for SWAP file vs partition easier because the ROM is ready for it, its just not enabled unless someone inserts the custom script OR has the proper partition for SWAP!
Hammerfest said:
you do know that you can enable SWAP in a rom, but make it contained to SWAP PARTITION only? ergo if they made a SWAP partition on their MicroSD card... hence you have zero liability if said card breaks... you have to have SOME knowledge to repartition a MicroSD card properly for a SWAP partition
BTW, I fully support enabling it that way, it also leads the way to making the script for SWAP file vs partition easier because the ROM is ready for it, its just not enabled unless someone inserts the custom script OR has the proper partition for SWAP!
Click to expand...
Click to collapse
Yes I know. I already had a swap script for swap partition for cm7 but you need a custom cmparts.apk since cm decided to disable all swap on their roms. Plus I didn't really feel like repartitioning my sdcard once it started acting up. I'll probably just make a seperate add-on to flash over the roms for it if people want it.
sparksco said:
Yes I know. I already had a swap script for swap partition for cm7 but you need a custom cmparts.apk since cm decided to disable all swap on their roms. Plus I didn't really feel like repartitioning my sdcard once it started acting up. I'll probably just make a seperate add-on to flash over the roms for it if people want it.
Click to expand...
Click to collapse
im cool with that
actually, if someone can get YES/NO in CWM like on my HD2 you can put it all in the rom and they can choose right at the get-go
that being said, you can still use the custom cmparts.apk even w/o using swap partition... not that big of a conflict since if you have SWAP partition it works if not its disabled... only the functionality is present... and you dont have to maintain a separate script/package/whatever...
also, if your SDCard is acting up, use the SDCard formatter do a full format, then use HD low level format tool... or if you bought HDD Regenerator like me, its easy to find the health of your SD Media... but thats a moot matter... and im done talking for the night i think... (well the night ends in 3min... :X )
~
You can actually use compcache with out swapping to sd. But any swap introduces latency so it negates most gains achieved. So more apps might not get killed off as quick allowing them to reopen faster but forground apps suffer from the latency and compression.
http://code.google.com/p/compcache/
Sent from my PG06100 using xda premium
zenulator said:
You can actually use compcache with out swapping to sd. But any swap introduces latency so it negates most gains achieved. So more apps might not get killed off as quick allowing them to reopen faster but forground apps suffer from the latency and compression.
http://code.google.com/p/compcache/
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
AFAICT non of our kernels support compcache. It's a patch you have to apply to the kernel itself in order to make it work.
http://code.google.com/p/compcache/wiki/Patches
THANK YOU
ok i would like to say thanks for ur help.
AND I NO THAT IT IS THE WRONG THREAD FOR ME TO POST THIS BUT THIS PHONE IS NOT THAT BIG AND NO ONE LOOK IN GENERAL FORUMS FOR THIS ONE. SO I PUT IT WHERE I WOULD GET THE MOST ANSWERS. BUT THANKS AGAIN
B RAD G 296 said:
ok i would like to say thanks for ur help.
AND I NO THAT IT IS THE WRONG THREAD FOR ME TO POST THIS BUT THIS PHONE IS NOT THAT BIG AND NO ONE LOOK IN GENERAL FORUMS FOR THIS ONE. SO I PUT IT WHERE I WOULD GET THE MOST ANSWERS. BUT THANKS AGAIN
Click to expand...
Click to collapse
I actually understand the reasoning.... hell I forget about general and q&a sometimes
Sent from my HTC Desire HD using Tapatalk
strapped365 said:
I actually understand the reasoning.... hell I forget about general and q&a sometimes
Sent from my HTC Desire HD using Tapatalk
Click to expand...
Click to collapse
willful ignorance... I flat out ignore the general and Q&A sections... unless I have a question not directly related to a rom...
@Sparksco... none out support compcache... that blows arse... I am glad then that I still use my HeroC (with compcache, you can DEFINITELY feel a SPEED UP rather then down ) as my home Read/Music/Browse device... well that and its extended battery and more responsive touch screen... (yes, i know, new update fix's this.. but I aint tried it yet)... Id beg you to include it in your next kernel/rom... but your deadset on not (its like 2WayCallRecording and No2WayCallRecording Kernels for my HD2... lol!)
Hammerfest said:
willful ignorance... I flat out ignore the general and Q&A sections... unless I have a question not directly related to a rom...
@Sparksco... none out support compcache... that blows arse... I am glad then that I still use my HeroC (with compcache, you can DEFINITELY feel a SPEED UP rather then down ) as my home Read/Music/Browse device... well that and its extended battery and more responsive touch screen... (yes, i know, new update fix's this.. but I aint tried it yet)... Id beg you to include it in your next kernel/rom... but your deadset on not (its like 2WayCallRecording and No2WayCallRecording Kernels for my HD2... lol!)
Click to expand...
Click to collapse
Thanks for all the insight and I have taken allot in from this whole discussion.
Sent from my PG06100 using Tapatalk
I was told in a thread that 128 was Max on swap but I'm always willing to try new things. I did come from my old Heroc was a great phone to first start of on, till it took a crap on me.,lol meaning my mother in law threw it in the washing machine. Then my son threw my wifes in the toilet. Was great because of the best buy protection. Loved the old device but the shift is like night and day. Don't really use the keyboard. what is all I would need to do to use more swap? I haven't had any lock UPS what so ever. Class 4 8GB btw.
Sent from my PG06100 using Tapatalk

Possible I/O lagfix (from nexus 7/OneX forums)

http://forum.xda-developers.com/showthread.php?t=2104326
Hi,
Saw this on reddit this morning, as no one's posted it yet I'd just like to offer it up as another potential lag-fixer.
The source of the problem is that internal storage is not properly TRIMmed when needed. You can find lots of information on XDA - http://forum.xda-developers.com/show....php?t=1971852 and http://forum.xda-developers.com/show....php?t=1929021 for example. It is also well-known fact that running fstrim Linux tool from time to time fixes the issue until internal memory runs out of free blocks. Other solutions like mounting with -discard or disabling fsync may be dangerous.
LagFix is a user-friendly implementation of fstrim utility. It allows you to select which partitions to trim (you should leave defaults unless you know what you are doing) and run the process easily.
Please note that fstrim output depends on kernel and device. It works fine unless you see errors. You might see big amounts of bytes, zero amount or repeating amount. All are fine! Read fstrim manual to understand why all these outputs are valid.
It is also advised to reboot your device after the TRIM process so that kernel could reinitialize block data.
App is free and is available in Play Market. Current version is 1.0.
P.S. If your ROM mounts /data with -discard then this app is NOT needed! Mounting with -discard causes brickbug on some devices, so I DO NOT advise using -discard.
Click to expand...
Click to collapse
Link on Play: https://play.google.com/store/apps/details?id=com.grilledmonkey.lagfix
I applied it on my rooted, locked tf700 and, well, nothing bad happened. I am on the .25 update, which I feel made overall app-opening a little smoother, so I can't tell if this makes any noticeable difference, but it certainly doesn't seem slower after applying it. The dev says that if you run androbench after applying the fix i/o read should be higher, if anyone could run a few benchmarks of before/after it would be appreciated! I've never really placed much faith in benchmarks so didn't bother doing it myself.
Hope this benefits someone!
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD
I downloaded and installed it. Ran it, rebooted. It did trim, but the jury is still out on whether this actually helps or not. It's too freshly booted to really judge the effects properly, so I'll have it settle in and report back.
It didn't break my 700 -- that's a good thing to start with.
MartyHulskemper said:
I downloaded and installed it. Ran it, rebooted. It did trim, but the jury is still out on whether this actually helps or not. It's too freshly booted to really judge the effects properly, so I'll have it settle in and report back.
It didn't break my 700 -- that's a good thing to start with.
Click to expand...
Click to collapse
Yeah, I was reluctant to be the first one to try it on an infinity... But it worked out for the better, I think. Now I don't know if the .25 jb update or this is to thank for the better performance. It should hope up till the 4.2 update at least! Quite pleased with the .25 update
Sent from my Galaxy Nexus using Tapatalk 2
Just tried it. Could be my imagination, but my tablet seems snappier.
I am not convinced that it will have any effect: TF700's Hynix eNAND flash is eMMC 4.41 compliant, which does not have DISCARD command, the equivalent of SATA's TRIM command. The DISCARD command is supported in eMMC 4.51 compliant flash but I don't know if the Kingston flash in Nexus 7 is eMMC 4.51 compliant. Even if it does TRIM the TF700, probably it will have little effect if you have alot of free space left as it does not affect the garbage collection significantly. One would hope that TRIM should already be done dynamically within the file management software as it would reduce write amplification factor, hence improve write speed performance?
Kraka said:
I am not convinced that it will have any effect: TF700's Hynix eNAND flash is eMMC 4.41 compliant, which does not have DISCARD command, the equivalent of SATA's TRIM command.
Click to expand...
Click to collapse
According to the spec, eMMC 4.41 supports TRIM - what's the difference between TRIM and DISCARD?
I read that eMMC 4.41 also supports "background operation" and "high priority interrupt" - these sound much more interesting related to lag than TRIM. Do you have any idea if these features are already used in the TF700's Linux kernel (or even at all in any kernel)?
faq in op link said:
Which devices are affected?
It is known by now, that Nexus S, Galaxy Nexus, Nexus 7, Nexus 4, Nexus 10 and HTC One X need regular trimming. It is also believed that all pre-ICS devices used different memory and they do NOT need it nor support it. Pre-ICS support will be dropped in version 1.2. Other 4.0+ devices? Well, test it! And report if it really helps - your device will be added to the list.
How to properly test it?
Use AndroBench app before using LagFix and after. You only need micro test. Look for Sequential Write values. Reading from memory is NOT affected, because reading does not involve writting and only writting triggers search party for free memory blocks.
Click to expand...
Click to collapse
For anyone looking for early confirmation of impact.
I think I'll give this a try. I have some hefty typing lag. I thought one of the first updates had gotten rid of it, but it came back, it was just temporarily relieved by the fresh reboot then. If it does help, it'll probably be a month before I confirm anything, just to avoid giving/having false hope . Thanks for posting op hope it works.
Edit, sorry, just noticed OP already mentioned androbench.
Edit 2: Saw no change in my androbench write speed. Sequential write was something over 5MB/s, random write was .15MB/s both before and after running it, and again after rebooting. lagfix claimed to have trimmed successfully. If anything, it felt more laggy for a while after running it. I'm an OS update or two behind FWIW, just installed Jelly Bean a month or so ago. I like to let everyone else test the updates before I install them. I'll probably run another bench this evening. :shrug:
fsTRIM = AWESOME fix - on CROMI, OCed kernel, fsync disabled
I just download the fsTRIM app and it worked with CROMI, OCed kernel, and fsync disabled. Will seem laggy right after runnng it, just reboot as soon as you do and things will be deffinitely running smoother and slightly faster now. Noticing less keyboard latency even as I type this out. I suggest trying it out.
UPDATE - Seriously try this **** out. Keyboard typing is radically smoother in browser, evernote, and google drive. Less latency between multi touch gestures ive set up in GMD Gesture Control as well. App opening is still instantaneous. Loading big web pages is definitely quicker. Will time boot and other things and update again soon.
Update - Opening large files and youtube is faster. large pdfs load faster. everything is really....snappy, and.....smooth.....best of both worlds. things were already pretty snappy and smooth with CROMI, didnt think they could get better but it has. I time everything as well to compare. I could barely time it after this fix as everything is basically instantaneous. Havent tried writing/moving large files on internal storage yet, will test soon, this is distracting me from my homework too much lol.
It works for me I can now download files and move them without having my tablet unusable until it's done.
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD
Just installed this.
Will give it a go...
lucius.zen said:
...
Click to expand...
Click to collapse
You posted the same content in two other thread sof you own making, and in this one. One helluva way to get to 2000 posts without interjecting anything actually useful. Neitehr is this post, I will mention myself, but please keep a lower profile next time.
So far I haven't noticed any difference at all. I'll give it the rest of the day and if I don't feel there is any change I'll just uninstall.

What's so hot about F2FS?

Seems everybody is trying out F2FS, but I've been pretty happy with the existing setup on my TF300T. I know it's "flash-friendly" but what exactly does that *mean*? Longer life on my flash memory? Better speed and performance? And if so, are we talking incremental improvement or really noticeable changes? Aside from curiosity, is there really a reason to change it?
Current setup is CM11 with GEASS kernel (not F2FS)
Thanks!
TM
tmoulder said:
Seems everybody is trying out F2FS, but I've been pretty happy with the existing setup on my TF300T. I know it's "flash-friendly" but what exactly does that *mean*? Longer life on my flash memory? Better speed and performance? And if so, are we talking incremental improvement or really noticeable changes? Aside from curiosity, is there really a reason to change it?
Current setup is CM11 with GEASS kernel (not F2FS)
Thanks!
TM
Click to expand...
Click to collapse
The lowest Quadrant scores on my TF300 were always the memory and i/o scores. I just upgraded my CROMBi-kk (_that kernel) to F2FS and it bumped those scores up from "disasterous" to something like 5 times what they were before. I don't have my tablet with me to check, but I have definitely noticed an improvement since I made the change.
ddd3astra said:
The lowest Quadrant scores on my TF300 were always the memory and i/o scores. I just upgraded my CROMBi-kk (_that kernel) to F2FS and it bumped those scores up from "disasterous" to something like 5 times what they were before. I don't have my tablet with me to check, but I have definitely noticed an improvement since I made the change.
Click to expand...
Click to collapse
:good: When I moved to F2FS, I saw a pretty significant improvement as well.
although this thread doesn't belong here, in Android Development, and should be in General or Q&A, it is a VERY good question...
For this device (T300T) I have noticed a GREAT improvement in performance. I read in the Nexus 5 (hammerhead) forums that F2FS mainly improved write speed over read.
I read a good deal about Flash Friendly File System, and learned only that much without trying it. I am not always in the mood for doing more research than necessary. . . I learned how to convert to it, how to restore back; the errors that occor and how to correct them; the potential dangers; and then i re read the instructions and the forums regarding them.
On my Nexus 5 I'm amazed at the backup speed in TWRP and have found great performance enhancement, though its a Nexus 5, so its quite difficult to "feel" the difference unless you mess around with your device a ton (kernels roms OC etc) and THEN switch to it.
with this device, I have noticed a near-night and day difference since switching over. All I did was back up my data/media to my microSD and format using GEASS's provided recovery and flashed CM 11 back on and flashed Hardslog's grimlock kernel and then gapps. I used nandroid manager to restore my apps from a nand i made b4hand and copy and pasted whatever files I wanted on my tablet (which were few) internal memory.
Voila! my tab is sexy again.
Not sure about the whole F2FS All thing (reformatting all partitions to f2fs) its mentioned more in the hammerhead forums, and have read mixed reviews.
but its definitely worth a shot if youre not afraid of doing a little bit of reading and a little bit of dirty work, as it is quite beneficial on this tab
the end...for now

Categories

Resources