Re: e1000: Question about polling

2008-02-20 Thread Badalian Vyacheslav
Very big thanks for this answer. You ask for all my questions and for all future questions too. Thanks Again! Badalian Vyacheslav wrote: Hello all. Interesting think: Have PC that do NAT. Bandwidth about 600 mbs. Have 4 CPU (2xCoRe 2 DUO HT OFF 3.2 HZ). irqbalance in kernel is off

Re: e1000: Question about polling

2008-02-20 Thread Badalian Vyacheslav
Sorry for little information and mistakes in letter. Jesse Brandeburg ask for all my questions. In future i will try to be more accurate then write letters and post more info. Please not think that it disrespect for you. Its simple language barrier =( On 18-02-2008 10:18, Badalian Vyacheslav

Re: e1000: Question about polling

2008-02-20 Thread Badalian Vyacheslav
Khrm i try to say that i have language barrier and some time may wrong compose clauses. Example below =) I'll try fix my English next time! Vyacheslav On Wed, Feb 20, 2008 at 12:25:32PM +0300, Badalian Vyacheslav wrote: ... Please not think that it disrespect for you. Its simple

e1000: Question about polling

2008-02-18 Thread Badalian Vyacheslav
Hello all. Interesting think: Have PC that do NAT. Bandwidth about 600 mbs. Have 4 CPU (2xCoRe 2 DUO HT OFF 3.2 HZ). irqbalance in kernel is off. nat2 ~ # cat /proc/irq/217/smp_affinity 0001 nat2 ~ # cat /proc/irq/218/smp_affinity 0003 Load SI on CPU0 and CPU1 is about 90% Good...

Re: [REGRESSION] 2.6.24-rc7: e1000: Detected Tx Unit Hang

2008-01-20 Thread Badalian Vyacheslav
Hello. Its work, thanks for resend it! Sorry, i understand that patch 53e52c729cc169db82a6105fac7a166e10c2ec36 ([NET]: Make -poll() breakout consistent in Intel ethernet drivers.) have regression and rollback it, i not see your patch. Sorry again. Thanks! From: Badalian Vyacheslav [EMAIL

Re: Performance issue : GRE tunneling

2008-01-18 Thread Badalian Vyacheslav
Jeba Anandhan пишет: Hi All, When i send the traffic outside of GRE tunnel, The speed is in 3-4Mbps. When i use the tunnel for traffic, the speed get reduced huge. It is around 100-300Kbps. What are the factors affects the performance when we use tunneling [ ex:GRE tunneling ]? Hello. You may

Re: Packetlost when tc qdisc del dev eth0 root

2008-01-16 Thread Badalian Vyacheslav
Yes, thats one possibility (without the dummy device though please). But I wonder what this would actually be useful for. I don't think replacing the root qdisc by a different type is a common scenario, for the same type you can simply use tc qdisc change, tc class change and tc class

Re: Packetlost when tc qdisc del dev eth0 root

2008-01-16 Thread Badalian Vyacheslav
Jarek Poplawski пишет: On Wed, Jan 16, 2008 at 09:05:47AM +0100, Patrick McHardy wrote: ... Yes, thats one possibility (without the dummy device though please). But I wonder what this would actually be useful for. I don't think replacing the root qdisc by a different type is a common

Re: [REGRESSION] 2.6.24-rc7: e1000: Detected Tx Unit Hang

2008-01-16 Thread Badalian Vyacheslav
applied to 2.6.24-rc7-git2 Have messages Also have regression after apply patch. System may do above 800mbs traffic before patch. After its exit polling mode? (4 CPU, 1 cpu get 100% si (process ksoftirqd/0), 3 CPU is IDLE) After patch system was go to exit polling mode at above 600mbs. Thanks.

Not understand some in htb_do_events function

2008-01-15 Thread Badalian Vyacheslav
Hello all. I have many messages like htb: too many events ! in dmesg. Try to see code and find that function try do 500 events at call. Hm... may anyone ask why 500? Why its not dynamic value based on performance of PC? Thanks for answers. -- To unsubscribe from this list: send the line

Packetlost when tc qdisc del dev eth0 root

2008-01-15 Thread Badalian Vyacheslav
Hello all. Have packetlost when do tc qdisc del dev eth0 root. look: slavon ~ # ping -f 87.255.1.134 PING 87.255.1.134 (87.255.1.134) 56(84) bytes of data. .

Re: Not understand some in htb_do_events function

2008-01-15 Thread Badalian Vyacheslav
Martin Devera пишет: Patrick McHardy wrote: Badalian Vyacheslav wrote: Hello all. I have many messages like htb: too many events ! in dmesg. Try to see code and find that function try do 500 events at call. Hm... may anyone ask why 500? Why its not dynamic value based on performance of PC

HTB classify perfomance

2008-01-11 Thread Badalian Vyacheslav
Hello all. I N days try to tune system for best performance and see strange thing. Have N htb classes root class is HTB. param: default 7 (if not classify - go to 1:7) filters classify only mached ip. others go to HTB DEFAULT rule. run oprofile: First pc (htb and iptables compile in kernel):

Re: HTB classify perfomance

2008-01-11 Thread Badalian Vyacheslav
New info. Wait some time and reset oprifile statistic (i think info abount ipt_unregister_table its get what run some script... ). That clear info after add FILTER: First PC CPU: P4 / Xeon, speed 3409.96 MHz (estimated) Counted GLOBAL_POWER_EVENTS events (time during which processor is not

No idea about shaping trough many pc

2008-01-10 Thread Badalian Vyacheslav
Hello all. I try more then 2 month resolve problem witch my shaping. Maybe you can help for me? Sheme: +---+ + - | Shaping PC 1 | -+ / +---+ \ ++

e1000_clean_tx_irq: Detected Tx Unit Hang - it's bug?

2008-01-04 Thread Badalian Vyacheslav
Hello all. Some time in dmesg i see this: [16121.400422] e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang [16121.400426] Tx Queue 0 [16121.400427] TDH 28 [16121.400429] TDT 28 [16121.400430] next_to_use 28 [16121.400431]

Re: Strange Panic (Deadlock)

2007-12-25 Thread Badalian Vyacheslav
Jarek Poplawski пишет: [EMAIL PROTECTED] wrote, On 12/24/2007 07:18 PM: Hello again. Its bug depend to http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4aae07025265151e3f7041dfbf0f529e122de1d8 ? ok. i will add it to bugtracker, but bug process in

Simple question about network stack

2007-12-24 Thread Badalian Vyacheslav
Hi all. Sorry for offtopic. Have problems with balance CPU load in networking. Have 2 Ethernet adapters e1000. Have 8 CPU (4 real). Computer work as Shaper. Use only TC rules to shape and IPTABLES to drop. rx on eth0 go to CPU0. traffic above 400mbs do 90% SI. rx on eth1 go to CPU1. traffic

Strange Panic (Deadlock)

2007-12-24 Thread Badalian Vyacheslav
Hello all. Some time machine freeze. No information on monitor. No rebooting on sysctl kernel.panic. Any idea? Catched by netconsole: [91922.085864] [ cut here ] [91922.085975] kernel BUG at kernel/timer.c:606! [91922.086058] invalid opcode: [#1] [91922.086127] SMP

Re: Tc bug (kernel crash) more info

2007-09-03 Thread Badalian Vyacheslav
Your errors trigger in rbtree, which does indexing for HTB, but since it's something quite rare I think there is a very small probability that it's caused by HTB class/level handling (but it's possible, too), but more probable (to me) these indexes are corrupted by something e.g. like accessing

Re: Tc bug (kernel crash) more info

2007-09-03 Thread Badalian Vyacheslav
May you also see that i need change to fix this: qdisc handle can = 10 000 i have more then 10 000 qdiscs =( - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Tc bug (kernel crash) more info

2007-08-31 Thread Badalian Vyacheslav
i not have testing mashine. we have 2 mashine and dynamic routing. if 1 mashine down - all traffic go to second mashine. I can test is on this mashines but i need that testing mashine will reboot on kernel panic (sysctl message). No freezes =) Ok. i try 2.6.23-rc4. ...but without

Re: Tc bug (kernel crash) more info

2007-08-31 Thread Badalian Vyacheslav
I get kernel panic on 2.6.23-rc4-git2 This is netconsole log! [ 3931.002707] BUG: unable to handle kernel NULL pointer dereference at virtual address 0008 [ 3931.002846] printing eip: [ 3931.002906] c01c8973 [ 3931.002967] *pde = [ 3931.003031] Oops: [#1] [ 3931.003093] SMP

Re: Tc bug (kernel crash) more info

2007-08-31 Thread Badalian Vyacheslav
and think that paches look good and no do any critical things =) Now i do many script runs to simulate bug. if i get it on 2.6.23-rc4 - i post it here. 2.6.23-rc4 not have htb_timer function. Badalian Vyacheslav - To unsubscribe from this list: send the line unsubscribe netdev in the body

Re: Tc bug (kernel crash) more info

2007-08-31 Thread Badalian Vyacheslav
May be this bug eq [PATCH] [NET_SCHED] sch_prio.c: remove duplicate call of tc_classify()? I get kernel panic on 2.6.23-rc4-git2 This is netconsole log! ... - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: Tc bug (kernel crash) more info

2007-08-31 Thread Badalian Vyacheslav
Jarek Poplawski пишет: On Fri, Aug 31, 2007 at 02:59:55PM +0400, Badalian Vyacheslav wrote: May be this bug eq [PATCH] [NET_SCHED] sch_prio.c: remove duplicate call of tc_classify()? I get kernel panic on 2.6.23-rc4-git2 This is netconsole log! ... So, it looks like

Re: Tc bug (kernel crash) more info

2007-08-31 Thread Badalian Vyacheslav
I found that bug in this place (gdb) l *0xc01c8973 0xc01c8973 is in rb_insert_color (lib/rbtree.c:80). 75 76 while ((parent = rb_parent(node)) rb_is_red(parent)) 77 { 78 gparent = rb_parent(parent); 79 80 if (parent ==

Re: Tc bug (kernel crash) more info

2007-08-31 Thread Badalian Vyacheslav
Ok =) I hope in next week you found bug place and fix it! PS. if you ask where i can read kernel panic dump logic literature and try find bugline in code. I read dump and see that bug in function rb_insert_color + some shift (in asm?) that called from htb_dequeue? But in htb_dequeue not have

Re: Tc bug (kernel crash) more info

2007-08-30 Thread Badalian Vyacheslav
Jarek Poplawski пишет: On Thu, Aug 30, 2007 at 08:31:10AM +0200, Jarek Poplawski wrote: On Thu, Aug 30, 2007 at 12:16:32AM +0400, [EMAIL PROTECTED] wrote: ... PS. And also have we have strange bug in another computer (2.6.22-r5). Have computer XEON_CPUx2 (4 CPU) after boot have

Tc bug (kernel crash) more info

2007-08-29 Thread Badalian Vyacheslav
Again crash. Need more posts of panic or this message have full info that needed to fix bug? BUG: unable to handle kernel NULL pointer dereference at virtual address 0008 printing eip: c01bf041 *pde = Oops: [#1] SMP Modules linked in: cls_u32 sch_sfq sch_htb netconsole

Re: Tc bug (kernel crash) more info

2007-08-29 Thread Badalian Vyacheslav
Jarek Poplawski пишет: On Wed, Aug 29, 2007 at 01:34:47PM +0200, Jarek Poplawski wrote: On 29-08-2007 11:34, Badalian Vyacheslav wrote: Again crash. Need more posts of panic or this message have full info that needed to fix bug? ... If it's possible you can try it shortly

Bug in TC

2007-08-28 Thread Badalian Vyacheslav
Hello all. System Gentoo. Kernel version *2.6.22.5 http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.22.5.bz2 Lot of Traffic (above 500mbs) Many clients (above 30 000 ip) Many TC rules (abobe 5) Many iptables rules (above 10 000) All classes - HTB, All qdisc - sfq Have 1-5 times on week