Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
The following parameters can be configured for a scheduler:
type {fifo | wf2qp | rr | qfq}
specifies the scheduling algorithm to use.
cm fifo
is just a FIFO scheduler (which means that all packets
are stored in the same queue as they arrive to the sched-
uler). FIFO has O(1) per-packet time complexity, with
very low constants (estimate 60-80ns on a 2Ghz desktop
machine) but gives no service guarantees.
wf2qp implements the WF2Q+ algorithm, which is a Weighted Fair
Queueing algorithm which permits flows to share bandwidth
according to their weights. Note that weights are not
priorities; even a flow with a minuscule weight will
never starve. WF2Q+ has O(log N) per-packet processing
cost, where N is the number of flows, and is the default
algorithm used by previous versions dummynet's queues.
rr implements the Deficit Round Robin algorithm, which has
O(1) processing costs (roughly, 100-150ns per packet) and
permits bandwidth allocation according to weights, but
with poor service guarantees.
qfq implements the QFQ algorithm, which is a very fast vari-
ant of WF2Q+, with similar service guarantees and O(1)
processing costs (roughly, 200-250ns per packet).
Да неужели. Давно читали man dummynet?
Вам уже человек написал, вы плохо умеете читать? Сделайте подобную приведённой конфигурацию на iptables и tc, расскажете, сколько это займёт строк и настроек.
Нравится quagga, используйте OpenBSD, нравится samba — используйте Windows
Ну а теперь ещё скажите, что вы использовали/используете именно те, которые отсутствуют в dummynet. :)
Пруфлинк/пример?
Вы противник всего нового, что ли? ipfw работает нативно в линуксе, не под эмуляцией и т.п. хренью, чем вам это нестандартно? Намертво забитой привычкой пользоваться фронтендом iptables к файерволу ядра?
Рассматривать будем шейпер под управлением Linux: эта ОС показала наилучшие результаты по производительности в условиях высоких нагрузок.
Linux под нагрузкой. Высокопроизводительный шейпер