librelist archives

« back to archive

Interrupt handler for receiving network packets from a physical interface in ClickOS

Interrupt handler for receiving network packets from a physical interface in ClickOS

From:
hsuri
Date:
2015-04-23 @ 18:14
Hi,

I am trying to run ClickOS as a Vm to filter incoming network packets. I 
am using FromDevice and ToDevice elements. But, when I measure CPU usage 
of ClickOS, it is showing 100% CPU. I am assuming that it must be using 
Polling in order to receive packets from a physical interface. If that's 
the cae, is there any way of not using
polling and have some kind of interrupt handling instead? Or ,is there 
any other way of reducing COU usage by ClickOS? Any help would be 
appreciated.


Thanks
Regards
Heemanshu Suri
Graduate Research Assistant
University of Wisconsin-Madison

Re: Interrupt handler for receiving network packets from a physical interface in ClickOS

From:
hsuri
Date:
2015-04-23 @ 22:49
Hi,

I used an empty .click file to load into a ClickOS VM. As soon as I 
start the .click file using cosmos, ClickOS VM starts taking 100% CPU 
indefinitely. I am unable to figure out what could be the exact cause 
for this problem. Has anyone faced a similar issue? Any suggestions 
would be appreciated.

Regards
Heemanshu


On 2015-04-23 13:14, hsuri wrote:
> Hi,
> 
> I am trying to run ClickOS as a Vm to filter incoming network packets.
> I am using FromDevice and ToDevice elements. But, when I measure CPU
> usage of ClickOS, it is showing 100% CPU. I am assuming that it must
> be using Polling in order to receive packets from a physical
> interface. If that's the cae, is there any way of not using
> polling and have some kind of interrupt handling instead? Or ,is there
> any other way of reducing COU usage by ClickOS? Any help would be
> appreciated.
> 
> 
> Thanks
> Regards
> Heemanshu Suri
> Graduate Research Assistant
> University of Wisconsin-Madison