]> rtime.felk.cvut.cz Git - frescor/fwp.git/log
frescor/fwp.git
14 years agoFixed broken budgeting algorithm
Michal Sojka [Thu, 13 Aug 2009 15:29:34 +0000 (17:29 +0200)]
Fixed broken budgeting algorithm

The problems of the previous implementation were:

1) Messages were almost always delayed event if it was not necessary.
   The reason was that the budget was replenished only at the
   multiples of period since the VRES thread started. Even if no
   message was sent for several periods, the budget was not
   replenished immediately when a new message arrived, but the code
   wait for the next period.
2) It was possible to send more bytes then the VRES should allow. If
   the message was too large, the code just wait for the new replenish
   and then sent the message. At the next replenish instant, the
   budget was fully replenished again another oversized message could
   be sent again.

The new algorithm should solve all the above points.

14 years agoRESCHED flag renamed to CHANGED
Michal Sojka [Thu, 13 Aug 2009 15:29:13 +0000 (17:29 +0200)]
RESCHED flag renamed to CHANGED

This better represents the meaning of the flag.

14 years agoUse more descriptive error numbers
Michal Sojka [Thu, 13 Aug 2009 13:19:01 +0000 (15:19 +0200)]
Use more descriptive error numbers

14 years agoFix VRES flag values
Michal Sojka [Thu, 13 Aug 2009 13:10:09 +0000 (15:10 +0200)]
Fix VRES flag values

VRES flags are treated as bit numbers but was incorrectly defined as bit
masks.

14 years agowme_test: recv_packet_fwp returns correct value
Michal Sojka [Thu, 13 Aug 2009 11:36:27 +0000 (13:36 +0200)]
wme_test: recv_packet_fwp returns correct value

14 years agowme_test: Document -G switch
Michal Sojka [Thu, 13 Aug 2009 11:33:38 +0000 (13:33 +0200)]
wme_test: Document -G switch

14 years agowme_test: Added -l switch to select logging levels
Michal Sojka [Thu, 13 Aug 2009 11:31:49 +0000 (13:31 +0200)]
wme_test: Added -l switch to select logging levels

Works only when compiled with uLUt

14 years agoFix error reporting of fwp_fna functions
Michal Sojka [Thu, 13 Aug 2009 11:02:03 +0000 (13:02 +0200)]
Fix error reporting of fwp_fna functions

Return value of several functions was stored in a variable of unsigned
type size_t and later was checked to be less then zero, which was always
true. Now, we use signed type ssize_t for this cases.

14 years agoConvert debug messages to uLUt and fix #include dependencies
Michal Sojka [Thu, 13 Aug 2009 10:59:16 +0000 (12:59 +0200)]
Convert debug messages to uLUt and fix #include dependencies

14 years agowme_test: fixed termination under FRSH
Michal Sojka [Thu, 13 Aug 2009 09:02:25 +0000 (11:02 +0200)]
wme_test: fixed termination under FRSH

14 years agoRemove obsolete comment
Michal Sojka [Thu, 13 Aug 2009 09:01:17 +0000 (11:01 +0200)]
Remove obsolete comment

14 years agoAdded check for NULL arguments to avoid segfaults
Michal Sojka [Thu, 13 Aug 2009 09:01:00 +0000 (11:01 +0200)]
Added check for NULL arguments to avoid segfaults

14 years agoMake FWP not to eat EINTR error
Michal Sojka [Thu, 13 Aug 2009 08:57:06 +0000 (10:57 +0200)]
Make FWP not to eat EINTR error

Without returning EINTR, it is not possible to correctly terminate FRSH
applications such as wclient.

14 years agowme_test: Use send_async() which is implemented by FWP
Michal Sojka [Wed, 12 Aug 2009 16:26:54 +0000 (18:26 +0200)]
wme_test: Use send_async() which is implemented by FWP

14 years agowme_test: GUI may be enabled in both FRSH/non-FRSH version by -G switch
Michal Sojka [Wed, 12 Aug 2009 16:02:00 +0000 (18:02 +0200)]
wme_test: GUI may be enabled in both FRSH/non-FRSH version by -G switch

14 years agowme_test: Make it work with ncurses TUI
Michal Sojka [Wed, 12 Aug 2009 15:21:58 +0000 (17:21 +0200)]
wme_test: Make it work with ncurses TUI

There are still some problems with FRSH code

14 years agowme_test is compiled by default with FRSH
Michal Sojka [Tue, 11 Aug 2009 16:38:01 +0000 (18:38 +0200)]
wme_test is compiled by default with FRSH

14 years agoCatch missing contract parameters in allocator
Michal Sojka [Mon, 10 Aug 2009 16:17:06 +0000 (18:17 +0200)]
Catch missing contract parameters in allocator

14 years agoWhitespace fixes
Michal Sojka [Mon, 10 Aug 2009 16:15:41 +0000 (18:15 +0200)]
Whitespace fixes

14 years agoReject contracts with zero period and budget
Michal Sojka [Mon, 10 Aug 2009 14:46:58 +0000 (16:46 +0200)]
Reject contracts with zero period and budget

14 years agoMake wme_test compilable with FRSH and FWP
Michal Sojka [Thu, 6 Aug 2009 16:19:41 +0000 (18:19 +0200)]
Make wme_test compilable with FRSH and FWP

14 years agowme_test: Added missing \n in help message
Michal Sojka [Mon, 3 Aug 2009 16:38:59 +0000 (18:38 +0200)]
wme_test: Added missing \n in help message

14 years agowme_test: Get rid of type related warnings on 64 bit systems
Michal Sojka [Mon, 3 Aug 2009 16:26:19 +0000 (18:26 +0200)]
wme_test: Get rid of type related warnings on 64 bit systems

14 years agowme_test: Make the message format independent of 32/64 bit architecture
Michal Sojka [Mon, 3 Aug 2009 09:30:06 +0000 (11:30 +0200)]
wme_test: Make the message format independent of 32/64 bit architecture

When wclient and wserver were run on different architectures
(32/64-bit), the message format was different on each machine and the
results were wrong.

14 years agowme_test: update status every second when compiled without FWP
Michal Sojka [Mon, 3 Aug 2009 09:31:11 +0000 (11:31 +0200)]
wme_test: update status every second when compiled without FWP

Statistics displays number of messages per second, so when they are
displayed faster, the numbers are not correct.

14 years agowme_test: Do not print EINTR errors
Michal Sojka [Mon, 3 Aug 2009 09:30:39 +0000 (11:30 +0200)]
wme_test: Do not print EINTR errors

14 years agowme_test: Added missing declaration when compiled without FWP
Michal Sojka [Fri, 24 Jul 2009 16:06:29 +0000 (18:06 +0200)]
wme_test: Added missing declaration when compiled without FWP

14 years agoSupressed a warning
Michal Sojka [Thu, 28 May 2009 03:52:33 +0000 (05:52 +0200)]
Supressed a warning

14 years agoFix fra warning
Michal Sojka [Wed, 27 May 2009 22:23:52 +0000 (00:23 +0200)]
Fix fra warning

<2>fra: change_vres callback did not change the perceived vres!

14 years agoMerge branch 'master' of molnam1@rtime.felk.cvut.cz:/var/git/frescor/fwp
Martin Molnar [Wed, 27 May 2009 21:56:09 +0000 (23:56 +0200)]
Merge branch 'master' of molnam1@rtime.felk.cvut.cz:/var/git/frescor/fwp

Conflicts:

fwp/lib/frsh_fwp/fwp_fra.c

14 years agoUpdated logging in allocator
Michal Sojka [Wed, 27 May 2009 14:13:24 +0000 (16:13 +0200)]
Updated logging in allocator

14 years agoBetter logging in admission test
Michal Sojka [Wed, 27 May 2009 13:59:42 +0000 (15:59 +0200)]
Better logging in admission test

14 years agoMerge branch 'master' of molnam1@rtime.felk.cvut.cz:/var/git/frescor/fwp
Martin Molnar [Wed, 27 May 2009 11:26:14 +0000 (13:26 +0200)]
Merge branch 'master' of molnam1@rtime.felk.cvut.cz:/var/git/frescor/fwp

14 years agoAdd support for changing fwp vres
Martin Molnar [Wed, 27 May 2009 11:24:44 +0000 (13:24 +0200)]
Add support for changing fwp vres
Signed-off-by: Martin <molnam1@fel.cvut.cz>
14 years agoAdmission test updated to support cancelation
Michal Sojka [Wed, 27 May 2009 11:00:57 +0000 (13:00 +0200)]
Admission test updated to support cancelation

14 years agoThe logging updated to allow full loglevels control.
Pavel Pisa [Tue, 26 May 2009 04:09:03 +0000 (06:09 +0200)]
The logging updated to allow full loglevels control.

uLUt update to actual version is required.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
14 years agofwp_endpoint_create returns socket descriptor
Martin Molnar [Mon, 25 May 2009 10:21:25 +0000 (12:21 +0200)]
fwp_endpoint_create returns socket descriptor
if successfull otherwise negative value.

Signed-off-by: Martin <molnam1@fel.cvut.cz>
14 years agoMerge branch 'master' of molnam1@rtime.felk.cvut.cz:/var/git/frescor/fwp
Martin Molnar [Sun, 24 May 2009 20:17:04 +0000 (22:17 +0200)]
Merge branch 'master' of molnam1@rtime.felk.cvut.cz:/var/git/frescor/fwp

14 years agoChange number of message in queue from 32 to 2048.
Martin Molnar [Sun, 24 May 2009 20:16:52 +0000 (22:16 +0200)]
Change number of message in queue from 32 to 2048.

The previous value caused that streamer has frozen
after while.
Signed-off-by: Martin <molnam1@fel.cvut.cz>
15 years agoAdd a name displayed by frm_gui to the manager
Michal Sojka [Wed, 20 May 2009 23:09:56 +0000 (01:09 +0200)]
Add a name displayed by frm_gui to the manager

15 years agoUpdated forb initialization in manager
Michal Sojka [Sun, 17 May 2009 05:27:21 +0000 (07:27 +0200)]
Updated forb initialization in manager

15 years agoRemoved extraordinary use of inline keyword in functions declarations.
Pavel Pisa [Thu, 14 May 2009 00:19:34 +0000 (02:19 +0200)]
Removed extraordinary use of inline keyword in functions declarations.

The use of inline for functions implemented in C source
file and included in library breaks C99/GNU99 build with
FFMpeg library.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
15 years agomanager: replaced fres_sa_scenario_for_each_contract to skip contracts to be canceled
Michal Sojka [Thu, 23 Apr 2009 11:13:23 +0000 (13:13 +0200)]
manager: replaced fres_sa_scenario_for_each_contract to skip contracts to be canceled

15 years agoBitrate increased to 54 Mbps, lowered mimimum deadline.
Michal Sojka [Wed, 11 Feb 2009 08:15:02 +0000 (09:15 +0100)]
Bitrate increased to 54 Mbps, lowered mimimum deadline.

15 years agoBitrate increased to 22 Mbps, added utilization export for GUI
Michal Sojka [Wed, 11 Feb 2009 07:57:41 +0000 (08:57 +0100)]
Bitrate increased to 22 Mbps, added utilization export for GUI

15 years agofwp_vres: budget is now full by default.
Martin Molnar [Mon, 15 Dec 2008 21:16:50 +0000 (22:16 +0100)]
fwp_vres: budget is now full by default.

15 years agoBug fix in vres tx thread. Fixed budgeting.
Martin Molnar [Sun, 14 Dec 2008 15:04:11 +0000 (16:04 +0100)]
Bug fix in vres tx thread. Fixed budgeting.

15 years agoUpdated to the changed prototype of fra_register()
Michal Sojka [Fri, 12 Dec 2008 16:39:09 +0000 (17:39 +0100)]
Updated to the changed prototype of fra_register()

15 years agoFixed budget conversion in FRA
Michal Sojka [Wed, 10 Dec 2008 10:37:54 +0000 (11:37 +0100)]
Fixed budget conversion in FRA

15 years agofwpmngr displays budgets in bytes
Michal Sojka [Wed, 10 Dec 2008 09:33:50 +0000 (10:33 +0100)]
fwpmngr displays budgets in bytes

15 years agoCommented out error output message when set_setscheduler call fails
Martin [Fri, 28 Nov 2008 13:07:55 +0000 (14:07 +0100)]
Commented out error output message when set_setscheduler call fails

15 years agoUndo previous fix
Martin Molnar [Mon, 24 Nov 2008 22:14:55 +0000 (23:14 +0100)]
Undo previous fix

15 years agoFIx: fwp_fna_receive_endpoint_created -returning receive port
Martin Molnar [Mon, 24 Nov 2008 20:46:47 +0000 (21:46 +0100)]
FIx: fwp_fna_receive_endpoint_created -returning receive port

15 years agoFix: function fwp_recv returns address of sender in from prarameter
Martin [Wed, 19 Nov 2008 17:15:17 +0000 (18:15 +0100)]
Fix: function fwp_recv returns address of sender in from prarameter

15 years agoMerge branch 'master' of molnam1@rtime.felk.cvut.cz:/var/git/frescor/fwp
Martin [Wed, 19 Nov 2008 14:21:33 +0000 (15:21 +0100)]
Merge branch 'master' of molnam1@rtime.felk.cvut.cz:/var/git/frescor/fwp

15 years agoFix:In fwp_receive_endpoint_create the assignment of port number(assigned by system...
Martin [Wed, 19 Nov 2008 14:21:02 +0000 (15:21 +0100)]
Fix:In fwp_receive_endpoint_create the assignment of port number(assigned by system) to endpoint.port  was missing

15 years agoRemoved undesired, tracked file in doc directory
Martin Molnar [Tue, 18 Nov 2008 22:07:31 +0000 (23:07 +0100)]
Removed undesired, tracked file in doc directory

15 years agoAdded lincence to mngr files
Martin [Tue, 18 Nov 2008 13:49:51 +0000 (14:49 +0100)]
Added lincence to mngr files

15 years agoAdded licence at the begining of file.
Martin [Tue, 18 Nov 2008 13:44:18 +0000 (14:44 +0100)]
Added licence at the begining of file.

15 years agoFWP clean-up. CONFIG_WITH_CONTNEGT changed to CONFIG_WITHOUT_CONNEGT.
Martin [Fri, 14 Nov 2008 18:31:04 +0000 (19:31 +0100)]
FWP clean-up. CONFIG_WITH_CONTNEGT changed to CONFIG_WITHOUT_CONNEGT.

15 years agoUpdated to rename of resource scheduler to allocator
Michal Sojka [Thu, 13 Nov 2008 13:56:04 +0000 (14:56 +0100)]
Updated to rename of resource scheduler to allocator

15 years agoUpdate of manager and scheduler to the changes in frsh_forb
Michal Sojka [Thu, 6 Nov 2008 15:21:26 +0000 (16:21 +0100)]
Update of manager and scheduler to the changes in frsh_forb

15 years agoFWP compilation can be disabled in config.omk
Michal Sojka [Thu, 6 Nov 2008 15:20:48 +0000 (16:20 +0100)]
FWP compilation can be disabled in config.omk

15 years agoSmall change of constatnts in fwp_vrestest2
Martin [Wed, 5 Nov 2008 11:45:07 +0000 (12:45 +0100)]
Small change of constatnts in fwp_vrestest2

15 years agomerge martin-devel
Martin [Mon, 3 Nov 2008 17:50:59 +0000 (18:50 +0100)]
merge martin-devel

15 years agoModified FWP utilization-based admission test and integrated to FORB
Martin [Mon, 3 Nov 2008 17:24:56 +0000 (18:24 +0100)]
Modified FWP utilization-based admission test and integrated to FORB

15 years agoAdded utilization based admission test - needed to be modified.
Martin [Sun, 2 Nov 2008 18:36:34 +0000 (19:36 +0100)]
Added utilization based admission test - needed to be modified.

15 years agoAdmission test adapted to API change
Michal Sojka [Sat, 1 Nov 2008 17:01:04 +0000 (18:01 +0100)]
Admission test adapted to API change

See 449b84745661858c77bbab101f7f1ec26b4d97ad commit in frsh_forb

15 years agoRename lib/core to lib/fwp. Clean-ups
Martin [Fri, 31 Oct 2008 16:27:31 +0000 (17:27 +0100)]
Rename lib/core to lib/fwp. Clean-ups

15 years agoAdded support for contract negotiation
Martin [Fri, 31 Oct 2008 14:07:14 +0000 (15:07 +0100)]
Added support for contract negotiation

15 years agoSmall fixes to get frsh distributed test working again.
Martin [Wed, 29 Oct 2008 15:15:21 +0000 (16:15 +0100)]
Small fixes to get frsh distributed test working again.

15 years agoWhen receive endpoint is created with port=0, the routine assigns real port. Modified...
Martin [Wed, 29 Oct 2008 10:15:49 +0000 (11:15 +0100)]
When receive endpoint is created with port=0, the routine assigns real port. Modified DUMMY manager for the purpose of FWP manager

15 years agoCompilation fixes
Martin [Tue, 28 Oct 2008 16:23:04 +0000 (17:23 +0100)]
Compilation fixes

15 years agoAdded resmngr and resched from dummy exapmle
Martin [Fri, 24 Oct 2008 15:14:08 +0000 (17:14 +0200)]
Added resmngr and resched from dummy exapmle

15 years agofwp_util.(h,c) changed to fwp_utils
Martin Molnar [Sun, 26 Oct 2008 13:04:13 +0000 (14:04 +0100)]
fwp_util.(h,c) changed to fwp_utils

15 years agoAdding more comments to fwp_endpoint
Martin Molnar [Sun, 26 Oct 2008 00:02:48 +0000 (02:02 +0200)]
Adding more comments to fwp_endpoint

15 years agoResolving conflicts in fwp/Makefile.omk
Martin [Fri, 24 Oct 2008 09:11:40 +0000 (11:11 +0200)]
Resolving conflicts in fwp/Makefile.omk

15 years agoRemoved ulut from Makefile.omk. fna_send_endpoint_unbind made empty until frsh_vres_i...
Martin [Fri, 24 Oct 2008 09:02:14 +0000 (11:02 +0200)]
Removed ulut from Makefile.omk. fna_send_endpoint_unbind made empty until frsh_vres_id handling is complete

15 years agoIntegration of makesystem with the rest of FRESCOR
Michal Sojka [Fri, 24 Oct 2008 08:15:42 +0000 (10:15 +0200)]
Integration of makesystem with the rest of FRESCOR

15 years agoAdded option FWP_CONTNEGT. If not defined, fwp can be tested without contract negotia...
Martin [Wed, 22 Oct 2008 14:26:14 +0000 (16:26 +0200)]
Added option FWP_CONTNEGT. If not defined, fwp can be tested without contract negotiation. So in the send endpoint call , the vres with default parameters is created.

15 years agoClean-ups. Removed directories: frsh, frsh-aquosa, ulut
Martin [Wed, 22 Oct 2008 07:47:30 +0000 (09:47 +0200)]
Clean-ups. Removed directories: frsh, frsh-aquosa, ulut

15 years agoFixed another bug. tcp data transfer is working
Martin [Tue, 21 Oct 2008 17:31:04 +0000 (19:31 +0200)]
Fixed another bug. tcp data transfer is working

15 years agoFixing bugs related to tcp tranfer. Still not working
Martin [Tue, 21 Oct 2008 17:11:06 +0000 (19:11 +0200)]
Fixing bugs related to tcp tranfer. Still not working

15 years agoAdded fwp_fna.h
Martin [Mon, 20 Oct 2008 15:28:27 +0000 (17:28 +0200)]
Added fwp_fna.h

15 years agoFna ops mapped to fwp ops inluding new fna ops like bind, unbind, cretae , destroy...
Martin [Mon, 20 Oct 2008 15:27:12 +0000 (17:27 +0200)]
Fna ops mapped to fwp ops inluding new fna ops like bind, unbind, cretae , destroy endpoint

15 years agoAdded core/tests/Makefile.omk
Martin [Thu, 16 Oct 2008 14:59:34 +0000 (16:59 +0200)]
Added core/tests/Makefile.omk

15 years agoFix: fwp_endpoint is stored in endpoint.protocol.info instead of endpoint.endpoint_se...
Martin [Thu, 16 Oct 2008 14:33:06 +0000 (16:33 +0200)]
Fix: fwp_endpoint is stored in endpoint.protocol.info instead of endpoint.endpoint_send(receive)_protocol_info

15 years agoAdded makefiles to /lib/core/tests
Martin [Wed, 15 Oct 2008 11:41:48 +0000 (13:41 +0200)]
Added makefiles to /lib/core/tests

15 years agofwp_vrestest and fwp_msgtestmoved to lib/core
Martin [Wed, 15 Oct 2008 11:40:55 +0000 (13:40 +0200)]
fwp_vrestest and fwp_msgtestmoved to lib/core

15 years agoBug fixes. fwp_vrestest1 and fwp_vrestest2 passed
Martin [Tue, 14 Oct 2008 15:49:11 +0000 (17:49 +0200)]
Bug fixes. fwp_vrestest1 and fwp_vrestest2 passed

15 years agoCompilation fixes
Martin [Mon, 13 Oct 2008 16:03:58 +0000 (18:03 +0200)]
Compilation fixes

15 years agoSplit fwp_vres_set_params function
Martin Molnar [Sun, 12 Oct 2008 23:29:13 +0000 (01:29 +0200)]
Split fwp_vres_set_params function

15 years agoReworked fwp_vres: added flag field, vres_thread get simplified.
Martin [Sun, 12 Oct 2008 21:13:53 +0000 (23:13 +0200)]
Reworked fwp_vres: added flag field,  vres_thread get simplified.

15 years agoFWP_FNA compilation fixes
Martin [Tue, 7 Oct 2008 14:17:47 +0000 (16:17 +0200)]
FWP_FNA compilation fixes

15 years agochanged CFLAGS = -> CFLAGS +=
Martin [Tue, 7 Oct 2008 10:48:57 +0000 (12:48 +0200)]
changed CFLAGS = -> CFLAGS +=

15 years agoCompilation fixes
Martin [Mon, 6 Oct 2008 16:04:26 +0000 (18:04 +0200)]
Compilation fixes

15 years agoJoin fwp send/recv ops with fna send/recv ops
Martin Molnar [Sun, 5 Oct 2008 22:59:54 +0000 (00:59 +0200)]
Join fwp send/recv ops with fna send/recv ops

15 years agoPresenations moved to a separated repository
Michal Sojka [Wed, 24 Sep 2008 14:55:53 +0000 (16:55 +0200)]
Presenations moved to a separated repository

15 years agoLittle clean-up.
Martin [Wed, 24 Sep 2008 14:36:42 +0000 (16:36 +0200)]
Little clean-up.

15 years agoCompilation fixes of Aquosa CPU(aqcpu) module. Added timespec_usec_ops.h.
Martin [Tue, 23 Sep 2008 16:32:23 +0000 (18:32 +0200)]
Compilation fixes of Aquosa CPU(aqcpu) module. Added timespec_usec_ops.h.