MultiImagePicker Library for Multiple Image Selection

App developmentcan be done in more than a handful of ways. You can write every single … more

Shoot Troubles, Not Users w/ Alex Boag-Munroe – XDA:DevCon 2014

In presenting the various sessions from XDA:DevCon 2014, weve mainly … more

Oppo Releases ColorOS for the Find 5… Poorly

Almost every OEM has taken the liberty of creating its own incarnation of the Android OS. … more

XDA LG Development Challenge Winners

Almost 3months ago, we set out with LGto findtwo amazing apps that developers could put together … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Test your nand and sd card speed

OP paolo-red1

11th September 2012, 07:59 PM   |  #1  
paolo-red1's Avatar
OP Senior Member
Flag Somewhere in the middle of Italy
Thanks Meter: 254
 
642 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Please do this test:

write in terminal emulator, not also (...):

(Write file 64MB (8k * 8192) bigger file is better)

busybox dd if=/dev/zero of=/data/out.img bs=8000 count=8192

(Read)

busybox dd of=/dev/null if=/data/out.img bs=8000

(to Remove out.img)

rm /data/out.img


If you don't have int2sd and let /data the phone writes in nand.
If you change / data in /sdcard or /sd-ext you can test your sd-card speed.

Report in this thread your results.
If the test is positive we can ask to our developer to try to include this NativeSD script in roms.
http://forum.xda-developers.com/show....php?t=1869673



Edit: use androbench from market and try both /data and /system.
(I read this information from N1 jb evervolv thread)
Last edited by paolo-red1; 11th September 2012 at 09:31 PM.
The Following 2 Users Say Thank You to paolo-red1 For This Useful Post: [ View ]
11th September 2012, 09:54 PM   |  #2  
Senior Member
London
Thanks Meter: 80
 
243 posts
Join Date:Joined: Jan 2011
More
a/local/bin:$PATH <
u0_a53@android:/ $ su
ev/zero of=/data/out.img bs=8000 count=8192 <
dd: writing '/data/out.img': No space left on device
4004+0 records in
4002+1 records out
32022528 bytes (30.5MB) copied, 30.591187 seconds, 1022.3KB/s
dev/null if=/data/out.img bs=8000 <
4002+1 records in
4002+1 records out
32022528 bytes (30.5MB) copied, 0.244355 seconds, 125.0MB/s
u0_a53@android:/ # rm /data/out.img
u0_a53@android:/ #

That's for nand.

Using nikez jb p0.9 with a2sd y/n/y.
Hope this helps as I ran out of space during the test


Below for sdcard . Using class 10 16GB Kingston (tested r/w speeds on PC they are of class 10).

a/local/bin:$PATH <
u0_a53@android:/ $ su
ev/zero of=/sd-ext/out.img bs=8000 count=8192 <
8192+0 records in
8192+0 records out
65536000 bytes (62.5MB) copied, 5.494354 seconds, 11.4MB/s
ev/zero of=/sd-ext/out.img bs=8000 count=8192 <
8192+0 records in
8192+0 records out
65536000 bytes (62.5MB) copied, 2.478820 seconds, 25.2MB/s
u0_a53@android:/ # rm /sd-ext/out.img
u0_a53@android:/ #
Last edited by gie62001; 12th September 2012 at 08:42 AM.
12th September 2012, 07:03 AM   |  #3  
handy5876's Avatar
Senior Member
Flag Hyderabad
Thanks Meter: 47
 
196 posts
Join Date:Joined: Mar 2011
# busybox dd if=/dev/zero of=/data/out.img bs=8000 count=8192
busybox dd if=/dev/zero of=/data/out.img bs=8000 count=8192
8192+0 records in
8192+0 records out
65536000 bytes (62.5MB) copied, 18.992340 seconds, 3.3MB/s
# busybox dd of=/dev/null if=/data/out.img bs=8000
busybox dd of=/dev/null if=/data/out.img bs=8000
8192+0 records in
8192+0 records out
65536000 bytes (62.5MB) copied, 0.258057 seconds, 242.2MB/s

This was for NAND

---------- Post added at 10:33 AM ---------- Previous post was at 10:28 AM ----------

# busybox dd if=/dev/zero of=/sd-ext/out.img bs=8000 count=8192
busybox dd if=/dev/zero of=/sd-ext/out.img bs=8000 count=8192
8192+0 records in
8192+0 records out
65536000 bytes (62.5MB) copied, 0.590332 seconds, 105.9MB/s What ??
# busybox dd of=/dev/null if=/sd-ext/out.img bs=8000
busybox dd of=/dev/null if=/sd-ext/out.img bs=8000
8192+0 records in
8192+0 records out
65536000 bytes (62.5MB) copied, 0.256714 seconds, 243.5MB/s
# rm /sd-ext/out.img
rm /sd-ext/out.img

This was for sdcard
My class 4 sdcard is faster than NAND ????
Last edited by handy5876; 12th September 2012 at 07:05 AM.
15th September 2012, 12:03 AM   |  #4  
Senior Member
London
Thanks Meter: 80
 
243 posts
Join Date:Joined: Jan 2011
More
Is nobody else interested in this to at least see how it works? Or it makes no sense on our desires.
I'm just wondering if our nands are faster than class 6/10 SD cards.

Sent from my HTC Desire using xda app-developers app
15th September 2012, 05:58 AM   |  #5  
handy5876's Avatar
Senior Member
Flag Hyderabad
Thanks Meter: 47
 
196 posts
Join Date:Joined: Mar 2011
I am guessing the ext4 file system since it buffers returns immediately to write request. Therefore the wrong result in my test.
15th September 2012, 12:57 PM   |  #6  
paolo-red1's Avatar
OP Senior Member
Flag Somewhere in the middle of Italy
Thanks Meter: 254
 
642 posts
Join Date:Joined: Jun 2011
Donate to Me
More
yes, this script test reports false results, it is better to use the app: ANDROBENCH.
you can try both sdcard and internal. When I will have time to try new Nikez's release (or another non-int2sd rom) I will write my results.
15th September 2012, 01:00 PM   |  #7  
Senior Member
London
Thanks Meter: 80
 
243 posts
Join Date:Joined: Jan 2011
More
Unfortunately androbench crashes without completing the test. Will try to reinstall or fix permissions maybe that will help. I'm on nikez jb p0.9

Sent from my HTC Desire using xda app-developers app
15th October 2012, 01:45 PM   |  #8  
Member
Thanks Meter: 12
 
39 posts
Join Date:Joined: Feb 2012
Weird
Weird, Androbench crashes here also on Spazedog-ICS...

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes