Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Linux SD Speed.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Linux SD Speed.

    Good day friendly tweakers,
    Lately I am also tweaking my tv box (minix x7, RK3188) to run linux. For this im running Xubuntu from Linuxiums Dual-Boot, cooked with Win32 Disk Imager.
    Now a problem that arises is that is incredibly slow! Lets say I want to open FireFox webbrowser, this could take between 10 and 40 seconds to launch, which for me is unacceptable.
    Now I was thinking that my SD card class 4 is just too slow.

    What is your experience with running Linux on an SD card? (If you happen to run Linux on NAND, I am just as interested in your experience )

    Greetings,
    Anger.

    #2
    Originally posted by Angeren View Post
    SD card class 4 is just too slow
    It not only depends on the class, but class 4 is very slow, it also depends on the size too and not only at sequential read/write (witch defined by class), it also depends on random read/write (also 4KB)...

    An example for a very slow 8GB SD:
    Code:
    -----------------------------------------------------------------------
    CrystalDiskMark 3.0.1 (C) 2007-2010 hiyohiyo
                               Crystal Dew World : http://crystalmark.info/
    -----------------------------------------------------------------------
    * MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]
     
               Sequential Read :    13.467 MB/s
              Sequential Write :     4.663 MB/s
             Random Read 512KB :    13.183 MB/s
            Random Write 512KB :     0.600 MB/s
        Random Read 4KB (QD=1) :     1.983 MB/s [   484.2 IOPS]
       Random Write 4KB (QD=1) :     0.006 MB/s [     1.5 IOPS]
       Random Read 4KB (QD=32) :     2.135 MB/s [   521.2 IOPS]
      Random Write 4KB (QD=32) :     0.014 MB/s [     3.3 IOPS]
     
      Test : 50 MB [J: 0.0% (0.0/7445.4 MB)] (x2)
      Date : 2014/02/28 16:51:43
        OS : Windows XP Professional SP3 [5.1 Build 2600] (x86)
     
    8 GB Class 4 FAT32
    An example for a very smooth 32GB SD:
    Code:
    -----------------------------------------------------------------------
    CrystalDiskMark 3.0.1 (C) 2007-2010 hiyohiyo
                               Crystal Dew World : http://crystalmark.info/
    -----------------------------------------------------------------------
    * MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]
     
               Sequential Read :    13.540 MB/s
              Sequential Write :    10.660 MB/s
             Random Read 512KB :    13.229 MB/s
            Random Write 512KB :     8.833 MB/s
        Random Read 4KB (QD=1) :     2.443 MB/s [   596.4 IOPS]
       Random Write 4KB (QD=1) :     1.143 MB/s [   279.0 IOPS]
       Random Read 4KB (QD=32) :     2.854 MB/s [   696.8 IOPS]
      Random Write 4KB (QD=32) :     1.458 MB/s [   355.8 IOPS]
     
      Test : 50 MB [J: 0.0% (0.0/29.5 GB)] (x2)
      Date : 2014/02/28 16:13:08
        OS : Windows XP Professional SP3 [5.1 Build 2600] (x86)
     
    32 GB Class 10 FAT32
    (this is the result at an internal reader, with an usb-reader i got Sequential/Random Read = ~20 MB/s)

    Both tested with linuxium ubuntu rfs at rk3188
    RK3288 Devices
    - Overview BOX (LINK !)
    - Overview STICK (Dongle) (LINK !)

    MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
    UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
    Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
    Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

    RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
    Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

    Comment


      #3
      Thanks, that clears things up.
      About time I read some reviews for some SD cards and buy one.

      If ppl are interested:
      I have tested the Xubuntu build on my Nand and it is significantly faster. This is for me a temporary solution as I would prefer my OS to be on my SD card.

      Greetings,
      Angeren

      Comment


        #4
        Actually I'm waiting on an ordered UHS-I card... only to check it out... the shown c10 is fast enough... but perhaps...
        RK3288 Devices
        - Overview BOX (LINK !)
        - Overview STICK (Dongle) (LINK !)

        MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
        UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
        Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
        Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

        RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
        Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

        Comment


          #5
          Originally posted by Angeren View Post
          Thanks, that clears things up.
          About time I read some reviews for some SD cards and buy one.

          If ppl are interested:
          I have tested the Xubuntu build on my Nand and it is significantly faster. This is for me a temporary solution as I would prefer my OS to be on my SD card.

          Greetings,
          Angeren
          I did some work on this before - see https://plus.google.com/109451178006...ts/Svgvwhj8MJm

          I'd recommend a SanDisk Extreme Pro® microSDHC™ UHS-I card.

          Comment


            #6
            "Faster than nand"

            SanDisk Ultra vs SanDisk extreme pro 8 gb performance test
            but I think, tested "only" at USB2.0, because of the reads limits at ~19....
            RK3288 Devices
            - Overview BOX (LINK !)
            - Overview STICK (Dongle) (LINK !)

            MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
            UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
            Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
            Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

            RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
            Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

            Comment


              #7
              BTW:
              At my K-R42 the reader is only sepc 1.01 = max 12.5 MByte/s

              Iozone is useful for determining a broad benchmark of filesystem performance. The benchmark tests file I/O performance for the following operations: Read, write, re-read, re-write, read backwards, read strided, fread, fwrite, random read/write, pread/pwrite variants.


              Code:
              sudo dpkg --install iozone3_397-2_armhf.deb
              
              ls -al /dev/mmc*
              sudo cfdisk /dev/mmcblk0
              sudo mkfs.ext4 /dev/mmcblk0p1
              sudo mount -t ext4 /dev/mmcblk0p1 ~/SD_part
              sudo iozone -e -I -a -s 50M -r 4k -r 512k -r 16M -i 0 -i 1 -i 2 -f ~/SD_part/iozone.dat
              sudo umount ~/SD_part
              Code:
              32 GB Flashraptor Class 10
              --------------------------
                                                               random  random
                 KB  reclen   write rewrite    read    reread    read   write
              51200       4    1397    1524     4370     4366    3946     370
              51200     512    7949    7790    11910    11967   11941    1454
              51200   16384    8138    8794    12156    12420   12044   10138
              
              
              32 GB Class 10 (no name)
              --------------
                                                               random  random
                 KB  reclen   write rewrite    read    reread    read   write
              51200       4    1461    1293     3913     3920    3629    1095
              51200     512    9216   10031    12001    12026   12000    8268
              51200   16384   10835   10655    12080    12016   12008   10836
              
              
              8 GB ADATA Premier micro UHS-I
              ------------------------------
                                                               random  random
                 KB  reclen   write rewrite    read    reread    read   write
              51200       4    1149    1072     3405     3586    3794     910
              51200     512    7845    8809    11951    11879   11933    7329
              51200   16384    9347    9695    12520    12513   12521   10034
              RK3288 Devices
              - Overview BOX (LINK !)
              - Overview STICK (Dongle) (LINK !)

              MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
              UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
              Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
              Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

              RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
              Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

              Comment

              Working...
              X