Performance Test

From Yocto Project
Jump to navigationJump to search


1.4 Perfomance Data

Script used: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/tree/scripts/contrib/build-perf-test.sh?h=stefans/perf-test

System2: IvyBridge i7-3770K CPU @ 3.50GHz HT-enabled (4 cores/8 threads), 32GB RAM, 1 x 1 TB HDD, Fedora 18 x64 (with all updates available installed)

local.conf:

BB_NUMBER_THREADS = "8"
PARALLEL_MAKE = "-j 8"
MACHINE = "qemux86"
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K" 
CONF_VERSION = "1"
DL_DIR = "/data/yocto/poky/build-perf-test/downloads"


Results Feb 20, 2013:

Results feb 2013.png


Historical/obsolete data


Poky/Bitbake Performance:
Performance is an essential point for measuring the quality of a build system.
This page is to track performance trend of poky build. Detailed development work is on https://wiki.yoctoproject.org/wiki/Performance.

Hardware and software configuration:
CPU: 4-core * 2-threads Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz
Memory: 4GB
Harddisk: 1TB

OS: Ubuntu 11.10 x86_64
Kernel: 2.6.35-22

local.conf:
CONF_VERSION = "1"
DL_DIR ?= "/sda1/sources/downloads" # Using a local download dir to avoid fetch.
BB_NUMBER_THREADS = "8"
PARALLEL_MAKE = "-j 8"
MACHINE ?= "qemux86"
DISTRO ?= "poky"
BBMASK = ""
EXTRA_IMAGE_FEATURES = "debug-tweaks"
PACKAGE_CLASSES ?= "package_rpm"
USER_CLASSES ?= "image-mklibs image-prelink"
PACKAGE_DEBUG_SPLIT_STYLE = '.debug'
BBINCLUDELOGS = "yes"
ENABLE_BINARY_LOCALE_GENERATION = "1"
NO32LIBS = "1"

Build Performance Trend

Host Yocto1.3_M1-build Yocto1.2-M4-RC5-build Yocto1.2-M4-RC4-build Yocto1.2-M4-RC3-build Yocto1.2-M4-RC2-build Yocto1.2-M4-RC1-build Yocto1.2-M3-RC1-build Yocto1.2-M2-RC1-build Yocto1.2-M1-RC2-build Yocto1.1-M4-RC4-build Yocto1.1-M4-RC3-build Yocto1.1-M4-RC2-build Yocto1.1-M2-RC3-build (both rpm and ipk built by default)
Ubuntu11.10 x86_64 real 94m57s
user 388m51.720s
sys 48m34.660s
real 111m48.083s
user 381m29.410s
sys 46m52.080s
real 111m27.967s
user 383m32.690s
sys 46m41.830s
real 110m24.635s
user 381m29.740s
sys 46m32.430s
real 112m8.776s
user 379m10.670s
sys 47m19.270s
real 130m48.838s
user 370m56.000s
sys 45m36.060s
real 133m39.703s
user 371m37.450s
sys 46m57.510s
real 124m39s
user 373m16
sys 52m17s
real 104m24s
user 374m16s
real 50m 37s
real 119m31s
user 355m3s
sys 47m42s
real 127m33s
user 346m3s
sys 48m5s
real 124m54s
user 342m57s
sys 47m33s
real 109m53s
user 356m16s
sys 48m16s