]> rtime.felk.cvut.cz Git - frescor/frsh.git/log
frescor/frsh.git
13 years agoRemove "Setup" header from tests master
Michal Sojka [Fri, 25 Feb 2011 07:28:47 +0000 (08:28 +0100)]
Remove "Setup" header from tests

This header is no longer necessary as the similar header is produced by
OMK.

13 years agofrsh: Simplify negotiation test and rename the full test as renegotiation
Michal Sojka [Fri, 25 Feb 2011 07:14:31 +0000 (08:14 +0100)]
frsh: Simplify negotiation test and rename the full test as renegotiation

It was daunting to look for bugs in the large test, so now, negotiation
program performs only a single negotiation and cancelation.

13 years agofrsh: Update negotiation test
Michal Sojka [Thu, 24 Feb 2011 16:29:01 +0000 (17:29 +0100)]
frsh: Update negotiation test

There were some inconsistencies and missing comments.

13 years agowvtest/sh: Introduce cleanup function and exit on the first error
Michal Sojka [Thu, 24 Feb 2011 16:28:31 +0000 (17:28 +0100)]
wvtest/sh: Introduce cleanup function and exit on the first error

13 years agoDestroy forb in the correct order
Michal Sojka [Thu, 24 Feb 2011 15:58:36 +0000 (16:58 +0100)]
Destroy forb in the correct order

This is to avoid deadlocks during forb_destroy().

13 years agofrsh: Do not include test functions
Michal Sojka [Thu, 24 Feb 2011 11:31:54 +0000 (12:31 +0100)]
frsh: Do not include test functions

The output of test is easier to read when the name of the test script is
displayed in the test output. Therefore, we copy the setup/exit code
that is common to the all tests to the tests themselves.

13 years agofrsh: Remove artificial split of a test
Michal Sojka [Thu, 24 Feb 2011 09:29:02 +0000 (10:29 +0100)]
frsh: Remove artificial split of a test

When a single test is split into several parts then the output
of the beginning of the test is not shown when the error occurs in the
later part.

13 years agoforb: script for diskbfq added
Petr Benes [Tue, 22 Feb 2011 16:46:42 +0000 (17:46 +0100)]
forb: script for diskbfq added

13 years agoforb: script invocation of shlibs fixec
Petr Benes [Tue, 22 Feb 2011 16:45:51 +0000 (17:45 +0100)]
forb: script invocation of shlibs fixec

A couple of different small fixes at once.

13 years agoforb: fcb script passes a server id to forbrun
Petr Benes [Tue, 22 Feb 2011 12:08:19 +0000 (13:08 +0100)]
forb: fcb script passes a server id to forbrun

13 years agofcb: Parse command line parameters in wrapper script
Michal Sojka [Tue, 22 Feb 2011 11:32:21 +0000 (12:32 +0100)]
fcb: Parse command line parameters in wrapper script

This is needed for -d to be passed to forbrun instead to libfcb.so.

13 years agoforb: makefiles for scripts fixed (make successful)
Petr Benes [Tue, 22 Feb 2011 10:57:28 +0000 (11:57 +0100)]
forb: makefiles for scripts fixed (make successful)

13 years agoforb: scripts fixed by adding -- in front of shlib
Petr Benes [Tue, 22 Feb 2011 10:41:43 +0000 (11:41 +0100)]
forb: scripts fixed by adding -- in front of shlib

13 years agoforb: scripts calling binaries and shlibs in path
Petr Benes [Tue, 22 Feb 2011 10:29:51 +0000 (11:29 +0100)]
forb: scripts calling binaries and shlibs in path

The relative path does not have to be specified.

13 years agoforb: added scripts executing dynamic shared libraries
Petr Benes [Tue, 22 Feb 2011 09:54:47 +0000 (10:54 +0100)]
forb: added scripts executing dynamic shared libraries

The scripts are responsible for a backward compatibility.
orb_id is now being passed to forbrun from the scripts.

However, the scripts do not pass the make. Omk accepts .sh
extension instead of no extension scripts.

Minor bugs fixed also.

13 years agoforb: executable resources and fcb changed into dynamic libs
Petr Benes [Sun, 20 Feb 2011 12:15:21 +0000 (13:15 +0100)]
forb: executable resources and fcb changed into dynamic libs

13 years agoMerge branch 'master' of git://frsh-forb.git.sourceforge.net/gitroot/frsh-forb/frsh
Michal Sojka [Fri, 21 Jan 2011 20:24:52 +0000 (21:24 +0100)]
Merge branch 'master' of git://frsh-forb.git.sourceforge.net/gitroot/frsh-forb/frsh

13 years agoAllow daemonizing CPU resource managers
Michal Sojka [Fri, 15 Oct 2010 06:14:46 +0000 (08:14 +0200)]
Allow daemonizing CPU resource managers

13 years agofcb: Enable -h option (help)
Michal Sojka [Fri, 15 Oct 2010 05:42:33 +0000 (07:42 +0200)]
fcb: Enable -h option (help)

13 years agoFigure: Remove DTM and change "Data exchange" to "Communication"
Michal Sojka [Thu, 8 Jul 2010 14:17:13 +0000 (16:17 +0200)]
Figure: Remove DTM and change "Data exchange" to "Communication"

13 years agoAdd a comment with elisp helper function
Michal Sojka [Sat, 26 Jun 2010 21:13:02 +0000 (23:13 +0200)]
Add a comment with elisp helper function

I have this function defined in my .emacs and it automatically updates
frsh_error.c with the current list of errors. Whenever I add a new error,
I place the point after ")" and press C-x C-e to execute the function.

13 years agofcb: Do not allow multiple allocations of the same VRES (within a transaction)
Michal Sojka [Fri, 25 Jun 2010 21:46:56 +0000 (23:46 +0200)]
fcb: Do not allow multiple allocations of the same VRES (within a transaction)

13 years agofcb: Reject direct contract manipulation in transactions
Michal Sojka [Fri, 25 Jun 2010 21:29:23 +0000 (23:29 +0200)]
fcb: Reject direct contract manipulation in transactions

13 years agofrsh_transaction_alloc_vres works
Michal Sojka [Fri, 25 Jun 2010 21:05:10 +0000 (23:05 +0200)]
frsh_transaction_alloc_vres works

13 years agogui: Fix compile error caused by change in fres_contract.h
Michal Sojka [Fri, 25 Jun 2010 20:12:09 +0000 (22:12 +0200)]
gui: Fix compile error caused by change in fres_contract.h

13 years agoStarted implementation of frsh_transaction_alloc_vres()
Michal Sojka [Fri, 25 Jun 2010 14:41:17 +0000 (16:41 +0200)]
Started implementation of frsh_transaction_alloc_vres()

13 years agofcb: Handle transaction cancelation - not tested
Michal Sojka [Fri, 25 Jun 2010 14:18:34 +0000 (16:18 +0200)]
fcb: Handle transaction cancelation - not tested

13 years agonegotiate_transaction() hopefully completed
Michal Sojka [Fri, 25 Jun 2010 12:38:08 +0000 (14:38 +0200)]
negotiate_transaction() hopefully completed

13 years agoAdd fcb_remember_contracts() to simplify the code
Michal Sojka [Fri, 25 Jun 2010 08:47:01 +0000 (10:47 +0200)]
Add fcb_remember_contracts() to simplify the code

13 years agoSuppress warning in fres_contract_id_to_string() on 64 bit system
Michal Sojka [Fri, 25 Jun 2010 07:45:33 +0000 (09:45 +0200)]
Suppress warning in fres_contract_id_to_string() on 64 bit system

13 years agofcb: Deallocate res_array properly
Michal Sojka [Fri, 25 Jun 2010 07:44:34 +0000 (09:44 +0200)]
fcb: Deallocate res_array properly

13 years agoProgress on transaction negotiation
Michal Sojka [Thu, 24 Jun 2010 22:53:17 +0000 (00:53 +0200)]
Progress on transaction negotiation

13 years agoDo not use random contract IDs
Michal Sojka [Thu, 24 Jun 2010 22:41:01 +0000 (00:41 +0200)]
Do not use random contract IDs

Instead use a counter in FCB which is used as a value of a contracts ID.
Currently, we have a centralized FCB, so this is no harm for us and we get
a more readable log output as well as repeatable ID for testing.

13 years agofcb: Correct bug to pass the test suite
Michal Sojka [Thu, 24 Jun 2010 21:04:34 +0000 (23:04 +0200)]
fcb: Correct bug to pass the test suite

FCB didn't detect rejected contracts.

13 years agofcb: Add reserve_resource helper function
Michal Sojka [Thu, 24 Jun 2010 14:56:46 +0000 (16:56 +0200)]
fcb: Add reserve_resource helper function

TODO: Fix a bug in the implementation - test suite fails!

13 years agofcb: Refactor resource reserve/commit
Michal Sojka [Thu, 24 Jun 2010 13:38:20 +0000 (15:38 +0200)]
fcb: Refactor resource reserve/commit

This allows sharing some code with transaction negotiation.

13 years agofcb: Work on transaction support continues
Michal Sojka [Wed, 23 Jun 2010 23:23:00 +0000 (01:23 +0200)]
fcb: Work on transaction support continues

13 years agoSmall fixes
Michal Sojka [Wed, 23 Jun 2010 21:56:37 +0000 (23:56 +0200)]
Small fixes

13 years agofcb: Refactor prepare_fcb_contracts()
Michal Sojka [Wed, 23 Jun 2010 21:56:10 +0000 (23:56 +0200)]
fcb: Refactor prepare_fcb_contracts()

13 years agoFix contract test
Michal Sojka [Wed, 23 Jun 2010 20:30:22 +0000 (22:30 +0200)]
Fix contract test

Critical sections were uninitialized and as such caused segfault.
Remove them, since they are not used in any resource.

13 years agoStart of transaction implementation and tests
Michal Sojka [Wed, 23 Jun 2010 15:37:49 +0000 (17:37 +0200)]
Start of transaction implementation and tests

13 years agoRename fres test binaries to have more unique names
Michal Sojka [Wed, 23 Jun 2010 15:33:44 +0000 (17:33 +0200)]
Rename fres test binaries to have more unique names

13 years agoUpdate fres_transaction API
Michal Sojka [Wed, 23 Jun 2010 15:32:26 +0000 (17:32 +0200)]
Update fres_transaction API

13 years agofcb: Add skeleton of transaction handling
Michal Sojka [Wed, 23 Jun 2010 15:31:33 +0000 (17:31 +0200)]
fcb: Add skeleton of transaction handling

13 years agoAdd test for frsh_transaction_negotiate()
Michal Sojka [Tue, 22 Jun 2010 15:30:45 +0000 (17:30 +0200)]
Add test for frsh_transaction_negotiate()

13 years agoAdd the beginning of transaction negotiation test
Michal Sojka [Tue, 22 Jun 2010 14:53:27 +0000 (16:53 +0200)]
Add the beginning of transaction negotiation test

13 years agodummy: Enable use of multiple dummy resources
Michal Sojka [Tue, 22 Jun 2010 14:50:37 +0000 (16:50 +0200)]
dummy: Enable use of multiple dummy resources

This is intended for the use in automatic tests which need to work
with multiple resources. The test can initialize several dummy
resources, not just the default one with id 255.

13 years agoAdd transaction manipulation functions (and tests)
Michal Sojka [Tue, 22 Jun 2010 13:23:16 +0000 (15:23 +0200)]
Add transaction manipulation functions (and tests)

13 years agoUnify parameters of forb_sequence_*()
Michal Sojka [Tue, 22 Jun 2010 11:05:18 +0000 (13:05 +0200)]
Unify parameters of forb_sequence_*()

13 years agoConvert contract test to wvtest
Michal Sojka [Tue, 22 Jun 2010 09:08:06 +0000 (11:08 +0200)]
Convert contract test to wvtest

13 years agoFinish testing of spare capacity
Michal Sojka [Sun, 20 Jun 2010 15:05:24 +0000 (17:05 +0200)]
Finish testing of spare capacity

13 years agoTests that VRES has the negotiated parameters
Michal Sojka [Sun, 20 Jun 2010 14:48:15 +0000 (16:48 +0200)]
Tests that VRES has the negotiated parameters

13 years agoAdd convenient functions to get contract budget and period
Michal Sojka [Sun, 20 Jun 2010 14:47:40 +0000 (16:47 +0200)]
Add convenient functions to get contract budget and period

13 years agotest: Convert spare capacity test to wvtest
Michal Sojka [Sun, 20 Jun 2010 13:11:36 +0000 (15:11 +0200)]
test: Convert spare capacity test to wvtest

TODO: Add more contracts and check s.c. reallocation.

13 years agotest: Convert test to C (from C++)
Michal Sojka [Sun, 20 Jun 2010 12:15:46 +0000 (14:15 +0200)]
test: Convert test to C (from C++)

13 years agotests: Update negotiation test and fix problems
Michal Sojka [Sun, 20 Jun 2010 10:31:16 +0000 (12:31 +0200)]
tests: Update negotiation test and fix problems

13 years agoMove wvtest tests to the previous place
Michal Sojka [Sun, 20 Jun 2010 09:49:51 +0000 (11:49 +0200)]
Move wvtest tests to the previous place

13 years agoAdd options to daemonize FCB and FRM_DUMMY
Michal Sojka [Fri, 18 Jun 2010 23:39:07 +0000 (01:39 +0200)]
Add options to daemonize FCB and FRM_DUMMY

13 years agoMute a warning
Michal Sojka [Fri, 18 Jun 2010 15:08:26 +0000 (17:08 +0200)]
Mute a warning

13 years agoDestroy FORB executors thread running allocators in frsh_destroy()
Michal Sojka [Fri, 18 Jun 2010 15:08:04 +0000 (17:08 +0200)]
Destroy FORB executors thread running allocators in frsh_destroy()

This avoid sporadic segfault in frsh_destroy()

13 years agoImplement frsh_destroy()
Michal Sojka [Fri, 18 Jun 2010 14:15:23 +0000 (16:15 +0200)]
Implement frsh_destroy()

... to make wvtest happy by closing all file desriptors.

13 years agoC++ fixes
Michal Sojka [Fri, 18 Jun 2010 14:14:23 +0000 (16:14 +0200)]
C++ fixes

C++ compiler failed / generated warnings at these places.

13 years agofig: Change font
Michal Sojka [Tue, 8 Jun 2010 11:36:22 +0000 (13:36 +0200)]
fig: Change font

13 years agofig: fix alignment
Michal Sojka [Fri, 4 Jun 2010 08:14:37 +0000 (10:14 +0200)]
fig: fix alignment

13 years agoresource dependent -> resource-specific
Michal Sojka [Fri, 4 Jun 2010 08:10:15 +0000 (10:10 +0200)]
resource dependent -> resource-specific

13 years agoOS Kernel/Schedulers -> OS Kernel/Resource Schedulers
Michal Sojka [Fri, 4 Jun 2010 07:59:14 +0000 (09:59 +0200)]
OS Kernel/Schedulers -> OS Kernel/Resource Schedulers

13 years agofig: Further updates
Michal Sojka [Thu, 3 Jun 2010 14:15:37 +0000 (16:15 +0200)]
fig: Further updates

13 years agofig: Further changes
Michal Sojka [Thu, 3 Jun 2010 13:36:58 +0000 (15:36 +0200)]
fig: Further changes

- three levels
- cmr10 font

13 years agofig: Small fixes
Michal Sojka [Thu, 3 Jun 2010 13:10:16 +0000 (15:10 +0200)]
fig: Small fixes

13 years agofig: upside-down and modify a little bit
Michal Sojka [Thu, 3 Jun 2010 13:10:04 +0000 (15:10 +0200)]
fig: upside-down and modify a little bit

13 years agodoc: Export figure with opaque background
Michal Sojka [Mon, 31 May 2010 13:04:21 +0000 (15:04 +0200)]
doc: Export figure with opaque background

13 years agoAllow specification of the local CPU ID using environment variable
Michal Sojka [Thu, 20 May 2010 13:05:28 +0000 (15:05 +0200)]
Allow specification of the local CPU ID using environment variable

13 years agofrm_cgcpu: Fix segmentation fault
Michal Sojka [Thu, 20 May 2010 12:29:20 +0000 (14:29 +0200)]
frm_cgcpu: Fix segmentation fault

13 years agodisk_bfq: Use highest priority in BE class
Michal Sojka [Mon, 17 May 2010 12:08:28 +0000 (14:08 +0200)]
disk_bfq: Use highest priority in BE class

Accoring to Fabio, if we use RT class, we get the same behavior as with
CFQ (mainline).

13 years agodisk_bfq: Set ioprio directly without regard to the contract
Michal Sojka [Fri, 14 May 2010 18:28:57 +0000 (20:28 +0200)]
disk_bfq: Set ioprio directly without regard to the contract

There is some problem with calculation of ioprio values, so we set it
to a fixed value.

13 years agoAdd Doxyfile
Michal Sojka [Fri, 14 May 2010 16:11:44 +0000 (18:11 +0200)]
Add Doxyfile

I found this file somewhere on my disk, so let's add it to the repo.
It may need some modification, I didn't checked it.

13 years agodisk_bfq: Report ioprio() errors
Michal Sojka [Fri, 14 May 2010 15:53:26 +0000 (17:53 +0200)]
disk_bfq: Report ioprio() errors

13 years agodisk_bfq: Use ulut logging
Michal Sojka [Fri, 14 May 2010 15:50:18 +0000 (17:50 +0200)]
disk_bfq: Use ulut logging

14 years agofrm_gui: Compilation fixes
Michal Sojka [Tue, 13 Apr 2010 12:42:56 +0000 (14:42 +0200)]
frm_gui: Compilation fixes

Probably caused by a new version of QT (4.5)

14 years agoSuppress several warnings
Michal Sojka [Tue, 8 Dec 2009 15:59:43 +0000 (16:59 +0100)]
Suppress several warnings

14 years agoImplemented simple logging in FCB
Michal Sojka [Tue, 1 Dec 2009 17:24:24 +0000 (18:24 +0100)]
Implemented simple logging in FCB

14 years agoBFQ: show units with determined throughput
Michal Sojka [Fri, 27 Nov 2009 16:45:01 +0000 (17:45 +0100)]
BFQ: show units with determined throughput

14 years agoBFQ: Fixed wrong block ID
Michal Sojka [Fri, 27 Nov 2009 11:21:49 +0000 (12:21 +0100)]
BFQ: Fixed wrong block ID

This caused failure in negotiation.

14 years agoConvert printf()s in managers to ul_log
Michal Sojka [Fri, 27 Nov 2009 11:11:52 +0000 (12:11 +0100)]
Convert printf()s in managers to ul_log

14 years agobfq: Add check for missing disk parameter
Michal Sojka [Thu, 26 Nov 2009 20:57:57 +0000 (21:57 +0100)]
bfq: Add check for missing disk parameter

14 years agoFix BFQ configuration
Michal Sojka [Thu, 26 Nov 2009 20:50:22 +0000 (21:50 +0100)]
Fix BFQ configuration

14 years agoCompile disk_bfq manager with large file support
Michal Sojka [Thu, 26 Nov 2009 20:36:56 +0000 (21:36 +0100)]
Compile disk_bfq manager with large file support

14 years agodisk_bfq: Make error messages meaninful
Michal Sojka [Thu, 26 Nov 2009 20:35:56 +0000 (21:35 +0100)]
disk_bfq: Make error messages meaninful

14 years agoFix disk_bfq segfault
Michal Sojka [Thu, 26 Nov 2009 20:35:05 +0000 (21:35 +0100)]
Fix disk_bfq segfault

14 years agoEnable disk resource by default
Michal Sojka [Thu, 26 Nov 2009 19:35:38 +0000 (20:35 +0100)]
Enable disk resource by default

14 years agodisk_bfq: Cleaned up Makefile.omk
Michal Sojka [Tue, 17 Nov 2009 20:16:44 +0000 (21:16 +0100)]
disk_bfq: Cleaned up Makefile.omk

14 years agodisk_bfq: Manager updated to work correctly with contract cancelation
Michal Sojka [Tue, 17 Nov 2009 20:13:40 +0000 (21:13 +0100)]
disk_bfq: Manager updated to work correctly with contract cancelation

This should be updated in commit
9483d1c9372f42d39af18b6615ea13052a5702ed, but for some reason it was not
done.

14 years agoFixed race condition in allocator registration
Michal Sojka [Tue, 10 Nov 2009 13:35:51 +0000 (14:35 +0100)]
Fixed race condition in allocator registration

This happened when multiple threads tried to negotiate contracts
simultaneously. The first negotiation triggers registration
of FRA with FCB and the check whether the FRA is already registered
was not protected by any mutex.

14 years agoFixed the number of available container blocks
Michal Sojka [Tue, 27 Oct 2009 15:08:25 +0000 (16:08 +0100)]
Fixed the number of available container blocks

FRES_NUM_BLOCKS was also prefixed with __ to make the name distinguishable
from regular block identifiers.

14 years agoFixed printf warnings on 64-bit arch
Michal Sojka [Tue, 27 Oct 2009 09:08:09 +0000 (10:08 +0100)]
Fixed printf warnings on 64-bit arch

14 years agoFixed "allocation" of dummy VRESes
Michal Sojka [Tue, 27 Oct 2009 09:05:24 +0000 (10:05 +0100)]
Fixed "allocation" of dummy VRESes

Dummy VRESes was not represented in application in any way, so it was not
possible for an application to cancel the dummy VRES. This happened in
fwptester.

14 years agoCheck for internal bugs in frsh_contract_negotiate()
Michal Sojka [Mon, 26 Oct 2009 17:02:24 +0000 (18:02 +0100)]
Check for internal bugs in frsh_contract_negotiate()

fwptester doesn't work properly because this assertion fails. Currently,
I do not know where is exactly the problem.

14 years agoAdded ID of the new FWP contract block
Michal Sojka [Mon, 26 Oct 2009 16:59:53 +0000 (17:59 +0100)]
Added ID of the new FWP contract block

14 years agoDeadline miss notification signals API changed
Michal Sojka [Mon, 19 Oct 2009 13:29:14 +0000 (15:29 +0200)]
Deadline miss notification signals API changed

Instead of specifying notification signals before negotiation in
frsh_contract_set_timing_reqs(), new function frsh_vres_set_notification()
was created to specify this before bind (after negotiation).

14 years agorenegobench: Fixed timespec substraction
Michal Sojka [Thu, 15 Oct 2009 15:36:54 +0000 (17:36 +0200)]
renegobench: Fixed timespec substraction