From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20325 invoked by alias); 7 Apr 2005 05:01:54 -0000 Mailing-List: contact rda-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rda-owner@sources.redhat.com Received: (qmail 20081 invoked from network); 7 Apr 2005 05:01:36 -0000 Received: from unknown (HELO wproxy.gmail.com) (64.233.184.201) by sourceware.org with SMTP; 7 Apr 2005 05:01:36 -0000 Received: by wproxy.gmail.com with SMTP id 69so421013wra for ; Wed, 06 Apr 2005 22:01:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=OLAqHVVxTB1ULXvFdgVSwPqObn/0ufgJiciyGJzW65gEhT6KHU8vjYYkXQF3IbIYx7c5xZnPXgxLW10o/gd4xZkKiT1vUYEiQucAJJZ491f6pPNcLdBNOyp0XkCe0umQjI3MFrg8pcZkqKHSQa4CNKmnao9/L5M1KGyoLurCsnw= Received: by 10.54.13.34 with SMTP id 34mr438997wrm; Wed, 06 Apr 2005 22:01:35 -0700 (PDT) Received: by 10.54.67.16 with HTTP; Wed, 6 Apr 2005 22:01:35 -0700 (PDT) Message-ID: <18aafe4c05040622017bc4ed22@mail.gmail.com> Date: Thu, 07 Apr 2005 05:01:00 -0000 From: Vinu Dev Reply-To: Vinu Dev To: Jim Blandy , rda@sources.redhat.com Subject: Re: Help required on rda [FRV] In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <18aafe4c05040603574ebfbd61@mail.gmail.com> X-SW-Source: 2005-q2/txt/msg00002.txt.bz2 Dear JimB, Thanks for your reply,iam using LinuxThreads,its my requirement to use linuxthreads. Even i was surprised by the delay factor,is there any other way to measure the thread creation time more precise than using gettimeofday() system call,if u could advice me on this,i would be very much thankfull to you. The delay is around 4-5 secs for each thread creation via rda. Is there any article or technical documents or could u guide me to know the cause for this delay? Regards Vinay On 06 Apr 2005 15:04:30 -0500, Jim Blandy wrote: > > Vinu Dev writes: > > I Appreciate your contribution to redhat on rda,i have problem using > > rda compilied for FRV target,while debugging thread application using > > rda and gdb compilied for FRV,there is a delay in thread creation when > > compared to creation of thread running the prog on console. > > Can u pls guide me in solving this problem > > Is your target system using LinuxThreads, or NPTL? > > With LinuxThreads, debugging will slow down your program quite a bit; > there are a lot of signals the thread implementation sends itself > internally, and RDA catches each one. I believe it re-reads the > thread table from the debuggee's memory each time it stops. > > The timings your program prints are amazing, though; 38654705694 > seconds is around a thousand years. I assume you didn't have to wait > *that* long. How long is the delay? > > If you have the option of using NPTL, you might try using RDA from the > jimb-rda-nptl-branch branch. I haven't had time to merge that into > the trunk, but hopefully I'll have some time to work on it eventually. > > -- Regards, Vinay