This is the mail archive of the rda@sources.redhat.com mailing list for the rda project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help required on rda [FRV]


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 <jimb@redhat.com> wrote:
> 
> Vinu Dev <vinudev@gmail.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]