Re: help on tg3 polling extension

2005-07-06 Thread Qinghua(Kevin) Ye
Yes, It wastes CPU cycles if there is other process running. However, as it being a dedicated router, it should not be a problem. The process of packets is the only task it is supposed to do. Compared to NAPI, click polling will disable Nic interrupts during its operation, even there is

Re: help on tg3 polling extension

2005-07-06 Thread David S. Miller
From: Qinghua(Kevin) Ye [EMAIL PROTECTED] Date: Wed, 6 Jul 2005 11:36:40 -0600 Compared to NAPI, click polling will disable Nic interrupts during its operation, even there is no any packets in the rx buffer. This destroys latency if you only recheck the RX buffer using timer

Re: help on tg3 polling extension

2005-07-06 Thread David S. Miller
From: Qinghua(Kevin) Ye [EMAIL PROTECTED] Date: Wed, 6 Jul 2005 14:12:29 -0600 Yes, you are right. Click acturally will release the CPU to OS at interval. Other processes will be responded at this interval. It is not Click's right to make this kind of decision, that is what we have the process

Re: help on tg3 polling extension

2005-07-06 Thread Qinghua(Kevin) Ye
In my SMP platform, there is no other processes running. The usage of CPUs are 100% and 0%. How could I make Nic interrupts not arrive at only one CPU, or balance the interrupt between two CPUs? This doesn't work. If you try to split up the work for one network card amongst multiple

Re: help on tg3 polling extension

2005-07-05 Thread David S. Miller
From: Qinghua(Kevin) Ye [EMAIL PROTECTED] Date: Tue, 5 Jul 2005 16:19:27 -0600 Compared to NAPI, click polling will disable Nic interrupts during its operation, even there is no any packets in the rx buffer. This destroys latency if you only recheck the RX buffer using timer interrupts. Even