[Click] Performance questions

Robert Morris rtm at frenulum.lcs.mit.edu
Fri Feb 10 10:32:17 EST 2006


Andr?,

It sounds like the reason for the slowness is the cost of interrupts.
You should use PollDevice instead of FromDevice if you can. Click
only has polling support for certain kinds of devices (e.g.
Intel e1000).

What kind of ethernet card are you using?

Robert

> Date: Fri, 10 Feb 2006 11:57:51 -0300 (ART)
> From: =?iso-8859-1?q?Andr=E9=20Campos?= <pildas_pildas at yahoo.com.br>
> To: click at pdos.csail.mit.edu
> Subject: [Click] Performance questions
> 
> I'm running a simple router (like fake-ip-router) using version 1.4.3 in linuxmodule on a P IV 866 MHz. My NICs don't have DMA and I'm having performance problems I think because of that. Running the router with InfiniteSource and DIscard in the place of From & ToDevice I more then 400kpps. In the other hand, when I use From & ToDevice I get only about 75kpps. 
>  
>  I think the NIC's are taking too much of processor time because of the lack of DMA. Does it procede or it's just me thinking wrong? I'm no hardware specialist so this is just a wild guess. 
>  
>  But as the only change is the insertion of the NIC's in the process I have to think it's a problem with them.
>  
>  Any help at all is welcomed
>  
>  
>  André Campos
>  Brazil
>  
> 		
> ---------------------------------
>  Yahoo! Acesso Grátis 
> Internet rápida e grátis. Instale o discador agora!
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list