This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Fourfold decrease in speed of TCPIP interface when changing from OpenBSD to FreeBSD stack
- From: Steven De Rango <steve dot derango at analog dot com>
- To: "Gary D. Thomas" <gary dot thomas at mind dot be>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>, Giuseppe Scelsi <giuseppe dot scelsi at analog dot com>
- Date: Fri, 24 Jan 2003 09:36:31 +1100
- Subject: Re: [ECOS] Fourfold decrease in speed of TCPIP interface when changing from OpenBSD to FreeBSD stack
> Which platform (the VADS 8260)?
I am running on a customised version of the Motorola PowerQUICC MPC8260
development board (MPC8260 PowerQUICC II ADS). It has a Motorola PowerQUICC
MPC8260 and six Analog Devices TigerSHARC (ADSP-TS101) DSPs.
> What do you mean by this? Do you mean the link speed?
The TCPIP server I am running on the Motorola PPC is performing remote file
I/O on the TCPIP client. It reads some files, performs processing and writes
the results back to the files. One of the tests I was running took 3 sec.
After rebuilding the eCos kernel (that I checked out from the CVS repository
on the 19 Dec 2002) with the new network stack (FreeBSD) and then rebuilding
my application, the test took 14 sec. This is what I mean by "speed".
> I don't see this behavior at all. I just tried running our standard
> performance tests (nc_test_slave) on both the new and the old stacks
> and for the most part, the new stack gave me more (up to 20%)
> performance.
It looks like the TCPIP stack may not be the problem and I need to profile my
application and find where it is slowing down. Any suggestions on how I
should do this (or could you point me to some relevant documentation)?
Regards,
Steven De Rango (steve.derango@analog.com)
DSP Design Engineer, Analog Devices Australia Pty Ltd
Unit 3, 97 Lewis Road, Wantirna, Victoria, 3152, AUSTRALIA
Tel: +61 3 9800 2000 Fax: +61 3 9800 2111 Web: www.analog.com/ada
DSP software solutions for multimedia & telecommunications
specialising in 3G wireless, speech & image processing
This communication is Proprietary and Confidential.
> On Wed, 2003-01-22 at 23:04, Steven De Rango wrote:
> > Does anybody why the TCPIP interface would slow down when changing from
> > OpenBSD to FreeBSD TCPIP stacks?
> >
> > Is there some way to improve the speed of the FreeBSD TCPIP interface?
> >
> > I could not find any information related to TCPIP interface speed on this
> > mailing list.
> >
>
> What do you mean by this? Do you mean the link speed?
>
> > I am running my application on the Motorola MPC8260.
> >
>
> I don't see this behavior at all. I just tried running our standard
> performance tests (nc_test_slave) on both the new and the old stacks
> and for the most part, the new stack gave me more (up to 20%)
> performance.
>
> What sort of traffic are you running?
> Which platform (the VADS 8260)?
>
> --
> .--------------------------------------------------------.
> | Mind: Embedded Linux and eCos Development |
> |--------------------------------------------------------|
> | Gary Thomas email: gary.thomas@mind.be |
> | Mind ( http://mind.be ) tel: +1 (970) 229-1963 |
> | gpg: http://www.chez-thomas.org/gary/gpg_key.asc |
> '--------------------------------------------------------'
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss