[LARTC] filter ingress policy rates -> slow!!
gypsy
gypsy@iswest.com
Fri, 02 Jul 2004 21:14:24 -0700
Edulix wrote:
> Using 2.4.22 here (default of Fedora Core 1).
>
> > 2) Post results of
> > grep "define PSCHED_CLOCK" /usr/src/linux/incluce/net/pkt_sched.h
>
> # grep "define PSCHED_CLOCK" /usr/src/linux-2.4/include/net/pkt_sched.h
> #define PSCHED_CLOCK_SOURCE PSCHED_JIFFIES
>
> does it help ?
Yes, it sure does.
Edit pkt_sched.h and change from JIFFIES to CPU. Before you recompile
the kernel, make config and make sure the CPU setting is higher than
CONFIG_M486 or you'll get an error message. If you have any of the
schedule stuff (CONFIG_NET_SCH_blah) as modules (you do):
make (YourFavoriteFlavorOf)config (checking/changing - if needed - the
CPU)
make clean ; make dep ; make bzImage
make modules
make modules_install
Those "make"s are broken up like that for a reason. Just Do It, please.
If you did not have to change the CPU type, you can just reload the
ingress module:
modprobe -r sch_ingress
modprobe sch_ingress
and test the setup. If you did change the CPU type, you should install
your new kernel, run lilo and reboot using the new kernel.
buck