mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-01 11:21:25 -05:00

- 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
Description
RetroShare is a Free and Open Source cross-platform, Friend-2-Friend and secure decentralised communication platform.
Languages
C++
85.6%
C
7%
QMake
1.7%
HTML
1.4%
NSIS
1%
Other
3.1%