]> rtime.felk.cvut.cz Git - can-benchmark.git/log
can-benchmark.git
10 years agoAdd readnb-noirq test + make bench-all.sh faster
Michal Sojka [Sun, 19 Jan 2014 19:13:31 +0000 (20:13 +0100)]
Add readnb-noirq test + make bench-all.sh faster

10 years agoMore fixes for new novaboot
Michal Sojka [Sun, 19 Jan 2014 19:12:28 +0000 (20:12 +0100)]
More fixes for new novaboot

10 years agoRecvmmsg: it is sufficient to have only 100 measurements
Michal Sojka [Sun, 19 Jan 2014 16:15:52 +0000 (17:15 +0100)]
Recvmmsg: it is sufficient to have only 100 measurements

10 years agoUpdate boot scripts to the new novaboot syntax
Michal Sojka [Sun, 19 Jan 2014 16:15:19 +0000 (17:15 +0100)]
Update boot scripts to the new novaboot syntax

10 years agoAdd remaining uncommitted files
Michal Sojka [Wed, 15 Jan 2014 13:03:53 +0000 (14:03 +0100)]
Add remaining uncommitted files

10 years agoIgnore measured data
Michal Sojka [Tue, 14 Jan 2014 13:03:14 +0000 (14:03 +0100)]
Ignore measured data

10 years agoPlot frame loss and sort columns always the same
Michal Sojka [Tue, 14 Jan 2014 13:00:35 +0000 (14:00 +0100)]
Plot frame loss and sort columns always the same

10 years agoBoot linux quietly - it's faster
Michal Sojka [Tue, 14 Jan 2014 12:59:48 +0000 (13:59 +0100)]
Boot linux quietly - it's faster

10 years agoAdd mmap-mmap test and store data in directory according to the traffic type
Michal Sojka [Tue, 14 Jan 2014 12:59:26 +0000 (13:59 +0100)]
Add mmap-mmap test and store data in directory according to the traffic type

10 years agoAdd readnb test
Michal Sojka [Tue, 14 Jan 2014 11:38:42 +0000 (12:38 +0100)]
Add readnb test

10 years agoFix periodic mode in latester
Michal Sojka [Tue, 14 Jan 2014 15:04:58 +0000 (16:04 +0100)]
Fix periodic mode in latester

In previous versions periodic mode was broken and messages were note
sent periodically. The reason was that time to next period was advanced
with every return of ppoll(), not only with ppoll() timeouts.

10 years agougw: Use send() instead of poll() in mmap()-based TX
Michal Sojka [Tue, 14 Jan 2014 10:48:17 +0000 (11:48 +0100)]
ugw: Use send() instead of poll() in mmap()-based TX

Send should block as well and if there were no previous send request
poll would deadlock.

10 years agougw: Make PF_PACKET frames smaller
Michal Sojka [Tue, 14 Jan 2014 10:29:19 +0000 (11:29 +0100)]
ugw: Make PF_PACKET frames smaller

To have space for more packets.

10 years agougw: Remove debug printf
Michal Sojka [Tue, 14 Jan 2014 10:25:31 +0000 (11:25 +0100)]
ugw: Remove debug printf

10 years agougw: Add statistics
Michal Sojka [Tue, 14 Jan 2014 10:17:16 +0000 (11:17 +0100)]
ugw: Add statistics

10 years agougw: Add nonblocking mode
Michal Sojka [Tue, 14 Jan 2014 10:17:01 +0000 (11:17 +0100)]
ugw: Add nonblocking mode

10 years agoStop on error
Michal Sojka [Mon, 13 Jan 2014 17:28:19 +0000 (18:28 +0100)]
Stop on error

10 years agoScripts for running all experiments, getting and processing results
Michal Sojka [Mon, 13 Jan 2014 17:16:09 +0000 (18:16 +0100)]
Scripts for running all experiments, getting and processing results

10 years agoAdd column with routing delay
Michal Sojka [Mon, 13 Jan 2014 13:57:21 +0000 (14:57 +0100)]
Add column with routing delay

Now, it is no longer needed to calculate it in gnuplot.

