[LARTC] filter ingress policy rates -> slow!!
Edulix
edulix@tumundoweb.com
Sat, 3 Jul 2004 11:44:46 +0200
El S=E1bado, 3 de Julio de 2004 06:14, gypsy escribi=F3:
> 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
Thanks for the info I don't know why I'm having problems compiling the kern=
el=20
image [1]. It looks like a linking issue or a bad module, but I doubt it's=
=20
easy to solve. I am going to change distro in a few days so I think that=20
trying to find a solution might be not worthy :-).
What's more, I haven't changed the CPU type (Athlon by default) so I'm tryi=
ng=20
to build modules even without having compiled successfully the kernel image.
BTW, Should I warn the Fedora devels about the JIFFIES problem?
Thanks for your time,
Edulix.
=2D--
[1] In the execution of 'make bzImage', I get:
=2D---------
make[1]: Saliendo directorio `/usr/src/linux-2.4.22-1.2135.nptl/arch/i386/l=
ib'
make[1]: Cambiando a directorio `/usr/src/linux-2.4.22-1.2135.nptl'
kallsyms pass 1
ld -m elf_i386 -T /usr/src/linux-2.4.22-1.2135.nptl/arch/i386/vmlinux.lds -=
e=20
stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o=20
init/version.o init/do_mounts.o --start-group arch/i386/kernel/kernel.o=20
arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o =20
drivers/acpi/acpi.o drivers/cpufreq/cpufreq.o drivers/char/char.o=20
drivers/block/block.o drivers/misc/misc.o drivers/net/net.o=20
drivers/char/drm/drm.o drivers/net/fc/fc.o drivers/net/appletalk/appletalk.=
o=20
drivers/net/tokenring/tr.o drivers/net/wan/wan.o drivers/atm/atm.o=20
drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o=20
drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o=20
drivers/pnp/pnp.o drivers/video/video.o drivers/net/hamradio/hamradio.o=20
drivers/media/media.o drivers/md/mddev.o drivers/isdn/vmlinux-obj.o=20
crypto/crypto.o drivers/sensors/sensor.o=20
net/network.o /usr/src/linux-2.4.22-1.2135.nptl/arch/i386/lib/lib.a /usr/sr=
c/linux-2.4.22-1.2135.nptl/lib/lib.a /usr/src/linux-2.4.22-1.2135.nptl/arch=
/i386/lib/lib.a=20
=2D-end-group -o .tmp_vmlinux1
drivers/ide/idedriver.o(.text+0x17570): En la funci=F3n `ide_mediactl':
: undefined reference to `get_info_ptr'
make[1]: *** [kallsyms] Error 1
make[1]: Saliendo directorio `/usr/src/linux-2.4.22-1.2135.nptl'
make: *** [vmlinux] Error 2
=2D---------