首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >术语策略在Linux网络调度程序(tc qdisc)中是以什么命名的?

术语策略在Linux网络调度程序(tc qdisc)中是以什么命名的?
EN

Stack Overflow用户
提问于 2012-03-06 00:10:51
回答 1查看 231关注 0票数 0

策略是指限制入站报文的速度,丢弃超出的报文。

我在include/linux/netdevice.h中看到一条评论"skb被警察射杀“。

当然是相似的,但是这个名字背后有什么故事吗?

EN

回答 1

Stack Overflow用户

发布于 2012-03-06 00:16:50

是的-

http://lxr.linux.no/#linux+v3.2.9/net/sched/Kconfig

代码语言:javascript
运行
复制
menuconfig NET_SCHED
        bool "QoS and/or fair queueing"
        select NET_SCH_FIFO
        ---help---
          When the kernel has several packets to send out over a network
          device, it has to decide which ones to send first, which ones to
          delay, and which ones to drop. This is the job of the queueing
          disciplines, several different algorithms for how to do this
          "fairly" have been proposed.
...
config NET_ACT_POLICE
        tristate "Traffic Policing"
        depends on NET_CLS_ACT 
        ---help---
          Say Y here if you want to do traffic policing, i.e. strict
          bandwidth limiting. This action replaces the existing policing
          module.

          To compile this code as a module, choose M here: the
          module will be called act_police.
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9569965

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档