10 years agoFix warnings in latester when compiled with -Wall
Michal Sojka [Mon, 13 Jan 2014 13:50:55 +0000 (14:50 +0100)]
Fix warnings in latester when compiled with -Wall

10 years agoUpdate to kernel with busy_poll support
Michal Sojka [Sun, 12 Jan 2014 23:32:35 +0000 (00:32 +0100)]
Update to kernel with busy_poll support

10 years agorootfs: Add dropbear
Michal Sojka [Sun, 12 Jan 2014 23:27:01 +0000 (00:27 +0100)]
rootfs: Add dropbear

... to quickly copy out ftrace traces.

10 years agokernel 3.12: Add Ethernet driver, remove not useful stuff (sound, ...)
Michal Sojka [Sun, 12 Jan 2014 23:26:14 +0000 (00:26 +0100)]
kernel 3.12: Add Ethernet driver, remove not useful stuff (sound, ...)

10 years agoAdded ftrace config (commented oud)
Michal Sojka [Sun, 12 Jan 2014 23:24:13 +0000 (00:24 +0100)]
Added ftrace config (commented oud)

10 years agoAttempt to add busy_poll support for mmap RX
Michal Sojka [Sun, 12 Jan 2014 23:17:52 +0000 (00:17 +0100)]
Attempt to add busy_poll support for mmap RX

This is not supported by PF_PACKET sockets so there is no change in
performance.

10 years agoImplement busy_poll (aka low latency) for read method
Michal Sojka [Sun, 12 Jan 2014 22:47:34 +0000 (23:47 +0100)]
Implement busy_poll (aka low latency) for read method

10 years agoMake latester on glab SUID root
Michal Sojka [Sun, 12 Jan 2014 09:27:55 +0000 (10:27 +0100)]
Make latester on glab SUID root

Sudo sucks there.

10 years agoAllow passing options to ugw via kernel command line
Michal Sojka [Sun, 12 Jan 2014 09:27:03 +0000 (10:27 +0100)]
Allow passing options to ugw via kernel command line

Kernel command line can be easily set with novaboot "-a" option.

10 years agommap()-based TX works now
Michal Sojka [Sun, 12 Jan 2014 09:26:05 +0000 (10:26 +0100)]
mmap()-based TX works now

10 years agoAdd mmap()-based TX method - it doesn't work (yet?)
Michal Sojka [Sat, 11 Jan 2014 22:36:10 +0000 (23:36 +0100)]
Add mmap()-based TX method - it doesn't work (yet?)

10 years agoAdd PF_PACKET + mmap() support for RX in ugw
Michal Sojka [Sat, 11 Jan 2014 20:25:58 +0000 (21:25 +0100)]
Add PF_PACKET + mmap() support for RX in ugw

10 years agoCompile with -Wall -O2
Michal Sojka [Sat, 11 Jan 2014 20:23:49 +0000 (21:23 +0100)]
Compile with -Wall -O2

10 years agoAdd novaboot script to boot rtems gateway
Michal Sojka [Sat, 11 Jan 2014 14:55:36 +0000 (15:55 +0100)]
Add novaboot script to boot rtems gateway

10 years agoUpdate configuration to work with RTEMS Debian packages from rtime
Michal Sojka [Sat, 11 Jan 2014 14:55:10 +0000 (15:55 +0100)]
Update configuration to work with RTEMS Debian packages from rtime

10 years agoRename config.omk to config.target (the recommended OMK naming)
Michal Sojka [Sat, 11 Jan 2014 14:31:51 +0000 (15:31 +0100)]
Rename config.omk to config.target (the recommended OMK naming)

10 years agoAdd forgotten files needed for buildroot build
Michal Sojka [Sat, 11 Jan 2014 08:35:23 +0000 (09:35 +0100)]
Add forgotten files needed for buildroot build

10 years agoAdd a simple script for performing gateway benchmarks
Michal Sojka [Fri, 10 Jan 2014 18:12:43 +0000 (19:12 +0100)]
Add a simple script for performing gateway benchmarks

10 years agoRemove debugging prints from canframelen
Michal Sojka [Fri, 10 Jan 2014 11:49:31 +0000 (12:49 +0100)]
Remove debugging prints from canframelen

10 years agoWorking version of bit stuffing calculator
Michal Sojka [Fri, 10 Jan 2014 11:40:07 +0000 (12:40 +0100)]
Working version of bit stuffing calculator

10 years agoCommit not-finished state of frame length calculation
Michal Sojka [Wed, 8 Jan 2014 17:28:03 +0000 (18:28 +0100)]
Commit not-finished state of frame length calculation

CRC calculation works for both SFF and EFF frames (tested with
osciloscope). Stuff bit calculation needs to be updated.

10 years agoRemove stale comment
Michal Sojka [Tue, 7 Jan 2014 14:46:58 +0000 (15:46 +0100)]
Remove stale comment

10 years agoAdd iproute2 to the rootfs - it is needed for CAN initialization
Michal Sojka [Tue, 7 Jan 2014 14:21:00 +0000 (15:21 +0100)]
Add iproute2 to the rootfs - it is needed for CAN initialization

10 years agoAdd a simple user space gateway for measuring routing latencies
Michal Sojka [Tue, 7 Jan 2014 14:20:04 +0000 (15:20 +0100)]
Add a simple user space gateway for measuring routing latencies

10 years agoUse new novaboot feature EXITON
Michal Sojka [Mon, 6 Jan 2014 16:44:34 +0000 (17:44 +0100)]
Use new novaboot feature EXITON

10 years agoAdd scripts for running the benchmark on PowerPC
Michal Sojka [Mon, 6 Jan 2014 16:04:46 +0000 (17:04 +0100)]
Add scripts for running the benchmark on PowerPC

10 years agoBuild recvmmsg also for PowerPC
Michal Sojka [Mon, 6 Jan 2014 13:51:00 +0000 (14:51 +0100)]
Build recvmmsg also for PowerPC

10 years agoFix OMK bug
Michal Sojka [Mon, 6 Jan 2014 13:50:03 +0000 (14:50 +0100)]
Fix OMK bug

10 years agoRename .empty to .gitignore
Michal Sojka [Mon, 6 Jan 2014 13:49:50 +0000 (14:49 +0100)]
Rename .empty to .gitignore

10 years agoFinish recvmmsg() benchmark
Michal Sojka [Mon, 6 Jan 2014 12:39:13 +0000 (13:39 +0100)]
Finish recvmmsg() benchmark

10 years agoInitial version of recvmmsg benchmark
Michal Sojka [Fri, 3 Jan 2014 16:50:02 +0000 (17:50 +0100)]
Initial version of recvmmsg benchmark

10 years agoUpdate Makefile.rules
Michal Sojka [Fri, 3 Jan 2014 15:40:57 +0000 (16:40 +0100)]
Update Makefile.rules

10 years agoAdd 3.12 kernel for Shark/Ryu board
Michal Sojka [Fri, 6 Dec 2013 01:26:26 +0000 (17:26 -0800)]
Add 3.12 kernel for Shark/Ryu board

10 years agoCopy shark kernel to boot/images directory
Michal Sojka [Thu, 21 Nov 2013 22:58:04 +0000 (23:58 +0100)]
Copy shark kernel to boot/images directory

10 years agoUse OSELAS toolchain to for kernel builds
Michal Sojka [Thu, 21 Nov 2013 22:31:28 +0000 (23:31 +0100)]
Use OSELAS toolchain to for kernel builds

10 years agoAdd buildroot configuration for building the root filesystem
Michal Sojka [Thu, 21 Nov 2013 22:19:41 +0000 (23:19 +0100)]
Add buildroot configuration for building the root filesystem

This requires oselas toolchain (packaged by Pengutronix as
oselas.toolchain-2012.12.1-powerpc-603e-linux-gnu-gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized
Debian package).

10 years agoAdd novaboot script
Michal Sojka [Thu, 21 Nov 2013 23:32:37 +0000 (00:32 +0100)]
Add novaboot script

10 years agoSimplify writing CRC to the bitmap
Michal Sojka [Wed, 6 Nov 2013 18:00:48 +0000 (19:00 +0100)]
Simplify writing CRC to the bitmap

10 years agoAnother bug
Michal Sojka [Wed, 6 Nov 2013 17:54:04 +0000 (18:54 +0100)]
Another bug

10 years agoData bytes must not be converted to big endian
Michal Sojka [Wed, 6 Nov 2013 17:46:23 +0000 (18:46 +0100)]
Data bytes must not be converted to big endian

I don't know why I did that before :-o

10 years agoCRC must be shifted before conversion to big endian, not after
Michal Sojka [Wed, 6 Nov 2013 17:40:48 +0000 (18:40 +0100)]
CRC must be shifted before conversion to big endian, not after

10 years agoAdd comments about CAN frame layout in bitmap
Michal Sojka [Wed, 6 Nov 2013 17:32:50 +0000 (18:32 +0100)]
Add comments about CAN frame layout in bitmap

This revealed that for EFF frames, the calculation is broken. This needs
to be fixed.

10 years agoCalculate stuff bits also for CRC; Fix '=' instead of '=='
Vojtěch Drbohlav [Wed, 30 Oct 2013 13:05:31 +0000 (14:05 +0100)]
Calculate stuff bits also for CRC; Fix '=' instead of '=='

[Commit message edited by Michal Sojka]

10 years agoFix compiler warnings
Michal Sojka [Tue, 5 Nov 2013 09:38:20 +0000 (10:38 +0100)]
Fix compiler warnings

10 years agoAdd a CC license
Michal Sojka [Tue, 17 Sep 2013 12:21:45 +0000 (14:21 +0200)]
Add a CC license

10 years agoAdd horenmar as a co-author
Michal Sojka [Tue, 17 Sep 2013 12:10:51 +0000 (14:10 +0200)]
Add horenmar as a co-author

10 years agoAdd vcanbench tool
Michal Sojka [Tue, 17 Sep 2013 11:43:21 +0000 (13:43 +0200)]
Add vcanbench tool

I forgot to commit this tool when I created it yeas ago. If I remember well
it can be used to measure performance of vcan interfaces.

10 years agoMake pdf plots colorful (for web)
Michal Sojka [Tue, 17 Sep 2013 11:41:06 +0000 (13:41 +0200)]
Make pdf plots colorful (for web)

10 years agoAllow calling `make html` when results is a symlink
Michal Sojka [Tue, 17 Sep 2013 11:10:16 +0000 (13:10 +0200)]
Allow calling `make html` when results is a symlink

10 years agoChanged all (I think) files using CRLF to use LF.
Martin Hořeňovský [Mon, 16 Sep 2013 19:01:56 +0000 (21:01 +0200)]
Changed all (I think) files using CRLF to use LF.

10 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/can-benchmark
Martin Hořeňovský [Mon, 16 Sep 2013 18:49:36 +0000 (20:49 +0200)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/can-benchmark

10 years agoAdds app_def header, which defines symbols for cond. compiling.
Martin Hořeňovský [Mon, 16 Sep 2013 18:47:52 +0000 (20:47 +0200)]
Adds app_def header, which defines symbols for cond. compiling.

Makefile modified to include it.

10 years agoAllow results directory to be symlink
Michal Sojka [Mon, 16 Sep 2013 15:48:33 +0000 (17:48 +0200)]
Allow results directory to be symlink

10 years agoModified .gitignore to include directories created by omk.
Martin Hořeňovský [Mon, 16 Sep 2013 15:34:56 +0000 (17:34 +0200)]
Modified .gitignore to include directories created by omk.

*_compile and *_build are part of the omk build process.

10 years agoFixed prefix for rtems.cfg.
Martin Hořeňovský [Mon, 16 Sep 2013 15:23:00 +0000 (17:23 +0200)]
Fixed prefix for rtems.cfg.

Standard rtems prefix is /opt/rtems<version> and not /opt/rtems-<version>,
which would break GNU triplets.

10 years agoEnables conditional compilation for gateway itself.
Martin Hořeňovský [Mon, 16 Sep 2013 14:45:36 +0000 (16:45 +0200)]
Enables conditional compilation for gateway itself.

Added highprio option -- posix thread that works as the GW receives higher priority
than other "userspace" thread/tasks.
Also closes off various debug counters behind conditional compilation if benchbuild
is enabled.

10 years agoAdds conditional compilation for benchmarking and shell initialization cleanup.
Martin Hořeňovský [Mon, 16 Sep 2013 14:33:46 +0000 (16:33 +0200)]
Adds conditional compilation for benchmarking and shell initialization cleanup.

Original code for shell initialization was a mess, now it uses RTEMS standard way
and adds user defined commands properly.

10 years agoCosmetic changes to load.c, load.h. Adds and cleans up comments.
Martin Hořeňovský [Mon, 16 Sep 2013 14:30:15 +0000 (16:30 +0200)]
Cosmetic changes to load.c, load.h. Adds and cleans up comments.

10 years agoMinor, mostly cosmetic, changes to RTEMS bench scripts.
Martin Hořeňovský [Mon, 16 Sep 2013 14:20:26 +0000 (16:20 +0200)]
Minor, mostly cosmetic, changes to RTEMS bench scripts.

Updated docstrings, removed out of date comments, added some new ones.

10 years agoAdds RTEMS target to makefile and associated Python scripts.
Martin Hořeňovský [Mon, 16 Sep 2013 13:07:09 +0000 (15:07 +0200)]
Adds RTEMS target to makefile and associated Python scripts.

The bash scripts made too many assumptions about target (namely, that it is linux)
so it was easier to write a replacement to support RTEMS. Currently targets Python 3+,
but with minimal changes (print and shebang) can run on Python 2.6+.

10 years agoChanged graphs to be more internally consistent.
Martin Hořeňovský [Wed, 11 Sep 2013 14:35:52 +0000 (16:35 +0200)]
Changed graphs to be more internally consistent.

mod.sh -- now uses same ranges as nop tests.
vcan.sh -- now uses same ranges as vcans test.

10 years agoAdds automatic update of copyright notice.
Martin Hořeňovský [Tue, 10 Sep 2013 14:48:32 +0000 (16:48 +0200)]
Adds automatic update of copyright notice.

Everytime the HTML pages are remade, current year is taken and substituted into the copyright string.

10 years agoFix for previous commit.
Martin Hořeňovský [Tue, 10 Sep 2013 13:10:16 +0000 (15:10 +0200)]
Fix for previous commit.

Forgot to delete a line in the commands gnuplot, now fixed.

10 years agoModified nop-highprio tests to have plot level "detail".
Martin Hořeňovský [Tue, 10 Sep 2013 12:51:56 +0000 (14:51 +0200)]
Modified nop-highprio tests to have plot level "detail".

Changed according to the nop tests, there is no reason they should not have them.

10 years agoAdds basic README for compiling the gw, fixed rtems.cfg.
Martin Hořeňovský [Wed, 28 Aug 2013 14:03:05 +0000 (16:03 +0200)]
Adds basic README for compiling the gw, fixed rtems.cfg.

rtems.cfg now has proper path to the rtems git.
README.gw contains a basic sequence of steps needed to compile the gw,
starting from compiling build tools, compiling rtems and then compiling gw.

10 years agoFixed RTEMS submodule in .gitmodules.
Martin Hořeňovský [Wed, 28 Aug 2013 10:47:25 +0000 (12:47 +0200)]
Fixed RTEMS submodule in .gitmodules.

Apparently the PC first commiting RTEMS as a submodule has some old, buggy version, which installed it with nonfunctional path.

10 years agoAdds test skips for new RT kernel version (3.4.33).
Martin Hořeňovský [Mon, 26 Aug 2013 10:26:03 +0000 (12:26 +0200)]
Adds test skips for new RT kernel version (3.4.33).

10 years agoModification of *-time tests so that they don't break if the test was skipped.
Martin Hořeňovský [Mon, 26 Aug 2013 10:06:42 +0000 (12:06 +0200)]
Modification of *-time tests so that they don't break if the test was skipped.

Now it checks and attempts to create symbolic links only if the directory it works from isn't empty.
(When it is, calling "ln -s ../somedir/*.txt ." creates broken link named *.txt and plot.sh,
 so the plotting script attempts to create a plot, which fails and stops the rest of the plotting from happening.)

10 years agoAdd RTEMS as a submodule
Martin Hořeňovský [Thu, 22 Aug 2013 13:19:32 +0000 (15:19 +0200)]
Add RTEMS as a submodule

10 years agoIntegrates cpu loading library and adds some minor changes.
Martin Hořeňovský [Wed, 21 Aug 2013 18:27:18 +0000 (20:27 +0200)]
Integrates cpu loading library and adds some minor changes.

Changes include changes to makefiles, new commands for shell (start_load, stop_load), and new convenience script for iterating while working on the gateway.

10 years agoAdds a library with pair of functions to put load on CPU.
Martin Hořeňovský [Wed, 21 Aug 2013 18:21:43 +0000 (20:21 +0200)]
Adds a library with pair of functions to put load on CPU.

The implementation is, with the exception of error handling, feature complete, but not well commented.

10 years agoAdding config file for rtems.
Martin Hořeňovský [Wed, 21 Aug 2013 14:36:52 +0000 (16:36 +0200)]
Adding config file for rtems.

Targets rtems4.10 from git.

10 years agoCommit adding basic ethernet capability to the GW application - responding to pings.
Martin Hořeňovský [Wed, 21 Aug 2013 14:32:42 +0000 (16:32 +0200)]
Commit adding basic ethernet capability to the GW application - responding to pings.

Ethernet driver needs to be activated first with "startNET", this will probably be changed in the future to autoactiva
tion (pending discussion about whether the (extremely minor) overhead matters in the benchmarking of CAN GW.)

10 years agoCommit fixing that threads not cleaning up after themselves.
Martin Hořeňovský [Wed, 21 Aug 2013 14:31:49 +0000 (16:31 +0200)]
Commit fixing that threads not cleaning up after themselves.

As it turns out, I forgot to uncomment lines detaching the GW threads, so that as they are cancelled they can automatically call clean up handlers.
This also fixes related bug, where messages sent to the board after the gw was activated and deactivated, are delivered once gw is activated again. (Unless the whole board was reset in the meantime.)

10 years agoInitial commit of simple (just forwarding from CAN0 to CAN1 and back) CAN gateway...
Martin Hořeňovský [Wed, 21 Aug 2013 10:34:46 +0000 (12:34 +0200)]
Initial commit of simple (just forwarding from CAN0 to CAN1 and back) CAN gateway for RTEMS.

Built against RTEMS 4.10 git branch.

--startGW in RTEMS shell starts the gateway, stopGW stops it.
--currently has a bug, where the cancelled threads don't call their cleanup handlers. Probably problem with RTEMS implementation of posix API (wouldn't be the first one, as far as cancellation is concerned.) If needed, this could probably be solved with rewriting it to use RTEMS task instead of posix threads.

10 years agoAdded new kernel (3.4-rt) and configuration
Martin Hořeňovský [Mon, 1 Jul 2013 17:42:28 +0000 (19:42 +0200)]
Added new kernel (3.4-rt) and configuration

11 years agoFix some segfaults
Michal Sojka [Fri, 10 Aug 2012 14:18:55 +0000 (16:18 +0200)]
Fix some segfaults

12 years agoAdd 3.0.7-rt20
Michal Sojka [Fri, 21 Oct 2011 05:13:23 +0000 (07:13 +0200)]
Add 3.0.7-rt20

12 years agoUpdate axes labels for publication on www
Michal Sojka [Thu, 29 Sep 2011 20:21:23 +0000 (22:21 +0200)]
Update axes labels for publication on www

12 years agoUpdate graph axis labels
Michal Sojka [Thu, 29 Sep 2011 19:46:41 +0000 (21:46 +0200)]
Update graph axis labels

12 years agoMake colors for user graph work for both pdf and png
Michal Sojka [Mon, 26 Sep 2011 12:37:18 +0000 (14:37 +0200)]
Make colors for user graph work for both pdf and png