From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94713 invoked by alias); 18 Aug 2015 16:52:48 -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 94704 invoked by uid 89); 18 Aug 2015 16:52:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Aug 2015 16:52:46 +0000 Received: from svr-orw-fem-02x.mgc.mentorg.com ([147.34.96.206] helo=SVR-ORW-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1ZRkGa-0004jt-Lz from Sandra_Loosemore@mentor.com ; Tue, 18 Aug 2015 10:01:40 -0700 Received: from [IPv6:::1] (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.3.224.2; Tue, 18 Aug 2015 09:52:42 -0700 Message-ID: <55D3625B.40101@codesourcery.com> Date: Tue, 18 Aug 2015 16:52:00 -0000 From: Sandra Loosemore User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Gary Benson CC: Joel Brobecker , Doug Evans , Jan Kratochvil , gdb-patches , Pedro Alves , =?ISO-8859-1?Q?Andr=E9_P=F6nitz?= , Paul Koning Subject: Re: [PATCH 0/2] Better handling of slow remote transfers References: <001a11c301b0388ac5051d0c5ab8@google.com> <20150811185519.GA28644@host1.jankratochvil.net> <20150811195943.GC22245@adacore.com> <20150812094831.GD11096@blade.nx> <20150814182648.GO22245@adacore.com> <55CE6AA3.8000300@codesourcery.com> <20150816184913.GA2998@adacore.com> <20150817085310.GC25320@blade.nx> <55D1EE96.9060202@codesourcery.com> <20150818095858.GB9815@blade.nx> In-Reply-To: <20150818095858.GB9815@blade.nx> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00485.txt.bz2 On 08/18/2015 03:58 AM, Gary Benson wrote: > > For some reason, the Altera 3c120 board you are using is very much > slower to transfer files over RSP than it is over NFS. > > For some reason, neither of the two QUIT patches I mailed work on your > setup with this Altera 3c120 board you are using even though they work > just fine on this x86_64 machine I am using. I would be happy to try to help debug what is going wrong here, but I'm not a GDB expert by any means and I'm totally unfamiliar with this part of the code and don't know where to start. If somebody has a theory on this, is there someplace I could put in printfs to trace what is happening? From the previous discussion, it seemed like the flow through the different layers of abstraction to what the RSP was actually doing was very obscure, in terms of where the chunking is happening, etc. > Your PandaBoard takes 8 seconds. That doesn't seem so bad to me. > If this Altera board is the only one with the massive slowdown then > I don't think we should delay 7.10 any further on this issue--and I > certainly don't think we should lose the functionality that the > default sysroot of "target:" brings. FWIW, I have just tried on a random sampling of our MIPS target boards as well, with the same test program and same scenario of continuing to a breakpoint on main. The timings were 1:40 (SEAD-3 LX110 board, M14Kc microMips), 1:38 (MALTA 74Kc MIPS16), and 1:20 (MALTA 5Kef MIPS64). I could try some PowerPC boards as well if we need more datapoints. In any case, I think we should be cautious about declaring that functionality that seems to work on x86_64 native should work everywhere, and if it doesn't it's the fault of the target or user instead of buggy code or poor design. IMO this is especially true for remote debugging, where I think debugging an embedded target is a more common scenario than a native one. -Sandra