<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how often the OS buffer cache is sync'd. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419044#M861685</link>
    <description>Hi,&lt;BR /&gt;With 4 GB I put dbc_max_pct at 10% and 5% for min&lt;BR /&gt;If Im short of RAM I even put less (8%)&lt;BR /&gt;Since You are buffering with progress, the good solution would be to add  the oprion I and Fred mentioned earlier but as Fred said micache option requires Online-JFS, do you have the product installed?&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
    <pubDate>Wed, 10 Nov 2004 09:59:29 GMT</pubDate>
    <dc:creator>Victor BERRIDGE</dc:creator>
    <dc:date>2004-11-10T09:59:29Z</dc:date>
    <item>
      <title>how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419037#M861678</link>
      <description>HP-UX 11.11 L3000&lt;BR /&gt;I have a problem with a Progress DB freezing  form time to time This is due to a high number of litle transaction. This produce a flushes during checkpoints. &lt;BR /&gt;Progress TechSupport ask me "how often the OS buffer cache is sync'd."  and  "Ideally you can change this frequency ". &lt;BR /&gt;This sound like syncer prog involved.&lt;BR /&gt;Can someone help me with this. &lt;BR /&gt;Xavier</description>
      <pubDate>Wed, 10 Nov 2004 08:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419037#M861678</guid>
      <dc:creator>Xavier BLANC</dc:creator>
      <dc:date>2004-11-10T08:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419038#M861679</link>
      <description>Hi Xavier,&lt;BR /&gt;Ive seen this type of behaviour on boxes with dbc_max_pct were left to default value (50%) and the boxes had quite some RAM...&lt;BR /&gt;What size buffer do you have?&lt;BR /&gt;A reasonable size would be no more than 400MB&lt;BR /&gt;as you have noticed if it is in need to flush 400MB it will frees during that time...So imagine &amp;gt;2GB...&lt;BR /&gt;&lt;BR /&gt;You could after change the way the JFS log works by adding in /etc/fstab the optins to the filesystems giving you trouble like delaylog,dtatinlog or even mincahe=direct&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Wed, 10 Nov 2004 09:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419038#M861679</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-11-10T09:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419039#M861680</link>
      <description>About Victor's answer :&lt;BR /&gt;For Oracle DB I always say that FS where DB Files are should be mounted with mincache=direct and convosync=direct options (both Oracle and HP recommends this). They make IOs bypass the cache for those FS.  It should be also true for progress.&lt;BR /&gt;&lt;BR /&gt;Note that these options are only available when having Online JFS installed.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Nov 2004 09:07:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419039#M861680</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-11-10T09:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419040#M861681</link>
      <description>And to anser the question - I believe the syncer flushes to disk every 30 seconds&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 10 Nov 2004 09:10:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419040#M861681</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2004-11-10T09:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419041#M861682</link>
      <description>... and to change the frequency look at /sbin/init.d/syncer and read the man page for syncer (1m)&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Nov 2004 09:13:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419041#M861682</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2004-11-10T09:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419042#M861683</link>
      <description>From &lt;A href="ftp://hprc.external.hp.com/memory.htm" target="_blank"&gt;ftp://hprc.external.hp.com/memory.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A. Review Buffer Cache size&lt;BR /&gt;&lt;BR /&gt;Review Buffer Cache size - Buffer cache is, by default, 50% of RAM (see kernel parameter dbc_max_pct(5)).  A buffer cache sweet spot is 400 Mb or 20% of memory, whichever is smaller. But of course, this may vary from system to system.  To check the current size of the buffer cache, either "sysdef | grep bufpagesâ   (and multiply by 4096 to approximate the current size of buffer cache) or use glanceâ  s memory screen to see what size â  BufCacheâ   is. &lt;BR /&gt;&lt;BR /&gt;  Note: Although buffer cache is dynamic in size, decrease only occurs under memory pressure and then only decreases very slowly. So, the buffer cache often grows farily quickly to dbc_max_pct and only decreases (and slowly) when memory presssure is high.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;R</description>
      <pubDate>Wed, 10 Nov 2004 09:20:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419042#M861683</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-11-10T09:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419043#M861684</link>
      <description>Ok thanks to all. &lt;BR /&gt;&lt;BR /&gt;Thanks Duncan here is  the start command  is :&lt;BR /&gt;/usr/sbin/syncer &amp;amp;&amp;amp; echo syncer started&lt;BR /&gt;&lt;BR /&gt;From man syncer : "If seconds is not specified, the default interval is every 30 seconds." &lt;BR /&gt;Ok I'll give this to Progress Tech Support. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Victor and fred  I'm interested in what you said : &lt;BR /&gt;I never really understand  these parameter.&lt;BR /&gt;2 CPU 650 4Gb RAM  &lt;BR /&gt;dbc_max_pct =  50           50  ...&lt;BR /&gt;dbc_min_pct =  5            5   ...&lt;BR /&gt;&lt;BR /&gt;&amp;gt;What size buffer do you have?&lt;BR /&gt;If you mean db buffer ...  note it is Progress DB  : nearly 1Gb&lt;BR /&gt;&lt;BR /&gt;&amp;gt;You could after change the way the JFS log works ... &lt;BR /&gt;How could I verify JFS is installed ( I don't think !) &lt;BR /&gt;here our basic  filesys &lt;BR /&gt;/dev/vg01/data /Diap1/data vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2&lt;BR /&gt;&lt;BR /&gt;Best regards &lt;BR /&gt;Xavier</description>
      <pubDate>Wed, 10 Nov 2004 09:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419043#M861684</guid>
      <dc:creator>Xavier BLANC</dc:creator>
      <dc:date>2004-11-10T09:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419044#M861685</link>
      <description>Hi,&lt;BR /&gt;With 4 GB I put dbc_max_pct at 10% and 5% for min&lt;BR /&gt;If Im short of RAM I even put less (8%)&lt;BR /&gt;Since You are buffering with progress, the good solution would be to add  the oprion I and Fred mentioned earlier but as Fred said micache option requires Online-JFS, do you have the product installed?&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Wed, 10 Nov 2004 09:59:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419044#M861685</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-11-10T09:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419045#M861686</link>
      <description>IO cache is initially set up to dbc_min_pct% of your RAM (5% of 4GB). Then it grows slowly (regarding your usage) to a max of dbc_max_pct% of your RAM (50% of 4GB). With such a RAM, it would be safe to decrease min and max to something like 5 and 10 (personnaly, I would go further for a DB server. ie something like 2 and 5).&lt;BR /&gt;&lt;BR /&gt;JFS is certainly installed. Online JFS is installed if "swlist -l bundle" gives a line like this :&lt;BR /&gt;  B3929BA               B.11.00        HP OnLineJFS (Advanced VxFS)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Nov 2004 10:00:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419045#M861686</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-11-10T10:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419046#M861687</link>
      <description>Thinking of it, how are you connected to your disks? are they mirrored or RAID5 arrays?&lt;BR /&gt;&lt;BR /&gt;Because there is other parameters we could go through such as I/O timeouts and queue lenght and depth&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Wed, 10 Nov 2004 10:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419046#M861687</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-11-10T10:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419047#M861688</link>
      <description>Ok &lt;BR /&gt;I'm going to modify dbc_min_pct and max ( not today, this is prod environment). &lt;BR /&gt;And see what happen ! &lt;BR /&gt;&lt;BR /&gt;For JFS &lt;BR /&gt;swlist -l bundle|grep -i OnlineJFS  produce nothing ( I've tried also with fileset ). &lt;BR /&gt;Can  you tell me on what CD is the JFS, and if I go to JFS  what I need to know. Should I backup and recreate my filesystem ( I currently use LVM ).&lt;BR /&gt;&lt;BR /&gt;Disk config is Fiber channel bus -&amp;gt; DS2400 -&amp;gt; several 18Gb disk. &lt;BR /&gt;The db is on a Mirror-ux disk  ( 1 - 1 ) .  &lt;BR /&gt;No raid (hard)&lt;BR /&gt;&lt;BR /&gt;As we have plenty disk  I was wondering about stripping but I've no knowlegde  on this. Do you think someone on this forum  can guide me to do it in the future. Or does it require HP engineer ! &lt;BR /&gt;I know quite well HPUX and understand HP LVM.  &lt;BR /&gt;&lt;BR /&gt;Thank again to all &lt;BR /&gt;Xavier&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Nov 2004 10:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419047#M861688</guid>
      <dc:creator>Xavier BLANC</dc:creator>
      <dc:date>2004-11-10T10:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419048#M861689</link>
      <description>OnlineJFS is not free. You will need to contact your resseller. OnlineJFS main goal is to provide Online resizing of FS (Do not need to unmount a FS to add space). Install needs a reboot.&lt;BR /&gt;&lt;BR /&gt;If you have already set up mirroring and have space for it, I would tell you not to stripe. &lt;BR /&gt;&lt;BR /&gt;You don't need someone to set up stripping. It is not harder than mirroring. There are just things you must do and some not. If you plan to do it, just ask advices here.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Nov 2004 10:55:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419048#M861689</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-11-10T10:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419049#M861690</link>
      <description>Hi Xavier,&lt;BR /&gt;You will have to buy Online-JFS...&lt;BR /&gt;&lt;BR /&gt;I do lvm striping over a HDS SAN (raid5...)&lt;BR /&gt;to get something like loadbalancing... (I know there is a software for that but its again a question of time ($$$)...&lt;BR /&gt;&lt;BR /&gt;I believe you will gain in I/O bandwidth (I do see quite a difference...)by striping - and its not difficult...&lt;BR /&gt;create striped swap...&lt;BR /&gt;#/sbin/lvcreate -l 1016 -n lvol2 -i 4 -I 256 -r y -C n   -s y -p w -d p s4vg01&lt;BR /&gt;&lt;BR /&gt;Here is how to see queue depth and I/O timeout:&lt;BR /&gt;# pvdisplay /dev/dsk/c4t0d0&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c4t0d0&lt;BR /&gt;PV Name                     /dev/dsk/c8t0d0     Alternate Link&lt;BR /&gt;VG Name                     /dev/s4vg01&lt;BR /&gt;PV Status                   available                &lt;BR /&gt;Allocatable                 yes          &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;Cur LV                      8      &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    3472    &lt;BR /&gt;Free PE                     1045    &lt;BR /&gt;Allocated PE                2427        &lt;BR /&gt;Stale PE                    0       &lt;BR /&gt;IO Timeout (Seconds)        180                 &lt;BR /&gt;Autoswitch                  On        &lt;BR /&gt;&lt;BR /&gt;# scsictl -a /dev/rdsk/c4t0d0&lt;BR /&gt;immediate_report = 0; queue_depth = 8&lt;BR /&gt; &lt;BR /&gt;All the best&lt;BR /&gt;Victor&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Nov 2004 11:10:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419049#M861690</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-11-10T11:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: how often the OS buffer cache is sync'd.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419050#M861691</link>
      <description>If you plan to stripe, create VGs where all LVs are stripped on the same number of disks (Like for Mirroring). If you don't, you could came to a situation with a LV that you cannot extend on a VG with plenty of space.&lt;BR /&gt;&lt;BR /&gt;For your DB, Stripping may not be a good thing unless you have a SAN array with multiple paths to disks (Controlers, Fibers and LUN created to balance accesses). In other cases (classic SCSI internal drives or SCSI array), you may have better IOs with Mirror.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Nov 2004 11:20:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-often-the-os-buffer-cache-is-sync-d/m-p/3419050#M861691</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-11-10T11:20:16Z</dc:date>
    </item>
  </channel>
</rss>

