ctimer test - random failures

I should start by saying that I haven't updated the SDK or the Ubuntu distribution since I received my board in May. (So apologies if I'm reporting a bug which has already been seen and fixed.) -
I'm getting weird behaviour with the ctimer example, in epiphany-examples. If I run it while logged in locally, it will quite often report no errors, but much of the time one or two cores will report some failures.
Curiously, if I log in via ssh and run it, then the failures are much more common. (More cores failing more of the time.)
Here is the output from a couple of sample runs via ssh -
- different cores affected, and reporting different figures.
I'm hoping this is indicative of a problem with the test code, rather than with my board. Does anyone else see similar behaviour?
I'm getting weird behaviour with the ctimer example, in epiphany-examples. If I run it while logged in locally, it will quite often report no errors, but much of the time one or two cores will report some failures.
Curiously, if I log in via ssh and run it, then the failures are much more common. (More cores failing more of the time.)
Here is the output from a couple of sample runs via ssh -
- Code: Select all
linaro-nano:~/Parallella/epiphany-examples/ctimer> ./run.sh
Message from eCore 0x808 ( 0, 0):
test02 CTimer passed!
Message from eCore 0x809 ( 0, 1):
test02 CTimer passed!
Message from eCore 0x80a ( 0, 2):
test02 CTimer passed!
Message from eCore 0x80b ( 0, 3):
test02 CTimer failed! cycles spent on event CLK is 534560 cycles! Expecting 565000 cycles!
test02 CTimer failed! cycles spent on event EXT_FETCH_STALLS is 480161 cycles! Expecting 510000 cycles!
test02 CTimer failed! Number of faults is 2!
Message from eCore 0x848 ( 1, 0):
test02 CTimer passed!
Message from eCore 0x849 ( 1, 1):
test02 CTimer passed!
Message from eCore 0x84a ( 1, 2):
test02 CTimer passed!
Message from eCore 0x84b ( 1, 3):
test02 CTimer failed! cycles spent on event CLK is 534816 cycles! Expecting 565000 cycles!
test02 CTimer failed! cycles spent on event EXT_FETCH_STALLS is 480849 cycles! Expecting 510000 cycles!
test02 CTimer failed! Number of faults is 2!
Message from eCore 0x888 ( 2, 0):
test02 CTimer passed!
Message from eCore 0x889 ( 2, 1):
test02 CTimer passed!
Message from eCore 0x88a ( 2, 2):
test02 CTimer passed!
Message from eCore 0x88b ( 2, 3):
test02 CTimer failed! cycles spent on event EXT_FETCH_STALLS is 484305 cycles! Expecting 510000 cycles!
test02 CTimer failed! Number of faults is 1!
Message from eCore 0x8c8 ( 3, 0):
test02 CTimer passed!
Message from eCore 0x8c9 ( 3, 1):
test02 CTimer passed!
Message from eCore 0x8ca ( 3, 2):
test02 CTimer failed! cycles spent on event CLK is 535280 cycles! Expecting 565000 cycles!
test02 CTimer failed! cycles spent on event EXT_FETCH_STALLS is 483025 cycles! Expecting 510000 cycles!
test02 CTimer failed! Number of faults is 2!
Message from eCore 0x8cb ( 3, 3):
test02 CTimer failed! cycles spent on event CLK is 535376 cycles! Expecting 565000 cycles!
test02 CTimer failed! cycles spent on event EXT_FETCH_STALLS is 480289 cycles! Expecting 510000 cycles!
test02 CTimer failed! Number of faults is 2!
linaro-nano:~/Parallella/epiphany-examples/ctimer>
- Code: Select all
linaro-nano:~/Parallella/epiphany-examples/ctimer> ./run.sh
Message from eCore 0x808 ( 0, 0):
test02 CTimer passed!
Message from eCore 0x809 ( 0, 1):
test02 CTimer passed!
Message from eCore 0x80a ( 0, 2):
test02 CTimer failed! cycles spent on event EXT_FETCH_STALLS is 484305 cycles! Expecting 510000 cycles!
test02 CTimer failed! Number of faults is 1!
Message from eCore 0x80b ( 0, 3):
test02 CTimer failed! cycles spent on event CLK is 534624 cycles! Expecting 565000 cycles!
test02 CTimer failed! cycles spent on event EXT_FETCH_STALLS is 480385 cycles! Expecting 510000 cycles!
test02 CTimer failed! Number of faults is 2!
Message from eCore 0x848 ( 1, 0):
test02 CTimer passed!
Message from eCore 0x849 ( 1, 1):
test02 CTimer passed!
Message from eCore 0x84a ( 1, 2):
test02 CTimer passed!
Message from eCore 0x84b ( 1, 3):
test02 CTimer failed! cycles spent on event CLK is 534576 cycles! Expecting 565000 cycles!
test02 CTimer failed! cycles spent on event EXT_FETCH_STALLS is 480929 cycles! Expecting 510000 cycles!
test02 CTimer failed! cycles spent on event EXT_LOAD_STALLS is 114156 cycles! Expecting 120500 cycles!
test02 CTimer failed! Number of faults is 3!
Message from eCore 0x888 ( 2, 0):
test02 CTimer passed!
Message from eCore 0x889 ( 2, 1):
test02 CTimer passed!
Message from eCore 0x88a ( 2, 2):
test02 CTimer failed! cycles spent on event EXT_FETCH_STALLS is 484481 cycles! Expecting 510000 cycles!
test02 CTimer failed! Number of faults is 1!
Message from eCore 0x88b ( 2, 3):
test02 CTimer passed!
Message from eCore 0x8c8 ( 3, 0):
test02 CTimer passed!
Message from eCore 0x8c9 ( 3, 1):
test02 CTimer passed!
Message from eCore 0x8ca ( 3, 2):
test02 CTimer failed! cycles spent on event CLK is 535968 cycles! Expecting 565000 cycles!
test02 CTimer failed! cycles spent on event EXT_FETCH_STALLS is 483745 cycles! Expecting 510000 cycles!
test02 CTimer failed! Number of faults is 2!
Message from eCore 0x8cb ( 3, 3):
test02 CTimer failed! cycles spent on event CLK is 534656 cycles! Expecting 565000 cycles!
test02 CTimer failed! cycles spent on event EXT_FETCH_STALLS is 480065 cycles! Expecting 510000 cycles!
test02 CTimer failed! cycles spent on event EXT_LOAD_STALLS is 114348 cycles! Expecting 120500 cycles!
test02 CTimer failed! Number of faults is 3!
- different cores affected, and reporting different figures.
I'm hoping this is indicative of a problem with the test code, rather than with my board. Does anyone else see similar behaviour?