aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAge
* MergedNamhoon Kim2016-05-03
|\
| * RTSS16 microbenchNamhoon Kim2016-04-30
| |
* | Add PGM^RT supportNamhoon Kim2016-05-03
|/
* add support for pgmNamhoon Kim2016-04-19
|
* Add close()Namhoon Kim2016-04-06
|
* Colored SHM test program. bin/mttest.cNamhoon Kim2016-04-05
|
* Added mc2spinNamhoon Kim2015-01-08
|
* resctrl: default to max. priority for table-driven reservationsBjoern Brandenburg2014-09-08
| | | | | | Table-driven reservations should always have the maximum fixed priority. Thus default to this behavior, both for convenience and to avoid accidental misconfiguration.
* Add resctrl, a tool for setting up reservationsBjoern Brandenburg2014-07-22
| | | | | | | | resctrl is a new tool intended to configure reservations in reservation-aware plugins. For now, it only supports the partitioned reservations (P-RES) plugin. (While at it, also update .gitignore)
* Add -r (reservation) and -v (verbose) flags to rtspinBjoern Brandenburg2014-07-22
| | | | | | | | | | The -r flag allows specifying a "virtual CPU" (in addition to a physcial CPU to migrate to) that may be interpreted by a scheduler plugin to refer to a reservation to which the task should be added. The -v flag causes rtspin to output timing information on stdout and can be useful for early-stage plugin debugging (to see that something is happening at all).
* Modernize rt_launch; remove internal API cruftBjoern Brandenburg2014-06-03
| | | | | | | Switch rt_launch to use a more modern way to launch real-time tasks. This makes rt_launch more flexible, makes it more similar to rtspin, and also allows to let us get rid of a chunk of old, inflexible code in liblitmus that wasn't really serving any useful purpose anymore.
* Use /proc/litmus/domains to set up affinity masksGlenn Elliott2014-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | This patch replaces the algorithm used to compute CPU affinity masks. The old algorithm was fragile and would break on systems with multiple levels of shared caches. (As found on some older Intel chips, and as one would probably find on a system with hyper-threading enabled.) The bug stems from fact that Linux enumerates consecutive CPUs in a way that distributes them across the physical system, thereby reducing contention resources (e.g., cache). Cluster size no longer needs to be provided now that cluster/CPU mappings are explicit in /proc/litmus/domains/. This keeps the following migration functions, but marks them as deprecated: - be_migrate_to_cluster() - cluster_to_first_cpu() - partition_to_cpu() Although the deprecated interfaces are supported, the implementations for these functions call the new be_migrate_to_domain() and domain_to_first_cpu() functions. [bbb: resolved several merge conflicts]
* liblitmus/bin: Use inttypes.h macros for 64-bit integer printingRoy Spliet2013-11-11
| | | | | | Fixed build on ARMv7 Signed-off-by: Roy Spliet <rspliet@mpi-sws.org>
* Change convenience API routines.Glenn Elliott2013-03-12
| | | | | | | | | | | | | The sproadic_*() macros have become unwieldy. This patch replaces those convenience macros for global, clustered, and partitioned scheduling. A part of this API change is the explicit use of nanosecond time-values. Prior APIs have used lt_t (litmus time), which had an implied time scale of nanoseconds. /bin apps and test suite also updated to use revised API. Modifications to the test suite are mostly centered around using nanoseconds instead of milliseconds.
* Cluster-aware rtspin and rt_launch.Glenn Elliott2013-03-12
| | | | | | | | | This patch adds cluster scheduling options to rtspin and rt_launch. The convenience routines in litmus.h were also updated to facilitate clustered scheduling. For partitioned scheduling, just set cluster_size = 1 (default size for rtspin and rt_launch).
* Auto-CPU-affinity from part./cluster assignment.Glenn Elliott2013-03-12
| | | | | | | | | | | This patch replaces be_migrate_to() with several be_migrate_*() APIs to automatically assign CPU affinity masks from a task's partition (or cluster) assignment. Routines are release-master-aware such that the release master (if one exists) will NOT be included in the task's affinity mask. (Note that release-master avoidance may be overridden by calling __be_migrate_thread_to_cluster().)
* uncachedev: uncache test tool.Glenn Elliott2013-03-12
| | | | | | | | | | | | | | | | | This adds the uncache test tool (bin/uncache.c). The tool can be used to test Litmus's char device driver for allocating uncacheable CPU memory. The tool runs various checks and gathers basic cache vs. main memory statistics. In the future, uncache could be extended to quantify the benefits of the L1, L2, and L3 caches, instead of treating them as a black box. Note: Uncache works best when compiled with '-O2'. While '-O2' has not been added to the Makefile, other code was updated (code in tests/ and rtspin), to compile with -O2. DEPENDS UPON LITMUS-RT PATCH 888d097deb6d1fdc0c89a4f9667fd81cf416cfc7.
* Add basic locking support to rtspinBjoern Brandenburg2013-02-04
| | | | | | This is useful for testing locking protocol implementations (not intended for benchmarking!), and also serves to document how to use the LITMUS^RT locking API.
* rt_launch: add support for -q <priority>Bjoern Brandenburg2013-01-11
| | | | This mirrors the option in rtspin.
* Make release_ts a bit more userfriendlyBjoern Brandenburg2013-01-11
| | | | | | | The -f option required manually *also* setting the -w option. This is no longer required. While at it, simplify the code by using the /proc interface.
* Implement get_nr_ts_release_waiters() /proc wrapperBjoern Brandenburg2012-08-14
| | | | | Add a wrapper for /proc/litmus/stats to make it easy to query the number of tasks already waiting for a task set release.
* Add a little explanation to the basic task prototypesBjoern Brandenburg2012-08-01
| | | | Also add the priority parameter, which was missing.
* API Update: Support arbitrary deadlines.Glenn Elliott2012-08-01
| | | | | | | | Updated APIs to support arbitrary deadlines. Added macros for implicit deadlines. Note: Had to tweak Makefile to support gcc version >= 4.6 (moved -lrt to the end of the link command).
* Make use of kernel-provided FP macrosBjoern Brandenburg2012-06-26
| | | | | | Use the kernel's notion of fixed priorities. Also, add some clarifying comments to the task setup wrappers.
* P-FP: make PCP available to user spaceSven Dziadek2012-05-31
| | | | | | PCP was only used for DPCP before tests: add some basic tests for PCP under P-FP
* P-FP: port P-FP plugin used in B. Brandenburg'sSven Dziadek2012-05-31
| | | | | | | | | dissertation (branch bbb-diss) I took the unchanged code but removed references to OMLP which was and is not implemented tests: changed so that they work for P-FP
* Export wctime() and cputime() from rtspin to library clientsBjoern B. Brandenburg2011-02-03
| | | | | The timing functions are quite handy when building benchmark tasks. Avoid copy&paste reuse by making them available via the library.
* bugfix: switch operangs in delay computationBjoern B. Brandenburg2011-02-03
| | | | | We want the positive loop length, not the negative, to prevent jobs from overruning their budget.
* Remove old delay loop configuration cruft from rtspinBjoern B. Brandenburg2011-01-30
| | | | | Using cputime() is much more accurate than the old delay loop auto-configuration. There is no good reason to keep it around.
* Modify RTSpin so that it can read execution time data from a CSV file.Christopher Kenna2011-01-30
| | | | | Still need to figure out what to do with the period is less than the exec_cost (or budget).
* rtspin: transition back to non-real-time modeBjoern B. Brandenburg2010-11-22
| | | | | rtspin produces prettier schedules if it transitions to non-real-time mode before terminating.
* output header to STDERR in measure_syscallBjoern B. Brandenburg2010-11-09
| | | | This hopefully helps a bit to clarify the output.
* add emergency exit to rtspinBjoern B. Brandenburg2010-11-09
| | | | | | This should only trigger if the execution time tracking is broken (as it was on District10). With the emergency exit, we at least prevent the system from becoming unresponsive.
* refactor: use architecture-specific includes for cycles.hBjoern B. Brandenburg2010-11-09
|
* rtspin: add -e option to enable PRECISE_ENFORCEMENT2010.2Bjoern B. Brandenburg2010-10-19
| | | | Useful to test how the kernel handles PRECISE_ENFORCEMENT.
* Support budget enforcement policies. Allows tasks to specifyGlenn Elliott2010-05-20
| | | | | | | | how their execution budgets should be enforced: NO_ENFORCEMENT, QUANTUM_ENFORCEMENT, and PRECISE_ENFORCEMENT (unsupported). NOTE: Users of NO_ENFORCEMENT must call sleep_next_period() at the end of every job to signal to the kernel that its job is complete.
* Add -v (verbose) switch to rtspin.Bjoern B. Brandenburg2010-03-10
| | | | | Can be used to dump the delay loop that rtspin is using.
* Update rt_launch usageAndrea Bastoni2010-03-02
|
* Fix some compilation warningsAndrea Bastoni2009-12-13
|
* Remove old tests.Bjoern B. Brandenburg2009-09-11
| | | | | | People got confused how to use them. They were never meant to be useful to outside developers. So, just get rid of them now.
* release: add -w and -f optionsBjoern B. Brandenburg2009-05-02
|
* rtspin: suppress init_litmus() perror() call, it reports rubbishBjoern B. Brandenburg2009-04-29
|
* rtspin: allow fractional costs and periodsBjoern B. Brandenburg2009-04-29
|
* remove sched_trace stuff from liblitmusBjoern B. Brandenburg2009-04-14
|
* rtspin: use POSIX clock to better approximate runtimeBjoern B. Brandenburg2009-04-14
| | | | this finally appears to work reasonably on Flare
* auto-configure spin loop in rtspinBjoern B. Brandenburg2009-03-25
| | | | | Don't just blindly overrun the budget. Instead, try to measure a spin loop and hope that we get good results.
* add system call overhead measurement programBjoern B. Brandenburg2009-03-02
| | | | | Run this tool (and a background workload) to measure system call overheads.
* Merge branch 'master' of ssh://cvs/cvs/proj/litmus/repo/liblitmus2008Bjoern B. Brandenburg2008-12-09
|\ | | | | | | | | Conflicts: Makefile
| * nicer output for cycle calibrationBjoern B. Brandenburg2008-10-05
| |
| * add tool for measuring cycles/secBjoern B. Brandenburg2008-09-03
| |