Quote:
Originally posted by Roelwe
If you define 8 CPU VP's, all 8 physical CPUs will be used if they are recognized by the OS.
You can only be sure which physical CPU is used if you bind a CPU VP to a physical process. If the affinity is turned of, I think that the OS takes care of the separate processes and decides on which CPU it has to run.
The more CPU VPS you define the more the database can spread the network handling (poll and listen threads) and the sql execution (sqlexec threads).
Every connection results in a thread spawn and is created in a specific CPU VP.
'onstat -g ath' shows you all the threads doing the work and you can immediately see in which CPU VP the thread is created.
I am not sure what you want to do here - or what you want to check. Do you have a CPU tuning issue?
|
Hi,
I don't remember if I answered your last question. We are trying to deal with processor affinity basically.
I basically need to find: out of 8 CPU's how many CPU's actually got involved in doing some sql execution during the last 5 seconds for example. I need the related pid of CPU, the cpu VP, and the value of usercpu and syscpu for each of the actively involved CPU.
Does this info help?
Thanks,
Anu_R