You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
Android.bp | 4 months ago | |
MODULE_LICENSE_GPL | 4 months ago | |
Makefile | 4 months ago | |
NOTICE | 4 months ago | |
README.last | 4 months ago | |
e_bpf.c | 4 months ago | |
em_canid.c | 4 months ago | |
em_cmp.c | 4 months ago | |
em_ipset.c | 4 months ago | |
em_meta.c | 4 months ago | |
em_nbyte.c | 4 months ago | |
em_u32.c | 4 months ago | |
emp_ematch.l | 4 months ago | |
emp_ematch.lex.c | 4 months ago | |
emp_ematch.y | 4 months ago | |
emp_ematch.yacc.c | 4 months ago | |
emp_ematch.yacc.h | 4 months ago | |
emp_ematch.yacc.output | 4 months ago | |
f_basic.c | 4 months ago | |
f_bpf.c | 4 months ago | |
f_cgroup.c | 4 months ago | |
f_flow.c | 4 months ago | |
f_flower.c | 4 months ago | |
f_fw.c | 4 months ago | |
f_matchall.c | 4 months ago | |
f_route.c | 4 months ago | |
f_rsvp.c | 4 months ago | |
f_tcindex.c | 4 months ago | |
f_u32.c | 4 months ago | |
m_action.c | 4 months ago | |
m_bpf.c | 4 months ago | |
m_connmark.c | 4 months ago | |
m_csum.c | 4 months ago | |
m_ematch.c | 4 months ago | |
m_ematch.h | 4 months ago | |
m_estimator.c | 4 months ago | |
m_gact.c | 4 months ago | |
m_ife.c | 4 months ago | |
m_ipt.c | 4 months ago | |
m_mirred.c | 4 months ago | |
m_nat.c | 4 months ago | |
m_pedit.c | 4 months ago | |
m_pedit.h | 4 months ago | |
m_police.c | 4 months ago | |
m_sample.c | 4 months ago | |
m_simple.c | 4 months ago | |
m_skbedit.c | 4 months ago | |
m_skbmod.c | 4 months ago | |
m_tunnel_key.c | 4 months ago | |
m_vlan.c | 4 months ago | |
m_xt.c | 4 months ago | |
m_xt_old.c | 4 months ago | |
p_eth.c | 4 months ago | |
p_icmp.c | 4 months ago | |
p_ip.c | 4 months ago | |
p_ip6.c | 4 months ago | |
p_tcp.c | 4 months ago | |
p_udp.c | 4 months ago | |
q_atm.c | 4 months ago | |
q_cbq.c | 4 months ago | |
q_choke.c | 4 months ago | |
q_clsact.c | 4 months ago | |
q_codel.c | 4 months ago | |
q_drr.c | 4 months ago | |
q_dsmark.c | 4 months ago | |
q_fifo.c | 4 months ago | |
q_fq.c | 4 months ago | |
q_fq_codel.c | 4 months ago | |
q_gred.c | 4 months ago | |
q_hfsc.c | 4 months ago | |
q_hhf.c | 4 months ago | |
q_htb.c | 4 months ago | |
q_ingress.c | 4 months ago | |
q_mqprio.c | 4 months ago | |
q_multiq.c | 4 months ago | |
q_netem.c | 4 months ago | |
q_pie.c | 4 months ago | |
q_prio.c | 4 months ago | |
q_qfq.c | 4 months ago | |
q_red.c | 4 months ago | |
q_rr.c | 4 months ago | |
q_sfb.c | 4 months ago | |
q_sfq.c | 4 months ago | |
q_tbf.c | 4 months ago | |
static-syms.c | 4 months ago | |
static-syms.h | 4 months ago | |
tc.c | 4 months ago | |
tc_cbq.c | 4 months ago | |
tc_cbq.h | 4 months ago | |
tc_class.c | 4 months ago | |
tc_common.h | 4 months ago | |
tc_core.c | 4 months ago | |
tc_core.h | 4 months ago | |
tc_estimator.c | 4 months ago | |
tc_exec.c | 4 months ago | |
tc_filter.c | 4 months ago | |
tc_monitor.c | 4 months ago | |
tc_qdisc.c | 4 months ago | |
tc_red.c | 4 months ago | |
tc_red.h | 4 months ago | |
tc_stab.c | 4 months ago | |
tc_util.c | 4 months ago | |
tc_util.h | 4 months ago |
README.last
Kernel code and interface. -------------------------- * Compile time switches There is only one, but very important, compile time switch. It is not settable by "make config", but should be selected manually and after a bit of thinking in <include/net/pkt_sched.h> PSCHED_CLOCK_SOURCE can take three values: PSCHED_GETTIMEOFDAY PSCHED_JIFFIES PSCHED_CPU PSCHED_GETTIMEOFDAY Default setting is the most conservative PSCHED_GETTIMEOFDAY. It is very slow both because of weird slowness of do_gettimeofday() and because it forces code to use unnatural "timeval" format, where microseconds and seconds fields are separate. Besides that, it will misbehave, when delays exceed 2 seconds (f.e. very slow links or classes bounded to small slice of bandwidth) To resume: as only you will get it working, select correct clock source and forget about PSCHED_GETTIMEOFDAY forever. PSCHED_JIFFIES Clock is derived from jiffies. On architectures with HZ=100 granularity of this clock is not enough to make reasonable bindings to real time. However, taking into account Linux architecture problems, which force us to use artificial integrated clock in any case, this switch is not so bad for schduling even on high speed networks, though policing is not reliable. PSCHED_CPU It is available only for alpha and pentiums with correct CPU timestamp. It is the fastest way, use it when it is available, but remember: not all pentiums have this facility, and a lot of them have clock, broken by APM etc. etc.