Re: [Gems-users] Tranasactional memory guys : How can i Find thread id


Date: Sat, 16 Jan 2010 20:00:04 -0800 (PST)
From: Muhammad abid Mughal <mabidm_pieas@xxxxxxxxx>
Subject: Re: [Gems-users] Tranasactional memory guys : How can i Find thread id
Thanks a lot Haris.


From: Haris Volos <hvolos@xxxxxxxxx>
To: Gems Users <gems-users@xxxxxxxxxxx>
Sent: Thursday, January 14, 2010 10:04:01
Subject: Re: [Gems-users] Tranasactional memory guys : How can i Find thread id

Solaris follows a convention according which it keeps a pointer  to
the user mode thread structure in the %g7 register. When in kernel,
%g7 keeps a pointer to the kernel thread structure. This together with
the address space ID should uniquely identify your thread.

On Wed, Jan 13, 2010 at 7:54 PM, Muhammad abid Mughal
<mabidm_pieas@xxxxxxxxx> wrote:
>
>
>
>
>
> Hi Dan Gibson/Polina:  Hope everyone doing good.
>
>           I need to find thread id, but right now i do not know at all how
> to attack this problem
>
>
>
>
>
>
>
>             My task is to monitor how often thread migrates from one core to
> another and gather statistics for each thread(such as pages,# of inst
> executed,# of transaction completed,etc)
>
>
>
> I am using Opal.Actually what they do they set some breakpoints on Virtual
> address after thread id written to some register(they are using %O1 global
> reg) .They use thread id to gather statistics and count thread migration.
>
>
>
> How can i get thread ids ?
>
> How can i get Virtual addresses to set breakpoints?
>
> I think i do need to modify benchmarks.
>
> Any bit of information will be highly appreciated
>
>
>
>
>
> Thanks
>
> Muhammad abid
>
>
>
> ________________________________
>
> New Email addresses available on Yahoo!
> Get the Email name you've always wanted on the new @ymail and @rocketmail.
> Hurry before someone else does!
>
>
>
> ________________________________
>
> New Email names for you!
> Get the Email name you've always wanted on the new @ymail and @rocketmail.
> Hurry before someone else does!
>
> ________________________________
> New Email names for you!
> Get the Email name you've always wanted on the new @ymail and @rocketmail.
> Hurry before someone else does!
> ________________________________
> Get your preferred Email name!
> Now you can @ymail.com and @rocketmail.com.
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding
> "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>
>
>
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.



New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
[← Prev in Thread] Current Thread [Next in Thread→]