From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24483 invoked by alias); 19 Mar 2012 17:44:36 -0000 Received: (qmail 24466 invoked by uid 22791); 19 Mar 2012 17:44:34 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-pz0-f49.google.com (HELO mail-pz0-f49.google.com) (209.85.210.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Mar 2012 17:44:12 +0000 Received: by dakp5 with SMTP id p5so10435202dak.36 for ; Mon, 19 Mar 2012 10:44:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.194.3 with SMTP id hs3mr41956695pbc.119.1332179051386; Mon, 19 Mar 2012 10:44:11 -0700 (PDT) Received: by 10.68.228.227 with HTTP; Mon, 19 Mar 2012 10:44:11 -0700 (PDT) In-Reply-To: <4F676A13.60101@meduna.org> References: <4F676A13.60101@meduna.org> Date: Mon, 19 Mar 2012 17:44:00 -0000 Message-ID: From: Elad Yosef To: Stanislav Meduna Cc: ecos-discuss@ecos.sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Speed up TFTP download time in RedBoot X-SW-Source: 2012-03/txt/msg00073.txt.bz2 Hi, I get 108 KBytes/sec after lowering the CYGDBG_REDBOOT_TICK_GRANULARITY to = 50. I'm downloading SREC image to my target. I'm using MIPS32 4Kec. Does any changes to - hal_delay_us(int us) will improve the time? On Mon, Mar 19, 2012 at 7:17 PM, Stanislav Meduna wrote: > On 19.03.2012 17:05, Elad Yosef wrote: > >> I'm trying to speed up the TFTP download time in the Redboot. >> I have tried to change the following params; > > TFTP is a ping-pong style protocol with small packet sizes, > so the only way to speed it up is to reduce the latencies > on both sender and receiver. What throughput are you getting? > > Try lowering CYGDBG_REDBOOT_TICK_GRANULARITY > > Regards > -- > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 S= tano > > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss