[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200902261138.13485.denys@visp.net.lb>
Date: Thu, 26 Feb 2009 11:38:13 +0200
From: Denys Fedoryschenko <denys@...p.net.lb>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Denis Romanenko <ash@...sky.net>, netdev@...r.kernel.org
Subject: Re: Kernel problem
I spoke with Denis Romanenko (i know him)
Here is some additional info:
First of all, he booted kernel with extensive debug options. He was not able
to run it for long time, because performance of router degraded too much.
Here is part of script where all things happened
# Disk discipline
echo cfq > /sys/block/sda/queue/scheduler
# Irq for cards
echo 4 >/proc/irq/215/smp_affinity
echo 8 >/proc/irq/214/smp_affinity
echo 1 >/proc/irq/216/smp_affinity
echo 2 >/proc/irq/217/smp_affinity
# Cards setup
/usr/sbin/ethtool -G eth0 rx 1024 tx 1024
/usr/sbin/ethtool -G eth1 rx 1024 tx 1024
/usr/sbin/ethtool -G eth2 rx 1024 tx 1024
/usr/sbin/ethtool -G eth3 rx 1024 tx 1024
/usr/sbin/ethtool -C eth0 rx-usecs 3
/usr/sbin/ethtool -C eth1 rx-usecs 3
/usr/sbin/ethtool -C eth2 rx-usecs 3
/usr/sbin/ethtool -C eth3 rx-usecs 3
/usr/sbin/ethtool -K eth0 tso off
/usr/sbin/ethtool -K eth1 tso off
/usr/sbin/ethtool -K eth2 tso off
/usr/sbin/ethtool -K eth3 tso off
/usr/sbin/ethtool -K eth0 sg off
/usr/sbin/ethtool -K eth1 sg off
/usr/sbin/ethtool -K eth2 sg off
/usr/sbin/ethtool -K eth3 sg off
/usr/sbin/ethtool -K eth0 ufo off
/usr/sbin/ethtool -K eth1 ufo off
/usr/sbin/ethtool -K eth2 ufo off
/usr/sbin/ethtool -K eth3 ufo off
/usr/sbin/ethtool -K eth0 gso off
/usr/sbin/ethtool -K eth1 gso off
/usr/sbin/ethtool -K eth2 gso off
/usr/sbin/ethtool -K eth3 gso off
# interface queue
/sbin/ifconfig eth0 txqueuelen 10000
/sbin/ifconfig eth1 txqueuelen 10000
/sbin/ifconfig eth2 txqueuelen 10000
/sbin/ifconfig eth3 txqueuelen 10000
On Thursday 26 February 2009 11:39:02 Herbert Xu wrote:
> Denis Romanenko <ash@...sky.net> wrote:
> > I have high loaded router - about 1.2 Gbps
> >
> > after reboot on new kernel - 2.6.27.17 i have messages in dmesg
> >
> > WARNING: at kernel/softirq.c:136 local_bh_enable+0x36/0xab()
>
> So somebody disabled the IRQs on us, the question is who?
>
> Cheers,
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists