Re: filter ingress policy rates -> slow!!

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux