Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4205

Block device write performance decreased dramatically.

XMLWordPrintable

    • Renesas H3

      Block device write performance decreased dramatically (near 4 times worth).

      Fetch and build AGL 12.1.0:

      repo init -m lamprey_12.1.0.xml -b lamprey -u  https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
      repo sync -c -d
      source meta-agl/scripts/aglsetup.sh -m h3ulcb agl-devel agl-demo agl-refhw-h3
      bitbake agl-cluster-demo-platform
      

      Add 'fio' tool and rebuild:

      project meta-agl-demo/
      diff --git a/recipes-platform/images/agl-cluster-demo-platform.bb b/recipes-platform/images/agl-cluster-demo-platform.bb
      index ac31ae3..9733e33 100644
      --- a/recipes-platform/images/agl-cluster-demo-platform.bb
      +++ b/recipes-platform/images/agl-cluster-demo-platform.bb
      @@ -4,6 +4,10 @@ require agl-cluster-demo-platform.inc
       
       LICENSE = "MIT"
       
      +IMAGE_INSTALL += " \
      +    fio \
      +"
      +
       IMAGE_FEATURES_append = ""
       
       # add packages for cluster demo platform (include demo apps) here
      

       
      Test on both versions: 12.0.1 and 12.1.0 using a command:

      fio --randrepeat=1 --direct=1 --gtod_reduce=1 --name=test --bs=4k --iodepth=64 --size=256M --rw=randwrite
      

      Results:
      1) AGL 12.0.1

      #1
        WRITE: bw=25.0MiB/s (27.2MB/s), 25.0MiB/s-25.0MiB/s (27.2MB/s-27.2MB/s), io=128MiB (134MB), run=4929-4929msec
      #2
        WRITE: bw=32.7MiB/s (34.3MB/s), 32.7MiB/s-32.7MiB/s (34.3MB/s-34.3MB/s), io=128MiB (134MB), run=3916-3916msec
      #3
        WRITE: bw=33.2MiB/s (34.8MB/s), 33.2MiB/s-33.2MiB/s (34.8MB/s-34.8MB/s), io=128MiB (134MB), run=3855-3855msec
      

      2) AGL 12.1.0

      #1
        WRITE: bw=7271KiB/s (7445kB/s), 7271KiB/s-7271KiB/s (7445kB/s-7445kB/s), io=128MiB (134MB), run=18027-18027msec
      #2
        WRITE: bw=9142KiB/s (9361kB/s), 9142KiB/s-9142KiB/s (9361kB/s-9361kB/s), io=128MiB (134MB), run=14338-14338msec
      #3
        WRITE: bw=8909KiB/s (9123kB/s), 8909KiB/s-8909KiB/s (9123kB/s-9123kB/s), io=128MiB (134MB), run=14712-14712msec
      

      FYI opsyvvavrychuk

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            harunobu.kurokawa Harunobu Kurokawa
            andriy.tryshnivskyy Andriy Tryshnivskyy
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: