]>
rtime.felk.cvut.cz Git - frescor/frsh.git/log
Michal Sojka [Thu, 28 May 2009 00:56:47 +0000 (02:56 +0200)]
ASuoSA now supports multiple CPUs in distributed systems
Michal Sojka [Wed, 27 May 2009 14:06:40 +0000 (16:06 +0200)]
FCB produces more meaningful error messages now
Michal Sojka [Wed, 27 May 2009 11:03:00 +0000 (13:03 +0200)]
Better error message when allocator is not registered
Michal Sojka [Wed, 27 May 2009 11:02:37 +0000 (13:02 +0200)]
Added FWP negotiation and cancelation test
Dario Faggioli [Tue, 26 May 2009 17:13:05 +0000 (19:13 +0200)]
Make FRM and AQuoSA agree with respect to the scheduling test.
Michal Sojka [Tue, 26 May 2009 16:19:51 +0000 (18:19 +0200)]
Fixed some compilation warnings
Dario Faggioli [Tue, 26 May 2009 16:10:11 +0000 (18:10 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Michal Sojka [Tue, 26 May 2009 15:21:51 +0000 (17:21 +0200)]
FCB uses fixed ID and TCP port when INET is default FORB protocol
Dario Faggioli [Tue, 26 May 2009 11:43:03 +0000 (13:43 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Michal Sojka [Tue, 26 May 2009 11:01:47 +0000 (13:01 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb/dario
Dario Faggioli [Tue, 26 May 2009 10:23:50 +0000 (12:23 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Michal Sojka [Tue, 26 May 2009 10:00:43 +0000 (12:00 +0200)]
Fixes to allow compilation without distributed support
To disable distributed support just put
FRSH_DISTRIBUTED_MODULE_SUPPORTED=false to config.omk or config.target.
Dario Faggioli [Tue, 26 May 2009 06:49:44 +0000 (08:49 +0200)]
aqcputest updated to test get_vres_from_label feature as well.
Dario Faggioli [Tue, 26 May 2009 06:49:09 +0000 (08:49 +0200)]
Fixes minor bugs in LCD allocator and disk BFQ manager.
Dario Faggioli [Tue, 26 May 2009 06:48:07 +0000 (08:48 +0200)]
Fixed an old BUG still outstanding in searching a resource via its label.
Dario Faggioli [Tue, 26 May 2009 05:44:58 +0000 (07:44 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Pavel Pisa [Tue, 26 May 2009 00:59:38 +0000 (02:59 +0200)]
Ensure that logdomains of different resources and managers are registered.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 26 May 2009 00:50:49 +0000 (02:50 +0200)]
Do not call qres_cleanup if there has not been qres_init called.
The call has been forgotten there during movement of code
to aqcpu_fra_activate(). On the other hand there should
be qres_cleanup if atexit fails.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Tue, 26 May 2009 00:10:47 +0000 (02:10 +0200)]
CPUCG allocator got in par with other allocators a little more.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Mon, 25 May 2009 23:45:22 +0000 (01:45 +0200)]
Corrected build of CG version of CPU allocator.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Michal Sojka [Mon, 25 May 2009 18:23:36 +0000 (20:23 +0200)]
FCB learned option to change verbosity
Dario Faggioli [Mon, 25 May 2009 12:46:56 +0000 (14:46 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Michal Sojka [Sun, 24 May 2009 22:22:21 +0000 (00:22 +0200)]
FCB can work when FORB is configured with INET protocol as default
Michal Sojka [Sun, 24 May 2009 16:40:59 +0000 (18:40 +0200)]
Fixed "uninitialized variable" warnings in FCB
Michal Sojka [Sun, 24 May 2009 07:57:37 +0000 (09:57 +0200)]
Fixed link errors when configured without Aquosa
Dario Faggioli [Fri, 22 May 2009 07:53:19 +0000 (09:53 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Michal Sojka [Thu, 21 May 2009 11:08:05 +0000 (13:08 +0200)]
Updated error checking of forb_sequence_alloc_buf()
Michal Sojka [Thu, 21 May 2009 08:04:09 +0000 (10:04 +0200)]
Fix uninitialized memory access when contract deserialization fails
Michal Sojka [Thu, 21 May 2009 07:53:43 +0000 (09:53 +0200)]
Attempt to fix double-free error on 64-bit system
Michal Sojka [Wed, 20 May 2009 23:07:01 +0000 (01:07 +0200)]
frm_aqcpu: Export utilization so that frm_gui can display it
Michal Sojka [Wed, 20 May 2009 23:05:57 +0000 (01:05 +0200)]
frm_aqcpu: Fix printing of admission test results
Michal Sojka [Wed, 20 May 2009 23:04:01 +0000 (01:04 +0200)]
frm_dummy updates utilization only if the scenario is schedulable
Michal Sojka [Wed, 20 May 2009 23:03:23 +0000 (01:03 +0200)]
frm_gui displays human understandable resource names
Michal Sojka [Wed, 20 May 2009 22:11:37 +0000 (00:11 +0200)]
frm_gui: Displays contract labels in the contracts list box
Michal Sojka [Wed, 20 May 2009 21:57:49 +0000 (23:57 +0200)]
frm_gui: Do not redraw resource list all the times
Michal Sojka [Wed, 20 May 2009 20:37:49 +0000 (22:37 +0200)]
frm_gui: Do not crash when resource manager disappears
Michal Sojka [Wed, 20 May 2009 08:03:12 +0000 (10:03 +0200)]
Better error reporting of FORB exceptions
Dario Faggioli [Wed, 20 May 2009 07:05:28 +0000 (09:05 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Michal Sojka [Tue, 19 May 2009 13:38:41 +0000 (15:38 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Conflicts:
frsh_api/frsh_power.c
Michal Sojka [Tue, 19 May 2009 11:53:03 +0000 (13:53 +0200)]
Aquosa is initialized only when it is really needed
Now, the framework can bi compiled with Aquosa supoprt, but test not
requring aquosa can run without aquosa kernel. Aquosa is initialized
just before the first contract for CPU is negotiated.
Michal Sojka [Sun, 17 May 2009 11:00:51 +0000 (13:00 +0200)]
Spare capacity now works
Currently only discrete granularity is supported.
Martin Molnar [Mon, 18 May 2009 16:54:06 +0000 (18:54 +0200)]
Do not link to ACPI resources when not configured in.
Signed-off-by: Martin <molnam1@fel.cvut.cz>
Dario Faggioli [Mon, 18 May 2009 12:25:33 +0000 (14:25 +0200)]
Fixed smartdimmer usage for LCD brightness setting.
Dario Faggioli [Mon, 18 May 2009 07:53:12 +0000 (09:53 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Pavel Pisa [Sun, 17 May 2009 22:22:37 +0000 (00:22 +0200)]
FCB peer discovery: ignore peers with NULL identifier.
They are for sure not FCB relatives.
The reason, why empty identifier is sent by frm_gui
should be checked as well.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Michal Sojka [Sun, 17 May 2009 19:10:57 +0000 (21:10 +0200)]
Dummy resource manager uses utilization based admission test
This is used for testing of spare capacity distribution.
Michal Sojka [Sun, 17 May 2009 18:24:56 +0000 (20:24 +0200)]
Fix FRSH error message to print what it really is
Michal Sojka [Sun, 17 May 2009 18:23:40 +0000 (20:23 +0200)]
Handle properly errors when manager is not registered
Michal Sojka [Sun, 17 May 2009 05:49:18 +0000 (07:49 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb/dario
Michal Sojka [Sun, 17 May 2009 05:47:19 +0000 (07:47 +0200)]
Fixed compilation error when compiling without ACPI_CPU and _LCD
Michal Sojka [Sat, 16 May 2009 19:55:29 +0000 (21:55 +0200)]
Merge branch 'master' of sojka@rtime.felk.cvut.cz:/var/git/frescor/frsh_forb
Dario Faggioli [Thu, 14 May 2009 11:35:53 +0000 (13:35 +0200)]
Bugfixes in the video demo.
Dario Faggioli [Thu, 14 May 2009 06:52:16 +0000 (08:52 +0200)]
Added new version, thread-based of the video playing demo.
Dario Faggioli [Wed, 13 May 2009 22:48:53 +0000 (00:48 +0200)]
A new video playing demo has been added.
This realizes video playing with an external program (mplayer)
and it is realized by means of two processes.
Another example, this time using pthreads will come in short while.
Dario Faggioli [Wed, 13 May 2009 10:04:43 +0000 (12:04 +0200)]
Small fixes and added errorchecking in energy management functions.
Dario Faggioli [Wed, 13 May 2009 09:58:22 +0000 (11:58 +0200)]
Added speed reading functions.
frsh_resource_get_speed() function (and their implementations for CPU and
LCD) are added by this commit.
They can be used to retreive the ratio between the speed of a power level
and the maximum achievable speed for that resource.
Test cases are added and updated accordingly.
Dario Faggioli [Wed, 13 May 2009 09:50:21 +0000 (11:50 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Michal Sojka [Wed, 13 May 2009 07:07:34 +0000 (09:07 +0200)]
Preliminary implementation of spare capacity redistribution
There are still some issues with the code, so it is not enabled.
Michal Sojka [Wed, 13 May 2009 00:15:44 +0000 (02:15 +0200)]
Added test for spare capacity
Currently, the test only tests conversion of SC blocks to strings. The
functionality is almost the same as in negotiation.c The implementation
of spare capacity redistribution is still not finished, so that it
doesn't test that the spare capacity is redistributed correctly.
Michal Sojka [Wed, 13 May 2009 00:14:32 +0000 (02:14 +0200)]
Added fres_container_copy()
Michal Sojka [Tue, 12 May 2009 23:19:16 +0000 (01:19 +0200)]
Implemented variants in frsh_contract_set_reclamation_params()
Dario Faggioli [Wed, 13 May 2009 06:06:00 +0000 (08:06 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Michal Sojka [Tue, 12 May 2009 22:35:46 +0000 (00:35 +0200)]
Implemented fres_block_spare_capacity_to_string()
Michal Sojka [Tue, 12 May 2009 21:55:13 +0000 (23:55 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb/dario
Michal Sojka [Tue, 12 May 2009 19:38:39 +0000 (21:38 +0200)]
Possible fix FCB crash on spare capacity contracts
FCB crash was reported by Tommaso and I cannot reproduce it on my
system. It was probably caused by some uninitialized fields in spare
capacity block.
Dario Faggioli [Tue, 12 May 2009 16:53:49 +0000 (18:53 +0200)]
Fixed a typo in CPU power level change logging facilities.
Dario Faggioli [Tue, 12 May 2009 16:51:12 +0000 (18:51 +0200)]
Added the missing functions for the spare capacity block descriptor.
Dario Faggioli [Tue, 12 May 2009 14:30:02 +0000 (16:30 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Michal Sojka [Tue, 12 May 2009 10:23:28 +0000 (12:23 +0200)]
Fixed protector defines in acpi_battery.h
Dario Faggioli [Tue, 12 May 2009 10:12:18 +0000 (12:12 +0200)]
Fix attributes for the diskbfq resource manager.
Dario Faggioli [Tue, 12 May 2009 09:33:48 +0000 (11:33 +0200)]
Bugfix in LCD initialization.
Dario Faggioli [Tue, 12 May 2009 08:07:49 +0000 (10:07 +0200)]
Fix (again) AQuoSA compilation.
This should --definitely-- fix all the still open issues with
compiling the framework while having AQuoSA installed in non-standard
(i.e., non /usr or /usr/local) path.
Dario Faggioli [Tue, 12 May 2009 08:07:09 +0000 (10:07 +0200)]
Fix bug in governor discovery.
Fix a bug in the governors list traversal.
Dario [Mon, 11 May 2009 15:34:59 +0000 (17:34 +0200)]
Small fixes.
Some small fixes in the energy management implementation.
Michal Sojka [Mon, 11 May 2009 07:02:16 +0000 (09:02 +0200)]
FCB measures time elapsed time before other nodes are discovered
This is to implement FRESCOR requirement 2.2B.
Michal Sojka [Mon, 11 May 2009 01:36:45 +0000 (03:36 +0200)]
FCB detects distributed nodes joined to the system
Michal Sojka [Mon, 11 May 2009 01:35:09 +0000 (03:35 +0200)]
Updated to the change in forb_init()
Michal Sojka [Sun, 10 May 2009 17:46:36 +0000 (19:46 +0200)]
Fixed warnings caused by the previous merge
Michal Sojka [Sun, 10 May 2009 17:45:33 +0000 (19:45 +0200)]
Make acpi_battery linked conditionally
Michal Sojka [Sun, 10 May 2009 16:15:59 +0000 (18:15 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb/dario
Conflicts:
frsh_api/Makefile.omk
frsh_api/frsh_contract.c
frsh_api/frsh_power.c
resources/acpi_cpu/Makefile.omk
resources/acpi_lcd/Makefile.omk
Michal Sojka [Sun, 10 May 2009 15:54:21 +0000 (17:54 +0200)]
Make the framework compilable without acpi_xxx libraries
This commit introduces CONFIG_ACPI_XXX config parameters which can be
used to compile the framework for platforms, where ACPI is not
available.
Michal Sojka [Fri, 8 May 2009 19:57:38 +0000 (21:57 +0200)]
Fixed error reporting in aqcputest
Michal Sojka [Sun, 10 May 2009 13:57:55 +0000 (15:57 +0200)]
Improved error reporting in frsh_init()
If the some function return -1, then frsh_init() returns the value of
errno.
Michal Sojka [Sun, 10 May 2009 09:47:25 +0000 (11:47 +0200)]
Added fra_get()
This functions might be used later by frsh_resource_(set|get)_power_level()
to implement this functionality by virtual functions.
In my opinion, set/get_poer_level functions should not be part of FRSH API.
It is not clear (to me) what happens when one application set one
power-level and second application different level. I think this function
should only be used internally (e.g. by contract broker) to achieve the
requirements specified by frsh_contract_set_min_expiration() and similar
functions.
Michal Sojka [Sun, 10 May 2009 09:42:51 +0000 (11:42 +0200)]
Additional FRA functionality implemented by virtual functions
The new virtual functions are:
- (un)bind_thread
- vres_get_XXX_usage
- support for feedback module
In
d9964709b8f6fe7ebf97535daaf1a3c52f519f89 , these functions were called
from switch statements in FRSH API and it was not possible to compile the
framework without DISK support (there were missing #ifdefs).
Michal Sojka [Sun, 10 May 2009 09:30:14 +0000 (11:30 +0200)]
Added a comment about inappropriate power-managemnt implementation
Michal Sojka [Sun, 10 May 2009 09:28:39 +0000 (11:28 +0200)]
Fixed compilation warnings and errors
There were some warnings and errors in in Dario's code. This is a simple
fix of them.
Dario [Sat, 9 May 2009 17:04:27 +0000 (19:04 +0200)]
Large commit with power management related fixes and features.
This is a very (too much, probably!) large commit including:
- redesigned per-resource power management logic;
- test cases for battery status reading;
- test case for CPU and LCD power management;
- full implementation of battery related functions and of
their implications for core and contract functions;
- bugfixes in existent power managemtnt code
Dario [Sat, 9 May 2009 15:14:29 +0000 (17:14 +0200)]
Fixed AQuoSA CPU resource management.
AQuoSA based CPU manager implementation was affected by quite
serious bugs, mainly with respect to vres modification (during)
renegotiation and removal (during cancellation).
This commit seems able to fix all these issues.
Dario [Sat, 9 May 2009 11:35:25 +0000 (13:35 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Michal Sojka [Sat, 9 May 2009 10:20:13 +0000 (12:20 +0200)]
Revert deletion of commens in "Power Management contract facilities."
This reverts a part of commit
5e3f0e32ce9e01ed4e244a8df78dc3c806db1cbe .
Michal Sojka [Sat, 9 May 2009 10:33:15 +0000 (12:33 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb/dario
Michal Sojka [Fri, 8 May 2009 19:08:31 +0000 (21:08 +0200)]
Suppress uninitialized warning
GCC is not smart enough to see that we use key2 correctly.
Michal Sojka [Fri, 8 May 2009 16:59:51 +0000 (18:59 +0200)]
Removed topgit files added by mistake
Dario [Wed, 6 May 2009 15:58:16 +0000 (17:58 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
Michal Sojka [Wed, 6 May 2009 11:21:24 +0000 (13:21 +0200)]
aquosa: Do not overwrite errno on initialization
Dario [Tue, 5 May 2009 15:33:44 +0000 (17:33 +0200)]
Added minimum contract duration.
As prescribed by the energy management module, it is now possible to ask
a contract to be negotiated only if the system lifetime is greater than
a certain value, specified by means of the energy management API.
Dario [Tue, 5 May 2009 15:07:12 +0000 (17:07 +0200)]
Added stub LCD power management.
Added stub functions for performing LCD brightness level setting.
Dario [Tue, 5 May 2009 15:05:23 +0000 (17:05 +0200)]
Bugfixes in DISK resource manager.
Minor bugs fixed in the throughput measuring logic inside the
DISK resource manager.
Dario [Mon, 4 May 2009 17:35:14 +0000 (19:35 +0200)]
Minor bugfixes.
Some fixes in feedback and power modules.