max nesting limit according to include/uapi/linux/pkt_sched.h: #define TC_HTB_MAXDEPTH 8
[svn/Prometheus-QoS/.git] / INSTALL
b07b9ac1 1Prometheus QoS installation - canonical
31. run "./check-kernel-qos" script to check kernel modules HTB and SFQ (optional)
ae776b10 42. as a root, run "make install" (you shouldn't get errors, just some warnings)
fc0d4010 53. edit /etc/prometheus/prometheus.conf (conf/prometheus.conf or examples/...)
64. edit /etc/prometheus/hosts (conf/prometheus.hosts or examples/...)
b07b9ac1 75. edit /etc/cron.d/prometheus to update preview, shutdown and reload times
86. run "/etc/init.d/prometheus start" to activate QoS
97. run "/etc/init.d/prometheus stop" to shutdown QoS and generate stats
108. run "/etc/init.d/prometheus kill" to force immediate flush of QoS rules
119. setup /etc/init.d/prometheus to your system init (distribution dependent)
13Prometheus QoS installation - alternative, old way
a4f661fc 14
151. if can read read this, you have already unpacked the .tar.gz archive
ae776b10 162. run "make prometheus" (you shouldn't get errors, just some warnings)
fc0d4010 173. create /etc/prometheus/prometheus.conf (conf/prometheus.conf or examples/...)
184. create /etc/prometheus/hosts (conf/prometheus.hosts or examples/...)
b07b9ac1 195. to activate QoS manualy from command line, just run "./prometheus"
206. to softly shutdown QoS (and generate stats), run "./prometheus -f" ("flush")
217. to force immediate flush of QoS rules, run "./prometheus -9" ("kill")
23Promethetus QoS advanced tips:
251. use -p command line switch to generate instant and safe Hall of fame preview
fc0d4010 262. use qos-free-delay option for pause after flushing old rules, before loading new
273. take some time to understand files examples/prometheus.conf and examples/hosts
b07b9ac1 284. note: qos-proxy-enable and qos-free-zone won't work together
295. warning: doing SNAT and QoS on the same router may cause performance problems
a4f661fc 30
31General Linux routing tips for beginners:
33echo -n 1 > /proc/sys/net/ipv4/ip_forward
34echo -n 64000 > /proc/sys/net/ipv4/ip_conntrack_max
35echo -n 86400 > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established
b07b9ac1 36
37Prometheus Debian packages:
ae776b10 391. you need root access and "debhelper" package installed
402. run "make deb" or "sudo make deb"
This page took 0.209636 seconds and 4 git commands to generate.