This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Optimising Standard Serial Driver
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Andy Atkinson <andya at hydrix dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 27 Sep 2004 08:53:23 +0200
- Subject: Re: [ECOS] Optimising Standard Serial Driver
- References: <1096264007.3690.33.camel@monty.private.hydrix.com>
On Mon, Sep 27, 2004 at 03:46:52PM +1000, Andy Atkinson wrote:
> Hi All,
>
> I am having some problems with buffer overruns when using the 'standard'
> eCos low-level serial driver at 115200 baud. I have seen from earlier
> discussions that the design of this driver does not cope with a heavy
> workload - what is the best way to optimise this driver for coping with
> many devices and/or high baud rates.
By 'starndard' do you mean haldiag? The serial driver which is build
into the HAL? That serial driver is not designed for high
performance. The interrupt driver onces are a lot faster and place
less load on the system. Try enabling CYGPKG_IO_SERIAL_DEVICES and
then use /dev/tty0.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss