RetroShare is a Free and Open Source cross-platform, Friend-2-Friend and secure decentralised communication platform.
Find a file
csoler 2832f912c6 First version of QoS.
- QoS is handled by pqihandler, as a subclass of pqiqos
	- test program in libretroshare/src/tests/pqi/pqiqos_test.cc
	- RsItem now has an integer priority value

QoS is driven by two parameters:
	- max number of priority levels
	- average speed ratio between two successive levels

The current algorithm ensures that:
	- each item is treated within a constant time (which depends on its priority), whatever the order of feeding the queue
	- items of equal priority are treated in the same order
	- if kept unfed, the queue eventually gets empty.

For now the ratio is 2.8 for a total of 10 priorities. All items have default priority 5, except chat items that
have priority 7 for testing.

Todo
	- adapt the speed of drawing from thepriority queue to the available out rate of pqistreamer
	- remove data queue from pqistreamer
	- setup priority values for all services.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5_QoS@4511 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-31 21:15:21 +00:00
build_scripts updated changelog for ubuntu 2011-07-31 14:09:10 +00:00
libbitdht/src Added External Interface to control "Attached" Mode 2011-07-21 11:23:56 +00:00
libretroshare/src First version of QoS. 2011-07-31 21:15:21 +00:00
plugins fixed compilation 2011-07-09 15:47:49 +00:00
retroshare-gui/src update rs version 2011-07-31 17:56:34 +00:00
retroshare-nogui/src fixed compilation of retroshare-nogui 2011-04-11 13:15:48 +00:00
build-all-mingw32make.bat added build all bat file for windows 2011-07-02 16:52:58 +00:00
RetroShare.pro Added a project file (subdirs template) for libbitdht, libretroshare and retroshare-gui. 2011-07-17 23:28:44 +00:00