Date: | Sun, 18 Apr 2010 22:05:51 +0900 |
---|---|
From: | junghun lee <ijij41@xxxxxxxxx> |
Subject: | Re: [Gems-users] How to know address space id (ASI) at opal ? |
Dear.. Dan...or anyone.
Thank you for your response.
According to my experiment, you are right. In case of process of user, they only used ASI 0x80, but have difference about value of g7 register. (Thread ID).
So, Do you know how to distinguish each process about user and supervisor, if you don't use ASI ???
I need to distinguish process for knowing frequency of thread migration.
Thanks.
JH 2010/4/18 Dan Gibson <degibson@xxxxxxxx> I don't know how to get ASI's when running with Opal, but you should be aware that ASIs are NOT linked to individual processes -- SPARC's ASIs serve a completely different purpose. E.g., nearly all user-space accesses are ASI 0x80 (i.e., all processes will use ASI 0x80). Other ASIs are used to access memory differently, e.g., the trap handlers can use ASI_AS_IF_USER_PRIMARY to touch memory in the process that trapped, and there are ASIs to reverse endianness, etc. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] How to know address space id (ASI) at opal ?, Dan Gibson |
---|---|
Next by Date: | [Gems-users] Is there any way to simulate where no of processors are not power of 2?, lopamudra chatterjee |
Previous by Thread: | Re: [Gems-users] How to know address space id (ASI) at opal ?, Dan Gibson |
Next by Thread: | [Gems-users] How to set g_NUM_MEMORIES to 1 when using SMP protocol, zxj.xing |
Indexes: | [Date] [Thread] |