I am not an Oracle guy, but because you ask for recommendation - may be it is time to upgrade to AIX 7.2? or 7.3? And afair Oracle has a newer version too. Something like 19c.
Everything else very relative to your system. What is "high context switching"? Do you have any numbers? How is your server dimensioned? Is it SPLPAR or dedicated? How many CPUs and RAM does it have? Is SMT on or off? There are so many settings which can change Oracle behaviour on AIX that I don't really know where to start ;-)
What I can say, if pi/po in vmstat (I don't know OSwatcher) constantly show 0, it is a good sign. fr/sr I'd say normal operations of LRUD and if you see it on top or not, doesn't really matter.
------------------------------
Andrey Klyachkin
https://www.power-devops.com------------------------------
Original Message:
Sent: Sun June 16, 2024 04:29 AM
From: kritsada ruayruengrung
Subject: a lot of context switching
Hi,
We run Oracle 12c RAC with IBM AIX 7.1 TL5. We got some performance on application becasue some our DBA ran oracle advisor and it blocked another oracle process. Oracle supporter asked our DBA ran Oracle OSwaatcher and then Oracle supporter said with our DBA this problem came from the system has high context switching cause from high memory scanning in Oracle. I donot agree with them because
- high memory scanning report should be in memory occupied by Oracle. not OS.
- I told them high context switching should relate high CPU usage instead high memory
- from OSwatcher report, I saw OSwatcher report and I saw pi/po, fr/sr always are 0 but has fo in 3 digits (about 100-110), and saw a lot of Oracle threads in top, not LRUD process ran.
I do not think high context switching cames from memory thrashing.
Am I correct? And any recommendation?
Thanks
Kritsada.
------------------------------
kritsada ruayruengrung
------------------------------