[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linaro-flashbench-results
Subject:    [Flashbench] PNY Attache Micro Sleek 8GB USB Flash Drive
From:       ajax.criterion () gmail ! com (Ahau  () porteus ! org)
Date:       2013-04-19 15:21:16
Message-ID: CACx56aX3VGZPVG0Zzy1QLdr36FL5HfeZaU=qtVaOrkPKbVvvsA () mail ! gmail ! com
[Download RAW message or body]

Hi,

I grabbed a new flash drive yesterday, so I'm trying to sort out the
eraseblock size to format it properly.  I grabbed this one because it was
on sale and has a small form factor.  I'm planning to format half of it as
swap so that I can plug it in to my tegra 2 tablet while compiling software
that requires additional RAM (seamonkey and firefox at least require extra
RAM for linking libxul and I don't want to swap a lot on my internal flash
or sdcard).

Anyway, here's what I got from fdisk and flashbench:


Disk /dev/sdc: 8166 MB, 8166703104 bytes
256 heads, 63 sectors/track, 989 cylinders, total 15950592 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *          56    15950591     7975268    c  W95 FAT32 (LBA)

root at porteus:~/Downloads/flashbench-2e30b19# ./flashbench -a /dev/sdc
--blocksize=1024
align 2147483648    pre 494?s    on 491?s    post 494?s    diff -2812ns
align 1073741824    pre 487?s    on 491?s    post 491?s    diff 1.68?s
align 536870912    pre 491?s    on 492?s    post 493?s    diff 204ns
align 268435456    pre 507?s    on 528?s    post 511?s    diff 19.4?s
align 134217728    pre 507?s    on 526?s    post 510?s    diff 17.5?s
align 67108864    pre 508?s    on 524?s    post 505?s    diff 17.8?s
align 33554432    pre 508?s    on 547?s    post 507?s    diff 39.3?s
align 16777216    pre 494?s    on 510?s    post 494?s    diff 16.5?s
align 8388608    pre 511?s    on 531?s    post 508?s    diff 21.6?s
align 4194304    pre 505?s    on 530?s    post 507?s    diff 24?s
align 2097152    pre 507?s    on 526?s    post 508?s    diff 17.8?s
align 1048576    pre 509?s    on 534?s    post 513?s    diff 22.9?s
align 524288    pre 508?s    on 529?s    post 507?s    diff 21.5?s
align 262144    pre 508?s    on 527?s    post 508?s    diff 19?s
align 131072    pre 510?s    on 525?s    post 512?s    diff 13.9?s
align 65536    pre 511?s    on 531?s    post 512?s    diff 19.1?s
align 32768    pre 509?s    on 530?s    post 506?s    diff 22.1?s
align 16384    pre 506?s    on 531?s    post 507?s    diff 24.4?s
align 8192    pre 505?s    on 509?s    post 511?s    diff 1.13?s
align 4096    pre 506?s    on 509?s    post 504?s    diff 4.08?s
align 2048    pre 509?s    on 508?s    post 506?s    diff 882ns

root at porteus:~/Downloads/flashbench-2e30b19# ./flashbench -O
--erasesize=$[4 * 1024 * 1024] --blocksize=$[256 * 1024] /dev/sdc
4MiB    26.1M/s
2MiB    22.6M/s
1MiB    22.9M/s
512KiB  21M/s
256KiB  19.9M/s
root at porteus:~/Downloads/flashbench-2e30b19# ./flashbench -O
--erasesize=$[4 * 1024 * 1024] --blocksize=$[256 * 1024] /dev/sdc
--open-au-nr=2
4MiB    22.8M/s
2MiB    22.8M/s
1MiB    22.8M/s
512KiB  21.7M/s
256KiB  19.8M/s
root at porteus:~/Downloads/flashbench-2e30b19# ./flashbench -O
--erasesize=$[4 * 1024 * 1024] --blocksize=$[256 * 1024] /dev/sdc
--open-au-nr=3
4MiB    10.4M/s
2MiB    10.2M/s
1MiB    23.3M/s
512KiB  21.2M/s
256KiB  20.2M/s
root at porteus:~/Downloads/flashbench-2e30b19# ./flashbench -O
--erasesize=$[4 * 1024 * 1024] --blocksize=$[256 * 1024] /dev/sdc
--open-au-nr=4
4MiB    4.28M/s
2MiB    2.05M/s
1MiB    2.94M/s
512KiB  2.56M/s
256KiB  2.97M/s
root at porteus:~/Downloads/flashbench-2e30b19#

root at porteus:/mnt/sdb2/flashbench-2e30b19# ./flashbench -O --erasesize=$[2
* 1024 * 1024] --blocksize=$[256 * 1024] /dev/sdc --open-au-nr=4 --random
2MiB    2.19M/s
1MiB    1.29M/s
512KiB  1.75M/s
^C^[[A
root at porteus:/mnt/sdb2/flashbench-2e30b19# ./flashbench -O --erasesize=$[4
* 1024 * 1024] --blocksize=$[256 * 1024] /dev/sdc --open-au-nr=4 --random
4MiB    2.53M/s
2MiB    2.11M/s
1MiB    2.97M/s
512KiB  2.6M/s
256KiB  1.44M/s
root at porteus:/mnt/sdb2/flashbench-2e30b19# ./flashbench -O --erasesize=$[4
* 1024 * 1024] --blocksize=$[256 * 1024] /dev/sdc --open-au-nr=3 --random
4MiB    4.27M/s
2MiB    6.6M/s
1MiB    10.6M/s
512KiB  6.56M/s
256KiB  10.1M/s
root at porteus:/mnt/sdb2/flashbench-2e30b19# ./flashbench -O --erasesize=$[4
* 1024 * 1024] --blocksize=$[256 * 1024] /dev/sdc --open-au-nr=2 --random
4MiB    4.9M/s
2MiB    8.12M/s
1MiB    8.43M/s
512KiB  4.91M/s
256KiB  21.5M/s
root at porteus:/mnt/sdb2/flashbench-2e30b19# ./flashbench -O --erasesize=$[4
* 1024 * 1024] --blocksize=$[256 * 1024] /dev/sdc --open-au-nr=1 --random
4MiB    5.1M/s
2MiB    4.82M/s
1MiB    26.7M/s
512KiB  5.01M/s
256KiB  4.72M/s
root at porteus:/mnt/sdb2/flashbench-2e30b19#

I had a hard time determining the eraseblock size from the '-a' test; the
numbers seemed to keep jumping around on me.  I assumed that I was dealing
with 4mb eraseblocks (but was kind of a guess on my part, since most of my
other devices are 4mb), and testing the open-au's seemed to confirm this
(in my mind anyway) as going to 8, 16, or 32 MB erasesizes slowed down
quite a bit, even with only one au.

I'd consider myself a novice at all of this; if you'd like me to run some
additional testing with different parameters, just let me know.  For now,
I'm assuming 4mb eraseblocks, with no offset (not sure how to confirm
that), 16kb page size, with 2 linear and 2 or 3 random au's.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linaro.org/pipermail/flashbench-results/attachments/20130419/5981816f/attachment.html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic