]>
rtime.felk.cvut.cz Git - can-benchmark.git/log
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.
Michal Sojka [Sun, 12 Jan 2014 09:26:05 +0000 (10:26 +0100)]
mmap()-based TX works now
Michal Sojka [Sat, 11 Jan 2014 22:36:10 +0000 (23:36 +0100)]
Add mmap()-based TX method - it doesn't work (yet?)
Michal Sojka [Sat, 11 Jan 2014 20:25:58 +0000 (21:25 +0100)]
Add PF_PACKET + mmap() support for RX in ugw
Michal Sojka [Sat, 11 Jan 2014 20:23:49 +0000 (21:23 +0100)]
Compile with -Wall -O2
Michal Sojka [Sat, 11 Jan 2014 14:55:36 +0000 (15:55 +0100)]
Add novaboot script to boot rtems gateway
Michal Sojka [Sat, 11 Jan 2014 14:55:10 +0000 (15:55 +0100)]
Update configuration to work with RTEMS Debian packages from rtime
Michal Sojka [Sat, 11 Jan 2014 14:31:51 +0000 (15:31 +0100)]
Rename config.omk to config.target (the recommended OMK naming)
Michal Sojka [Sat, 11 Jan 2014 08:35:23 +0000 (09:35 +0100)]
Add forgotten files needed for buildroot build
Michal Sojka [Fri, 10 Jan 2014 18:12:43 +0000 (19:12 +0100)]
Add a simple script for performing gateway benchmarks
Michal Sojka [Fri, 10 Jan 2014 11:49:31 +0000 (12:49 +0100)]
Remove debugging prints from canframelen
Michal Sojka [Fri, 10 Jan 2014 11:40:07 +0000 (12:40 +0100)]
Working version of bit stuffing calculator
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.
Michal Sojka [Tue, 7 Jan 2014 14:46:58 +0000 (15:46 +0100)]
Remove stale comment
Michal Sojka [Tue, 7 Jan 2014 14:21:00 +0000 (15:21 +0100)]
Add iproute2 to the rootfs - it is needed for CAN initialization
Michal Sojka [Tue, 7 Jan 2014 14:20:04 +0000 (15:20 +0100)]
Add a simple user space gateway for measuring routing latencies
Michal Sojka [Mon, 6 Jan 2014 16:44:34 +0000 (17:44 +0100)]
Use new novaboot feature EXITON
Michal Sojka [Mon, 6 Jan 2014 16:04:46 +0000 (17:04 +0100)]
Add scripts for running the benchmark on PowerPC
Michal Sojka [Mon, 6 Jan 2014 13:51:00 +0000 (14:51 +0100)]
Build recvmmsg also for PowerPC
Michal Sojka [Mon, 6 Jan 2014 13:50:03 +0000 (14:50 +0100)]
Fix OMK bug
Michal Sojka [Mon, 6 Jan 2014 13:49:50 +0000 (14:49 +0100)]
Rename .empty to .gitignore
Michal Sojka [Mon, 6 Jan 2014 12:39:13 +0000 (13:39 +0100)]
Finish recvmmsg() benchmark
Michal Sojka [Fri, 3 Jan 2014 16:50:02 +0000 (17:50 +0100)]
Initial version of recvmmsg benchmark
Michal Sojka [Fri, 3 Jan 2014 15:40:57 +0000 (16:40 +0100)]
Update Makefile.rules
Michal Sojka [Fri, 6 Dec 2013 01:26:26 +0000 (17:26 -0800)]
Add 3.12 kernel for Shark/Ryu board
Michal Sojka [Thu, 21 Nov 2013 22:58:04 +0000 (23:58 +0100)]
Copy shark kernel to boot/images directory
Michal Sojka [Thu, 21 Nov 2013 22:31:28 +0000 (23:31 +0100)]
Use OSELAS toolchain to for kernel builds
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).
Michal Sojka [Thu, 21 Nov 2013 23:32:37 +0000 (00:32 +0100)]
Add novaboot script
Michal Sojka [Wed, 6 Nov 2013 18:00:48 +0000 (19:00 +0100)]
Simplify writing CRC to the bitmap
Michal Sojka [Wed, 6 Nov 2013 17:54:04 +0000 (18:54 +0100)]
Another bug
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
Michal Sojka [Wed, 6 Nov 2013 17:40:48 +0000 (18:40 +0100)]
CRC must be shifted before conversion to big endian, not after
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.
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]
Michal Sojka [Tue, 5 Nov 2013 09:38:20 +0000 (10:38 +0100)]
Fix compiler warnings
Michal Sojka [Tue, 17 Sep 2013 12:21:45 +0000 (14:21 +0200)]
Add a CC license
Michal Sojka [Tue, 17 Sep 2013 12:10:51 +0000 (14:10 +0200)]
Add horenmar as a co-author
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.
Michal Sojka [Tue, 17 Sep 2013 11:41:06 +0000 (13:41 +0200)]
Make pdf plots colorful (for web)
Michal Sojka [Tue, 17 Sep 2013 11:10:16 +0000 (13:10 +0200)]
Allow calling `make html` when results is a symlink
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.
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
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.
Michal Sojka [Mon, 16 Sep 2013 15:48:33 +0000 (17:48 +0200)]
Allow results directory to be symlink
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.
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.
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.
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.
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.
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.
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+.
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.
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.
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.
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.
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.
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.
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).
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.)
Martin Hořeňovský [Thu, 22 Aug 2013 13:19:32 +0000 (15:19 +0200)]
Add RTEMS as a submodule
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.
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.
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.
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.)
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.)
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.
Martin Hořeňovský [Mon, 1 Jul 2013 17:42:28 +0000 (19:42 +0200)]
Added new kernel (3.4-rt) and configuration
Michal Sojka [Fri, 10 Aug 2012 14:18:55 +0000 (16:18 +0200)]
Fix some segfaults
Michal Sojka [Fri, 21 Oct 2011 05:13:23 +0000 (07:13 +0200)]
Add 3.0.7-rt20
Michal Sojka [Thu, 29 Sep 2011 20:21:23 +0000 (22:21 +0200)]
Update axes labels for publication on www
Michal Sojka [Thu, 29 Sep 2011 19:46:41 +0000 (21:46 +0200)]
Update graph axis labels
Michal Sojka [Mon, 26 Sep 2011 12:37:18 +0000 (14:37 +0200)]
Make colors for user graph work for both pdf and png
Michal Sojka [Mon, 26 Sep 2011 12:36:38 +0000 (14:36 +0200)]
Generate monochromatic pdfs
Michal Sojka [Mon, 26 Sep 2011 09:54:10 +0000 (11:54 +0200)]
Fix line breaks in plot commands
Michal Sojka [Mon, 26 Sep 2011 09:47:01 +0000 (11:47 +0200)]
Add plot source link to html
Michal Sojka [Sun, 25 Sep 2011 23:21:19 +0000 (01:21 +0200)]
Update graph ranges etc.
Michal Sojka [Sun, 25 Sep 2011 14:57:34 +0000 (16:57 +0200)]
ssh to gw can run other commands then shell
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
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
Michal Sojka [Fri, 23 Sep 2011 23:00:20 +0000 (01:00 +0200)]
Substract tx time also in time graphs
Michal Sojka [Fri, 23 Sep 2011 22:59:40 +0000 (00:59 +0200)]
Allow ranning experiments for all kernels
Michal Sojka [Fri, 23 Sep 2011 22:27:39 +0000 (00:27 +0200)]
Draw histograms after substracting message tx time
Michal Sojka [Fri, 23 Sep 2011 22:26:14 +0000 (00:26 +0200)]
Change version of skipped kernels
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
Michal Sojka [Fri, 23 Sep 2011 06:59:20 +0000 (08:59 +0200)]
Update 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 to use socketcan from mainline
Michal Sojka [Thu, 22 Sep 2011 02:41:40 +0000 (04:41 +0200)]
Skip haniging tests
Michal Sojka [Thu, 22 Sep 2011 02:22:34 +0000 (04:22 +0200)]
Speedup cpu-load experiments by stopping hackbench during maintenance
Michal Sojka [Wed, 21 Sep 2011 21:19:05 +0000 (23:19 +0200)]
latester: Add partial support for CRC calculation
(not much tested)
Michal Sojka [Wed, 21 Sep 2011 06:53:53 +0000 (08:53 +0200)]
Set gw txqueuelen to avoid ENOBUFS errors
Michal Sojka [Tue, 20 Sep 2011 23:43:56 +0000 (01:43 +0200)]
Do not run eth load with highprio and 3.0-rt
Michal Sojka [Tue, 20 Sep 2011 22:24:51 +0000 (00:24 +0200)]
Only create plot.sh if test is not skipped
Michal Sojka [Tue, 20 Sep 2011 20:56:20 +0000 (22:56 +0200)]
Update kernel versions
Michal Sojka [Tue, 20 Sep 2011 20:26:28 +0000 (22:26 +0200)]
Align N/A with images
Michal Sojka [Tue, 20 Sep 2011 19:59:55 +0000 (21:59 +0200)]
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
Michal Sojka [Tue, 20 Sep 2011 19:58:47 +0000 (21:58 +0200)]
Fix a few bugs in scripts
Michal Sojka [Tue, 20 Sep 2011 12:23:29 +0000 (14:23 +0200)]
Add configs for 3.0.4* kernels
Michal Sojka [Tue, 20 Sep 2011 00:40:38 +0000 (02:40 +0200)]
Comment debug printf()s
Michal Sojka [Tue, 20 Sep 2011 00:22:16 +0000 (02:22 +0200)]
Fix