]>
rtime.felk.cvut.cz Git - frescor/frsh.git/log
Michal Sojka [Mon, 10 Aug 2009 16:02:40 +0000 (18:02 +0200)]
Added fres_contract_to_string2()
This function is almost equal to fres_contract_to_string() with additional
parameters indent and flags.
Michal Sojka [Wed, 29 Jul 2009 15:35:03 +0000 (17:35 +0200)]
Implemented more precise calculation in negobench
The previous version used float arithmetics which caused the results to
be incorrect because of rounding errors -- especially on fast computers.
This version uses exact time calculations.
Michal Sojka [Wed, 29 Jul 2009 15:06:43 +0000 (17:06 +0200)]
Negobench was enhanced to accept the number of contracts from command line
Michal Sojka [Wed, 29 Jul 2009 13:41:57 +0000 (15:41 +0200)]
frm_dummy properly handles -h switch
Michal Sojka [Wed, 29 Jul 2009 12:36:37 +0000 (14:36 +0200)]
Added OS/scheduler block to the diagram
Michal Sojka [Mon, 20 Jul 2009 13:06:21 +0000 (15:06 +0200)]
Added figure with representation of contract
Michal Sojka [Sun, 12 Jul 2009 14:51:41 +0000 (16:51 +0200)]
Fixed a warning when dummy resource is compiled as non-verbose
Michal Sojka [Sun, 12 Jul 2009 14:50:58 +0000 (16:50 +0200)]
Fixed a int to pointer conversion warning on 64 bit systems
Michal Sojka [Wed, 17 Jun 2009 16:41:26 +0000 (18:41 +0200)]
Added more benchmarks
- to benchmark renegotiation depending on the number of negotiated
contracts
- to benchmark spare capacity reallocation
Michal Sojka [Wed, 17 Jun 2009 16:40:10 +0000 (18:40 +0200)]
dummy resource manager gained an option to accept all contracts
Michal Sojka [Tue, 16 Jun 2009 10:39:55 +0000 (12:39 +0200)]
Added a more compact version of negotiation figure
Michal Sojka [Thu, 28 May 2009 14:23:53 +0000 (16:23 +0200)]
Added cpu_renegotiation test
This test renegotiates its CPU contract every 5 seconds.
Michal Sojka [Thu, 28 May 2009 13:46:00 +0000 (15:46 +0200)]
Changed budgets in cpu_spare_capacity
Now it can be shown how nicely this works:
- After first run the allocated capacity is 50%.
- After second run 50% + 20%
- After third run 20% + 20% + 20%
- After fourth run 20% + 20% + 20% + 20%
- Fifth run is rejected
By exiting the applications by Ctrl-C (in random order), the capacity is
increased back to the remaining applications.
Michal Sojka [Thu, 28 May 2009 13:26:25 +0000 (15:26 +0200)]
GUI: Added missing check for FORB exception
Michal Sojka [Thu, 28 May 2009 13:09:57 +0000 (15:09 +0200)]
cpu_spare_capacity handles -l switch
Michal Sojka [Thu, 28 May 2009 13:05:19 +0000 (15:05 +0200)]
Aquosa's FRA updates correctly vres->percieved on VRES change
Michal Sojka [Thu, 28 May 2009 10:14:32 +0000 (12:14 +0200)]
Added cpu_spare_capacity test
Michal Sojka [Thu, 28 May 2009 12:15:38 +0000 (14:15 +0200)]
VRESes are created/changed in a specific order
commit_contracts() now returns the schedulable contract in the following
order (which is the order of how VRESes are created/changed):
1. Cancelation requests
2. Renegotiations with decreased utilization
3. New negotiations and renegotiations with increased utilization
Formerly, the contracts were returned more or less in random order.
The consequence of this change should be less errors in AQuoSA's FRA, because
the in-kernel schedulability test should not fail when e.g. budget increase in
one VRES is applied before another VRES cancelation.
Michal Sojka [Thu, 28 May 2009 11:01:35 +0000 (13:01 +0200)]
Handle errors (fix segfault) in cancel_reservations()
Michal Sojka [Thu, 28 May 2009 09:42:57 +0000 (11:42 +0200)]
Merge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb/dario
Michal Sojka [Thu, 28 May 2009 03:41:59 +0000 (05:41 +0200)]
frm_gui learned -l (--loglevel) option
Michal Sojka [Thu, 28 May 2009 03:37:25 +0000 (05:37 +0200)]
frm_gui has its own orb_id
Michal Sojka [Thu, 28 May 2009 03:36:25 +0000 (05:36 +0200)]
Better error message in FRM
Michal Sojka [Thu, 28 May 2009 03:35:18 +0000 (05:35 +0200)]
Add loglevel option to negotiation test
Michal Sojka [Thu, 28 May 2009 03:34:45 +0000 (05:34 +0200)]
FCB acts as FORB's redistributor of HELLO packets
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.