Wind River Support Network


LIN6-11171 : system() calls become slower over usage

Created: May 5, 2016    Updated: Dec 3, 2018
Resolved Date: May 23, 2016
Found In Version:
Fix Version:
Severity: Critical
Applicable for: Wind River Linux 6
Component/s: Kernel


The time taken to return from a system() call gradually increases as more calls are made over time.

Steps to Reproduce

$ configure --enable-board=intel-x86-64 \
    --enable-rootfs=glibc_std --enable-kernel=standard \
    --with-package=gdb --enable-jobs=1 --enable-parallel-pkgbuilds=8 \
    --enable-rm-work=yes --enable-rm-oldimgs=yes \
    --enable-checkout-all-layers=yes --enable-reconfig \
    --enable-ccache=yes --with-ccache-dir=/path/to/ccache \
    --with-sstate-dir=/path/to/sstate --with-rcpl-version=0017
$ make fs

Deploy to target, eg matxm reference board.

Run the attached python test case:

# python

The delta time (column 2) shows a steadily increasing value (ignoring outliers).

Other Downloads

Live chat