yashsingh1/xdaforums huggingface dataset:
[Asus  Eee Pad Transformer Prime] dagrim1:
Does anybody here know how to compile a c file to arm library (.so)?

I can compile sqlite using cygwin on my windows computer but can only seem to get i386 asm code, which is different from ARM code. Have no clue about how to compule for ARM instruction set.

If someone knows how to do this on the source for sqlite then 2 versions can be compiled (sync on and off) which can then be analyzed to find the same patches in our version on the prime.

This is the sqlite source I used, containing the original sqlite.c:

http://www.sqlite.org/sqlite-autoconf-3071201.tar.gz

And the patched file is attached. This is patched to disable sync.
[Asus  Eee Pad Transformer Prime] Rytkonen:
I went and asked fellow One X users to post their results here. Hopefully somebody bothers. This web browser performance began to feel again super crappy because I got my SGS3 few days ago.
[Asus  Eee Pad Transformer Prime] leppie:
That is odd and disturbing at the same time. One should NOT have to factory reset to get half decent performance.

No, it does not work that way. Sorry.
[Asus  Eee Pad Transformer Prime] dagrim1:
What do you mean? Am I missing something?

Think it somehow should be possible to compile that code properly...
[Asus  Eee Pad Transformer Prime] Rytkonen:
Ok so I ran the test with my TP. Maybe the worst score ever? :D I ran the test three times, every test overall time around 160 seconds. I ran this last test after boot. Sigh...

http://db.tt/DT6lsYMq
[Asus  Eee Pad Transformer Prime] Pyr0x64:
Wow, even my Evo3D beats my Prime :(

I was surprised to see my phone complete the whole RL benchmark before the Prime finished the first test :eek:

My phone gets an overall score of around 49-57s, while my Prime is around 130-139s
[Asus  Eee Pad Transformer Prime] leppie:
Somehow possible, but I dont think anyone would be willing to spend 10's of hours for a binary patch. It would be easier to just recompile, but then function addresses will be all messed up. So you would have to explicitly map all of them to specific locations. Then you have to wonder if the version supplied by ASUS does have some hack in it, and which version. What bugs were fixed from upstream source, etc, etc, etc. And then you can test, and hopefully not brick your tablet or someone else's.

Get the point?
[Asus  Eee Pad Transformer Prime] aleandre1974:
My S2 running Gingerbread 2.3.6 (stock) gets an overall score of 44 seconds.
[Asus  Eee Pad Transformer Prime] Tempie007:
I did the db and i/o tests of Antutu and the Sqllite test on my prime and my SGS3, the tests itself ran three > times longer on the prime....

There is something seriously wrong with either the memory or the firmware of the prime.....

Prime:

Database i/o: 395

SD Card Write: 5.6 MB/s 56

SD Card Read: 16.5 MB/s 165

SQLLite: 132 seconds

SGS3:

Database i/o: 550

SD Card Write: 28.9 MB/s 150

SD Card Read: 41.2 MB/s 196

SQLLite: 20 seconds

EDIT: Even my desire HD does the sqllite test in 50s...... more than twice as fast....
[Asus  Eee Pad Transformer Prime] mystril:
As they say, the Devil is in the details.

Screw the marketing.. Asus Prime = HTC Chacha? *ugh*

I do feel my Prime is way slower than my SGS2 in Installation. Random Freezes. Oddly similar performance in PDF reading despite Tegra 3.
[Asus  Eee Pad Transformer Prime] htcplussony:
Does the stock browser also depend on sqlite for caching?

So would any site with lots of little pictures continue to suck even on .28? Like www.toy-wave.com for example?
[Asus  Eee Pad Transformer Prime] Tempie007:
The browser relies on sdcard write speed since it caches on disk like every browser does. Dont know if sqllite is involved.

It has become clear that the browser wait/lock issues are caused by IO troubles (browser2ram and cf scheduler are workarounds)

The difference on sdcard write speed with other devices is so big it HAS to be resolved by firmware?! Else this is REALLY crappy memory!
[Asus  Eee Pad Transformer Prime] dagrim1:
Eh? I provided the source needed to compile the library... Recompile that is. I supplied the patched file as well, that makes it possible to compile 2 libraries, from source.

Using those 2 libraries I can most likely find the locations/code needed to patch in the binary .so file. I already decompiled the .so files and found 2 of the locations, I know the 3rd location but can't make sense of the code. With a patched and unpatched binary from the same source I think I can.

Addresses are different yeah, but the disassembled code isn't. It is VERY easy to compare (believe me, I already did it with the compiled x86 versions of the sqlite binary).

About bricking, I have CWM installed so can always restore. I already copied the sgs3 versions of the libsqlite libraries, it booted fine. Before I copied some wrong versions, didn't boot but the restore fixed it.

I know what I'm doing, I disassembled and messed with machine code before, I know what CAN happen... But I want to find out if this can improve results as I think it can.
[Asus  Eee Pad Transformer Prime] MaBlo:
Someone asked for this over at our forum, 39 secs.
[Asus  Eee Pad Transformer Prime] Tempie007:
Like it should be.

Anyone on .28 build who can do this bench?
[Asus  Eee Pad Transformer Prime] Rytkonen:
Thank you very much. So that pretty much nails it. How come there is almost 2 minute difference in Prime and One X on SQLite reading and writing.
[Asus  Eee Pad Transformer Prime] htcplussony:
SteveG12543 did on page 2. Not pretty.
[Asus  Eee Pad Transformer Prime] Tempie007:
Ouch......

There must be some kind of fix!
[Asus  Eee Pad Transformer Prime] Rytkonen:
Yes I hope so too. Seriously 70 seconds for 1000 db inserts is a bad joke.
[Asus  Eee Pad Transformer Prime] htcplussony:
Now I'm wondering just how much the next firmware really fixes the browser if i/o fixes isn't included.
[Asus  Eee Pad Transformer Prime] killermojo:
I anticipate a collection of workarounds. While they may appear to fix the browser, the absolutely horrendous io will continue to be a problem until the next set of updates.. Maybe .30? Assuming the io problems are fixable through an update at all.
[Asus  Eee Pad Transformer Prime] josuetenista:
Using stock kernel clocked at 1.5ghz overall score 55 seconds.

Using my one x
[Asus  Eee Pad Transformer Prime] leppie:
It appears the memory used in some of the 32GB models is exactly the same as use in a Kingston DataTraveller 101 Gen 2 (DT101G2/32GB). This costs around $30 retail.

Here is pic of a dismantled one:

Update:

Here you can see the flash mem.

The Chinese message board thread where I deciphered this (you will have to figure out how to register to see the pictures).
[Asus  Eee Pad Transformer Prime] killermojo:
:O do you have a source? If so, this is RIDICULOUS
[Asus  Eee Pad Transformer Prime] fixyourtech:
http://www.amazon.com/dp/B0041Q38SA...e=asn&creative=395117&creativeASIN=B0041Q38SA

$23.41 on amazon :eek:
[Asus  Eee Pad Transformer Prime] Tempie007:
Need a source else its speculating.. is this the same memory and if so is it the cause of problems?
[Asus  Eee Pad Transformer Prime] htcplussony:
The read/write speeds on that link really suck though one review is saying it is faster than the spec.
[Asus  Eee Pad Transformer Prime] indie13:
UNREAL!!!

Guys someone mentioned the HTC chacha.....i just tried my other halfs chach

a vs my prime and it was bloody close!!!!!! the prime did win overall but not all categories and not by much.

The prime completed in 128.00 and the chacha completed in 132.8

The funny thing is the chacha did win some of the tests.

- The first one 1000 inserts the chacha did 63 seconds with my prime taking 73 seconds.

- The chacha also won the drop table test 2.78 seconds vs 5 seconds for the prime.

- It also won the delete with an index 5 seconds to 7 seconds.

What on earth is going on here....one is a sub standard entry level phone and the other should be a quad core beast!!!!??????
[Asus  Eee Pad Transformer Prime] killermojo:
A quad core beast using $25 kingston data traveller memory, it appears.
[Asus  Eee Pad Transformer Prime] Tempie007:
Wheres the source? Proof
[Asus  Eee Pad Transformer Prime] htcplussony:
http://www.techrepublic.com/blog/cr...ardown-solid-tablet-but-not-without-flaws/399

Maybe the Hynix chips are faster.
[Asus  Eee Pad Transformer Prime] killermojo:
Did some digging on my own and found it to be true:

This link has a teardown, listing the component numbers: http://www.techrepublic.com/blog/cr...ardown-solid-tablet-but-not-without-flaws/399

The storage memory is listed as:

32GB Kingston NAND Flash (2400005-005.A00G 1125 M10678412.00 KE4BT506A) Some units have Hynix NAND Flash chips.

Which matches the picture posted above. ASUS actually used some of the cheapest usb-key memory on the market for the TFP.
[Asus  Eee Pad Transformer Prime] Billyvnilly:
Everytime I come on XDA to read about prime, I am less and less impressed by ASUS.
[Asus  Eee Pad Transformer Prime] Tempie007:
Hmm ok. But how well can that memory perform? I mean my sgs does those 1000 inserts in 0.7 seconds, prime in 70s that's 100 times as slow?!
[Asus  Eee Pad Transformer Prime] valentinrascu:
Kingston and hinyx are the memory flash in prime.

Inviato dal mio Transformer Prime TF201 con Tapatalk 2
[Asus  Eee Pad Transformer Prime] benefit14snake:
This is why I hate coming to this forum. I learn more and more about how much my tablet sucks lol. I was so excited to get it when it came out too...

Sent from my Axiom MAXX!!
[Asus  Eee Pad Transformer Prime] Rytkonen:
Is there any similar information what flash memory is inside One X or other competitors?
[Asus  Eee Pad Transformer Prime] valentinrascu:
i don't think is possible to fix this. is flash storage problem. is own firmware(Kingston or hinyx in our case) not android drivers.for change this, we need full format.This is not possible with android in the same storage.This is biiiggg problem for asus. i update my ssd ocz vertex3 with live cd for format,and change the firmware from ocz, but with this tablet haw is possible???(sorry for bad english)

Inviato dal mio Transformer Prime TF201 con Tapatalk 2

Inviato dal mio Transformer Prime TF201 con Tapatalk 2
[Asus  Eee Pad Transformer Prime] jimmy2323:
i just ran RL on my one x...

22 seconds overall, 0.9 for the 1000 inserts. A massive difference vs my tfp.

Its such a massive difference that there has to be a firmware issue... the quality of the memory components can be that behind the HOX.
[Asus  Eee Pad Transformer Prime] killermojo:
Yeah even if this was fixable via firmware, we'd need to do a full wipe. As mentioned, that ain't possible with the OS sitting on the chip. What a mess
[Asus  Eee Pad Transformer Prime] leppie:
I updated my post now.

Edit: Does anyone with a 64GB model know what the make and model of the memory is?
[Asus  Eee Pad Transformer Prime] htcplussony:
Any one have a TF300T? I'm seeing the same lag/browser posts there as well. Maybe their i/o is bonked too.

Actually it is too bad the forums are split since the 2 units are pretty close together though they do get faster ram.
[Asus  Eee Pad Transformer Prime] Tempie007:
hmmm what a failure this is.......
[Asus  Eee Pad Transformer Prime] :
On my one x I scored 46.825 seconds (underclocked to 1.0ghz since my battery was low)
[Asus  Eee Pad Transformer Prime] Rebelwithoutacause:
I own the 64GB model, but I have no idea on how to find out what the make and model of the memory would be on my Prime. Besides cracking my device open and voiding my warranty which I am not too keen on doing. :p

I can post my SQLite test results, though.
[Asus  Eee Pad Transformer Prime] Tempie007:
pls post it yes!
[Asus  Eee Pad Transformer Prime] leppie:
From the marketing pdf of the USB flash drive:

"Sleek, practical and attractively designed, the affordable DataTraveler 101 G2 serves the needs of the budget-conscious user ..."

64GB model on eBay for $54.

My scores posted earlier are for 64GB. Seems the same for everyone regardless of size.

Update: And finally some benchies of the 32GB model of the flash disk. Rather poor.
[Asus  Eee Pad Transformer Prime] jimmy2323:
Is the memory soldered to the board? Replaceable maybe?
[Asus  Eee Pad Transformer Prime] killermojo:
The memory isn't replaceable. It's soldered to the mobo and there'd need to be a firmware update to match the new memory
[Asus  Eee Pad Transformer Prime] st33med:
I'm going to stop you guys right here. The NAND chip used doesn't matter much, it's the controller that is used that matters. USB NAND flash is usually the same used in flash memory of onboard drives. SSD uses several chips for big memory. What really matters is the controller that is on board and maybe what firmware it uses. SATA is much faster than the USB protocol, and it allows parallel access to memory. Not to mention there are so many design differences that USB memory uses with it's controller that makes it substantially slower but much cheaper.

The only reason I could see that hardware is to blame is that they are using terrible controllers. I don't think that's likely, so it's most likely software or firmware. Hopefully ASUS can rectify the situation.

Now stop you guy's constant whining about ASUS being lame and do something more positive in life, or even enjoy and mod your ASUS TF201 :)

EDIT: look here for the TF101 flash: http://www.techrepublic.com/blog/it...-convoluted-but-3g-ready-internal-design/2833 It's a Kingston as well, almost the same model except 16 GB.
[Asus  Eee Pad Transformer Prime] Rebelwithoutacause:
Here are the results for my 64GB stock Prime in "Performance" mode.
[Asus  Eee Pad Transformer Prime] Rytkonen:
I agree on the hw part but I think we all have a very good reason to whine. It would be different if Asus were paying us for testing their tablet. :D
[Asus  Eee Pad Transformer Prime] MaBlo:
I don't know anything about what's your problem or if it fixable, but I just ran the test on my SII with newest software. Got 23 seconds, vs the 45 seconds listed in the diagram(listed as 2.3.3). How can that be? If It's to be trusted Samsung increased the performance by 100% with ICS over GB.
[Asus  Eee Pad Transformer Prime] st33med:
Whining about the same thing over and over again gets people nowhere. I'm pretty sure by now Gary knows about this issue and has informed ASUS. If you really want ASUS to know you want something to improve, write to them. Or, even dig down into the dirt of the matter. We can't really tell what maybe wrong, and if it is hardware, I'm pretty sure ASUS will do something to help out with write speeds like another RMA thing like they did with wifi/bt module (they placed two of the same modules on board so one can use BT and the other can use wifi).

Hell, it's awesome enough we got an Asus rep here talking with us letting us know what's happening occasionally and looking over things.
[Asus  Eee Pad Transformer Prime] mrt159:
40sec on T3 HOX if anyone's still interested. 14sec for the 1k inserts.
[Asus  Eee Pad Transformer Prime] killermojo:
Oh boy I'd love to just enjoy my prime but I've spent half the day attempting to browse airbnb.com to find the next place I'll be staying at on my trip- a big reason I brought this thing along. The number of freezes, FC's and odd behaviour I've endured has me using my Nexus One instead. Trust me, I'd LOVE to get my value out of this tablet. Forgive me for trying to pinpoint the cause for all the FC's and painfully slow io as I attempt to upload pictures from the trip.

Looking forward to having a fix come down the line over nine months since I bought this thing (6 months in my hand). Keeping a close eye on the fracture in the glass the dock hinge has been making. Battery stats report my wifi has used more battery than the screen, and I've had it on most of the day trying to coax the prime to work with airbnb. But you're right, I'm glad we're lucky enough to have asus reps on these very boards!! That's the ASUS support I know!

Never again.
[Asus  Eee Pad Transformer Prime] Supersaiyan.IV:
Google Nexus S at 880Mhz - 82.814s, 35.259s for 1000 inserts.

I'm agreeing with that the NAND chip used doesn't make much difference. The issue is most likely controller communication going out of sync with the Tegra 3 (considering higher clocks give lower scores for some).

Another theory could be battery saving code. I wonder which of the Tegra 3 chips is dedicated for controller communication, and if not - the question is whether unnecessary context switches are occurring between the cores in good faith of providing better battery lifetime.

EDIT: Now that I think about it this could be the inherent reason why people experience dropouts in simultaneous wifi and bluetooth communication.
[Asus  Eee Pad Transformer Prime] banderos101:
Thanks for the info mate

Barring any hardware constraints, i think this should be results (give or take) we should expect from our tegra3 chips

If performance turns out to be unfixable, I hope asus is willing to refund our "high performance" tabs, on the basis that some of us waited for performance fixes, and have now gone beyond our refund period

Hoping they can fix though, because apart from the fragile "feeling" (could be just me) of the prime and performance issues, i quite like my tab, (keyboard plus battery, connections etc etc etc

Samsung quadcore exynos tab is starting to sound better by the day, if they only had the same setup as the prime i dont think i'd stop myself from getting one
[Asus  Eee Pad Transformer Prime] whycali:
I have to pretty much take no stock in the sqlite benchmark performance for two reasons. My prime (with several of the workarounds mentioned here in xda installed) performed as badly on this benchmark as anybody elses here but real world performance is very usable for me. No more force closes than any other android device I have used. The second reason beyond real world performance is that my Lg thrill running promethius rom scored .499 on the 1000 inserts and a 17.118 on the overall and is in no way superior to my prime in real world function.
[Asus  Eee Pad Transformer Prime] dagrim1:
Just for the heck of it I semi patched the libsqlite.so file... The 2 places I knew to pathc and left the 3rd one alone.

As a result, RL Benchmark done in 24 seconds. 1k inserts in about 1 second...

Basically I have no idea what I'm messing up on my tablet in the meantime, datacorruption and all. But we'll see (cwm backup for the win). I'll let it be to see if I notice any instability/performance difference.

Perhaps I'll have to do a titanium restore to really test.

Something is probably wrong since androbench shows insane scores for the SQLite benchmarks. Maybe the changes aren't actually made? We'll see... Anyway, just thought I'd mention.

Really want to figure out the complete patch...
[Asus  Eee Pad Transformer Prime] Peter Galbavy:
I get the feeling it's not the flash per se but the contention between the cores. Is there anyway for those with rooted / flashed TF201s to disable all but one core? It would be interesting to see if this makes any difference although if access to I/O is controlled via a slow reacting mutex then it may still slow things regardless of core states. This might explain why some performance gets worse with a higher clock speed too...
[Asus  Eee Pad Transformer Prime] benefit14snake:
Very possible!! Just use setcpu to 475mhz and blamo! One core.

It will only use the companion core then. I discovered that a while ago and made a thread on it, no one was interested lol.

Sent from my Axiom MAXX!!

Edit: one core results.......
[Asus  Eee Pad Transformer Prime] micaman:
If anyone is interested the tf101 scored 1000 INSERT's @ 40.203 and overall at 82.366
[Asus  Eee Pad Transformer Prime] htcplussony:
Ok got home. On my stock S2 XEU 4.0.3 firmware, I got 23.111 seconds with .703 for 1000 inserts. On the Prime I can actually watch the time slowly go by and finished at 135.155 at 60.314 for 1000 inserts. :(

Clearly Samsung knows something and aren't sharing.

EDIT. I realized something. Since micaman posted TF101 scores, if we could only get scores for the Galaxy Tab 10.1 then we could see how much magic Samsung really has.
[Asus  Eee Pad Transformer Prime] ilostmypistons:
SGII with ICS
[Asus  Eee Pad Transformer Prime] jaycustom:
This is very interesting to me. I'm rooted/unlocked running a custom ROM and kernel, etc., etc...but I never got into the "deeper" parts of the hardware/firmwares.

But, I would still love to help out in this area if I could, in any way.

My wife has the Samsung Galaxy Tab 7.0 plus....Would it help any if I ran some benchmarks on it? If so, what exactly to run?

If it will help let me know...I'm down to help, also curious to see how the Prime and Galaxy Tab match up.:D

FYI: Wifeys SGT 7.0Plus is not rooted/unlocked....completely stock.
[Asus  Eee Pad Transformer Prime] sputnik767:
Just for grins, I ran the benchmark on my old HTC Evo 4G and on my Prime.

Evo 4G:

1000 Inserts - 9.9 sec

Overall - 47.53 sec

Prime:

1000 Inserts - 70.96

Overall - 125.58

The Evo, which is a device that's over 2 years old now, scored considerably faster in every category. I'm also in the camp that think the flash memory has nothing to do with the IO issues. There is no way that a 2 year old single-core device uses memory that performs 3x faster than a brand new quad-core device. I have a feeling that these issues can be solved via software, but my issue is with Asus. How could they actually release a device with such serious IO issues to market? Does anyone still wonder why Apple's devices are in such demand? I have a feeling that this will be my first and last Asus product. I didn't pay $500 to be a beta tester, I paid it for what I thought was a finished, high-performance product. Instead, I got a device with slower IO than my 2 year old Evo and more crashes than Windows 95.
[Asus  Eee Pad Transformer Prime] leppie:
I have been trying to find out where/what the NAND controller is. Unless it is that 'unmarked' chip with the letters 'KOREA MBG048' it is probably built into the Tegra 3 SoC. If the latter, it could possibly maybe be tweaked from a kernel driver.

I agree the actual memory does not make much of a difference, but I would feel rather pissed if I bought an SSD with USB flash memory inside. That is how I felt of the $100 premium I paid for the 64GB model. Now what exactly did I pay for?

Edit: From the kernel source, it appears that the Tegra SoC has a NAND controller. Whether this is being used, who know? ;p Will need to check kernel logs.
[Asus  Eee Pad Transformer Prime] Rytkonen:
I ran this benchmark on my more crappier devices.

Huawei Ideos X5 4.04 @ 1.8ghz:

1000 Inserts = 0.765 seconds

Overall = 48.8 seconds

HTC Wildfire (:D) CM7:

1000 Inserts = 76.237

Overall = 268.768

It would have been a bit embarrassing if a 528mhz Wildfire would have beaten the Prime...
[Asus  Eee Pad Transformer Prime] Rebelwithoutacause:
This might just answer your question:

http://www.anandtech.com/show/5286/asus-eee-pad-transformer-prime-teardown
[Asus  Eee Pad Transformer Prime] leppie:
"There's a 32GB Hynix e-NAND (eMMC controller + MLC NAND in a single package)"

Interesting. But I do expect an external controller as is on the DataTraveller USB device.
[Asus  Eee Pad Transformer Prime] st33med:
I understand. The $100 premium is not a reflection of the cost of the chip, but they can do whatever with pricing.

Please do check it. It would explain why making the CPU do the heavy lifting using the CFQ io scheduler makes it faster. If it isn't anything buggy with it, then it is possible that the sqlite software is deficient.

Part of me prays it honestly isn't a hardware issue because that's unfixable without offering RMA's.
[Asus  Eee Pad Transformer Prime] Peter Galbavy:
Extremely unlikely - and the build process is pretty straight forward and quite hard to screw up. SQLite is one of the most open and worked on chunks of code out there and is used in almost every non-trivial modern embedded system there is, even more so than Linux and it's derivatives. www.sqlite.org for much more information.