yashsingh1/xdaforums huggingface dataset:
[Nexus 7 General] nemrel:
Please see: http://xdaforums.com/showthread.php?p=31176913 . I use a program called Diagnosis & another called Trust. Both worth buying the full versions of.

This thread is now getting kinda hard for people chiming in for the first time. A lot of the suggestions & good comments are just buried in this thread & it's too daunting to read through it all.

Plus nobody is sticking a usable format for their posts. We all should be putting something like this at the beginning of our initial posts:

[bold]ROM: [/bold]

[bold]KERNEL: [/bold]

[bold]ROOTED OR UNROOTED STATUS: [/bold]

[bold]STORAGE BEING USED: [/bold]

Then go from there.

Also for those that applied the buttery smoothness mod, custom/alternate kernels, or other scripts what has happened for you? Everything fixed? How long has it been running smooth if it has? What are your benchmark speeds/results in Androbench? Was the tweaks the answers you were looking for?

Just some thoughts.
[Nexus 7 General] Jay Aristide:
It's worth mentioning the buttery goodness instructions in this thread are outdated. For current comes, please follow the link in my SIG :)
[Nexus 7 General] fzammetti:
My N7 returned to being a horribly-performing POS this morning after close to a month of being fine (after a factory reset fixed it up last time). I once again see horrendously bad AndroBench scores (write speeds specifically) after them being solid for a month. The crazy thing is I did NOTHING NEW with the damned thing... hadn't installed any new apps, hadn't changed any settings, not in a few days at least... I have plenty (>4G) of free space and I didn't even install music and videos like usual this time around, nothing but apps (hell, not even WIDGETS). Just USING the damned thing seems to have "broken" it again.

I'm quite fed up. I've owned something like 5 different tablets now over the past 2-3 years and this is BY FAR the worst one, because of this one issue. Oh, sure, *when it works* I love the thing... but it can't keep f'ing up like this every month or two and not expect to be thrown against a wall.

It's clearly not a hardware issue at this point since it works fine for so long and then just randomly takes a dump... at least that's the pattern for me, I suppose it could still be HW problems for others. Whatever it is, this has become completely ridiculous.

The last thing I'm trying before I try and restore from backup or factory reset is I switched governor to performance (battery life doesn't so much matter to me) and also set I/O scheduler to deadline... just want to see if it makes any difference. Running AndroBench right now and, oddly, SOME of it seems to be better while some is unchanged... so maybe those tweaks will help somewhat. We'll see.

But, if you hear the loud cracking of an N7 smashing against a wall and a rage-yell accompanying it you'll know it didn't :)
[Nexus 7 General] Salty Wagyu:
That's exactly what I had when my device was being slow. Had a poor I/O score in Quadrant too (1150 I think, should be ~1750 ideally) I flashed a google factory image and started over again.

If anyone else reading this still has lag, you can also notice it when adjusting brightness in DICE player, swiping up/down is very delayed/non-responsive, the swipe up/down action for volume was ok though. That was also gone when I factory wiped.
[Nexus 7 General] cheapbeerbaron:
TRIM

I recently had this problem too, flashing the stock image fixed it for me too

Is it possible that there is a problem with the implementation of TRIM in the kernel or memory controller? If that is the case then after we fill most of the blocks the resulting write amplification might produce the IO problems we see, also explains why only some people get this problem, and not others.

Anyone know how we could test this?
[Nexus 7 General] Foka002:
I had the same issue with I/o speed. I was running custom ROMs and had about 2gb left on internal storage. There was huge delay in quadrant I/o test which wasn't right to me as I remembered first time I done the test it was flying. Then I saw this topic and I have flashed stock image which cleared internal storage and now everything is fine.

P.s before I flashed stock image I wanted to backup my internal storage and I couldn't copy everything because of some error 0x000000. Its definitely something to do with I/o. I'm just wondering if its hardware issue or something to do with kernel. I also have screen lifted so I'm just thinking to replace it....
[Nexus 7 General] ChrisM001:
How much internal storage have you left now? I'm afraid that lagging will return when the storage is filled up. There seem to be big IO problems with this device. Unbelievable that Google chose this device as their JB flagship. Big fail! Maybe lack of testing or quality control.Although I'm really not an Apple fan one could surely say that this had never happened to them.
[Nexus 7 General] Foka002:
Well to be honest I have 10gb left and I didn't try to use it all again. I'll do some test later on today but if that's the case I'll be very disappointed...
[Nexus 7 General] sg3707:
I have welcomed myself to the LAG world once i have filled my nexus 7 with movies. Now i do not know what can be done. chrome is very slow. So is the keypad. I have removed the movies and more than 4gb is free but still lag is there. I am on stock and rooted. Very disappointed with the LAG. Have no screen lift or any other problem what so ever.

I do not want to return this device but may be i have to.
[Nexus 7 General] MRsf27:
Boy are you guys unlucky... the only problem in lag I have is on gears and guns and that may be because its an intense game.. my download speeds are super fast and browsing is fast and so is coming on xda... but mind u I still probably have over 10 GB of free space and I'm always cautious so what's running in the background cause I know that'll slow me down to;)
[Nexus 7 General] ChrisM001:
Return it is what I will do. Although I like the device a lot and also have no other problems with screen lift or anything else. In my opinion this dramatic slow IO processing is a hardware issue that can software-sided only be "fixed" by disabling fsync. But that can lead to data corruption.

There are rumors that there will be a new Nexus version with 3G in the near future. Maybe they also fix the IO problems (probably resulting from too slow memory components). Maybe I will buy it back then. But it may also be that I will buy an iPad mini in between. I'm very disappointed of Google. Unbelievable that they offer a flagship device with such fundamental deficits! In doing so they massively boost the image of Android's missing smoothness in comparison with iOS.
[Nexus 7 General] MMcCraryNJ:
Guys, just keep in mind that every single Nexus device has had software issues (not related to cellular radios) that needed to be ironed out by Google. In some cases it even took them about 6 months worth of updates. But the important thing is, if it's a software issue, Google DOES fix it after a few updates.

This is still a relatively new device that's only had one point release software update since release (and on the day of release no less). We haven't yet gotten a major bug fixer update.

What I'm saying is, give Google a little more time. Has anyone starred this issue in the appropriate Google device forums? If not, perhaps this would be a good time for someone to post it in there with all of your findings and steps to re-create the issue. Google does pay attention to those boards and the issues people post.

In my experience with Nexus devices, Google offers much better software support and bug fixing updates than any other Android OEM does when updating their own line of devices. I can't tell you how many very obvious software bugs were left unfixed by Samsung on both my Vibrant and Galaxy Tab 10.1. On my Vibrant, for example, you couldn't send an MMS message to anyone in your contacts list UNLESS the phone number you had listed for them was in the +1xxxxxxx format. Otherwise, the message would fail. So if you were like me and had neatly organized contacts all in the same (xxx) xxx-xxxx format, you were SOL. That was a reported bug in the first month of release and it NEVER got fixed.

If you need to return your device due to the issue, by all means do it. But just realize that this is likely a software issue, or a hardware issue that can be corrected via software patch, and Google will eventually take care of it.
[Nexus 7 General] androidkid311:
By all means if they know what's right they would iron out the issues asap! IPad mini is around the corner. I'm still hanging back until Google releases a patch. But best advice is to use a custom kernel but some argue it should work out of the box without lag :-/ which is a valid point.
[Nexus 7 General] KingObiWan:
the only lag I get is if i am using tons of apps at once.

Poweramp is a heavy app, so when i was using poweramp with an emulator, it lagged the UI. Once i overclocked to 1.6ghz, the lag went away.

be sure you do not use heavy apps together and there should be no lag
[Nexus 7 General] ChrisM001:
How much free internal store do you have? Do you have the 8 or the 16 GB version?
[Nexus 7 General] KingObiWan:
I have the 16gb one running glazed jellybean.

I have used 2.2gb for apps, 3.4gb for music, and in theory that means i would have 5.6gb used and 10gb left however, my pc shows it as 13.2gb total and 2.76gb left to use.

It seems odd, but android must use quite a bit of memory, or i was ripped off :P

My plan once I use up the last 2 gb is to use the otg cable i bought and attach my 8gb flash drive to it when i need movies and music. That way I dont waste storage with large files like that. apps will fit fine.
[Nexus 7 General] Jay Aristide:
*blink*

If you have a 16gb n7, you only have ~13gb available for user apps and data..
[Nexus 7 General] dornier:
My Nexus 7 got really slow again to the point that I couldn't really update or download any apps from the Play Store due to slow download speeds. I decided to do a speedtest on my wifi and it was normal, 9.53GB download speeds. I went back to try to download or update an app, and it would download a few KBs per minute. I then tried restarting the Nexus 7 with the same slow download speeds and lag issues. I was also getting the "app not responding" dialog box often. Before I accomplished another hard reset, I cleared the Play Store cache and data and now the Nexus 7 is almost back to normal. The Play Store download speeds went back to normal, fast. The lag also reduced dramatically.

After the improvement, I deleted several files and apps and I now have 3.86GB or so free. The tablet seems much more responsive, but this is something that Google needs to fix ASAP.

Who do we complain to at Google. Is there an email or web form we can fill out to make sure they're aware of this issue?

Thanks,

GP
[Nexus 7 General] handfish:
Just an update. I can't bear the stupid lag (I/O related) on my 16GB Nexus 7 anymore, therefore I did a factory reset and voila, everything is lightning fast again.

AndroBench write speed in the past was ~0.23 MB/s, now it is over 10MB/s. Wow... does Google expect us to factory reset the damn device every month or so?!

Note that the I/O slowness starts when the free storage drops below a few GB (2 or 3GB, I am not 100% sure), there is no real fix except factory resetting the device. Deleting files in my case does *not* help!

It is worth mentioning that in my case, when I notice the I/O becomes very very slow, and the write speed is very low in AndroBench, I can significantly increase the write speed in AndroBench (to over 8MB/s) by turning off wifi and bluetooth. I am not sure why? Perhaps background sync has stuffed up somehow?

FYI, details of my device:

- 16GB Nexus 7

- Stock ROM + stock kernel

- Rooted + 160 dpi tablet mode

- No optimisation made by me; too scare to do anything stupid!

If this is a hardware issue, a factory reset won't give me over 10MB/s write, so I don't think it is a hardware fault.

Something to note is that I believe the "lag" that I am referring to is NOT (entirely) related to the UI. Project Butter is about improving the UI responsiveness and the lag that I observed is likely not because of the way Android JB handles its UI. The lag *appears* to be a result of poor software optimisation on crappy second graded memory module from ASUS. So, we can consider that there are two "lag groups" - one is UI lag, which is 95% solved by project butter, and one is the I/O lag, which is what this thread is about. The UI lag that we are seeing (a lot of time) is an unfortunate consequence of the poor I/O performance on this device. This is my personal view only and please feel free to correct me if I am wrong.
[Nexus 7 General] demandarin:
Never had any lag at all. Even when underclocked to 1.1ghz. I'm running stock rom and alternating between Motley and Trinity kernel. Even on stock kernel, I never had any lag. Anywhere
[Nexus 7 General] handfish:
Good on you mate. In my experience, the lag starts only when the free storage drops below 3 GB. How much free space have you got?
[Nexus 7 General] phcahill:
Please raise a support issue with Asus and Google

I have opened a case with Asus. Could others please do the same. The Nexus 7 does appear in the dropdown if you choose product type eeepc. I don't know how to open a case with Google. If anyone does, please post a link.

Yes I have crossed posted this but I'm really pissed about it and want to make sure Asus and Google know about the issue. Just got my nexus ready for a holiday trip by loading up with video. It ran like a dog, pretty much unusable. It's somewhat better now I've deleted lots of the video leaving 5GB free.

Regards

Paul

There is an issue with the 16GB Nexus 7 that many people are finding.

If this tablet is filled up with files, e.g. video or music files, until there is less than 3GB free, the tablet dramatically slows down. Apps are very slow to load. The interface becomes jerky.

Benchmarks show very slow sequential and random writes. This appears to be the cause of the issue. The only solution appears to be a factory reset. However the problem will come back.

http://rootzwiki.com/topic/31490-very-slow-nexus-7/

http://xdaforums.com/showthread.php?t=1811432

http://www.modaco.com/topic/356978-n7-slow-down-laggy/page__st__20

http://xdaforums.com/showthread.php?t=1776538

http://xdaforums.com/archive/index.php/t-1808952.html
[Nexus 7 General] dornier:
I also just submitted a ticket to Asus. It wasn't easy to find where to enter the info, but I'm glad you said to select the EEE Family to find the Nexus 7 tablet. Everyone, please submit tickets to Asus. You will need the purchase date and serial number which is on the box. To save you time, here's the Asus link you'll need, http://vip.asus.com/eservice/techserv.aspx. Let's hope for a fix soon!
[Nexus 7 General] MRsf27:
^^^^

k I don't mean to be a **** but, if you're filling up the complete 16 GB's and noticing a huge drop is performance why are you filling it up completely then? wasn't this a huge issue BEFORE the tablet was release? weren't people complaining "oohhh its not enough space for me to do what I want to do with it, i wish it came with an SD card". Google wants to promote CLOUD storage. If you don't want to store **** on the cloud and yet still loading the thing up with 100 movies and a million apps than that's your damn problem. This isn't supposed to be a high performance machine where it can store that much garbage and perform like a ferrari for you. remember, google wants to promote cloud storage.
[Nexus 7 General] handfish:
Good thought. I agree that Google wants to promote the use of Cloud storage. That's fine.

However, we purchased 16GB (in fact, 13GB user usable space only!) of storage space on the Nexus 7 and is it wrong that we want to use it all? It is like you paid some money to buy from Google 200GB of Cloud storage and then Google tells you that you can only use up to 180GB, otherwise your upload / download speed will be throttled????? Is this even logical?!?! Does it make sense? The answer is clearly no. There is a problem, and we are desperate to see a solution, or a workaround (no - factory reset is not a workaround).

All we are trying to find out is 1) whether the lag that we are seeing is indeed I/O related, 2) whether this is a hardware fault, and 3) whether there is a way to workaround this issue while hopefully Google is coming up with a software fix.

By the way, why would you say that people are storing "garbage" on the Nexus 7? A Gameloft game can easily chew up 2GB of storage space. Google Music isn't available in Australia, so Cloud storage isn't available. 13GB isn't much when you have a few big games and a collection of music files, plus a number of "pinned" Google Movies. No one is talking about making the device runs faster. I guess most of us would not expect the Nexus 7 would perform dramatically poorer just because the local storage is filled up. A bit slower is OK, but not from 10MB/s to 0.2MB/s...
[Nexus 7 General] MRsf27:
hey man totally get what you're saying, but think of a computer, it slows way down when you start filling it up with a bunch of stuff right? the CPU in the nexus S has to go through all the files before it reaches the one you want; so therefore if you have alot of stuff in the storage, it's gonna take a little bit of time. Alas, I don't think it's a hardware issue, it's what you paid for. Although google claims it's a 1.3GHz nVidia 4-core chip, I don't really want to believe it's all that good to the extent that they say it is.

Also the comment on you pay for 16GB you want 16GB; you will never get that out of any storage component, that's just the way it is. Again, look at computer hard drives; you buy a 500GB you get about 480GB for whatever reason.

