Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Capacity Planner from OEM VS Statspack
Babette
Years ago I worked at a facility that had some big iron. You see your mistake was that you said "disk". That is not in the approved IBM vocabulary. Once you learn to speak their language, you will use the proper term "DASD". They will still misdirect you because after all they work in the IBM universe (sorry, couldn't resist the cheap shot).
Dennis Williams
DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com
-----Original Message-----
From: babette.turnerunderwood_at_hrdc-drhc.gc.ca
[mailto:babette.turnerunderwood_at_hrdc-drhc.gc.ca]
Sent: Monday, February 09, 2004 10:15 AM
To: oracle-l_at_freelists.org
Subject: RE: Capacity Planner from OEM VS Statspack
Thanks Mladen,
This mainframe world is a very strange world to me. Any and all explanations are very helpful. I have been=20 using Oracle on the mainframe for over a year now and=20 I still confused about the architecture.
It doesn't help having the SysAdmin guys telling me=20 white lies.=20
ME: How are the datafiles arranged on disks? How are they mapped to real =
disks.
SYSADMIN: It doesn't matter, it is all RAM access. There are no disks =
involved
(then later we get a presentation on the DASD system and they explain =
the number of physical disks and logical volumes and the difference =
between FiCon and FibreChannel)
ME: So we have real disks under it all
SYSADMIN: Well not really. Everything is so fast and in cache, you can =
consider it all in RAM
ME: (screaming in my head) AAAAaaaaarrgggh!
Babette Turner-Underwood
-----Original Message-----
From: oracle-l-bounce_at_freelists.org =
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Mladen Gogala
Sent: 2004-02-06 3:12 PM
To: oracle-l_at_freelists.org
Subject: Re: Capacity Planner from OEM VS Statspack
On 02/06/2004 01:28:08 PM, babette.turnerunderwood_at_hrdc-drhc.gc.ca =20 wrote:
> I think the real issue is some form of swapping / paging going on.
> However, because of the way the mainframe handles the swapping /
> paging,
> It reports that it is not happening.=3D20
>=20
>=20
Actually, it is not so different. I don't know whether you've ever =20 worked on a VAX/VMS, but everything below so called "virtual=3Dreal =20 memory line" on IBM mainframe is equivalent to the VAX/VMS "non-paged =20 pool". You don't want to load many things there because this area is usually reserved for CICS control blocks DB/2 stuff and alike. So called "virtual memory" is the normal, paged RAM with page tables, TLB, L1,L2 and L3 caches. Then there is something called "channel =20 memory", which is, essentially, attached to disk controllers and is analogous to the cache you can find on Symmetrix arrays. You see, the difference between a mainframe and a minicomputer is architectural. Minicomputer is interrupt-driven, which means that periferals communicate with CPU(s) using interrupts. Mainframe has "channels", which means that disks are atteched to the memory and do not have direct communication with the CPU. When you want to perform I/O on a maninframe, you fill in the form (called IORB) and put it to certain memory location. So called "channel processor" monitors that location, takes the "form" , performs the request and puts the result in memory. When that is done, a single interrupt, =20 possibly piggybacking several I/O requests is sent to the CPU. When a minicomputer wants to perform I/O, it generates a slew of interrupts: CPU-> Controller: "are you ready?"
Controller->CPU "ready". CPU-> Controller "setup DMA channel to buffer". Controller->CPU "Set". CPU->Controller "Read sector # into buffer". Controller->CPU "Done."
Instead of all these messages, mainframe CPU gets only a single =20 interrupt for I/O done. That saves time and context switching. Architecture like that is being explored on the minicomputers and it's called "I2O". Advatnages of the channel architecture are numerous, but the most obvious is much better CPU utilization. The obvious thing to do is not to perform many task switches as with time sharing option (TSO) but to have a single program run all the time and perform transactions on behalf of the users. Such programs are called "TP monitors" and on IBM, it's CICS. Here I will conclude the computer architecture lesson for today.
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Mon Feb 09 2004 - 10:27:42 CST
![]() |
![]() |