can-benchmark.git
6 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.

6 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

6 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.

6 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.

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

6 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?)

6 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

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

6 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

6 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

6 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)

6 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

6 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

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

6 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

6 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.

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

6 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

6 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

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

6 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

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

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

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

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

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

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

6 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

6 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

6 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

6 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).

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

6 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

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

6 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

6 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

6 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.

6 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]

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

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

6 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

6 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.

6 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)

6 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

6 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.

6 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

6 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.

6 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

6 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.

6 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.

6 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.

6 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.

6 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.

6 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.

6 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+.

6 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.

6 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.

6 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.

6 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.

6 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.

6 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.

6 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).

6 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.)

6 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

6 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.

6 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.

6 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.

6 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.)

6 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.)

6 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.

6 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

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

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

8 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

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

8 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

8 years agoGenerate monochromatic pdfs
Michal Sojka [Mon, 26 Sep 2011 12:36:38 +0000 (14:36 +0200)]
Generate monochromatic pdfs

8 years agoFix line breaks in plot commands
Michal Sojka [Mon, 26 Sep 2011 09:54:10 +0000 (11:54 +0200)]
Fix line breaks in plot commands

8 years agoAdd plot source link to html
Michal Sojka [Mon, 26 Sep 2011 09:47:01 +0000 (11:47 +0200)]
Add plot source link to html

8 years agoUpdate graph ranges etc.
Michal Sojka [Sun, 25 Sep 2011 23:21:19 +0000 (01:21 +0200)]
Update graph ranges etc.

8 years agossh to gw can run other commands then shell
Michal Sojka [Sun, 25 Sep 2011 14:57:34 +0000 (16:57 +0200)]
ssh to gw can run other commands then shell

8 years agoUpdate ranges of graphs - to take into account substraction of tx time
Michal Sojka [Sat, 24 Sep 2011 14:00:56 +0000 (16:00 +0200)]
Update ranges of graphs - to take into account substraction of tx time

8 years agoDo not run html generation automatically - it doesn't work for make allkern
Michal Sojka [Sat, 24 Sep 2011 12:46:15 +0000 (14:46 +0200)]
Do not run html generation automatically - it doesn't work for make allkern

8 years agoSubstract tx time also in time graphs
Michal Sojka [Fri, 23 Sep 2011 23:00:20 +0000 (01:00 +0200)]
Substract tx time also in time graphs

8 years agoAllow ranning experiments for all kernels
Michal Sojka [Fri, 23 Sep 2011 22:59:40 +0000 (00:59 +0200)]
Allow ranning experiments for all kernels

8 years agoDraw histograms after substracting message tx time
Michal Sojka [Fri, 23 Sep 2011 22:27:39 +0000 (00:27 +0200)]
Draw histograms after substracting message tx time

8 years agoChange version of skipped kernels
Michal Sojka [Fri, 23 Sep 2011 22:26:14 +0000 (00:26 +0200)]
Change version of skipped kernels

8 years agoAllow rerunning only the necessary experiments
Michal Sojka [Fri, 23 Sep 2011 22:24:06 +0000 (00:24 +0200)]
Allow rerunning only the necessary experiments

i.e. those that were not run yet or that changed

8 years agoUpdate 3.0.4-rt to use socketcan from mainline
Michal Sojka [Fri, 23 Sep 2011 06:59:20 +0000 (08:59 +0200)]
Update 3.0.4-rt to use socketcan from mainline

8 years agoUpdate 3.0.4 to use socketcan from mainline
Michal Sojka [Fri, 23 Sep 2011 06:59:20 +0000 (08:59 +0200)]
Update 3.0.4 to use socketcan from mainline

8 years agoSkip haniging tests
Michal Sojka [Thu, 22 Sep 2011 02:41:40 +0000 (04:41 +0200)]
Skip haniging tests

8 years agoSpeedup cpu-load experiments by stopping hackbench during maintenance
Michal Sojka [Thu, 22 Sep 2011 02:22:34 +0000 (04:22 +0200)]
Speedup cpu-load experiments by stopping hackbench during maintenance

8 years agolatester: Add partial support for CRC calculation
Michal Sojka [Wed, 21 Sep 2011 21:19:05 +0000 (23:19 +0200)]
latester: Add partial support for CRC calculation

(not much tested)

8 years agoSet gw txqueuelen to avoid ENOBUFS errors
Michal Sojka [Wed, 21 Sep 2011 06:53:53 +0000 (08:53 +0200)]
Set gw txqueuelen to avoid ENOBUFS errors

8 years agoDo not run eth load with highprio and 3.0-rt
Michal Sojka [Tue, 20 Sep 2011 23:43:56 +0000 (01:43 +0200)]
Do not run eth load with highprio and 3.0-rt

8 years agoOnly create plot.sh if test is not skipped
Michal Sojka [Tue, 20 Sep 2011 22:24:51 +0000 (00:24 +0200)]
Only create plot.sh if test is not skipped

8 years agoUpdate kernel versions
Michal Sojka [Tue, 20 Sep 2011 20:56:20 +0000 (22:56 +0200)]
Update kernel versions

8 years agoAlign N/A with images
Michal Sojka [Tue, 20 Sep 2011 20:26:28 +0000 (22:26 +0200)]
Align N/A with images

8 years agoMerge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
Michal Sojka [Tue, 20 Sep 2011 19:59:55 +0000 (21:59 +0200)]
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark

8 years agoFix a few bugs in scripts
Michal Sojka [Tue, 20 Sep 2011 19:58:47 +0000 (21:58 +0200)]
Fix a few bugs in scripts