From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10105 invoked by alias); 20 Aug 2015 14:48:46 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 10094 invoked by uid 89); 20 Aug 2015 14:48:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 20 Aug 2015 14:48:43 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 47FD18E753; Thu, 20 Aug 2015 14:48:42 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7KEmdGX000555; Thu, 20 Aug 2015 10:48:40 -0400 Message-ID: <55D5E8C7.1000805@redhat.com> Date: Thu, 20 Aug 2015 14:48:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Sandra Loosemore , Gary Benson CC: gdb-patches@sourceware.org, Joel Brobecker , Doug Evans , Jan Kratochvil , =?windows-1252?Q?Andr=E9_P?= =?windows-1252?Q?=F6nitz?= , Paul Koning Subject: Re: [PATCH] Prelimit number of bytes to read in "vFile:pread:" References: <55D3DB83.4050204@redhat.com> <1439980862-21305-1-git-send-email-gbenson@redhat.com> <20150819105054.GA22009@blade.nx> <55D4B190.6080700@codesourcery.com> <20150819172059.GA31845@blade.nx> <55D4F125.4080409@codesourcery.com> In-Reply-To: <55D4F125.4080409@codesourcery.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00550.txt.bz2 On 08/19/2015 10:12 PM, Sandra Loosemore wrote: > On 08/19/2015 11:20 AM, Gary Benson wrote: >> Sandra Loosemore wrote: >>> On 08/19/2015 04:50 AM, Gary Benson wrote: >>>> Sandra, could you please try this patch on your Altera 3c120 and >>>> on your PandaBoard? I'm interested to know what the times are >>>> now. >>> >>> Wow, this patch made a big improvement! On the nios2 board the >>> startup took 18 seconds the first time and 10 seconds on subsequent >>> attempts -- probably some NFS-level caching? On the PandaBoard it >>> was 3 seconds or less. >> >> Great :) It's in master and 7.10 now. >> >> Could you try Pedro's readahead patch too? It's the third one here: >> >> https://sourceware.org/ml/gdb-patches/2015-08/msg00489.html >> >> Maybe with the readahead_cache_invalidate in >> remote_hostio_set_filesystem removed? I'm interested to see if that >> helps any. You don't need the other two patches in that message. > > This didn't do anything to help; the startup time is still 10-11 seconds. OK, that shows that the issue with that board is not really roundtrip latency. Not that surprising given you're connected through ethernet. Knowing it didn't slow down is already very useful. Thanks, Pedro Alves