• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

What commands to see the different controllers and if 16 bit 32 bit or 64 bit?

I want to know how to check for the disk controllers in the OS and the bit (16 bit - 32 bit - 64 bit).
0
LindaC
Asked:
LindaC
  • 7
  • 5
  • 3
  • +1
1 Solution
 
sjm_eeCommented:
lsdev -Cc adapter
0
 
LindaCAuthor Commented:
host:/usr/bin> lsdev -Cc adapter
ksh: lsdev:  not found
0
 
jonkreislerCommented:
Which version of AIX?
lsdev is usually   /usr/sbin/lsdev
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
jonkreislerCommented:
For kernel type:

/usr/sbin/prtconf | grep Kernel
0
 
LindaCAuthor Commented:
Aix 4.3 - Aix 5.3
Solaris 5.9
Solaris 5.10
0
 
jonkreislerCommented:
note: kernel type will tell you if it's 32-bit or 64-bit
0
 
LindaCAuthor Commented:
I want to know if in case there is more than one controller, because I saw this paragraph in Oracle Metalink:

The controller being used for the load is configured to 16 bit with the other
controllers being configured to 32 bit.  Change the configuration to 32 bit
and that should speed up the performance and keep the the database from
hanging.

Checking the bit controller is OS and hardware vendor specific.


Solution Explanation:
=====================
 
The controller configuration for the 100% busy disk pack was different from
the other normal controllers.  Since the controller was configured as 16 bit,
its performance was very slow.  So, the disk I/O connecting to the 16 bit
controller was 100% busy.

Reference :
===========

Note 1032562.6  Disk I/O is 100% busy with very slow performance
0
 
LindaCAuthor Commented:
The Kernel command does not return anything:

host:/usr/bin> /usr/sbin/prtconf | grep Kernel
host:/usr/bin>
0
 
jonkreislerCommented:
Oh, sorry when you said 32-bit and 64-bit, I thought you meant the OS kernel.
0
 
sjm_eeCommented:
Ok the key thing here is that, under AIX, you as sysadmin have pretty much no control over choosing the "bitness" of the device driver for the adapters. The Oracle metalink article is generic. If you choose 64-bit kernel then you'll get 64-bit device drivers. If you stay on 32-bit kernel, you'll get 32-bit. 16-bit has never, ever, applied to AIX, not even AIX PS/2.

Sounds to me like you've got a performance question - if so, this is a bad place to start - I recommend starting way up the top of the analysis tree if you haven't already.
0
 
LindaCAuthor Commented:
I want to know the answer of my question.  I do not want to start with other question, because I do not have a problem right now.  I'am just reading an Oracle Metalink paper as I have written above and came out with this question.
I will need the answer to my question  sim_ee
0
 
jonkreislerCommented:
The Kernel option only works for AIX.
Not sure where it is on Solaris.
0
 
sjm_eeCommented:
LindaC - English is obviously not your first language so I will try to be direct. We have given answers. You are quoting from a metalink article that does not apply to AIX - maybe not to Solaris either. If you want an answer in Windows domain then ask there, not here.
0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
Solaris:
# isainfo -b    (32 or 64 bit kernel running?)
# isainfo -v   (which type of allications can run?)
# /usr/platform/`uname -m`/sbin/prtdiag -v  (hardware overview and diag status)

0
 
LindaCAuthor Commented:
JustUNIX, I don't see information about the disk controllers.
0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
What do you really need here?
0
 
LindaCAuthor Commented:
See how can I see the disk controllers and if they are 32 bit or 16 bit.
0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
This displays the list of PCI (or SBus) adapters:
# /usr/platform/`uname -m`/sbin/prtdiag -v

Here what I get on one of my servers:
# /usr/platform/`uname -m`/sbin/prtdiag -v
System Configuration:  Sun Microsystems  sun4u Sun Fire 15000
System clock frequency: 150 MHz
Memory size: 16384 Megabytes

========================= CPUs =========================

          CPU      Run    E$    CPU     CPU
Slot ID   ID       MHz    MB   Impl.    Mask
--------  -------  ----  ----  -------  ----
/SB11/P0  352       900   8.0  US-III+  2.1
/SB11/P1  353       900   8.0  US-III+  2.1
/SB11/P2  354       900   8.0  US-III+  2.1
/SB11/P3  355       900   8.0  US-III+  2.1

========================= Memory Configuration =========================

                   Logical  Logical  Logical
             Port  Bank     Bank     Bank       DIMM   Interleave  Interleave
Slot ID       ID   Number   Size     Status     Size   Factor      Segment
-----------  ----  -------  -------  --------  ------  ----------  ----------
/SB11/P0/B0  352      0     1024MB   okay       512MB    16-way         0
/SB11/P0/B1  352      1     1024MB   okay       512MB    16-way         0
/SB11/P0/B0  352      2     1024MB   okay       512MB    16-way         0
/SB11/P0/B1  352      3     1024MB   okay       512MB    16-way         0
/SB11/P1/B0  353      0     1024MB   okay       512MB    16-way         0
/SB11/P1/B1  353      1     1024MB   okay       512MB    16-way         0
/SB11/P1/B0  353      2     1024MB   okay       512MB    16-way         0
/SB11/P1/B1  353      3     1024MB   okay       512MB    16-way         0
/SB11/P2/B0  354      0     1024MB   okay       512MB    16-way         0
/SB11/P2/B1  354      1     1024MB   okay       512MB    16-way         0
/SB11/P2/B0  354      2     1024MB   okay       512MB    16-way         0
/SB11/P2/B1  354      3     1024MB   okay       512MB    16-way         0
/SB11/P3/B0  355      0     1024MB   okay       512MB    16-way         0
/SB11/P3/B1  355      1     1024MB   okay       512MB    16-way         0
/SB11/P3/B0  355      2     1024MB   okay       512MB    16-way         0
/SB11/P3/B1  355      3     1024MB   okay       512MB    16-way         0

========================= IO Cards =========================

                           Bus  Max
            IO   Port Bus  Freq Bus  Dev,
Slot ID     Type  ID  Side MHz  Freq Func State Name                              Model
----------  ---- ---- ---- ---- ---- ---- ----- --------------------------------  ----------------------
/IO11/C5V0  PCI  380   B    33   33  1,0  ok    pci-pci8086,b154.0/pci108e,1000   pci-bridge
/IO11/C5V0  PCI  380   B    33   33  0,0  ok    pci108e,1000-pci108e,1000.1
/IO11/C5V0  PCI  380   B    33   33  0,1  ok    SUNW,qfe-pci108e,1001             SUNW,pci-qfe
/IO11/C5V0  PCI  380   B    33   33  1,0  ok    pci108e,1000-pci108e,1000.1
/IO11/C5V0  PCI  380   B    33   33  1,1  ok    SUNW,qfe-pci108e,1001             SUNW,pci-qfe
/IO11/C5V0  PCI  380   B    33   33  2,0  ok    pci108e,1000-pci108e,1000.1
/IO11/C5V0  PCI  380   B    33   33  2,1  ok    SUNW,qfe-pci108e,1001             SUNW,pci-qfe
/IO11/C5V0  PCI  380   B    33   33  3,0  ok    pci108e,1000-pci108e,1000.1
/IO11/C5V0  PCI  380   B    33   33  3,1  ok    SUNW,qfe-pci108e,1001             SUNW,pci-qfe
/IO11       PCI  380   B    33   33  2,0  ok    bootbus-controller-pci108e,c416/+ SUNW,sbbc
/IO11       PCI  380   B    33   33  3,0  ok    pci108e,1100-pci108e,1100.1
/IO11       PCI  380   B    33   33  3,1  ok    network-pci108e,1101.1            SUNW,pci-eri
/IO11       PCI  380   B    33   33  3,2  ok    firewire-pci108e,1102.1001
/IO11       PCI  380   B    33   33  3,3  ok    usb-pci108e,1103.1001
/IO11/C3V0  PCI  380   A    66   66  1,0  ok    SUNW,qlc-pci1077,2312.1077.10a.2+
/IO11/C3V0  PCI  380   A    66   66  1,1  ok    SUNW,qlc-pci1077,2312.1077.10a.2+
/IO11/C5V1  PCI  381   B    33   33  1,0  ok    pci-pci8086,b152.0/pci108e,1000   pci-bridge
/IO11/C5V1  PCI  381   B    33   33  0,0  ok    pci108e,1000-pci108e,1000.1
/IO11/C5V1  PCI  381   B    33   33  0,1  ok    SUNW,hme-pci108e,1001             SUNW,cheerio
/IO11/C5V1  PCI  381   B    33   33  4,0  ok    SUNW,isptwo-pci1077,1020/sd (blo+ QLGC,ISP1040B
/IO11/C3V1  PCI  381   A    33   66  1,0  ok    network-pci108e,2bad              SUNW,pci-gem
/IO12/C5V0  PCI  412   B    33   33  1,0  ok    pci-pci8086,b154.0/pci108e,1000   pci-bridge
/IO12/C5V0  PCI  412   B    33   33  0,0  ok    pci108e,1000-pci108e,1000.1
/IO12/C5V0  PCI  412   B    33   33  0,1  ok    SUNW,qfe-pci108e,1001             SUNW,pci-qfe
/IO12/C5V0  PCI  412   B    33   33  1,0  ok    pci108e,1000-pci108e,1000.1
/IO12/C5V0  PCI  412   B    33   33  1,1  ok    SUNW,qfe-pci108e,1001             SUNW,pci-qfe
/IO12/C5V0  PCI  412   B    33   33  2,0  ok    pci108e,1000-pci108e,1000.1
/IO12/C5V0  PCI  412   B    33   33  2,1  ok    SUNW,qfe-pci108e,1001             SUNW,pci-qfe
/IO12/C5V0  PCI  412   B    33   33  3,0  ok    pci108e,1000-pci108e,1000.1
/IO12/C5V0  PCI  412   B    33   33  3,1  ok    SUNW,qfe-pci108e,1001             SUNW,pci-qfe
/IO12       PCI  412   B    33   33  2,0  ok    bootbus-controller-pci108e,c416/+ SUNW,sbbc
/IO12       PCI  412   B    33   33  3,0  ok    pci108e,1100-pci108e,1100.1
/IO12       PCI  412   B    33   33  3,1  ok    network-pci108e,1101.1            SUNW,pci-eri
/IO12       PCI  412   B    33   33  3,2  ok    firewire-pci108e,1102.1001
/IO12       PCI  412   B    33   33  3,3  ok    usb-pci108e,1103.1001
/IO12/C3V0  PCI  412   A    66   66  1,0  ok    SUNW,qlc-pci1077,2312.1077.10a.2+
/IO12/C3V0  PCI  412   A    66   66  1,1  ok    SUNW,qlc-pci1077,2312.1077.10a.2+
/IO12/C5V1  PCI  413   B    33   33  1,0  ok    pci-pci8086,b152.0/pci108e,1000   pci-bridge
/IO12/C5V1  PCI  413   B    33   33  0,0  ok    pci108e,1000-pci108e,1000.1
/IO12/C5V1  PCI  413   B    33   33  0,1  ok    SUNW,hme-pci108e,1001             SUNW,cheerio
/IO12/C5V1  PCI  413   B    33   33  4,0  ok    SUNW,isptwo-pci1077,1020/sd (blo+ QLGC,ISP1040B
/IO12/C3V1  PCI  413   A    66   66  1,0  ok    network-pci100b,35.30             SUNW,pci-ce

========================= Diagnostic Information =========================

For diagnostic information,
see /var/opt/SUNWSMS/adm/[A-R]/messages on the SC.

========================= Hardware Revisions =========================

OpenBoot firmware revision:
---------------------------
OBP 4.18.2 2005/06/30 07:56


When your kernel is running in 64 bit mode, the drivers are also 64 bit

16 bit kernel and/or drivers have never existed for Solaris
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 7
  • 5
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now