Which Allocation unit size option - Xperia Tablet Z Q&A, Help & Troubleshooting

Hi I love putting all of my photos taken with my dslr into my Sony tablet z to show my clients. However I find that I always have to wait for a second or two for photos to be fully loaded which is quite frustrating. I'm already using a Samsung MicroSD Pro which is top of the line and formatted my card to exfat but I do not see any significant difference compared to a slower card. <br />
<br />
I was thinking if my choice of allocation unit size might have an influence on the performance. I'm currently on 8192 and most of my photos are 10-15 MB jpegs. <br />
<br />
Please advise.<br />
<br />
Sent from my HTC_PN071 using Tapatalk

raundown said:
Hi I love putting all of my photos taken with my dslr into my Sony tablet z to show my clients. However I find that I always have to wait for a second or two for photos to be fully loaded which is quite frustrating. I'm already using a Samsung MicroSD Pro which is top of the line and formatted my card to exfat but I do not see any significant difference compared to a slower card.
I was thinking if my choice of allocation unit size might have an influence on the performance. I'm currently on 8192 and most of my photos are 10-15 MB jpegs.
Please advise.
Sent from my HTC_PN071 using Tapatalk
Click to expand...
Click to collapse
i don't think changing allocation unit would make much difference but the best way is to use a desktop app like "atto disk benchmark" or any other that tests speed with varying block size and then select the best from the results.
the block size depends most on the type of micro sd you are using, and if speed is so important use a class10 or better uhs-something (they are getting cheaper nowadays).
the best solution would be to batch resize the photos before putting them on microsd, 1920x1080 will be the fastest without loosing details but you will loose a lot of details when zooming, increasing size will make loading slower but allow better zooming. this part is a trial and error matter.

Riekr said:
i don't think changing allocation unit would make much difference but the best way is to use a desktop app like "atto disk benchmark" or any other that tests speed with varying block size and then select the best from the results.
the block size depends most on the type of micro sd you are using, and if speed is so important use a class10 or better uhs-something (they are getting cheaper nowadays).
the best solution would be to batch resize the photos before putting them on microsd, 1920x1080 will be the fastest without loosing details but you will loose a lot of details when zooming, increasing size will make loading slower but allow better zooming. this part is a trial and error matter.
Click to expand...
Click to collapse
Thank you for your help. I am using a Samsung MicroSDHC UHS-1 card and it is advertised as up to 70MB/s read and 20MB/s write. I have tried atto disk as you suggested and the read and write performance does not go beyond 20MB/s. I am guessing the tablet does not have UHS-1 interface which bottlenecks the potential of the card.
I am afraid downsizing the photos is not an option as clients like to see original resolution of my photos. Seems like being patient is the only thing i can do.

you can try to encode photos in progressive jpeg but i don't know if album will display the image while loading. the total time to complete should be the same but it should display something before the finish.
what makes me think is that 20mb/s should take less than 1 sec to load a 15mb image so maybe the problem is not the sd speed but the decoding speed. maybe trying another photo viewer could help.
good luck!

Riekr said:
you can try to encode photos in progressive jpeg but i don't know if album will display the image while loading. the total time to complete should be the same but it should display something before the finish.
what makes me think is that 20mb/s should take less than 1 sec to load a 15mb image so maybe the problem is not the sd speed but the decoding speed. maybe trying another photo viewer could help.
good luck!
Click to expand...
Click to collapse
Thanks! After converting all my photos to progressive jpeg it has improve the loading speed a little bit.

Related

Best allocation unit size for SD cards?

I've got:
16gig Micro sd card (Class 2)
8gig Micro sd-card (Class 4)
If I format these both to a Fat32 with an Allocation unit size of 8192bytes. Will there be any performance increase? The 16 gig feels sluggish.. The icons load up around 10-30 seconds in boot up. (moved my apps to media.)
I'm currently formatting the 16 gig at the moment. backing up all my data.
Question is, Whats the best allocation unit size for SD cards in the 8-16 gig range? And is there a big performance step from class 2 to 4?
Cheers!
I'm no expert in these kinds of things, but I don't know if the allocation size will make a huge difference in the speed. The 8GB card will be faster by default because it is a class 4 and the other is a class 2.
Someone who knows more may be able to answer better than I can.
Big difference between class 2 and class 4 personally I think you should only by classic 6
Sent from my MB860 using Tapatalk
No, the sizes will affect how data is allocated. You can research it and see if there is a better one. Ususally just use default. Having too big sizes can mess with the efficiency of card handling it's overall size. I don't know how to explain, and hell couldn't even try as i'm sleepy and about to jump in bed. There can be speed differences, but nothing major that will make you want to choose a speicfic size or the other.
I voided my warranty and your mum.
As far as I know, smaller file allocations help if you have plenty of small sized files, and bigger file allocation sizes help when you have big files.
I always use default with pretty good results at least on Class 6 and up cards.
Cheers!
Sent from my Atrix using Tapatalk

Using CrystalDiskMark to determine speed of SD card

hey all, i was just wondering if anyone knows the differences between the tests that crystaldiskmark does to test the speed of a storage device.
there are 4 different tests: sequential, 512k, 4k, and 4kQD32. read and write tests for each type of test.
thanks!
EDIT: heres a screenshot of my results:
I can't tell you about all of them, but sequential writes are what your card class is all about. A class X card is supposed to write a minimum of X MB/s. Your class 6 is writing well above its rating, congrats.
The other I can mention is 4kQD32 writes -- according to the Nook Color folks, it's very helpful for performance of SD installs of Android, so if we ever get an sd install here, hold on to that card. Higher class cards, 6 and 10, often do horrible in that 4k writes category. Class 2 and 4 Sandisks seem to have the best track record, but your transcend isn't half bad, and my best 4k writer is a no name card that outperforms my other 2 sandisks and a samsung. Source.
fortunz said:
I can't tell you about all of them, but sequential writes are what your card class is all about. A class X card is supposed to write a minimum of X MB/s. Your class 6 is writing well above its rating, congrats.
The other I can mention is 4kQD32 writes -- according to the Nook Color folks, it's very helpful for performance of SD installs of Android, so if we ever get an sd install here, hold on to that card. Higher class cards, 6 and 10, often do horrible in that 4k writes category. Class 2 and 4 Sandisks seem to have the best track record, but your transcend isn't half bad, and my best 4k writer is a no name card that outperforms my other 2 sandisks and a samsung. Source.
Click to expand...
Click to collapse
All right thanks. Its weird though I was just trying to copy a huge amount of files to my sd card (about 6.5 gb) and it was writing at like 3 mb's per second. Does the size of the transfer affect the write speed since this test was only using a 50 mb file?
Sent from my Nook Tablet using XDA PREMIUM
Copying lots of little files, in my experience, goes slower than copying a single large file. When I copy a video onto my card, I get close to the max speed. When I copy directories full of files, anything goes.
fortunz said:
Copying lots of little files, in my experience, goes slower than copying a single large file. When I copy a video onto my card, I get close to the max speed. When I copy directories full of files, anything goes.
Click to expand...
Click to collapse
Ok well I guess this sd card isn't all too bad then... really wanting to get a 32 gb card but trying to wait until I can get a better deal for it... you think a sandisk class 4 32 gb is good enough for games and videos?? I haven't seen any class 6 32 gb cards anywhere... not even sure if they exist...
Sent from my Nook Tablet using XDA PREMIUM
ShinnAsuka said:
you think a sandisk class 4 32 gb is good enough for games and videos??
Click to expand...
Click to collapse
I have a SanDisk Class 4 32 gb card for my Nook Tablet and it seems to work fine for games like GTA3, Angry Birds, etc. as well as .avi movies.
I tend to agree with Nookie. Depending on its actual performance (sandisks often outperform their minimum write rating, but not always), it might be frustrating to copy the files over, but viewing videos and playing games will work just fine even on a class 2. Fast sequential read speeds are easy to come by, and frankly they don't have to be all that fast to view even HD video. Your games are going to load into ram and play from there and perform just fine.

[Q] best allocation unit size for microsdhc?

in win7 i can choose between 32k and the new 64k when formatting the card. which should I do which is best for the phone,or should I just format it in recovery?
dyetheskin said:
in win7 i can choose between 32k and the new 64k when formatting the card. which should I do which is best for the phone,or should I just format it in recovery?
Click to expand...
Click to collapse
What file format? FAT32?
Generally I just leave it at the stock settings, which I believe is 4K allocation unit size. Android runs off a ton of smaller files, I think the larger allocation unit sizing is just going to be inefficient on space. Since this is flash based storage there probably is going to be minimal or no performance differences, I would think.
**edit**
nevermind, I need to read things first. For the SDCARD, which is mostly general storage, small file sizes arent likely a reason to opt for 4k over 32k or 64k, but I still don't know if you'll get any performance gain. Honestly, try both and benchmark them. Let us know if one is for some reason significantly better than the others..
I just benchmarked 14 tests between both 32K and 64K allocation unit sizes and 7 different caches between 128 and 4096. The sweet spot for me was 64K when formatting the card and setting sd-booster to 4096. my card is a 32gb lexar sdhc class 10. I get roughly 9.1 for write and 22.6 for read.
What did you use to format? When I put my 64gb sdxc card I got a message saying the card is damaged would you like to format it and I said why yes, I would like to format it and it just did it without any options. All I know is that it formatted as FAT32. Can I check in the phone what allocation unit size it is at?
feralicious said:
What did you use to format? When I put my 64gb sdxc card I got a message saying the card is damaged would you like to format it and I said why yes, I would like to format it and it just did it without any options. All I know is that it formatted as FAT32. Can I check in the phone what allocation unit size it is at?
Click to expand...
Click to collapse
no you cant check on the device. the options are in windows7 in the format screen
sent from tapatalk on my rezound
dyetheskin said:
no you cant check on the device. the options are in windows7 in the format screen
sent from tapatalk on my rezound
Click to expand...
Click to collapse
Okay, thanks. I formatted in the phone since I figured it would format it properly. I saw that it was FAT32 when I was putting some music on it but never check anything further than that.
Antutu Benchmark results (my card is class 6):
Write - (5.0 MB/s) 50
Read - (5.7 MB/s) 57
Internal card results:
Write - (7.0 MB/s) 70
Read - (6.4 MB/s) 64
I have no idea if that's good or bad. My first smartphone so I've never had to pay that much attention to this stuff.
Were your speeds MB/s also? If so, maybe I'll try reformatting, although mine is class 6 so I don't know how much to allow for that.
I also saw something about Android OS supposedly not supporting more than 32gb but mine is 64gb. Would that be a factor?
Allocation size should be based on "average file size"
If apps, keep it smaller, or the normal 4k. Music/movies, you can up it a few notches.
Benchmarking this with benchmark programs are useless as they have preset small files they use to bench the speeds. Being flash memory, allocation size will also most likely put forth no noticeable speed difference on already speed limited SD cards. if seektime mattered, allocation would also. in our cases allocation only has the effect of potentially wasting space.
just use the smallest allocation size for the most use of the space on your card. you select higher allocation unit sizes, all the teeny files android and apps use will take up the amount of space equal to the allocation size, regardless of its true size (4k allocation means ALL files take a minimum of 4K, or in increments of 4K. therefore files <4k take 4k, 4+ to 8 take 8k, 8+ to 12 take 12k.)
Yes 64gb cards are usually fine on aneroid. What are keeping on there, pron???
Sent from my Kindle Fire using Tapatalk
nrfitchett4 said:
Yes 64gb cards are usually fine on aneroid. What are keeping on there, pron???
Sent from my Kindle Fire using Tapatalk
Click to expand...
Click to collapse
I never keep pron on my aneroid. I wouldn't know how to get it on/in (?) there!
lol mmm Pron

Will be 4 Mbit sdcard enough for movies and music?

I'm going to buy some extra memory to replace my unknown 2GB sdcard to something better, but I only have ~5$. This is only enought for class 4 microsdhc card.
Will my music lag, skip slowly, movies lag, etc?
I'm going to use sdcard primalary for titatinium, apks, and media (movie, music)
GR0S said:
I'm going to buy some extra memory to replace my unknown 2GB sdcard to something better, but I only have ~5$. This is only enought for class 4 microsdhc card.
Will my music lag, skip slowly, movies lag, etc?
I'm going to use sdcard primalary for titatinium, apks, and media (movie, music)
Click to expand...
Click to collapse
hard to say really, i dont imagine there will be any issues though as if you only have a 4 gig card then I imagine the movies you put on there arent going to be hd 1080p high profile and so the bit rates are going to be fairly low and thus the low class of the card shouldnt create any bottle necks.
da.trute said:
hard to say really, i dont imagine there will be any issues though as if you only have a 4 gig card then I imagine the movies you put on there arent going to be hd 1080p high profile and so the bit rates are going to be fairly low and thus the low class of the card shouldnt create any bottle necks.
Click to expand...
Click to collapse
Seems you did not understand the question. It's about speed not size...
da.trute said:
hard to say really, i dont imagine there will be any issues though as if you only have a 4 gig card then I imagine the movies you put on there arent going to be hd 1080p high profile and so the bit rates are going to be fairly low and thus the low class of the card shouldnt create any bottle necks.
Click to expand...
Click to collapse
sebarkh said:
Seems you did not understand the question. It's about speed not size...
Click to expand...
Click to collapse
That's what he is talking about. Speed. 1080p movies require a faster bit rate to play well, as he said. Higher bit rate requires faster SD card. 4GB cards usually aren't fast enough.
Moreover, HD movies require humongous space, hardly accommodated by the 4GB card.
Sent from my GT-I9300 using xda app-developers app
Oomahey said:
That's what he is talking about. Speed. 1080p movies require a faster bit rate to play well, as he said. Higher bit rate requires faster SD card. 4GB cards usually aren't fast enough.
Moreover, HD movies require humongous space, hardly accommodated by the 4GB card.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Lol. ^^
If the card is only class 4,you won't be able to record HD video. I had one previously in my old phone and it skipped and was crap. Otherwise, it will just take longer for everything else like titanium backup because the write speed is lower. If you're doing multiple things with the card like copying or backing up and playing music, you might get skipping. In my opinion its better to spend that little bit extra to go to a class 10 card
Also, 4GB might not be enough because for example the backup of just my data partition is over 2GB...
Sent from my GT-I9300 using XDA Premium HD app
Thanks for replies, I will get 5 $ more today and buy class 10 8 GB or 16 GB sdcard.

[Q] RAZR MAXX / Sandisk 43GB class 4 - 1080p HD+

Hi guys,
Need an advice. I just bought a Sandisk 32GB class 4 microSD because the price was very good compared to class 10 ones.
I tested it with SD Tools and I had write speeds between 5-7Mb and read speeds between 18-20Mb.
Now the question: Which bandwidth uses Razr for full HD+ 1080p recording?
I've read a lot of oppinions that at least class 6 is needed to avoid loosing frames and also that Sandisk class 4 should perform well.
Anyone knows what cache settings has the Razr? This is also an important factor.
Anyone tested this card for recording of videos with more that 15 minutes? Is the size of the file written influencing the write speed?
Thanks.
OctavianH said:
Hi guys,
Need an advice. I just bought a Sandisk 32GB class 4 microSD because the price was very good compared to class 10 ones.
I tested it with SD Tools and I had write speeds between 5-7Mb and read speeds between 18-20Mb.
Now the question: Which bandwidth uses Razr for full HD+ 1080p recording?
I've read a lot of oppinions that at least class 6 is needed to avoid loosing frames and also that Sandisk class 4 should perform well.
Anyone knows what cache settings has the Razr? This is also an important factor.
Anyone tested this card for recording of videos with more that 15 minutes? Is the size of the file written influencing the write speed?
Thanks.
Click to expand...
Click to collapse
Well , HD+ video will work but will be choppy .. Even if you increase your cache size to 2048 KB , your recoding a 15 min video ! , i really doubt you will be able to get the smooth frames ( atleast 30 FPS) .. You can give it a try though
The SD Association has the following recommendations:
Class 2 : H.264 video recording, MPEG-4, MPEG-2 video recording
Class 4: MEPG-2 (HDTV) video recording, digital still camera (DSC) consecutive photo shooting
Class 6: Mega-pixel DSC consecutive photo shooting, professional video camera
Class 10: Full HD video recording, HD still picture consecutive shooting
PCMag also had an article called Flash Memory Cards: What you need to know that you might find interesting.
There has been some discussion on if the Razr can utilize Class 10 speeds.
Per Matt (Forums Moderator at Motorola support), "The Class 10 card will work at rated speed for video recording. But if you were loading the SD card with media from your PC, it would transfer at the Class 6 speed of about 8 MB/s."
Thanks for answer SAJdroid but I am curious if someone tried HD 1080p recording using this card. I know the articles and also the recommendation but I really doubt that Razr writes more than 4MB/s when capturing. Also another problem can be, on big 32GB ones, that most probably when the card is 70% full it might became slower. I've read also threads where they claimed that S3 is writing 1080p with max 2Mb/s.... so my 5-7Mb/s might be Ok for full HD video recording. For copying big files from PC, indeed, a class 10 is much faster.
More than this, the simplest test:
1) I made a 1 min video at 1080p and the size of the file was 120-130Mb... so 2.x Mb/s. If it is linear.
2) then I made a 2 min video at 1080p and the size of the file was 220 - 240Mb... rule remains valid.

Categories

Resources