Wind River Support Network

HomeDefectsLIN1019-3065
Not to be fixed

LIN1019-3065 : memory_write_bandwidth in lmbench cannot guarantee stable performance in standard

Created: Oct 22, 2019    Updated: Apr 29, 2021
Resolved Date: Apr 29, 2021
Found In Version: 10.19.45.1
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: BSP

Description

1. Build RT project
setup.sh --machines intel-x86-64 --templates feature/dpdk,feature/bsp-extras --distro wrlinux --layer meta-dpdk --dl-layers
Set PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
Add lmbench package
bitbake wrlinux-image-std

2. Boot Harcuvar targets (24977)
kernel console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=<server-ip>:/path/to/rootfs,v3,tcp ip=dhcp ignore_loglevel selinux=0 enforcing=0 noinitrd intel_iommu=on memtest=0 kmemleak=off

3. On the target
/opt/benchmark/os/wr-lmbench/wr-lmbench-test.sh
/opt/benchmark/os/wr-lmbench/generate_report.sh d /opt/benchmark/os/wr-lmbench/logs/lmbench${date}

cat /opt/benchmark/os/wr-lmbench/report.txt



See comparison results in lmbench_Standard.xlsx
See detail steps in lmbench_standard.log

Data is not stable, also not smooth, the difference is 36.44%, poor performance than RT.
wrl10.19.31.0 : 4173.51
wrl10.19.32.0 : 4297.818
wrl10.19.33.0 : 4224.076
wrl10.19.34.0 : 4156.214
wrl10.19.36.0 : 2731.586
wrl10.19.37.0 : 2736.77
wrl10.19.38.0 : 4280.596
wrl10.19.39.0 : 4283.986
wrl10.19.41.0 : 4157.18
wrl10.19.42.0 : 3108.932
Max-Min / Max = 36.44%

Steps to Reproduce

1. Build RT project
--machines intel-x86-64 --templates feature/dpdk,feature/bsp-extras --distro wrlinux --layer meta-dpdk --dl-layers
Set PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
Add lmbench package
bitbake wrlinux-image-std

2. Boot Harcuvar targets (24977)
kernel console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/24977/rootfs,v3,tcp ip=dhcp ignore_loglevel selinux=0 enforcing=0 noinitrd intel_iommu=on memtest=0 kmemleak=off

3. On the target
/opt/benchmark/os/wr-lmbench/wr-lmbench-test.sh
/opt/benchmark/os/wr-lmbench/generate_report.sh d /opt/benchmark/os/wr-lmbench/logs/lmbench${date}

cat /opt/benchmark/os/wr-lmbench/report.txt
Live chat
Online