[HPADM] RE: Clarification on swapinfo/glance output

From: Kenneth and Maythe Ray (kray_at_sbcglobal.net)
Date: 01/14/04

  • Next message: Christian Bryant: "[HPADM] HP-UX 11i V3 = PA-RISC/Itanium + x86 Linux?"
    To: "'Naylor, Jim'" <Jnaylor@Schnucks.com>, "'Hpux-Admin@Dutchworks. Nl (E-mail)'" <hpux-admin@dutchworks.nl>
    Date: Tue, 13 Jan 2004 23:09:07 -0600
    
    

    Seems to me you need to increase your swap by adding another device swap, it
    seems that your Oracle instance is needing to reserve more swap area. The
    memory line of swapinfo isn't actually physical memory it is pseudo swap.
    Other than the memory line showing up in the swapinfo command you can also
    see that your system has pseudo swap turned on by looking at the kernel
    parameter swapmem_on. If you run kmtune -q swapmem_on it should be set
    to 1. You might want to search for pseudo swap to get a good understanding
    of what it is, but in short it is about 75% of your physical RAM that is
    magically available so processes can reserve space for starting. The key
    thing is that it actually doesn't take up any of your physical
    memory....again you should read about it.

    I think creating another device swap that is probably about 1.5 times the
    size of the actual physical memory you have should help, also you might need
    to adjust some of the Oracle SGA parameters to be more inline with the
    amount of physical memory you have on the system.

    If I had that occuring that's where I'd start....

    -----Original Message-----
    From: hpux-admin-owner@DutchWorks.nl
    [mailto:hpux-admin-owner@DutchWorks.nl]On Behalf Of Naylor, Jim
    Sent: Tuesday, January 13, 2004 3:31 PM
    To: Hpux-Admin@Dutchworks. Nl (E-mail)
    Subject: [HPADM] Clarification on swapinfo/glance output

    Hello All,
    I have been reading several entries in the archives explaining the output of
    swapinfo in regards to memory and device swap but apparently I am having a
    mental block because I can't seem to comprehend the explanations. Here is
    my output form swapinfo -t:

    # swapinfo -t
                         Kb Kb Kb PCT START/
    Kb
    TYPE AVAIL USED FREE USED LIMIT
    RESERVE PRI NAME
    dev 2097152 0 2097152 0% 0
    - 1 /dev/vg00/lvol2
    reserve - 1468224 -1468224

    memory 3299740 1220268 2079472 37%

    total 5396892 2688492 2708400 50% -
    0 -

    Before re-booting this machine the "memory" line showed 100% and the "dev"
    seems to always show 0% as if it is never using the device swap space. With
    "dev" line at 0% I am getting errors from oracle saying out of space and
    eventually the system is un-usable. In glance it shows swap at 100% (40% of
    it is "R" I assume for reserved) and memory in glance was showing 76%. If
    someone could explain this output in layman's terms or point me to a white
    paper that could explain it, I would greatly appreciate it.

    Thanks,
    Jim Naylor
    Unix Systems Administrator
    Schnuck Markets, Inc.
    * Direct: (314) 994-4784
    *)) Cell: (314) 691-0186
    * Fax : (314) 994-4684
    * jnaylor@schnucks.com

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact
    majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner:
    owner-hpux-admin@dutchworks.nl
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse
    only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse &
    search)
    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Christian Bryant: "[HPADM] HP-UX 11i V3 = PA-RISC/Itanium + x86 Linux?"

    Relevant Pages

    • Re: Is shared memory pinned or swappable on HP-UX B.11.23 U ia64?
      ... TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME ... That's allowed to be reserved as if it were disk swap to allow ... large memory systems where the workloads fit in core to not bother ... That's approximately the maximum size of a new segment -- ...
      (comp.sys.hp.hpux)
    • Re: Heaps and Foreigners
      ... >> can ask for the memory and get a pointer to it. ... cause unfathomable deaths when swap space gets low or is exhausted. ... It's probably because there is some reserve memory to print out errors ... of RAM and disk space) and virtual swap (which is just a number managed ...
      (comp.lang.lisp)
    • Re: Is Greenspun enough?
      ... Most OSes memory map executables directly from the file system so code doesn't pollute the file cache or swap space. ...
      (comp.lang.lisp)
    • SUMMARY : RE: RAM usage
      ... RMCmem package which quickly identifed the amount of reserved swap vs used ... lot of money is they report just about all memory always used. ... This memory is in RAM ... Please reserve it for me". ...
      (SunManagers)
    • Re: [kde-linux] VM and Swap problems
      ... swap is half full the system starts removing swap until it is exactly ... Maybe one of your applications leak memory (I have a webpage ... to two times RAM. ... Unused memory will be used as disk buffers. ...
      (KDE)