My conclusion is that if you have alot of background apps going and you're internal storage is almost filled, that's why your lagging like mad. the CPU is over-working itself for the demand of finding and opening the files for you
[Nexus 7 General] Kumnaa:
The problem I have is that I subsequently cleared up a load of space so that I had almost 8gig free again but the device was as bad as when it only had 1gig free. Once you cause the slow down you have to take drastic measures to fix it which really isn't the way it should be in fact I still don't believe that slowing down like this with just under 2gig of space free is "working as intended" :(
[Nexus 7 General] handfish:
I wish that is the case but it is not. The fact is that once the IO lag starts, deleting many files and restore 5 gb of free space does not bring back the good original performance. The only way is to do a factory reset.
[Nexus 7 General] Kumnaa:
As for where to report this to google I've just seen a few Nexus related issues on the Android issues list:

http://code.google.com/p/android/issues/list

I don't know if it's worth reporting it there as well?
[Nexus 7 General] Salty Wagyu:
Does Android have any included functionality to clean NAND in the background, or its possibly broken in their grouper release of JB? I can't find anything about it at all on Google if Android does any sort of cleaning/garbage collection. These I/O issues look similar to the first generation SSDs - you had to clean out dirty writes to keep the SSD read/writes up to speed otherwise its speed would drop.

If anyone's already made a post about it on http://code.google.com/p/android/issues/list please link so I can star it :)

Google don't have a product forum for Nexus 7, not that I can find anyway. There is a generic Android Devices category in Google Mobile Help Forum Would Google even read there?
[Nexus 7 General] Kumnaa:
Just spotted this in the second link you posted:

http://productforums.google.com/forum/#!category-topic/mobile/android-devices/loqbCbKVMWE

No harm in chipping in and backing up his claims.
[Nexus 7 General] KingObiWan:
as i said, I have a pretty full device, (2.7gb remaining) and i haven't noticed any slowdowns. Perhaps it is because I am using a cm10 based rom. Who knows...
[Nexus 7 General] Kumnaa:
Following from the Google mobile help post I ran Androbench on my Nexus and the write speeds are terrible:

Sequential Read 20.67MB/s

Sequential Write 0.44MB/s

Random Read 7.46MB/s 1911.07 IOPS(4k)

Random Write 0.05MB/s 14.52 IOPS(4k)

Which seems to be what everybody else is seeing. I've got a working Nexus 7 at home that I can run it on as well.

[edit] I've just posted on the the Android bug list as well: http://code.google.com/p/android/issues/detail?id=37258
[Nexus 7 General] mmaestro:
There's already a thread on code.google.com here:

http://code.google.com/p/android/issues/detail?id=35663

May be worth starring or posting comment if you think you have something to add.
[Nexus 7 General] dirk1978:
Not true in my case. I uninstalled a few big games and deleted a 2GB movie and the lag was gone.
[Nexus 7 General] Kumnaa:
That seems to be a "touch screen not responding" issue rather than the "lag" issue I'm experiencing.
[Nexus 7 General] mmoreimi:
reporting to google/Asus

I think we should all be on the same page as far as when we go to report this to Google and/or Asus.

IMO, it all depends on the skill set of the rep that takes your call and how they understand the issue, where they search their internal knowledge base, and eventually where they forward your issue to. Is there anyone that's already reported the issue and can explain, in simple terms how we should be reporting so Asus or Google see it as one problem? I hope I'm explaining myself Ok...

I want to be able to say the same standardized thing that the rest of you are saying to they can see the sheer number of complaints on the SAME issue and address it quicker.
[Nexus 7 General] RoboCuz:
Issue opened, please star it

I think issue 37258 is exactly what I am experiencing and what many of you might as well? I recommend starring it if it seems a match to you as well.

Cheers

RoboCuz
[Nexus 7 General] mmoreimi:
Talked to Google

I talked with some dude at Google just now.

He is certain that it's an app called Pinyan that's causing the issues. It's related to touch input for the blind. He was able to see the apps that are loaded on my N7.

Unfortunately I was unable to test if disabling it works because I forgot to bring the N7 with me to work today

He said go into Menu-->Settings-->All Apps

Locate Pinyan and disable it.

Is anyone able to verify?
[Nexus 7 General] burnduck:
I believe you mean pinyin the chinese input method? it's never activated on my device and the lag kicks in slowly with usage.
[Nexus 7 General] mmoreimi:
that's the one. Google Pinyin.

I see your argument (and everyone elses about the usage factor) but why not just test by disabling it? I never activated it either.
[Nexus 7 General] Kumnaa:
It's made no difference to my device :(
[Nexus 7 General] mmoreimi:
That's too bad.... Was hoping for an easy solution to this.

Thank you for trying it out.
[Nexus 7 General] Kumnaa:
My working Nexus gets these results:

Sequential Read 24.71MB/s

Sequential Write 7.8MB/s

Random Read 7.48MB/s 1916.19 IOPS(4k)

Random Write 0.3MB/s 77.94 IOPS(4k)