Odroid-N2 with eMMC Performance

Post Reply
Torben
Posts: 2
Joined: Thu Oct 10, 2019 5:37 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Odroid-N2 with eMMC Performance

Unread post by Torben » Thu Oct 10, 2019 7:48 pm

Hi,

i am running a N2 with eMMC 128 GB DietPi but the performance isn't good.

Code: Select all

# dd if=/dev/zero of=tempfile bs=10M count=1024 conv=fdatasync,notrunc
1024+0 Datensätze ein
1024+0 Datensätze aus
10737418240 Bytes (11 GB, 10 GiB) kopiert, 85,829 s, 125 MB/s

Code: Select all

# dd if=tempfile of=/dev/null bs=10M count=1024
1024+0 Datensätze ein
1024+0 Datensätze aus
10737418240 Bytes (11 GB, 10 GiB) kopiert, 106,731 s, 101 MB/s
The Read-Speed doesnt go above 100 MB/s. Should be around 150 MB/s. Is my eMMC broken? Anybody an Idea?

Torben
Posts: 2
Joined: Thu Oct 10, 2019 5:37 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid-N2 with eMMC Performance

Unread post by Torben » Thu Oct 10, 2019 8:16 pm

As a reference: Odroid-XU4 with eMMC 16 GB DietPi

Code: Select all

# dd if=/dev/zero of=tempfile bs=10M count=1024 conv=fdatasync,notrunc
1024+0 Datensätze ein
1024+0 Datensätze aus
10737418240 Bytes (11 GB, 10 GiB) kopiert, 207,35 s, 51,8 MB/s

Code: Select all

# dd if=tempfile of=/dev/null bs=10M count=1024
1024+0 Datensätze ein
1024+0 Datensätze aus
10737418240 Bytes (11 GB, 10 GiB) kopiert, 65,4989 s, 164 MB/s
Okay the writespeed is much slower (normal) but the readspeed is much faster then the N2 eMMC 128GB. Why?

User avatar
odroid
Site Admin
Posts: 32355
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 145 times
Been thanked: 325 times
Contact:

Re: Odroid-N2 with eMMC Performance

Unread post by odroid » Fri Oct 11, 2019 9:15 am

We could see over 140MB/sec of sequential reading performance several months ago by iozone test.
We will check it again on our latest Ubuntu image with the latest Kernel.

joshua.yang
Posts: 265
Joined: Fri Sep 22, 2017 5:54 pm
languages_spoken: Korean, English
ODROIDs: XU4, XU4Q + Cloudshell2, H2, N2
Has thanked: 2 times
Been thanked: 28 times
Contact:

Re: Odroid-N2 with eMMC Performance

Unread post by joshua.yang » Fri Oct 11, 2019 10:43 am

Hi. I have just tested with yellow 64GB eMMC.

Installed ubuntu-18.04.3-4.9-mate-odroid-n2-20190812.img.xz and did apt update && apt full-upgrade.
Then I did dd, iozone test right after reboots.

Kernel version.

Code: Select all

root@odroid:~# uname -a
Linux odroid 4.9.190-62 #1 SMP PREEMPT Tue Sep 10 01:00:59 -03 2019 aarch64 aarch64 aarch64 GNU/Linux
Here's the results.

dd

Code: Select all

root@odroid:~# dd if=/dev/zero of=tempfile bs=10M count=1024 conv=fdatasync,notrunc status=progress
10705960960 bytes (11 GB, 10 GiB) copied, 65 s, 165 MB/s
1024+0 records in
1024+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 69.3747 s, 155 MB/s
root@odroid:~# dd if=tempfile of=/dev/null bs=10M count=1024 status=progress
10674503680 bytes (11 GB, 9.9 GiB) copied, 65 s, 164 MB/s
1024+0 records in
1024+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 65.4513 s, 164 MB/s

iozone

Code: Select all

root@odroid:~# fstrim / && iozone -e -I -a -s 100M -r 4k -r 16384k -i 0 -i 1 -i 2
        Iozone: Performance Test of File I/O
                Version $Revision: 3.429 $
                Compiled for 64 bit mode.
                Build: linux

        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                     Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
                     Vangel Bojaxhi, Ben England, Vikentsi Lapa.

        Run began: Fri Oct 11 01:39:39 2019

        Include fsync in write timing
        O_DIRECT feature enabled
        Auto Mode
        File size set to 102400 kB
        Record Size 4 kB
        Record Size 16384 kB
        Command line used: iozone -e -I -a -s 100M -r 4k -r 16384k -i 0 -i 1 -i 2
        Output is in kBytes/sec
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 kBytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride                                
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4    38087    45288    30659    30658    30826    43899
          102400   16384   150866   156409   161403   161817   160967   154092

iozone test complete.
To summarize iozone results.
- 16M Read: 161 MB/s
- 16M Write: 150 MB/s

So both read/write speeds of the eMMC of 64GB or higher should be up to 150~160 MB/s.
Could you test on our Ubuntu image?

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 2 guests