Hi Jeroen,
Thanx for your fast answer.
to use the TSC, the processor has to have a tsc, you can see that in
/proc/cpuinfo, for as far as I know, every P4 has it (but I'm not sure),
it's in the "flags" of cpuinfo:
On my P4-1800:
flags : fpu vme de pse tsc msr pae mce cx8 apic sep
Indeed, changing the timer to 1000Hz is possible, it turned out that I
have a machine here running with a 1000Hz timer ticker. (I've installed a
"realtime" kernel on it for audio recording).
About your previous question, I've noticed that the system with 1000Hz
ticker (which has been running f
in pkt_sched.h:
#define PSCHED_CLOCK_SOURCE PSCHED_CPU
that's all, I wonder why it's not default to do this, or maybe it's an
idea to make the packet scheduler detect the presence of tsc when the
module is loaded.
Hi,
I think not all processors accept this #define PSCHED_CLOCK_SOURCE
PSC
Hi all,
I am trying to tune tbf qdisc. My upstream configuration is as follows:
tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 100mbit
tc class add dev $DEV parent 1:0 classid 1:1 cbq rate ${UP_RATE}kbit \
allot 1500 prio 5 bounded
tc qdisc add dev $DEV parent 1:1 handle 10: tb
> Indeed, I use transparent proxy, redirecting everything on port 80 to
> 3128, on the same machine. To make sure it's clear, the scenario is
> simple: client enters eth1 on port 80, gets redirected to port 3128...
> I mark the packet depending on its source and than I apply a tc filter
> to direc
Hi Philip,
I guess dsmark qdisc is runned before iptables PREROUTING phase, right?
Hummm, I actually use dsmark after all iptables hooks, at the QoS Egress,
just before the packet leaves the interface (please see KPTD at www.docum.org).
Probably you can do it before the routing code, using the
can anyone tell me how to mark packet's DSCP value using tc?
Hi,
You can use the dsmark qdisc. Something like (example):
tc qdisc add dev $DEV handle 1:0 root dsmark indices 64 set_tc_index
(...)
tc class change $DEV parent 1:0 classid 1:1 dsmark 0x3 value 0xb8 # EF
(...)
tc filter add dev $DEV
Hi,
I am a little confused about traffic control at egress + DSCP marking.
Suppose I have a home router and set three different traffic classes at the
egress interface in a similar way to what wondershaper (cbq version) does:
tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 10mbit