Re: Sizing JFSLog

From: Bill Thompson (bill.thompson_at_GOODYEAR.COM)
Date: 06/27/03

  • Next message: Volker Gruenewald: "Antwort: AW: Antwort: AW: Antwort: Re: strange ICMP - packets from node"
    Date:         Fri, 27 Jun 2003 07:01:09 -0400
    To: aix-l@Princeton.EDU
    
    

    Theresa,

    One more word on this: You originally asked where you could find
    documentation on this and I don't believe that was answered. There are two
    very good Redbooks on the AIX logical volume manager:

    AIX Logical Volume Manager from A to Z: Introduction and Concepts
    http://www.redbooks.ibm.com/redbooks/pdfs/sg245432.pdf

    AIX Logical Volume Manager from A to Z: Troubleshooting and Commands
    http://www.redbooks.ibm.com/redbooks/pdfs/sg245433.pdf

    The following excerpt comes from the Redbook "AIX Logical Volume Manager
    from A to Z: Introduction and Concepts":

    5.2.7.9 Journaled file system log size issues
    Another size-related issue is the size of the JFS log. In most instances,
    multiple journaled file systems use a common log configured to be one
    physical partition in size. For example, after initial installation, all
    file systems
    within the root volume group use logical volume hd8 as a common JFS log.
    When file systems exceed 2 GB or when the total amount of file system space
    using a single log exceeds 2 GB, the default log size may not be
    sufficient. In
    either case, the log sizes should be scaled upward as the file system size
    increases. The JFS log is limited to a maximum size of 256 MB. A rule of
    thumb is 2 MB log for 4 GB of journaled file system. This does not mean
    that
    you need a 50 MB log logical volume if you have 100 GB of file systems in a
    particular volume group. It also depends on the amount of write activity
    performed. If you have 100 GB of file systems, and the applications do not
    write huge amounts of data, you will not need a big log logical volume.

    HTH

    Bill Thompson
    Sr UNIX Systems Administrator
    The Goodyear Tire & Rubber Co.

    Contains Confidential and/or Proprietary Information
    May Not Be Copied or Disseminated Without Express Consent of The Goodyear
    Tire & Rubber Company.

    AIX-L Archives: http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2

    ----- Original Message -----
    From: "Theresa Sarver" <tsarver.IFMC@SDPS.ORG>
    Newsgroups: bit.listserv.aix-l
    To: <aix-l@Princeton.EDU>
    Sent: Thursday, June 26, 2003 4:10 PM
    Subject: Re: Sizing JFSLog

    > Thank you all for your feedback - I guess I wasn't aware that there
    wasn't a "hard-fast rule" for this paramete? Anyway all the responses have
    been most helpful.
    >
    > So thank you again;
    > Theresa
    >
    > >>> aixgeek@YAHOO.COM 06/26/03 02:15PM >>>
    > Bah.
    >
    > If you have a massive amount of file system meta
    > changes, than 2MB for 1GB is a good idea, but that
    > assumes METADATA changes (i.e., massive file creations
    > and deletions).
    >
    > If this is a database server (create file once and
    > then never change its STRUCTURE), then you can get by
    > with a minimally-sized log device (one logical
    > partition) for your entire volume group.
    >
    >
    > --- Bob.Kelley@BRINKSINC.COM wrote:
    > > yes......a good rule of thumb is 2MB per 1G
    > >
    > > .....you should also include performance
    > > considerations when designing your
    > > logs, ie striping the logs for improved IO
    > > performance
    > >
    > > Bobby Kelley
    > > Sr. AIX/UNIX Administrator
    > >
    > >
    > >
    > >
    > > |---------+---------------------------->
    > > | | Theresa Sarver |
    > > | | <tsarver.IFMC@SDP|
    > > | | S.ORG> |
    > > | | Sent by: IBM AIX |
    > > | | Discussion List |
    > > | | <aix-l@Princeton.|
    > > | | EDU> |
    > > | | |
    > > | | |
    > > | | 06/26/2003 11:22 |
    > > | | AM |
    > > | | Please respond to|
    > > | | IBM AIX |
    > > | | Discussion List |
    > > | | |
    > > |---------+---------------------------->
    > >
    > >
    > >
    ------------------------------------------------------------------------------------------------------------------------------|

    > > |
    > >
    > > |
    > > | To: aix-l@Princeton.EDU
    > >
    > > |
    > > | cc:
    > >
    > > |
    > > | Subject: Sizing JFSLog
    > >
    > > |
    > >
    > >
    > >
    ------------------------------------------------------------------------------------------------------------------------------|

    > >
    > >
    > >
    > >
    > > Hi All;
    > >
    > > What is the proper size of the JFSLog on an AIX
    > > system (either 433 or 5L)?
    > >
    > > I have always set it at the default of 1PP.
    > > However, I have a colleague
    > > that is saying that "IBM recommends a 2 MB log size
    > > per 1 GB of file system
    > > space."
    > >
    > > I can't find any documentation stating that either
    > > one is correct...does
    > > anyone know where I might find some?
    > >
    > > Thank you!
    > > Theresa
    > >
    > > NOTICE TO BRINK'S EMPLOYEES:
    > > All electronic mail communications composed, sent,
    > > received or stored on or
    > > through Brink's equipment are subject to the Brink's
    > > Electronic
    > > Communications Policy. Employees should have no
    > > expectation of privacy in
    > > their use of the Company's electronic mail system.
    >
    >
    > __________________________________
    > Do you Yahoo!?
    > SBC Yahoo! DSL - Now only $29.95 per month!
    > http://sbc.yahoo.com


  • Next message: Volker Gruenewald: "Antwort: AW: Antwort: AW: Antwort: Re: strange ICMP - packets from node"

    Relevant Pages

    • Re: free disk space on network drive
      ... The amount of space that is free _now_ is almost never the amount of space that you can write to. ... then fopenthe file for "a+", fseek() to the offset-1, fwritea byte and check to see if the fwrite worked; if it did, then fseekto the beginning of file and go ahead and use the file. ... This will, however, not work if your file system knows about "holes" and if your file system detects this case as signaling that you want hole to be made. ...
      (comp.soft-sys.matlab)
    • Re: newfs(8) parameters from "dumpfs -m" have bad -s value?
      ... fs_size value by the fragment size (measured in 512 byte ... it isn't especially common in my experience to want a file ... system that occupies an amount of space different from the amount that ... is available for the file system ...
      (freebsd-stable)
    • Re: Forgein language in Disk-On-Key
      ... > I have no problem creating and using Hebrew files and directories in ... > and open it in konqueror, it appears as ???.extension, with the amount ... You could also change the file system ...
      (Fedora)
    • Re: vmware
      ... Which version of VMware Server are you using? ... The amount of memory used by all virtual machines combined is limited only by the amount of the host computer's RAM. ... The storage location can be the local file system, a CIFS store, or an NFS‐mounted file system." ... Linux Solutions Provider ...
      (RedHat)
    • Re: file system overhead
      ... systems on Solaris using Veritas volume manager. ... The filesystem is not being used and is empty. ... As you can see the size of the file system is 10GB the used amount is ...
      (comp.unix.solaris)