1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Entware: which USB stick performs well?

Discussion in 'Asuswrt-Merlin' started by XIII, Aug 6, 2018.

  1. XIII

    XIII Very Senior Member

    Joined:
    Feb 27, 2014
    Messages:
    560
    Clark Griswald, skeal, kvic and 2 others like this.
  2. Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!
  3. kvic

    kvic Part of the Furniture

    Joined:
    Aug 11, 2014
    Messages:
    2,258
    Location:
    22.4399N 114.2222E
    "SanDisk Cruzer Fit 16GB USB 2.0 Flash Drive" was my old Entware disk. Back then CPU shot up to 100% when doing large file copy into the disk. LoL

    "SanDisk Ultra Flair 64GB USB 3.0 Flash Drive" is my current Entware disk though it's already a few years old..

    Both test results are available in the iozone-db.txt.

    I hope to maintain a db for flash drive, and a separate one for Micro SD (and perhaps SD). Have fun and send in your test results!
     
  4. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,764
    Location:
    Canada
  5. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,764
    Location:
    Canada
    The results in the ssh session to install:
    Code:
    wget -qO- https://gitlab.com/kvic/
    Entware-Goodies/raw/master/iozone-v3.482-armv7.tar.gz | tar xf - -C /jffs/bin
    tar: can't change directory to '/jffs/bin': No such file or directory
    
     
  6. XIII

    XIII Very Senior Member

    Joined:
    Feb 27, 2014
    Messages:
    560
    /jffs/bin is not a default folder. If you create it first it might work...

    Code:
    mkdir /jffs/bin
     
  7. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,764
    Location:
    Canada
    Tried that in winscp nope it runs the install and /jffs/bin is populated with one file. If I run the command to test, it complains that the directory doesn't exist.
     
  8. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,764
    Location:
    Canada
    I'm wondering if I have enough of Entware to do this. I only have the Entware install from AMTM.
     
  9. john9527

    john9527 Part of the Furniture

    Joined:
    Mar 28, 2014
    Messages:
    5,602
    Location:
    United States
    did you run with full path in the command? /jffs/bin/iozone ....
     
    skeal likes this.
  10. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,764
    Location:
    Canada
    Yes sir @john9527 it is running right now!
     
  11. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,764
    Location:
    Canada
    I have two usb sticks on my router. Is this script testing both at once or....?
     
  12. john9527

    john9527 Part of the Furniture

    Joined:
    Mar 28, 2014
    Messages:
    5,602
    Location:
    United States
    It tests whichever stick is associated with the active directory....

    cd /xxxx
    to a directory on the stick you want to test
     
  13. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,764
    Location:
    Canada
    Thanks again @john9527 works as you say.
     
  14. kvic

    kvic Part of the Furniture

    Joined:
    Aug 11, 2014
    Messages:
    2,258
    Location:
    22.4399N 114.2222E
    @skeal

    upload your make of sticks and test results here :D
     
  15. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,764
    Location:
    Canada
    Sure will!
     
  16. sfx2000

    sfx2000 Part of the Furniture

    Joined:
    Aug 11, 2011
    Messages:
    13,303
    Location:
    San Diego, CA
    Here's a sample - note this is an SD Card (actually MicroSD card) so the interface speed is limited by the host (RPi3B+)

    Code:
    git clone https://github.com/pantheon-systems/iozone.git
    
    SanDisk Extreme 32GB MicroSD card
    
    On Raspberry Pi3-B+ on a whim...
    
    SW Rev => 4.14.61-v7+ #1132 SMP Tue Aug 7 15:36:25 BST 2018
    FW Rev => Jul 26 2018 13:23:58
    
    ./iozone -e -I -a -s 20M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
                                                                random  random
                  KB  reclen   write rewrite    read    reread    read   write
               20480       4    2765    2418     9058     8636    7757    4331                                                        
               20480      16    7806    4664    15946    15867   15141    9175                                                        
               20480     512   18829   19939    22837    22868   23053   13797                                                        
               20480    1024   20103   10093    22849    22829   22819   19861                                                        
               20480   16384   19120   19266    23044    23049   23049   20564
     
    Last edited: Aug 7, 2018
  17. sfx2000

    sfx2000 Part of the Furniture

    Joined:
    Aug 11, 2011
    Messages:
    13,303
    Location:
    San Diego, CA
    Entware or other - I really do like the SanDisk stuff - Samsung is a close second if SanDisk isn't available.
     
  18. kvic

    kvic Part of the Furniture

    Joined:
    Aug 11, 2014
    Messages:
    2,258
    Location:
    22.4399N 114.2222E
    Cool and good to know about this card :)

    is yours pre-A1 or comes with A1 moniker?
    I have a SanDisk Ultra 16GB MicroSD card /w A1 moniker on order.
    If I had tripled my pay, I could have ordered your version.

    I added sfx2000's card to iozone-db.txt on kazoo.ga blog.

    Since my last presence on this thread, @Protik also submitted a stick used for Entware partition. So far the best deal in the list I've to say! @XIII paid triple the price with less performance for application use...lol
     
  19. sfx2000

    sfx2000 Part of the Furniture

    Joined:
    Aug 11, 2011
    Messages:
    13,303
    Location:
    San Diego, CA
    It's an older card I did on a bulk buy back in 2016... it's UHS-1, no A1 moniker....

    Nice because it does support TRIM
     
    Last edited: Aug 7, 2018
  20. kvic

    kvic Part of the Furniture

    Joined:
    Aug 11, 2014
    Messages:
    2,258
    Location:
    22.4399N 114.2222E
    Amazing they could stuff TRIM support in such a small package!

    How to find out if a stick/card supports TRIM?
     
  21. sfx2000

    sfx2000 Part of the Furniture

    Joined:
    Aug 11, 2011
    Messages:
    13,303
    Location:
    San Diego, CA
    Check the lsblk --discard return - DISC-GRAN (discard granularity) and DISC-MAX (discard max bytes) - non-zero values indicate trim support

    Code:
    [email protected]:~ $ lsblk --discard
    NAME        DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
    mmcblk0            0        4M     584M         0
    ├─mmcblk0p1        0        4M     584M         0
    └─mmcblk0p2  2097152        4M     584M         0
     
    ColinTaylor and kvic like this.
Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!