From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23527 invoked by alias); 26 Jan 2014 01:48:16 -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 23517 invoked by uid 89); 26 Jan 2014 01:48:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_00,GARBLED_BODY autolearn=no 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; Sun, 26 Jan 2014 01:48:14 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1W7EpU-0005j2-QA from Yao_Qi@mentor.com ; Sat, 25 Jan 2014 17:48:08 -0800 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sat, 25 Jan 2014 17:48:08 -0800 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.2.247.3; Sat, 25 Jan 2014 17:48:06 -0800 Message-ID: <52E468CF.3060008@codesourcery.com> Date: Sun, 26 Jan 2014 01:48:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Doug Evans CC: Subject: Re: [PATCH 1/3] change gdbserver to use hashtab: list->table References: <52E3ADB8.60707@codesourcery.com> In-Reply-To: <52E3ADB8.60707@codesourcery.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00967.txt.bz2 On 01/25/2014 08:27 PM, Yao Qi wrote: >> [In one perf experiment of attach/detach repeated 20 times on a >> > program with 1000 threads, the time as measured by gprof went from >> > 45sec to 5sec.] >> > >> > I created a testcase for our perf testsuite but the results there >> > don't show the speed as impressively because it can only measure gdb >> > not gdbserver. I may submit it separately anyway. > Hi, Doug, > Please do that. If gdbserver becomes faster, the improvements should > be shown in the perf test result. I'd like to help on this. > The speedup isn't shown probably because there are too many RSP communications between GDB and GDBserver, which is slow. It is still good to include your test case into the gdb.perf testsuite. -- Yao (齐尧)