This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: system slowdown
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Alex Gonzalez'" <langabe at gmail dot com>
- Cc: <newlib at sourceware dot org>
- Date: Thu, 30 Mar 2006 10:20:30 +0100
- Subject: RE: system slowdown
On 30 March 2006 10:01, Alex Gonzalez wrote:
> What I am seeing, and I realize how strange this sounds, is that the
> first packet processed by the driver is processed (received, relayed
> and sent) in less than 1us, and then suddenly the system slows down
> hugely.
That doesn't sound the least bit strange to me! I'd be willing to bet that
in (one of) the interrupt service routine(s) triggered by that very first
packet, you've forgotten to clear a(n) interrupt-pending bit(s) somewhere, and
after it returns the system is continually taking interrupts, checking all the
irq sources and finding nothing's fired, returning from the interrupt and
managing to process probably a single instruction before taking another
interrupt.
Am I right? :)
cheers,
DaveK
--
Can't think of a witty .sigline today....