A packet flow if 1.5MB/s is really low. The problem was probably in the logic of your application. If I were you, I would definitely review your application design to understand what the bottleneck was.
Have a nice day GV -------------------------------------------------- From: "pro2c" <[email protected]> Sent: Thursday, May 13, 2010 9:02 AM To: <[email protected]> Subject: Re: [Winpcap-users] Multiple instances > Yes, this was my first attempt but at full DL speed (~1,5 MB/s) the CPU > usage was to high :( since the packet flow is too large/fast > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Gianluca Varenni > Sent: Thursday, May 13, 2010 4:59 PM > To: [email protected] > Subject: Re: [Winpcap-users] Multiple instances > > If memory is an issue, then the best solution is opening a single instance > of the WinPcap device, and do your own filtering and demultiplexing in > user > mode. This could have the good side effect of having less kernel-user mode > transitions to bring the packets to user mode applications. > > Have a nice day > GV > > -------------------------------------------------- > From: "pro2c" <[email protected]> > Sent: Thursday, May 13, 2010 5:37 AM > To: <[email protected]> > Subject: Re: [Winpcap-users] Multiple instances > >> No, not 200 instances of my app but 200 instances of winpcap device to >> have >> 200 different filters (for each port). >> >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of David Chang >> Sent: Wednesday, May 12, 2010 10:08 PM >> To: [email protected] >> Subject: Re: [Winpcap-users] Multiple instances >> >> Why are you running 200 instances of your application on a single >> computer? Do you have 200 NICs? Maybe you can change your application >> to do more processing in one instance (i.e. multi-threading). >> >> DC >> >> pro2c wrote: >>> >>> I'm having some problems with multiple instances. When I load 200 >>> instances the memory use of my app reaches 100MB. I'm guessing that >>> every instance reserves some mem for itself. >>> >>> Can this be lowered somehow? >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Winpcap-users mailing list >>> [email protected] >>> https://www.winpcap.org/mailman/listinfo/winpcap-users >>> >> >> _______________________________________________ >> Winpcap-users mailing list >> [email protected] >> https://www.winpcap.org/mailman/listinfo/winpcap-users >> >> _______________________________________________ >> Winpcap-users mailing list >> [email protected] >> https://www.winpcap.org/mailman/listinfo/winpcap-users > > _______________________________________________ > Winpcap-users mailing list > [email protected] > https://www.winpcap.org/mailman/listinfo/winpcap-users > > _______________________________________________ > Winpcap-users mailing list > [email protected] > https://www.winpcap.org/mailman/listinfo/winpcap-users _______________________________________________ Winpcap-users mailing list [email protected] https://www.winpcap.org/mailman/listinfo/winpcap-users
