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

8 years agoAdd configs for 3.0.4* kernels
Michal Sojka [Tue, 20 Sep 2011 12:23:29 +0000 (14:23 +0200)]
Add configs for 3.0.4* kernels

8 years agoComment debug printf()s
Michal Sojka [Tue, 20 Sep 2011 00:40:38 +0000 (02:40 +0200)]
Comment debug printf()s

8 years agoFix
Michal Sojka [Tue, 20 Sep 2011 00:22:16 +0000 (02:22 +0200)]
Fix

8 years agolatester: Add calculation of stuff bits
Michal Sojka [Tue, 20 Sep 2011 00:19:45 +0000 (02:19 +0200)]
latester: Add calculation of stuff bits

8 years agoMerge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
Michal Sojka [Mon, 1 Aug 2011 22:21:58 +0000 (00:21 +0200)]
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark

8 years agoRemove the word "job" from graph titles
Michal Sojka [Mon, 1 Aug 2011 22:21:26 +0000 (00:21 +0200)]
Remove the word "job" from graph titles

It is more intuitive to call this "rule".

8 years agoRemove the word "job" from graph titles
Michal Sojka [Mon, 1 Aug 2011 20:37:18 +0000 (22:37 +0200)]
Remove the word "job" from graph titles

It is more intuitive to call this "rule".

8 years agoAdd script to convert CANalyzer logs to gnuplot-friendly histograms
Michal Sojka [Wed, 16 Feb 2011 12:27:56 +0000 (13:27 +0100)]
Add script to convert CANalyzer logs to gnuplot-friendly histograms

8 years agoFinal version of CANalyzer test
Michal Sojka [Wed, 16 Feb 2011 12:12:17 +0000 (13:12 +0100)]
Final version of CANalyzer test

8 years agogenhtml: Close all html elements and add copyright to all pages
Michal Sojka [Wed, 16 Feb 2011 12:11:56 +0000 (13:11 +0100)]
genhtml: Close all html elements and add copyright to all pages

8 years agoAdd test for PC vs. CANalyzer comparison
Michal Sojka [Wed, 16 Feb 2011 08:21:00 +0000 (09:21 +0100)]
Add test for PC vs. CANalyzer comparison

8 years agoMerge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
Michal Sojka [Wed, 16 Feb 2011 08:20:03 +0000 (09:20 +0100)]
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark

8 years agoAdd MDF to ASCII converter
Michal Sojka [Tue, 15 Feb 2011 18:02:02 +0000 (19:02 +0100)]
Add MDF to ASCII converter

CANalyzer from Vector has broken ASCII export. It truncates timestamps
to 100 us resolutions, which is not usable for us. Therefore we must use
binary MDF files to export traces from CANalyzer and we convert them to
ASCII by this simple program.

In its current form, the program is not much generic. It works for our
so it is sufficient for us.

8 years agoAdd uncommited Makefile
Michal Sojka [Thu, 6 Jan 2011 12:33:42 +0000 (13:33 +0100)]
Add uncommited Makefile

8 years agoPlot mod detail in microseconds
Michal Sojka [Wed, 22 Dec 2010 08:09:07 +0000 (09:09 +0100)]
Plot mod detail in microseconds

8 years agoNo not plot so many jobs
Michal Sojka [Mon, 20 Dec 2010 13:48:18 +0000 (14:48 +0100)]
No not plot so many jobs

Now, the last line doesn't cross the legend text.

8 years agoMerge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
Michal Sojka [Sat, 18 Dec 2010 20:24:30 +0000 (21:24 +0100)]
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark

8 years agoRun hackbench for a longer time
Michal Sojka [Sat, 18 Dec 2010 20:21:55 +0000 (21:21 +0100)]
Run hackbench for a longer time

filterlen test takes longer to run than hackbench so we need to run it
for a longer time.

8 years agoPlot vcan graph with the same point types as in the corresponding vcans graph
Michal Sojka [Fri, 17 Dec 2010 21:04:56 +0000 (22:04 +0100)]
Plot vcan graph with the same point types as in the corresponding vcans graph

8 years agoFix error when NO_PDF environment variable is not defined
Michal Sojka [Fri, 17 Dec 2010 21:03:58 +0000 (22:03 +0100)]
Fix error when NO_PDF environment variable is not defined

8 years agoMerge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
Michal Sojka [Fri, 17 Dec 2010 16:18:32 +0000 (17:18 +0100)]
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark

8 years agolatester: Detect more errors
Michal Sojka [Fri, 17 Dec 2010 16:18:19 +0000 (17:18 +0100)]
latester: Detect more errors

8 years agoFix vcan.sh test
Michal Sojka [Fri, 17 Dec 2010 16:17:53 +0000 (17:17 +0100)]
Fix vcan.sh test

I forgot to specify switches for traffic mode.

8 years agoMerge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
Michal Sojka [Fri, 17 Dec 2010 15:57:59 +0000 (16:57 +0100)]
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark

8 years agoDetect received messages with invalid index to msg_info table
Michal Sojka [Fri, 17 Dec 2010 15:57:37 +0000 (16:57 +0100)]
Detect received messages with invalid index to msg_info table

8 years agoMerge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
Michal Sojka [Fri, 17 Dec 2010 15:01:27 +0000 (16:01 +0100)]
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark

8 years agoAdd two new tests to evaluate the influence of the length of the filter list
Michal Sojka [Fri, 17 Dec 2010 15:01:19 +0000 (16:01 +0100)]
Add two new tests to evaluate the influence of the length of the filter list

8 years agoDo not generate PDFs with older version of gnuplot
Michal Sojka [Fri, 17 Dec 2010 15:00:38 +0000 (16:00 +0100)]
Do not generate PDFs with older version of gnuplot

That version does not implement pdfcairo terminal.

8 years agoFix typo in graph title
Michal Sojka [Fri, 17 Dec 2010 14:21:34 +0000 (15:21 +0100)]
Fix typo in graph title

9 years agoDo net generate links to .pdf for web
Michal Sojka [Sun, 12 Dec 2010 23:43:34 +0000 (00:43 +0100)]
Do net generate links to .pdf for web

9 years agoMake page names shorter
Michal Sojka [Sun, 12 Dec 2010 23:27:34 +0000 (00:27 +0100)]
Make page names shorter

9 years agoMinor fixes and additional graphs
Michal Sojka [Sun, 12 Dec 2010 22:28:21 +0000 (23:28 +0100)]
Minor fixes and additional graphs

9 years agoAdd user-time graph
Michal Sojka [Sun, 12 Dec 2010 22:27:52 +0000 (23:27 +0100)]
Add user-time graph

9 years agoAdd filter-time
Michal Sojka [Sun, 12 Dec 2010 16:13:15 +0000 (17:13 +0100)]
Add filter-time

9 years agoGenerate detail of filter-sff
Michal Sojka [Sun, 12 Dec 2010 16:13:05 +0000 (17:13 +0100)]
Generate detail of filter-sff

9 years agoMake filter comparable with filter-sff
Michal Sojka [Sun, 12 Dec 2010 16:12:53 +0000 (17:12 +0100)]
Make filter comparable with filter-sff

9 years agoRemove debug prints
Michal Sojka [Sun, 12 Dec 2010 16:12:34 +0000 (17:12 +0100)]
Remove debug prints

9 years agoDo not try to access the GW if it is not necessary
Michal Sojka [Sun, 12 Dec 2010 16:11:37 +0000 (17:11 +0100)]
Do not try to access the GW if it is not necessary

9 years agoShow also command line as a toolitip
Michal Sojka [Sun, 12 Dec 2010 12:43:45 +0000 (13:43 +0100)]
Show also command line as a toolitip