we are planning to run roofnet in x86 with atom cpu. I think run click only in 
mips router it can't be more efficient. 
2009-12-18 



Dennis D.J. 



发件人: click-request 
发送时间: 2009-11-21  01:02:20 
收件人: click 
抄送: 
主题: click Digest, Vol 77, Issue 19 
 
Send click mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://amsterdam.lcs.mit.edu/mailman/listinfo/click
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of click digest..."
Today's Topics:
   1. click optimize efficiency (Yongheng Qi)
   2. click optimize efficiency (Yongheng Qi)
   3. Mac OS X assert failed when trying to use KernelTun
      (Pekka Nikander)
----------------------------------------------------------------------
Message: 1
Date: Fri, 20 Nov 2009 10:31:27 +0800
From: Yongheng Qi <[email protected]>
Subject: [Click] click optimize efficiency
To: click <[email protected]>, click <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
Dear everyone.
I use click roofnet process the 802.11n packet. test it use IxChariot. find
about 90Mbps, click use 100% cpu.
I use routeros 433AH boardband.the cpu is MIPS 680Mhz.
I don't know how to make click have more eiffciency.
please help me, Thanks very much.
-- 
Yongheng Qi
Mobile: +86 1390 119 7481
------------------------------
Message: 2
Date: Fri, 20 Nov 2009 10:31:27 +0800
From: Yongheng Qi <[email protected]>
Subject: [Click] click optimize efficiency
To: click <[email protected]>, click <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
Dear everyone.
I use click roofnet process the 802.11n packet. test it use IxChariot. find
about 90Mbps, click use 100% cpu.
I use routeros 433AH boardband.the cpu is MIPS 680Mhz.
I don't know how to make click have more eiffciency.
please help me, Thanks very much.
-- 
Yongheng Qi
Mobile: +86 1390 119 7481
------------------------------
Message: 3
Date: Fri, 20 Nov 2009 17:14:10 +0200
From: Pekka Nikander <[email protected]>
Subject: [Click] Mac OS X assert failed when trying to use KernelTun
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
I'm a relative newbie to Click, and trying to use KernelTun on Mac OS X, with 
the latest GIT version.  Unfortunately it looks like that there is a bug, 
apparently related to the interactions between kevents and select/poll.  
The OS X tun/tap devices don't currently support kevents, and therefore click 
tries to back off to use select/poll.  However, once it gets to the actual poll 
in master.cc, something has gone wrong and I get a an assertion failure on line 
850 in master.cc:
Element *read_elt = (p->revents & ~POLLOUT ? _read_elements[fd] : 0);
This results in an assertion failure, with this trivial script:
click -e "KernelTun(192.168.15.1/24) -> Discard"
Assertion failed: (i>=0 && i<_n), function operator[], file 
../include/click/vector.hh, line 184.
Abort trap
My gut feeling is that the bug may line somewhere in master.cc 
Master:add_select, in the code that tries to make sure that one can fall back 
to select/poll in the case of kqueue error.  But I may be wrong.
In any case, when tracing the execution in opening the tun/tap device, the 
kevent system call at line 602 of master.cc fails, causing the _kqueue socket 
to be closed and made unused.   However, much before that I can see with 
ifconfig that the tun/tap interface is indeed open and correctly ifconfig'ed.
Anyone an idea where to continue debugging?  Or would it be easier to add 
KEVENT support to the Mac tun/tap kexts?
--Pekka Nikander
------------------------------
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click
End of click Digest, Vol 77, Issue 19
*************************************
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to