]> rtime.felk.cvut.cz Git - frescor/frsh.git/log
frescor/frsh.git
14 years agoAdded renegotiation and spare capacity demos for dummy resource
Michal Sojka [Mon, 24 Aug 2009 13:08:09 +0000 (15:08 +0200)]
Added renegotiation and spare capacity demos for dummy resource

14 years agoFix typo
Michal Sojka [Tue, 11 Aug 2009 16:33:04 +0000 (18:33 +0200)]
Fix typo

14 years agoAdded NULL checks to get functions in frsh_distributed
Michal Sojka [Tue, 11 Aug 2009 15:54:46 +0000 (17:54 +0200)]
Added NULL checks to get functions in frsh_distributed

14 years agoFixed segmentation fault in FCB when negotiating dummy contracts
Michal Sojka [Tue, 11 Aug 2009 13:00:57 +0000 (15:00 +0200)]
Fixed segmentation fault in FCB when negotiating dummy contracts

14 years agoFixed bug in frsh_contract_set_basic_params()
Michal Sojka [Mon, 10 Aug 2009 16:05:28 +0000 (18:05 +0200)]
Fixed bug in frsh_contract_set_basic_params()

14 years agoAdded frsh_contract_destroy() function
Michal Sojka [Mon, 10 Aug 2009 16:04:57 +0000 (18:04 +0200)]
Added frsh_contract_destroy() function

14 years agoFCB can print all log domains when invoked with -l '?'
Michal Sojka [Mon, 10 Aug 2009 16:04:01 +0000 (18:04 +0200)]
FCB can print all log domains when invoked with -l '?'

14 years agoDo not allocate dummy contracts
Michal Sojka [Mon, 10 Aug 2009 16:03:03 +0000 (18:03 +0200)]
Do not allocate dummy contracts

14 years agoAdded fres_contract_get_type() helper function
Michal Sojka [Mon, 10 Aug 2009 16:04:41 +0000 (18:04 +0200)]
Added fres_contract_get_type() helper function

14 years agoAdded contract logging to FCB
Michal Sojka [Mon, 10 Aug 2009 16:00:33 +0000 (18:00 +0200)]
Added contract logging to FCB

14 years agoAdded fres_contract_to_string2()
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.

14 years agoImplemented more precise calculation in negobench
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.

14 years agoNegobench was enhanced to accept the number of contracts from command line
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

14 years agofrm_dummy properly handles -h switch
Michal Sojka [Wed, 29 Jul 2009 13:41:57 +0000 (15:41 +0200)]
frm_dummy properly handles -h switch

14 years agoAdded OS/scheduler block to the diagram
Michal Sojka [Wed, 29 Jul 2009 12:36:37 +0000 (14:36 +0200)]
Added OS/scheduler block to the diagram

14 years agoAdded figure with representation of contract
Michal Sojka [Mon, 20 Jul 2009 13:06:21 +0000 (15:06 +0200)]
Added figure with representation of contract

14 years agoFixed a warning when dummy resource is compiled as non-verbose
Michal Sojka [Sun, 12 Jul 2009 14:51:41 +0000 (16:51 +0200)]
Fixed a warning when dummy resource is compiled as non-verbose

14 years agoFixed a int to pointer conversion warning on 64 bit systems
Michal Sojka [Sun, 12 Jul 2009 14:50:58 +0000 (16:50 +0200)]
Fixed a int to pointer conversion warning on 64 bit systems

14 years agoAdded more benchmarks
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

14 years agodummy resource manager gained an option to accept all contracts
Michal Sojka [Wed, 17 Jun 2009 16:40:10 +0000 (18:40 +0200)]
dummy resource manager gained an option to accept all contracts

14 years agoAdded a more compact version of negotiation figure
Michal Sojka [Tue, 16 Jun 2009 10:39:55 +0000 (12:39 +0200)]
Added a more compact version of negotiation figure

14 years agoAdded cpu_renegotiation test
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.

14 years agoChanged budgets in cpu_spare_capacity
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.

14 years agoGUI: Added missing check for FORB exception
Michal Sojka [Thu, 28 May 2009 13:26:25 +0000 (15:26 +0200)]
GUI: Added missing check for FORB exception

14 years agocpu_spare_capacity handles -l switch
Michal Sojka [Thu, 28 May 2009 13:09:57 +0000 (15:09 +0200)]
cpu_spare_capacity handles -l switch

14 years agoAquosa's FRA updates correctly vres->percieved on VRES change
Michal Sojka [Thu, 28 May 2009 13:05:19 +0000 (15:05 +0200)]
Aquosa's FRA updates correctly vres->percieved on VRES change

14 years agoAdded cpu_spare_capacity test
Michal Sojka [Thu, 28 May 2009 10:14:32 +0000 (12:14 +0200)]
Added cpu_spare_capacity test

14 years agoVRESes are created/changed in a specific order
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.

14 years agoHandle errors (fix segfault) in cancel_reservations()
Michal Sojka [Thu, 28 May 2009 11:01:35 +0000 (13:01 +0200)]
Handle errors (fix segfault) in cancel_reservations()

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb/dario
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

14 years agofrm_gui learned -l (--loglevel) option
Michal Sojka [Thu, 28 May 2009 03:41:59 +0000 (05:41 +0200)]
frm_gui learned -l (--loglevel) option

14 years agofrm_gui has its own orb_id
Michal Sojka [Thu, 28 May 2009 03:37:25 +0000 (05:37 +0200)]
frm_gui has its own orb_id

14 years agoBetter error message in FRM
Michal Sojka [Thu, 28 May 2009 03:36:25 +0000 (05:36 +0200)]
Better error message in FRM

14 years agoAdd loglevel option to negotiation test
Michal Sojka [Thu, 28 May 2009 03:35:18 +0000 (05:35 +0200)]
Add loglevel option to negotiation test

14 years agoFCB acts as FORB's redistributor of HELLO packets
Michal Sojka [Thu, 28 May 2009 03:34:45 +0000 (05:34 +0200)]
FCB acts as FORB's redistributor of HELLO packets

14 years agoASuoSA now supports multiple CPUs in distributed systems
Michal Sojka [Thu, 28 May 2009 00:56:47 +0000 (02:56 +0200)]
ASuoSA now supports multiple CPUs in distributed systems

14 years agoFCB produces more meaningful error messages now
Michal Sojka [Wed, 27 May 2009 14:06:40 +0000 (16:06 +0200)]
FCB produces more meaningful error messages now

14 years agoBetter error message when allocator is not registered
Michal Sojka [Wed, 27 May 2009 11:03:00 +0000 (13:03 +0200)]
Better error message when allocator is not registered

14 years agoAdded FWP negotiation and cancelation test
Michal Sojka [Wed, 27 May 2009 11:02:37 +0000 (13:02 +0200)]
Added FWP negotiation and cancelation test

14 years agoMake FRM and AQuoSA agree with respect to the scheduling 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.

14 years agoFixed some compilation warnings
Michal Sojka [Tue, 26 May 2009 16:19:51 +0000 (18:19 +0200)]
Fixed some compilation warnings

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
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

14 years agoFCB uses fixed ID and TCP port when INET is default FORB protocol
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

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
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

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb/dario
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

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
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

14 years agoFixes to allow compilation without distributed support
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.

14 years agoaqcputest updated to test get_vres_from_label feature as well.
Dario Faggioli [Tue, 26 May 2009 06:49:44 +0000 (08:49 +0200)]
aqcputest updated to test get_vres_from_label feature as well.

14 years agoFixes minor bugs in LCD allocator and disk BFQ manager.
Dario Faggioli [Tue, 26 May 2009 06:49:09 +0000 (08:49 +0200)]
Fixes minor bugs in LCD allocator and disk BFQ manager.

14 years agoFixed an old BUG still outstanding in searching a resource via its label.
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.

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
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

14 years agoEnsure that logdomains of different resources and managers are registered.
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>
14 years agoDo not call qres_cleanup if there has not been qres_init called.
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>
14 years agoCPUCG allocator got in par with other allocators a little more.
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>
14 years agoCorrected build of CG version of CPU allocator.
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>
14 years agoFCB learned option to change verbosity
Michal Sojka [Mon, 25 May 2009 18:23:36 +0000 (20:23 +0200)]
FCB learned option to change verbosity

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
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

14 years agoFCB can work when FORB is configured with INET protocol as default
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

14 years agoFixed "uninitialized variable" warnings in FCB
Michal Sojka [Sun, 24 May 2009 16:40:59 +0000 (18:40 +0200)]
Fixed "uninitialized variable" warnings in FCB

14 years agoFixed link errors when configured without Aquosa
Michal Sojka [Sun, 24 May 2009 07:57:37 +0000 (09:57 +0200)]
Fixed link errors when configured without Aquosa

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
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

14 years agoUpdated error checking of forb_sequence_alloc_buf()
Michal Sojka [Thu, 21 May 2009 11:08:05 +0000 (13:08 +0200)]
Updated error checking of forb_sequence_alloc_buf()

14 years agoFix uninitialized memory access when contract deserialization fails
Michal Sojka [Thu, 21 May 2009 08:04:09 +0000 (10:04 +0200)]
Fix uninitialized memory access when contract deserialization fails

14 years agoAttempt to fix double-free error on 64-bit system
Michal Sojka [Thu, 21 May 2009 07:53:43 +0000 (09:53 +0200)]
Attempt to fix double-free error on 64-bit system

14 years agofrm_aqcpu: Export utilization so that frm_gui can display it
Michal Sojka [Wed, 20 May 2009 23:07:01 +0000 (01:07 +0200)]
frm_aqcpu: Export utilization so that frm_gui can display it

14 years agofrm_aqcpu: Fix printing of admission test results
Michal Sojka [Wed, 20 May 2009 23:05:57 +0000 (01:05 +0200)]
frm_aqcpu: Fix printing of admission test results

14 years agofrm_dummy updates utilization only if the scenario is schedulable
Michal Sojka [Wed, 20 May 2009 23:04:01 +0000 (01:04 +0200)]
frm_dummy updates utilization only if the scenario is schedulable

14 years agofrm_gui displays human understandable resource names
Michal Sojka [Wed, 20 May 2009 23:03:23 +0000 (01:03 +0200)]
frm_gui displays human understandable resource names

14 years agofrm_gui: Displays contract labels in the contracts list box
Michal Sojka [Wed, 20 May 2009 22:11:37 +0000 (00:11 +0200)]
frm_gui: Displays contract labels in the contracts list box

14 years agofrm_gui: Do not redraw resource list all the times
Michal Sojka [Wed, 20 May 2009 21:57:49 +0000 (23:57 +0200)]
frm_gui: Do not redraw resource list all the times

14 years agofrm_gui: Do not crash when resource manager disappears
Michal Sojka [Wed, 20 May 2009 20:37:49 +0000 (22:37 +0200)]
frm_gui: Do not crash when resource manager disappears

14 years agoBetter error reporting of FORB exceptions
Michal Sojka [Wed, 20 May 2009 08:03:12 +0000 (10:03 +0200)]
Better error reporting of FORB exceptions

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
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

14 years agoMerge 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

14 years agoAquosa is initialized only when it is really needed
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.

14 years agoSpare capacity now works
Michal Sojka [Sun, 17 May 2009 11:00:51 +0000 (13:00 +0200)]
Spare capacity now works

Currently only discrete granularity is supported.

14 years agoDo not link to ACPI resources when not configured in.
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>
14 years agoFixed smartdimmer usage for LCD brightness setting.
Dario Faggioli [Mon, 18 May 2009 12:25:33 +0000 (14:25 +0200)]
Fixed smartdimmer usage for LCD brightness setting.

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
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

14 years agoFCB peer discovery: ignore peers with NULL identifier.
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>
14 years agoDummy resource manager uses utilization based admission test
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.

14 years agoFix FRSH error message to print what it really is
Michal Sojka [Sun, 17 May 2009 18:24:56 +0000 (20:24 +0200)]
Fix FRSH error message to print what it really is

14 years agoHandle properly errors when manager is not registered
Michal Sojka [Sun, 17 May 2009 18:23:40 +0000 (20:23 +0200)]
Handle properly errors when manager is not registered

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb/dario
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

14 years agoFixed compilation error when compiling without ACPI_CPU and _LCD
Michal Sojka [Sun, 17 May 2009 05:47:19 +0000 (07:47 +0200)]
Fixed compilation error when compiling without ACPI_CPU and _LCD

14 years agoMerge branch 'master' of sojka@rtime.felk.cvut.cz:/var/git/frescor/frsh_forb
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

14 years agoBugfixes in the video demo.
Dario Faggioli [Thu, 14 May 2009 11:35:53 +0000 (13:35 +0200)]
Bugfixes in the video demo.

14 years agoAdded new version, thread-based of the video playing demo.
Dario Faggioli [Thu, 14 May 2009 06:52:16 +0000 (08:52 +0200)]
Added new version, thread-based of the video playing demo.

14 years agoA new video playing demo has been added.
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.

14 years agoSmall fixes and added errorchecking in energy management functions.
Dario Faggioli [Wed, 13 May 2009 10:04:43 +0000 (12:04 +0200)]
Small fixes and added errorchecking in energy management functions.

14 years agoAdded speed reading 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.

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
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

14 years agoPreliminary implementation of spare capacity redistribution
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.

14 years agoAdded test for spare capacity
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.

14 years agoAdded fres_container_copy()
Michal Sojka [Wed, 13 May 2009 00:14:32 +0000 (02:14 +0200)]
Added fres_container_copy()

14 years agoImplemented variants in frsh_contract_set_reclamation_params()
Michal Sojka [Tue, 12 May 2009 23:19:16 +0000 (01:19 +0200)]
Implemented variants in frsh_contract_set_reclamation_params()

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb
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

14 years agoImplemented fres_block_spare_capacity_to_string()
Michal Sojka [Tue, 12 May 2009 22:35:46 +0000 (00:35 +0200)]
Implemented fres_block_spare_capacity_to_string()

14 years agoMerge branch 'master' of git://rtime.felk.cvut.cz/frescor/frsh_forb/dario
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

14 years agoPossible fix FCB crash on spare capacity contracts
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.