source: freewrt/package/fwrtc/files/fwrtc.conf@ 621d5d2

freewrt_2_0
Last change on this file since 621d5d2 was 69879d0, checked in by Phil Sutter <n0-1@…>, 18 years ago

integrating fwrtc also into 1.0, ok'ed by tha@

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@3058 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.8 KB
Line 
1# fwrtc.conf - FreeWRT Traffic Control Configuration
2#
3# This script makes use of HTB to realise shaping.
4# It basically defines three priority classes:
5# REAL - interactive connections given high priority
6# P2P - low priority connections not depending on bandwidth
7# BULK - everything else (maximum bandwidth, mid priority)
8# The default class is BULK.
9#
10# Use iptables to classify packets into the classes above.
11# fwrtc just creates filters for them matching on fwmarks:
12# REAL: 0x1
13# BULK: 0x2
14# P2P: 0x3
15# As a rule of thumb, specify rules for marking into REAL
16# and P2P, everything else just goes into BULK automatically.
17
18# DISABLE
19# Unset this to enable fwrtc. (fntrtfm)
20DISABLE=yes
21
22# DEV
23# Enter the WAN device here
24DEV=
25
26# *_MAX
27# Give the total maximum bandwidth allowed. As a first
28# attempt, set these values to about 3/4 of the total
29# available bandwidth (htb needs some room), and tweak
30# later to get the best performance with minimum delay.
31DOWN_MAX=
32UP_MAX=
33
34# *_BURST
35# How many bytes to burst to the NIC each timer tick (at most).
36# As there are 100 ticks per second, one can calculate the burst
37# needed for a given bandwidth. So a 10mbit rate requires a
38# 12 kilobyte burst as 100*12kb*8 equals 10mbit.
39# Leave empty to let tc calculate them.
40DOWN_BURST=
41UP_BURST=
42
43# *_RATE
44# Enter the assured upload bandwidth given for each priority
45# class. Check that these values sum up to a value less than
46# or equal to the UP_MAX defined above
47REAL_RATE=
48P2P_RATE=
49BULK_RATE=
50
51# *_CEIL
52# Give the maximum upload bandwidth allowed if there is enough to
53# be borrowed from the other classes. These values don't need
54# to sum up to a given value, but none of them should be
55# greater than UP_MAX. To reach best performance, set REAL_CEIL
56# to the same value as REAL_RATE.
57REAL_CEIL=
58P2P_CEIL=
59BULK_CEIL=
60
Note: See TracBrowser for help on using the repository browser.