Hi Gianluca and Jerry, I don't think he's using XP since windows XP since I don't think XP had any special capabilities to put systems into low power modes dynamically like this.
Meanwhile, My theory is that adding the USB device caused something in the USB driver/software path to execute the API which I suggested you try separately. If that works for you, it will probably work just as well using a value of 5ms (instead of the supplied value of 1). You can then add it to your application and never worry about BIOS settings or USB devices. You can then also get the benefits of any $$ saved by actual lower power usage as well... It would be worth trying... - Mark > -----Original Message----- > From: [email protected] [mailto:winpcap-users- > [email protected]] On Behalf Of Gianluca Varenni > Sent: Thursday, January 20, 2011 12:51 PM > To: [email protected] > Subject: Re: [Winpcap-users] WinPCap dropping packets UNLESS USB device > > Are you using XP? If so, this KB can apply to the issue. > > http://support.microsoft.com/kb/895980 > > GV > > -----Original Message----- > From: [email protected] [mailto:winpcap-users- > [email protected]] On Behalf Of Frame, Jerry > Sent: Thursday, January 20, 2011 12:45 PM > To: [email protected] > Subject: Re: [Winpcap-users] WinPCap dropping packets UNLESS USB device > > Thanks Mark. I actually determined the issue today. It actually ended being > a bios setting, but I'll elaborate a little just in case it helps anyone else. > > In my original message, I had stated that Wireshark showed the broadcast > was correct when ran on the local HP PC (IE, the one running the app that > generates the broadcast.) What I discovered was that although Wireshark > labeled the time between packets as ~100 MS, it was wrong. When I ran the > local HP with Wireshark next to my laptop running Wireshark, the messages > came in simultaneously (as expected), but while the local HP would say each > packet was about 100 MS apart, my laptop showed them to be anywhere > from 250 to 600 MS. When I insert a USB drive, the timing corrects itself, > messages come in noticeably faster, and both PCs show 100 MS between > packets. > > A friend of mine ran into an article on some forum that mentioned how the > timing of multi-core processors can get out of sync if the processors are > configured to go into a low power mode if they are not being used. Sure > enough, I went into the bios, disabled this, and it all worked as it should with > no USB device plugged in. I'm not sure why plugging in a USB device fixed > the issue, unless the act of plugging in a new device "woke" everything up. > > Thanks, > > Jerry > > -----Original Message----- > From: [email protected] [mailto:winpcap-users- > [email protected]] On Behalf Of [email protected] > Sent: Thursday, January 20, 2011 3:00 PM > To: [email protected] > Subject: Winpcap-users Digest, Vol 70, Issue 6 > > Send Winpcap-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.winpcap.org/mailman/listinfo/winpcap-users > 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 Winpcap-users digest..." > > > Today's Topics: > > 1. Re: WinPCap dropping packets UNLESS USB device pluggedin? > (Mark Pizzolato - WinPCap-Users) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 20 Jan 2011 09:01:36 -0800 > From: "Mark Pizzolato - WinPCap-Users" > <[email protected]> > To: <[email protected]> > Subject: Re: [Winpcap-users] WinPCap dropping packets UNLESS USB > device pluggedin? > Message-ID: > <[email protected] > .com> > Content-Type: text/plain; charset="us-ascii" > > Hi Jerry, > > > > Just a shot in the dark here, but a possible one.... > > > > Compile and run the below program. See if you get the correct 10hz > behavior while that program is running... > > > > Good Luck, > > > > - Mark Pizzolato > > > > Link this with Winmm.lib > > > > #include <windows.h> > > main(int argc, char **argv) > > { > > timeBeginPeriod (1); > > while (1) Sleep(1000000); > > } > > > > > > From: [email protected] > [mailto:[email protected]] On Behalf Of Frame, Jerry > Sent: Thursday, January 20, 2011 5:51 AM > To: [email protected] > Subject: [Winpcap-users] WinPCap dropping packets UNLESS USB device > pluggedin? > > > > > > I've ran into a very odd situation with WinPCap 4.1.2. I have a several quad > core HP computers running a WinPCap based application that sends a > broadcast UDP message at 10hz. For some reason on these HP machines, > instead of the broadcast (192.168.x.255) coming out of the NIC at 10hz, the > traffic only seems to be at 1-3hz (this is displayed on our embedded > system.) If I run Wireshark on the local HP PC though, I clearly see a packet > every 100 ms. However, if I run Wireshark on another PC connected to the > same network, it confirms the 1-3 hz issue. Here's the really strange thing. If > I plug in a USB drive, or a USB network adapter (even though I'm not using it), > the broadcast starts working normally (10 hz). Unplug the USB device, and it > drops back down. I ran a test application that uses basic Winsock (the Delphi > Indy components to be exact), and it always seems to work fine. > > > > Any suggestions are greatly appreciated. > > > > Thanks, > > > > Jerry > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://www.winpcap.org/pipermail/winpcap- > users/attachments/20110120/b49266d4/attachment-0001.html> > > ------------------------------ > > _______________________________________________ > Winpcap-users mailing list > [email protected] > https://www.winpcap.org/mailman/listinfo/winpcap-users > > > End of Winpcap-users Digest, Vol 70, Issue 6 > ******************************************** > _______________________________________________ > 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
