<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=noamdev@gmail.com href="mailto:noamdev@gmail.com">Noam Dev</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 01, 2007 9:46
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] Re: SMP support
not working?</DIV>
<DIV><FONT size=2></FONT><FONT size=2></FONT><BR></DIV>
<DIV>From process explorer, the CPU Usage stats look like this :</DIV>
<DIV>10-13% Interrupts</DIV>
<DIV>10-13% DPCs (Deferred procedure calls i believe)</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>The windump processes themselves take close to no cpu...</DIV>
<DIV><FONT size=2></FONT> </DIV></BLOCKQUOTE>
<DIV><FONT size=2>This is what I was expecting. The network card receives the
interrupts on a single CPU, hence the DPC scheduled by the ISR (interrupt
service routine) that basically calls the WinPcap driver runs on the same
CPU.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Which network card are you using?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT size=2></FONT> </DIV>
<DIV> </DIV>
<DIV> ----- Original Message -----</DIV>
<DIV>From: "Gianluca Varenni" <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:gianluca.varenni@cacetech.com">gianluca.varenni@cacetech.com</A>><BR>Subject:
Re: [Winpcap-users] SMP support not working? <BR>To: <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A>><BR>Message-ID:
<0d1401c75ae6$29f50590$1a4da8c0@NELSON2><BR>Content-Type: text/plain;
charset="iso-8859-1" <BR><BR><BR> ----- Original Message
-----<BR> From: Noam Dev<BR> To: winpcap-users<BR> Sent:
Tuesday, February 27, 2007 1:55 PM<BR> Subject: [Winpcap-users] SMP
support not working?<BR><BR><BR> Hi,<BR><BR> I am running winpcap
3.1 (haven't moved to 4.0 yet) on a windows 2003 server.<BR> The server
has 4 processors. When i run multiple instances of windump (just one network
card),<BR> they all run on the first processor. I can see that because
when i load test <BR> and run many instances of windump, the cpu usage
stats of the computer rise to<BR> 25%, with the first cpu being almost
fully-used all of the time and the rest being idle.<BR><BR> I see that
winpcap should have SMP support. Am I doing anything wrong? <BR><BR>Uhm, I
think there is a bit of confusion here as to what SMP support means. If you
have 4 CPUs and 4 instances of windump, it's up to the OS scheduler to decide
where each process will run, and this changes from time to time. Moreover
WinPcap is a user level library (some DLLs) and a driver ( npf.sys). The user
level libraries "run" on the CPU the process calling them is running on. For
the driver it's a bit more complicated, but the idea is somewhat similar. At
the end of the story the driver is a set of functions that the OS calls to
delivers packets to user level. Again it's the OS that usually decides which
CPU the various driver functions will run on (this is an OVERSIMPLIFICATION,
driver devs please don't yell at me). <BR><BR>You are saying that one CPU is
almost 100% loaded and the other ones idle. What is the CPU load of each of
the instances of windump.exe that are running?<BR><BR>Hope it
helps<BR>GV<BR> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>