<!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</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 27, 2007 1:55
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] SMP support not
working?</DIV>
<DIV><BR></DIV>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I am running winpcap 3.1 (haven't moved to 4.0 yet) on a windows 2003
server.</DIV>
<DIV>The server has 4 processors. When i run multiple instances of windump
(just one network card),</DIV>
<DIV>they all run on the first processor. I can see that because when i load
test</DIV>
<DIV>and run many instances of windump, the cpu usage stats of the computer
rise to</DIV>
<DIV>25%, with the first cpu being almost fully-used all of the time and the
rest being idle.</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>I see that winpcap should have SMP support. Am I doing anything
wrong?</DIV>
<DIV> </DIV></BLOCKQUOTE>
<DIV><FONT size=2>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). </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>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? </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Hope it helps</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<P>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><FONT
size=2></FONT>
<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>