Wenlong Zhang wrote: > Hi,All, > > I have a customer want to know about libpcap,they feel the performance > is not good and ask > the following question,any idea? > > 1. when capturing with libpcap, Solaris supports dlpi, as far as I know. > Is there any API tuned or library which supports sniffing other than > libpcap ? > with higher performance than libpcap. > That is correct libpcap uses dlpi for Solaris or with the changes that went to the libpcap source it uses libdlpi (Nevada only). I do not know of another library that has higher performance. > 2. when sniffing packets with libpcap, > We use the architecture which allocates memory by libpcap by itself and > do the packets calling user call back function. > in this architecture, we make shared memory and modify the buffer > address of libpcap, to avoid from any possible performance issue. > Especially on Solaris 10, we cannot modify the address of buffer of > libpcap. > is there any bug reported so far related to this issue? > this issue is shown on Solaris 10 only, having no problem on other OSs. > Do you have any libpcap tuned module on Solaris 10 or solution which can > minimize packet leakage ? > > Not aware of a bug regarding the issue you mention but this maybe a related bug with performance of libpcap as it uses bufmod.
http://bugs.opensolaris.org/view_bug.do?bug_id=5106086 -sagun _______________________________________________ networking-discuss mailing list [email protected]
