This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Low network throughput using DHCP
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Xavier <xavierwang at ms19 dot url dot com dot tw>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 9 Aug 2002 11:46:02 +0200
- Subject: Re: [ECOS] Low network throughput using DHCP
- References: <01c601c23f88$64753420$680e14ac@realtek.com.tw>
On Fri, Aug 09, 2002 at 05:37:35PM +0800, Xavier wrote:
> Hi,
>
> Had someone experienced that the networking performance
> dropped down dramatically while using DHCP? My CPU
> is a 50MHz MIPS, and the result of tcp_echo is around
> 4Mbps when using static IP, but dropped down to about
> 0.4Mbps when using DHCP. Another aspect is that the
> tftp_client_test failed almost every times to get a file of
> 20K bytes via TFTP when using DHCP, but the same test
> program worked well by using static IP.
>
> Any suggestions?
Check to see if there any DHCP operations going on while the data
transfer is happening. The DHCP client does some strange things with
the interface to ensure that the DHCP messages go out the correct
interface when you have more than one. These could be affecting
performance, but does seem unlikely to be that bad.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss