Re: Ethernet Slowdown Every 20 sec



Maybe the driver is missing an interrupt and thereby using up a buffer,
either on-chip or in memory. Periodically, NDIS calls the driver and asks
it "Are you locked up?". The driver might be checking for lost buffers
there and deciding that, yes, it is locked up, which results in a driver
reset, which might slow things down for a few seconds like that.

Paul T.

"Murray Simpson" <MurraySimpson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E52C05A3-2DF2-4871-958A-4C1587F34D4D@xxxxxxxxxxxxxxxx
Thanks for the quick reply. I didn't add one, so I guess it must be a
driver
problem of some sort. :-(

"Paul G. Tobey [eMVP]" wrote:

Probably some problem with the driver for the wired Ethernet card. No,
there's no background process that runs that frequently, unless you added
one.

Paul T.

"Murray Simpson" <MurraySimpson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:E57737D4-96D6-4AED-874D-BDC4093E2759@xxxxxxxxxxxxxxxx
I am using a Windows CE 5.0 device to send Ethernet data by UDP to a PC.
The
data gets received properly, but every 20 seconds there is a
significant
stoppage of throughput in which no data gets sent for a second or two.
Curiously I only have this problem when sending data over a wired
Ethernet
connection (DM9CE1) ... when I subsitute the device's built-in wireless
Ethernet connection instead, everything works perfectly. Also, the 20
second
interval seems to be independent of how much data is sent, so I don't
think
it's related to a buffer problem. The amount of data being sent is not
particularly huge (approx. 10KBytes / sec).

I was wondering if there might be some sort of CE 5.0 process running
in
the
background that could tie up the wired Ethernet port every 20 seconds?

Obviously I'd like to get rid of this pause in UDP throughput... our
app
is
meant to be real-time so a pause of a second or two every 20 seconds is
too
much!





.



Relevant Pages

  • [PATCH] macb: RLE and BNA handling
    ... This patch solves two issues we have been experiencing ... The other issue experienced was in the RX part of the driver. ... the driver runs out of unused slots in the RX ring buffer. ... Atmel MACB Ethernet Controller driver ...
    (Linux-Kernel)
  • Re: Difference between synchronous and asynchronous operation/calls (NDISPROT)
    ... The main problem with synchronous operation/calls seems to be the lack of buffers for the driver to store data into. ... Each "read call" supplies the driver with a buffer and optionally a completion routine so that the driver can inform the application when the requested operation is/was done. ... However it seems the current windows/driver design does some copies as well? ...
    (microsoft.public.development.device.drivers)
  • Re: Degradation of TCP connection
    ... Gigabit ethernet. ... D card's data buffer can only hold about 64K samples worth of data ... link you posted is for an older version of VxWorks that used a BSD- ... but a bug in the ethernet driver. ...
    (comp.os.vxworks)
  • Re: PCI bus-master and large contiguous memory buffers
    ... As soon as device reaches the end of the buffer ... Sure, I am developing both PCI adapter and device driver, so, it is ... not afford reinitializing DMA on my device after every transfer. ... x86 CPU memory management structures I never tried to dig into Windows ...
    (microsoft.public.development.device.drivers)
  • Re: Degradation of TCP connection
    ... Gigabit ethernet. ... D card's data buffer can only hold about 64K samples worth of data ... link you posted is for an older version of VxWorks that used a BSD- ... but a bug in the ethernet driver. ...
    (comp.os.vxworks)