diff options
-rw-r--r-- | build/conf/auto.conf | 42 | ||||
-rw-r--r-- | build/conf/bblayers.conf | 12 | ||||
-rw-r--r-- | build/conf/conf-notes.txt | 19 | ||||
-rw-r--r-- | build/conf/conf-summary.txt | 1 | ||||
-rw-r--r-- | build/conf/local.conf | 288 | ||||
-rw-r--r-- | build/conf/templateconf.cfg | 1 | ||||
-rw-r--r-- | metadata.json | 40 | ||||
-rw-r--r-- | oe-build-perf-test.log | 26 | ||||
-rw-r--r-- | results.json | 333 |
9 files changed, 762 insertions, 0 deletions
diff --git a/build/conf/auto.conf b/build/conf/auto.conf new file mode 100644 index 0000000000..d65b2e1d28 --- /dev/null +++ b/build/conf/auto.conf @@ -0,0 +1,42 @@ +MACHINE = "qemux86" +DISTRO = "poky" +SDKMACHINE = "x86_64" +PACKAGE_CLASSES = "package_rpm" +DL_DIR = '/srv/autobuilder/autobuilder.yocto.io/current_sources' +SSTATE_DIR ?= '/home/pokybuild/yocto-worker/buildperf-debian11/build/build/sstate' +BB_NUMBER_THREADS = '24' +BB_NUMBER_PARSE_THREADS = '24' +PARALLEL_MAKE = '-j 24' +DL_DIR = '/home/pokybuild/buildperf/downloads' +CONNECTIVITY_CHECK_URIS = '' +BB_HASHSERVE = 'auto' +BB_LOG_HOST_STAT_CMDS = '' +BB_SERVER_TIMEOUT = '0' +QEMU_USE_KVM = 'True' +INHERIT += 'report-error' +PREMIRRORS = '' +BB_GENERATE_MIRROR_TARBALLS = '1' +BB_PRESSURE_MAX_CPU = '20000' +BB_PRESSURE_MAX_IO = '20000' +XZ_MEMLIMIT = '5%' +XZ_THREADS = '8' +ZSTD_THREADS = '8' +BB_TASK_NICE_LEVEL = '5' +BB_TASK_NICE_LEVEL:task-testimage = '0' +BB_TASK_IONICE_LEVEL = '2.7' +BB_TASK_IONICE_LEVEL:task-testimage = '2.1' +IMAGE_CLASSES += 'testimage' +TEST_QEMUBOOT_TIMEOUT = '1500' +SANITY_TESTED_DISTROS = '' +SDK_EXT_TYPE = 'minimal' +SDK_INCLUDE_TOOLCHAIN = '1' +ESDK_LOCAL_CONF_REMOVE:append = 'BB_HASHSERVE' +BB_DISKMON_DIRS = 'STOPTASKS,${TMPDIR},1G,100K STOPTASKS,${DL_DIR},1G STOPTASKS,${SSTATE_DIR},1G STOPTASKS,/tmp,100M,30K HALT,${TMPDIR},100M,1K HALT,${DL_DIR},100M HALT,${SSTATE_DIR},100M HALT,/tmp,10M,1K' +RUNQEMU_TMPFS_DIR = '/home/pokybuild/tmp' +BB_HEARTBEAT_EVENT = '60' +BB_LOG_HOST_STAT_ON_INTERVAL = '1' +BB_LOG_HOST_STAT_CMDS_INTERVAL = 'oe-time-dd-test.sh -c 100 -t 3' +BB_LOG_HOST_STAT_ON_FAILURE = '1' +BB_LOG_HOST_STAT_CMDS_FAILURE = 'oe-time-dd-test.sh -l' +SDK_TOOLCHAIN_LANGS += 'rust' +BB_LOADFACTOR_MAX = '1.5' diff --git a/build/conf/bblayers.conf b/build/conf/bblayers.conf new file mode 100644 index 0000000000..86f400c683 --- /dev/null +++ b/build/conf/bblayers.conf @@ -0,0 +1,12 @@ +# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +POKY_BBLAYERS_CONF_VERSION = "2" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + /home/pokybuild/yocto-worker/buildperf-debian11/build/meta \ + /home/pokybuild/yocto-worker/buildperf-debian11/build/meta-poky \ + /home/pokybuild/yocto-worker/buildperf-debian11/build/meta-yocto-bsp \ + " diff --git a/build/conf/conf-notes.txt b/build/conf/conf-notes.txt new file mode 100644 index 0000000000..cfd1f1977b --- /dev/null +++ b/build/conf/conf-notes.txt @@ -0,0 +1,19 @@ + +### Shell environment set up for builds. ### + +You can now run 'bitbake <target>' + +Common targets are: + core-image-minimal + core-image-full-cmdline + core-image-sato + core-image-weston + meta-toolchain + meta-ide-support + +You can also run generated qemu images with a command like 'runqemu qemux86-64'. + +Other commonly useful commands are: + - 'devtool' and 'recipetool' handle common recipe tasks + - 'bitbake-layers' handles common layer tasks + - 'oe-pkgdata-util' handles common target package tasks diff --git a/build/conf/conf-summary.txt b/build/conf/conf-summary.txt new file mode 100644 index 0000000000..8fc03030c7 --- /dev/null +++ b/build/conf/conf-summary.txt @@ -0,0 +1 @@ +This is the default build configuration for the Poky reference distribution. diff --git a/build/conf/local.conf b/build/conf/local.conf new file mode 100644 index 0000000000..1a93c9bdcf --- /dev/null +++ b/build/conf/local.conf @@ -0,0 +1,288 @@ +# +# This file is your local configuration file and is where all local user settings +# are placed. The comments in this file give some guide to the options a new user +# to the system might want to change but pretty much any configuration option can +# be set in this file. More adventurous users can look at +# local.conf.sample.extended which contains other examples of configuration which +# can be placed in this file but new users likely won't need any of them +# initially. There's also site.conf.sample which contains examples of site specific +# information such as proxy server addresses. +# +# Lines starting with the '#' character are commented out and in some cases the +# default values are provided as comments to show people example syntax. Enabling +# the option is a question of removing the # character and making any change to the +# variable as required. + +# +# Machine Selection +# +# You need to select a specific machine to target the build with. There are a selection +# of emulated machines available which can boot and run in the QEMU emulator: +# +#MACHINE ?= "qemuarm" +#MACHINE ?= "qemuarm64" +#MACHINE ?= "qemumips" +#MACHINE ?= "qemumips64" +#MACHINE ?= "qemuppc" +#MACHINE ?= "qemux86" +#MACHINE ?= "qemux86-64" +# +# There are also the following hardware board target machines included for +# demonstration purposes: +# +#MACHINE ?= "beaglebone-yocto" +#MACHINE ?= "genericarm64" +#MACHINE ?= "genericx86" +#MACHINE ?= "genericx86-64" +# +# This sets the default machine to be qemux86-64 if no other machine is selected: +MACHINE ??= "qemux86-64" + +# These are some of the more commonly used values. Looking at the files in the +# meta/conf/machine directory, or the conf/machine directory of any additional layers +# you add in will show all the available machines. + +# +# Where to place downloads +# +# During a first build the system will download many different source code tarballs +# from various upstream projects. This can take a while, particularly if your network +# connection is slow. These are all stored in DL_DIR. When wiping and rebuilding you +# can preserve this directory to speed up this part of subsequent builds. This directory +# is safe to share between multiple builds on the same machine too. +# +# The default is a downloads directory under TOPDIR which is the build directory. +# +#DL_DIR ?= "${TOPDIR}/downloads" + +# +# Where to place shared-state files +# +# BitBake has the capability to accelerate builds based on previously built output. +# This is done using "shared state" files which can be thought of as cache objects +# and this option determines where those files are placed. +# +# You can wipe out TMPDIR leaving this directory intact and the build would regenerate +# from these files if no changes were made to the configuration. If changes were made +# to the configuration, only shared state files where the state was still valid would +# be used (done using checksums). +# +# The default is a sstate-cache directory under TOPDIR. +# +#SSTATE_DIR ?= "${TOPDIR}/sstate-cache" + +# +# Where to place the build output +# +# This option specifies where the bulk of the building work should be done and +# where BitBake should place its temporary files and output. Keep in mind that +# this includes the extraction and compilation of many applications and the toolchain +# which can use Gigabytes of hard disk space. +# +# The default is a tmp directory under TOPDIR. +# +#TMPDIR = "${TOPDIR}/tmp" + +# +# Default policy config +# +# The distribution setting controls which policy settings are used as defaults. +# The default value is fine for general Yocto project use, at least initially. +# Ultimately when creating custom policy, people will likely end up subclassing +# these defaults. +# +DISTRO ?= "poky" +# As an example of a subclass there is a "bleeding" edge policy configuration +# where many versions are set to the absolute latest code from the upstream +# source control systems. This is just mentioned here as an example, its not +# useful to most new users. +# DISTRO ?= "poky-bleeding" + +# +# Package Management configuration +# +# This variable lists which packaging formats to enable. Multiple package backends +# can be enabled at once and the first item listed in the variable will be used +# to generate the root filesystems. +# Options are: +# - 'package_deb' for debian style deb files +# - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager) +# - 'package_rpm' for rpm style packages +# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk" +# OE-Core defaults to ipkg, whilst Poky defaults to rpm: +# PACKAGE_CLASSES ?= "package_rpm" + +# +# SDK target architecture +# +# This variable specifies the architecture to build SDK items for and means +# you can build the SDK packages for architectures other than the machine you are +# running the build on (i.e. building i686 packages on an x86_64 host). +# Supported values are i686, x86_64, aarch64 +#SDKMACHINE ?= "i686" + +# +# Extra image configuration defaults +# +# The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated +# images. Some of these options are added to certain image types automatically. The +# variable can contain the following options: +# "dbg-pkgs" - add -dbg packages for all installed packages +# (adds symbol information for debugging/profiling) +# "src-pkgs" - add -src packages for all installed packages +# (adds source code for debugging) +# "dev-pkgs" - add -dev packages for all installed packages +# (useful if you want to develop against libs in the image) +# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages +# (useful if you want to run the package test suites) +# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.) +# "tools-debug" - add debugging tools (gdb, strace) +# "eclipse-debug" - add Eclipse remote debugging support +# "tools-profile" - add profiling tools (oprofile, lttng, valgrind) +# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.) +# "debug-tweaks" - make an image suitable for development +# e.g. ssh root access has a blank password +# There are other application targets that can be used here too, see +# meta/classes-recipe/image.bbclass and +# meta/classes-recipe/core-image.bbclass for more details. +# We default to enabling the debugging tweaks. +EXTRA_IMAGE_FEATURES ?= "debug-tweaks" + +# +# Additional image features +# +# The following is a list of additional classes to use when building images which +# enable extra features. Some available options which can be included in this variable +# are: +# - 'buildstats' collect build statistics +USER_CLASSES ?= "buildstats" + +# +# Runtime testing of images +# +# The build system can test booting virtual machine images under qemu (an emulator) +# after any root filesystems are created and run tests against those images. It can also +# run tests against any SDK that are built. To enable this uncomment these lines. +# See meta/classes-recipe/test{image,sdk}.bbclass for further details. +#IMAGE_CLASSES += "testimage testsdk" +#TESTIMAGE_AUTO:qemuall = "1" + +# +# Interactive shell configuration +# +# Under certain circumstances the system may need input from you and to do this it +# can launch an interactive shell. It needs to do this since the build is +# multithreaded and needs to be able to handle the case where more than one parallel +# process may require the user's attention. The default is iterate over the available +# terminal types to find one that works. +# +# Examples of the occasions this may happen are when resolving patches which cannot +# be applied, to use the devshell or the kernel menuconfig +# +# Supported values are auto, gnome, xfce, rxvt, screen, konsole (KDE 3.x only), none +# Note: currently, Konsole support only works for KDE 3.x due to the way +# newer Konsole versions behave +#OE_TERMINAL = "auto" +# By default disable interactive patch resolution (tasks will just fail instead): +PATCHRESOLVE = "noop" + +# +# Disk Space Monitoring during the build +# +# Monitor the disk space during the build. If there is less that 1GB of space or less +# than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully +# shutdown the build. If there is less than 100MB or 1K inodes, perform a hard halt +# of the build. The reason for this is that running completely out of space can corrupt +# files and damages the build in ways which may not be easily recoverable. +# It's necessary to monitor /tmp, if there is no space left the build will fail +# with very exotic errors. +BB_DISKMON_DIRS ??= "\ + STOPTASKS,${TMPDIR},1G,100K \ + STOPTASKS,${DL_DIR},1G,100K \ + STOPTASKS,${SSTATE_DIR},1G,100K \ + STOPTASKS,/tmp,100M,100K \ + HALT,${TMPDIR},100M,1K \ + HALT,${DL_DIR},100M,1K \ + HALT,${SSTATE_DIR},100M,1K \ + HALT,/tmp,10M,1K" + +# +# Shared-state files from other locations +# +# As mentioned above, shared state files are prebuilt cache data objects which can be +# used to accelerate build time. This variable can be used to configure the system +# to search other mirror locations for these objects before it builds the data itself. +# +# This can be a filesystem directory, or a remote url such as https or ftp. These +# would contain the sstate-cache results from previous builds (possibly from other +# machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the +# cache locations to check for the shared objects. +# NOTE: if the mirror uses the same structure as SSTATE_DIR, you need to add PATH +# at the end as shown in the examples below. This will be substituted with the +# correct path within the directory structure. +#SSTATE_MIRRORS ?= "\ +#file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \ +#file://.* file:///some/local/dir/sstate/PATH" + +# +# Yocto Project SState Mirror +# +# The Yocto Project has prebuilt artefacts available for its releases, you can enable +# use of these by uncommenting some of the following lines. This will mean the build uses +# the network to check for artefacts at the start of builds, which does slow it down +# initially but it will then speed up the builds by not having to build things if they are +# present in the cache. It assumes you can download something faster than you can build it +# which will depend on your network. +# Note: For this to work you also need hash-equivalence passthrough to the matching server +# There is a choice between our sstate server directly and a faster content delivery network +# (CDN) kindly provided by JSDelivr, uncomment one of the SSTATE_MIRRORS lines, not both. +# Using the CDN rather than the yoctoproject.org address is suggested/preferred. +# +#BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687" +#SSTATE_MIRRORS ?= "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH" +# +###SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH" + + +# +# Qemu configuration +# +# By default native qemu will build with a builtin VNC server where graphical output can be +# seen. The line below enables the SDL UI frontend too. +PACKAGECONFIG:append:pn-qemu-system-native = " sdl" +# By default libsdl2-native will be built, if you want to use your host's libSDL instead of +# the minimal libsdl built by libsdl2-native then uncomment the ASSUME_PROVIDED line below. +#ASSUME_PROVIDED += "libsdl2-native" + +# You can also enable the Gtk UI frontend, which takes somewhat longer to build, but adds +# a handy set of menus for controlling the emulator. +#PACKAGECONFIG:append:pn-qemu-system-native = " gtk+" + +# +# Hash Equivalence +# +# Enable support for automatically running a local hash equivalence server and +# instruct bitbake to use a hash equivalence aware signature generator. Hash +# equivalence improves reuse of sstate by detecting when a given sstate +# artifact can be reused as equivalent, even if the current task hash doesn't +# match the one that generated the artifact. +# +# A shared hash equivalent server can be set with "<HOSTNAME>:<PORT>" format +# +#BB_HASHSERVE = "auto" +#BB_SIGNATURE_HANDLER = "OEEquivHash" + +# +# Memory Resident Bitbake +# +# Bitbake's server component can stay in memory after the UI for the current command +# has completed. This means subsequent commands can run faster since there is no need +# for bitbake to reload cache files and so on. Number is in seconds, after which the +# server will shut down. +# +#BB_SERVER_TIMEOUT = "60" + +# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to +# track the version of this file when it was generated. This can safely be ignored if +# this doesn't mean anything to you. +CONF_VERSION = "2" diff --git a/build/conf/templateconf.cfg b/build/conf/templateconf.cfg new file mode 100644 index 0000000000..0fcf0ffc65 --- /dev/null +++ b/build/conf/templateconf.cfg @@ -0,0 +1 @@ +meta-poky/conf/templates/default diff --git a/metadata.json b/metadata.json new file mode 100644 index 0000000000..f99f468199 --- /dev/null +++ b/metadata.json @@ -0,0 +1,40 @@ +{ + "hostname": "ubuntu2204-vk-2", + "distro": { + "id": "poky", + "version_id": "5.0+snapshot-e17262563901a301f59710886f0f18070c1968a9", + "pretty_name": "poky 5.0+snapshot-e17262563901a301f59710886f0f18070c1968a9" + }, + "host_distro": { + "id": "ubuntu", + "version_id": "22.04", + "pretty_name": "Ubuntu 22.04.4 LTS" + }, + "layers": { + "meta": { + "commit": "e17262563901a301f59710886f0f18070c1968a9", + "commit_count": 74345, + "branch": "master" + }, + "meta-poky": { + "commit": "e17262563901a301f59710886f0f18070c1968a9", + "commit_count": 74345, + "branch": "master" + }, + "meta-yocto-bsp": { + "commit": "e17262563901a301f59710886f0f18070c1968a9", + "commit_count": 74345, + "branch": "master" + } + }, + "bitbake": { + "commit": "e17262563901a301f59710886f0f18070c1968a9", + "commit_count": 74345, + "branch": "master" + }, + "config": { + "BB_NUMBER_THREADS": "24", + "MACHINE": "qemux86", + "PARALLEL_MAKE": "-j 24" + } +}
\ No newline at end of file diff --git a/oe-build-perf-test.log b/oe-build-perf-test.log new file mode 100644 index 0000000000..824cbd6dd9 --- /dev/null +++ b/oe-build-perf-test.log @@ -0,0 +1,26 @@ +[2024-05-02 11:20:47,483] INFO: Testing Git revision branch:commit master:e17262563901a301f59710886f0f18070c1968a9 (74345) +[2024-05-02 11:20:47,484] INFO: Executing test test1: Build core-image-sato +[2024-05-02 11:20:47,484] INFO: Logging command: bitbake core-image-sato --runall=fetch +[2024-05-02 11:21:13,148] INFO: Timing command: bitbake core-image-sato +[2024-05-02 11:51:54,949] INFO: Saving buildstats in JSON format +[2024-05-02 11:52:30,499] INFO: Executing test test12: Build virtual/kernel +[2024-05-02 11:52:30,500] INFO: Logging command: bitbake virtual/kernel --runall=fetch +[2024-05-02 11:52:34,144] INFO: Logging command: bitbake virtual/kernel +[2024-05-02 11:52:37,905] INFO: Logging command: bitbake virtual/kernel -c cleansstate +[2024-05-02 11:53:39,735] INFO: Timing command: bitbake virtual/kernel +[2024-05-02 11:59:41,402] INFO: Executing test test13: Build core-image-sato with rm_work enabled +[2024-05-02 11:59:41,402] INFO: Logging command: bitbake core-image-sato --runall=fetch +[2024-05-02 12:04:48,064] INFO: Timing command: bitbake -R /home/pokybuild/build-perf-test/results-e172625639-20240502112034/test13.tmp/postfile.conf core-image-sato +[2024-05-02 13:27:06,064] INFO: Saving buildstats in JSON format +[2024-05-02 13:27:11,896] INFO: Executing test test2: Run core-image-sato do_rootfs with sstate +[2024-05-02 13:27:11,896] INFO: Logging command: bitbake core-image-sato --runall=fetch +[2024-05-02 13:27:52,001] INFO: Logging command: bitbake core-image-sato +[2024-05-02 13:30:13,816] INFO: Timing command: bitbake core-image-sato -c rootfs +[2024-05-02 13:32:53,973] INFO: Executing test test3: Bitbake parsing (bitbake -p) +[2024-05-02 13:32:53,980] INFO: Timing command: bitbake -p +[2024-05-02 13:33:13,379] INFO: Timing command: bitbake -p +[2024-05-02 13:33:30,309] INFO: Timing command: bitbake -p +[2024-05-02 13:33:32,365] INFO: Executing test test4: eSDK metrics +[2024-05-02 13:33:32,365] INFO: Logging command: bitbake core-image-sato --runall=fetch +[2024-05-02 13:33:48,864] INFO: Logging command: bitbake -c do_populate_sdk_ext core-image-sato +[2024-05-02 13:50:09,524] INFO: Timing command: /home/pokybuild/build-perf-test/build-e172625639-20240502112034/tmp/deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-32-qemux86-toolchain-ext-5.0+snapshot.sh -y -d /home/pokybuild/build-perf-test/build-e172625639-20240502112034/tmp/esdk-deploy diff --git a/results.json b/results.json new file mode 100644 index 0000000000..bd83ea7553 --- /dev/null +++ b/results.json @@ -0,0 +1,333 @@ +{ + "tester_host": "ubuntu2204-vk-2", + "start_time": 1714641647.484669, + "elapsed_time": 9023.047202, + "tests": { + "test1": { + "name": "test1", + "description": "Build core-image-sato", + "status": "SUCCESS", + "start_time": 1714648847.484705, + "elapsed_time": 1903.015066, + "measurements": { + "build": { + "type": "sysres", + "name": "build", + "legend": "bitbake core-image-sato", + "values": { + "start_time": 1714648873.153207, + "elapsed_time": 1841.786052, + "rusage": { + "ru_utime": 27.01285, + "ru_stime": 3.66348, + "ru_maxrss": 62216, + "ru_minflt": 13328, + "ru_majflt": 35, + "ru_inblock": 16312, + "ru_oublock": 8464, + "ru_nvcsw": 422651, + "ru_nivcsw": 24171 + }, + "iostat": { + "rchar": 98733342, + "wchar": 6463636, + "syscr": 345564, + "syscw": 62458, + "read_bytes": 8351744, + "write_bytes": 4333568, + "cancelled_write_bytes": 0 + } + } + }, + "tmpdir": { + "type": "diskusage", + "name": "tmpdir", + "legend": "tmpdir", + "values": { + "size": 96444040 + } + }, + "rootfs": { + "type": "diskusage", + "name": "rootfs", + "legend": "rootfs", + "values": { + "size": 346523 + } + } + } + }, + "test12": { + "name": "test12", + "description": "Build virtual/kernel", + "status": "SUCCESS", + "start_time": 1714650750.499823, + "elapsed_time": 430.902467, + "measurements": { + "build": { + "type": "sysres", + "name": "build", + "legend": "bitbake virtual/kernel", + "values": { + "start_time": 1714650819.738659, + "elapsed_time": 361.656389, + "rusage": { + "ru_utime": 1.173417, + "ru_stime": 0.221181, + "ru_maxrss": 95292, + "ru_minflt": 13289, + "ru_majflt": 0, + "ru_inblock": 4072, + "ru_oublock": 280, + "ru_nvcsw": 26103, + "ru_nivcsw": 262 + }, + "iostat": { + "rchar": 8012015, + "wchar": 98223, + "syscr": 13374, + "syscw": 262, + "read_bytes": 2084864, + "write_bytes": 143360, + "cancelled_write_bytes": 0 + } + } + } + } + }, + "test13": { + "name": "test13", + "description": "Build core-image-sato with rm_work enabled", + "status": "SUCCESS", + "start_time": 1714651181.402377, + "elapsed_time": 5250.493606, + "measurements": { + "build": { + "type": "sysres", + "name": "build", + "legend": "bitbakecore-image-sato", + "values": { + "start_time": 1714651488.067866, + "elapsed_time": 4937.979574, + "rusage": { + "ru_utime": 31.784533, + "ru_stime": 4.318233, + "ru_maxrss": 99908, + "ru_minflt": 13337, + "ru_majflt": 24, + "ru_inblock": 13960, + "ru_oublock": 10096, + "ru_nvcsw": 438637, + "ru_nivcsw": 31062 + }, + "iostat": { + "rchar": 102789383, + "wchar": 7291445, + "syscr": 359113, + "syscw": 69444, + "read_bytes": 7147520, + "write_bytes": 5169152, + "cancelled_write_bytes": 0 + } + } + }, + "tmpdir": { + "type": "diskusage", + "name": "tmpdir", + "legend": "tmpdir", + "values": { + "size": 17237992 + } + } + } + }, + "test2": { + "name": "test2", + "description": "Run core-image-sato do_rootfs with sstate", + "status": "SUCCESS", + "start_time": 1714656431.896074, + "elapsed_time": 342.076828, + "measurements": { + "do_rootfs": { + "type": "sysres", + "name": "do_rootfs", + "legend": "bitbake do_rootfs", + "values": { + "start_time": 1714656613.82065, + "elapsed_time": 160.142318, + "rusage": { + "ru_utime": 3.251318, + "ru_stime": 0.681676, + "ru_maxrss": 136344, + "ru_minflt": 13305, + "ru_majflt": 0, + "ru_inblock": 4136, + "ru_oublock": 2328, + "ru_nvcsw": 59537, + "ru_nivcsw": 6259 + }, + "iostat": { + "rchar": 16378301, + "wchar": 2292398, + "syscr": 54087, + "syscw": 20145, + "read_bytes": 2117632, + "write_bytes": 1191936, + "cancelled_write_bytes": 0 + } + } + } + } + }, + "test3": { + "name": "test3", + "description": "Bitbake parsing (bitbake -p)", + "status": "SUCCESS", + "start_time": 1714656773.97299, + "elapsed_time": 38.39261, + "measurements": { + "parse_1": { + "type": "sysres", + "name": "parse_1", + "legend": "bitbake -p (no caches)", + "values": { + "start_time": 1714656773.984302, + "elapsed_time": 19.382514, + "rusage": { + "ru_utime": 0.230787, + "ru_stime": 0.034799, + "ru_maxrss": 135236, + "ru_minflt": 13266, + "ru_majflt": 0, + "ru_inblock": 0, + "ru_oublock": 144, + "ru_nvcsw": 362, + "ru_nivcsw": 4 + }, + "iostat": { + "rchar": 5287275, + "wchar": 74066, + "syscr": 1030, + "syscw": 30, + "read_bytes": 0, + "write_bytes": 73728, + "cancelled_write_bytes": 0 + } + } + }, + "parse_2": { + "type": "sysres", + "name": "parse_2", + "legend": "bitbake -p (no tmp/cache)", + "values": { + "start_time": 1714656793.384356, + "elapsed_time": 16.918399, + "rusage": { + "ru_utime": 0.232368, + "ru_stime": 0.025519, + "ru_maxrss": 135236, + "ru_minflt": 13262, + "ru_majflt": 0, + "ru_inblock": 0, + "ru_oublock": 144, + "ru_nvcsw": 392, + "ru_nivcsw": 1 + }, + "iostat": { + "rchar": 5287275, + "wchar": 74066, + "syscr": 1030, + "syscw": 30, + "read_bytes": 0, + "write_bytes": 73728, + "cancelled_write_bytes": 0 + } + } + }, + "parse_3": { + "type": "sysres", + "name": "parse_3", + "legend": "bitbake -p (cached)", + "values": { + "start_time": 1714656810.311532, + "elapsed_time": 2.047251, + "rusage": { + "ru_utime": 0.290831, + "ru_stime": 0.050334, + "ru_maxrss": 135236, + "ru_minflt": 13266, + "ru_majflt": 0, + "ru_inblock": 0, + "ru_oublock": 144, + "ru_nvcsw": 5373, + "ru_nivcsw": 5 + }, + "iostat": { + "rchar": 5525586, + "wchar": 73941, + "syscr": 4570, + "syscw": 28, + "read_bytes": 0, + "write_bytes": 73728, + "cancelled_write_bytes": 0 + } + } + } + } + }, + "test4": { + "name": "test4", + "description": "eSDK metrics", + "status": "SUCCESS", + "start_time": 1714656812.365679, + "elapsed_time": 1058.166083, + "measurements": { + "installer_bin": { + "type": "diskusage", + "name": "installer_bin", + "legend": "eSDK installer", + "values": { + "size": 426411 + } + }, + "deploy": { + "type": "sysres", + "name": "deploy", + "legend": "eSDK deploy", + "values": { + "start_time": 1714657809.528976, + "elapsed_time": 48.443486, + "rusage": { + "ru_utime": 12.127156, + "ru_stime": 3.721571, + "ru_maxrss": 136920, + "ru_minflt": 258960, + "ru_majflt": 46, + "ru_inblock": 875664, + "ru_oublock": 1487472, + "ru_nvcsw": 169047, + "ru_nivcsw": 42217 + }, + "iostat": { + "rchar": 2511835951, + "wchar": 2381023320, + "syscr": 382586, + "syscw": 1205932, + "read_bytes": 448339968, + "write_bytes": 761585664, + "cancelled_write_bytes": 737280 + } + } + }, + "deploy_dir": { + "type": "diskusage", + "name": "deploy_dir", + "legend": "deploy dir", + "values": { + "size": 2471673 + } + } + } + } + } +}
\ No newline at end of file |