* NUMA and process location.
@ 2002-10-04 22:35 Zarla
2002-10-07 14:08 ` Emmanuel Choquet
0 siblings, 1 reply; 4+ messages in thread
From: Zarla @ 2002-10-04 22:35 UTC (permalink / raw)
Hello all,
I'm working with a GS160 which runs an Oracle database 8.1.7 with NUMA
option. This GS has 3 QBB but only two have an I/O riser card. I have
noticed a high percentage of CPU system time (50%) when it is loaded. .
I think it's not a normal situation. Is there a command to kwnon the RAD
which runs a process ?
Thanks for your answers.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NUMA and process location.
2002-10-04 22:35 NUMA and process location Zarla
@ 2002-10-07 14:08 ` Emmanuel Choquet
2002-10-09 22:18 ` Zarla
0 siblings, 1 reply; 4+ messages in thread
From: Emmanuel Choquet @ 2002-10-07 14:08 UTC (permalink / raw)
Zarla <zarla@redarmor.net> wrote in message news:<anl52n$5f1$1@news-reader10.wanadoo.fr>...
> Hello all,
>
> I'm working with a GS160 which runs an Oracle database 8.1.7 with NUMA
> option. This GS has 3 QBB but only two have an I/O riser card. I have
> noticed a high percentage of CPU system time (50%) when it is loaded. .
> I think it's not a normal situation. Is there a command to kwnon the RAD
> which runs a process ?
>
> Thanks for your answers.
Actually, threads of one process can be spread across cpus and rads.
You can easily know what CPU is scheduled for one thread, and then
you'll know the RAD.
ps -emf -o pid,cputime,user,state,pcpu,psr,comm,vsz,rss
psr is the CPU number, ~ means hard affinity, man ps for details
# vmstat -R 1 will tell you memory list status per RAD. You can
see if one RAD is overflowing memory allocation to other RADs.
To know *process* memory allocation across rads can be interesting as
well. Try to find 'cda' utility, and then, for each process pid you
want to know RAM allocation :
# cda
cda> numa_info 'pid'
Cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NUMA and process location.
2002-10-07 14:08 ` Emmanuel Choquet
@ 2002-10-09 22:18 ` Zarla
2002-10-11 11:53 ` Emmanuel Choquet
0 siblings, 1 reply; 4+ messages in thread
From: Zarla @ 2002-10-09 22:18 UTC (permalink / raw)
Thanks a lot for your answer. I will try your advices asap.
Just another question. To try to solve this problem, Compaq is agree to
plug an I/O riser card in the third QBB. But they have not suggest to
add a third PCI drawer (For the moment we have two PCI drawers only.
Each one has a set of KGPSA and network cards). They suggest to share a
PCI drawer with two QBB. Is it a good solution to spread efficiently I/O
between each QBB ? (The database is set to work with 3 RADs. Three db
writer process are set in the init.ora file.)
Regards, Fran�ois.
Emmanuel Choquet wrote:
> Zarla <zarla@redarmor.net> wrote in message news:<anl52n$5f1$1@news-reader10.wanadoo.fr>...
>
>>Hello all,
>>
>>I'm working with a GS160 which runs an Oracle database 8.1.7 with NUMA
>>option. This GS has 3 QBB but only two have an I/O riser card. I have
>>noticed a high percentage of CPU system time (50%) when it is loaded. .
>>I think it's not a normal situation. Is there a command to kwnon the RAD
>>which runs a process ?
>>
>>Thanks for your answers.
>
>
> Actually, threads of one process can be spread across cpus and rads.
>
> You can easily know what CPU is scheduled for one thread, and then
> you'll know the RAD.
>
> ps -emf -o pid,cputime,user,state,pcpu,psr,comm,vsz,rss
>
> psr is the CPU number, ~ means hard affinity, man ps for details
>
> # vmstat -R 1 will tell you memory list status per RAD. You can
> see if one RAD is overflowing memory allocation to other RADs.
>
> To know *process* memory allocation across rads can be interesting as
> well. Try to find 'cda' utility, and then, for each process pid you
> want to know RAM allocation :
> # cda
> cda> numa_info 'pid'
>
> Cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NUMA and process location.
2002-10-09 22:18 ` Zarla
@ 2002-10-11 11:53 ` Emmanuel Choquet
0 siblings, 0 replies; 4+ messages in thread
From: Emmanuel Choquet @ 2002-10-11 11:53 UTC (permalink / raw)
Zarla <zarla@redarmor.net> wrote in message news:<ao22ue$r0m$1@wanadoo.fr>...
They suggest to share a
> PCI drawer with two QBB. Is it a good solution to spread efficiently I/O
> between each QBB ? (The database is set to work with 3 RADs. Three db
> writer process are set in the init.ora file.)
No real answer here. It depends.
If your app is I/O bounded, and you share the bandwidth needed on
different HBAs, it will definetely help. If you are not IO bounded,
the answer is no.
However, it will never hurt.
use
# collect -sd -i 2
to know the actual BW to disk units.
use
# dd if=/dev/rdisk/dskXXc of=/dev/null bs=1024k
to know the max BW you can hope in read, and
# dd if=/dev/zero of=/dev/rdisk/dskXXg bs=1024k
to know the max BW you can hope while writing. THIS WILL ERASE THE
PARTITION.
You can make parallel tests if disks are sharing one PCI or one HBA.
As a thumb rule, if you are peaking at 50% of the max bandwidth, you
are likely not to be I/O bounded.
Cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-11 11:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-04 22:35 NUMA and process location Zarla
2002-10-07 14:08 ` Emmanuel Choquet
2002-10-09 22:18 ` Zarla
2002-10-11 11:53 ` Emmanuel Choquet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox