<?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: Buffer cache/UFC does not grow in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173730#M458550</link>
    <description>Is /stand VxFS (and /tmp as well)?&lt;BR /&gt;&lt;BR /&gt;If so -- check the VxFS direct I/O tunable( 'vxtunefs /stand |grep discovered_direct_iosz'). That tunable sets the size that VxFS doesn't use the file cache and instead does unbuffered direct I/O... and since I'm sure your vmunix is more than 256Kb, that's almost certainly over what appears to be the default.&lt;BR /&gt;&lt;BR /&gt;Example of effect:&lt;BR /&gt;&lt;BR /&gt;[{root}3227]$ vxtunefs /tmp |grep discovered_direct_iosz&lt;BR /&gt;discovered_direct_iosz = 262144&lt;BR /&gt;[{root}3230]$ vxtunefs /stand |grep discovered_direct_io&amp;gt;&lt;BR /&gt;discovered_direct_iosz = 262144&lt;BR /&gt;&lt;BR /&gt;[{root}3231]$timex cp /stand/vmunix /tmp/file1;timex cp /stand/vmunix /tmp/file2;timex cp /tmp/file1 /tmp/file2&lt;BR /&gt;&lt;BR /&gt;real        3.34&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.18&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;real        2.88&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.16&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;real        5.28&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.06&lt;BR /&gt;&lt;BR /&gt;Setting discovered_direct_iosz to 536870912 (512Mb) gives:&lt;BR /&gt;real        0.28&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.22&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;real        0.26&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.24&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;real        0.27&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.27&lt;BR /&gt;&lt;BR /&gt;Note, this is after I had already done this once -- my first run, the original copy took 0.93 real / 0.0 / 0.29 sys... and since I haven't really generated any memory pressure, those pages were very likely hanging around the file cache still, hence the copies all used those pages and got the faster times.&lt;BR /&gt;</description>
    <pubDate>Wed, 06 May 2009 18:19:54 GMT</pubDate>
    <dc:creator>Don Morris_1</dc:creator>
    <dc:date>2009-05-06T18:19:54Z</dc:date>
    <item>
      <title>Buffer cache/UFC does not grow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173727#M458547</link>
      <description>I have a unusal situation with my 11.31 RX system&lt;BR /&gt;&lt;BR /&gt;Normally when I copy files over and over the file is cached in the buffer cache and the cache grows.&lt;BR /&gt;&lt;BR /&gt;On my rx2600 the filecache stays at 200MB and my buffer cache is 32k.&lt;BR /&gt;&lt;BR /&gt;The filecache_min=5%&lt;BR /&gt;filecache_max=50%&lt;BR /&gt;&lt;BR /&gt;but it does not grow and copying files are always the same speed ?&lt;BR /&gt;&lt;BR /&gt;Am I missing a tuneable to turn on caching or is there a patch to make buffer cache work.&lt;BR /&gt;&lt;BR /&gt;Points will be provided.&lt;BR /&gt;Thanks for all help</description>
      <pubDate>Wed, 06 May 2009 16:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173727#M458547</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2009-05-06T16:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer cache/UFC does not grow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173728#M458548</link>
      <description>There's no option to turn on caching, no. It is simply on.&lt;BR /&gt;&lt;BR /&gt;Additional data would help here:&lt;BR /&gt;&lt;BR /&gt;1) The filecache stays at 200Mb... out of? [Is this 5%? 50%?] How did you determine this (what tool, exact output preferably)&lt;BR /&gt;&lt;BR /&gt;2) How many files / size of files? (Are the files perhaps just already in the cache in the first place? Is there so much file data that you always push the pages from the first set of files out from the cache by the time you get to the last set?)&lt;BR /&gt;&lt;BR /&gt;3) What's the memory pressure on the rest of the system, anyway? min/max means that the File Cache will try to grow from min to max -- but it does not do so [and will release memory] if there is memory pressure.</description>
      <pubDate>Wed, 06 May 2009 17:11:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173728#M458548</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2009-05-06T17:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer cache/UFC does not grow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173729#M458549</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;I copied the kernel file about 4 or 5 times&lt;BR /&gt;&lt;BR /&gt;timex cp /stand/vmunix /tmp/file1&lt;BR /&gt;  5 seconds&lt;BR /&gt;timex cp /stand/munix /tmp/file2&lt;BR /&gt;   5 seconds&lt;BR /&gt;timex cp /tmp/file1 /tmp/file2&lt;BR /&gt;   5 seconds&lt;BR /&gt;&lt;BR /&gt;This should be very very very fast&lt;BR /&gt;&lt;BR /&gt;The system is in idle&lt;BR /&gt;It has 4 GB of memory 2.5 GB of which is unused.</description>
      <pubDate>Wed, 06 May 2009 17:15:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173729#M458549</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2009-05-06T17:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer cache/UFC does not grow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173730#M458550</link>
      <description>Is /stand VxFS (and /tmp as well)?&lt;BR /&gt;&lt;BR /&gt;If so -- check the VxFS direct I/O tunable( 'vxtunefs /stand |grep discovered_direct_iosz'). That tunable sets the size that VxFS doesn't use the file cache and instead does unbuffered direct I/O... and since I'm sure your vmunix is more than 256Kb, that's almost certainly over what appears to be the default.&lt;BR /&gt;&lt;BR /&gt;Example of effect:&lt;BR /&gt;&lt;BR /&gt;[{root}3227]$ vxtunefs /tmp |grep discovered_direct_iosz&lt;BR /&gt;discovered_direct_iosz = 262144&lt;BR /&gt;[{root}3230]$ vxtunefs /stand |grep discovered_direct_io&amp;gt;&lt;BR /&gt;discovered_direct_iosz = 262144&lt;BR /&gt;&lt;BR /&gt;[{root}3231]$timex cp /stand/vmunix /tmp/file1;timex cp /stand/vmunix /tmp/file2;timex cp /tmp/file1 /tmp/file2&lt;BR /&gt;&lt;BR /&gt;real        3.34&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.18&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;real        2.88&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.16&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;real        5.28&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.06&lt;BR /&gt;&lt;BR /&gt;Setting discovered_direct_iosz to 536870912 (512Mb) gives:&lt;BR /&gt;real        0.28&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.22&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;real        0.26&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.24&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;real        0.27&lt;BR /&gt;user        0.00&lt;BR /&gt;sys         0.27&lt;BR /&gt;&lt;BR /&gt;Note, this is after I had already done this once -- my first run, the original copy took 0.93 real / 0.0 / 0.29 sys... and since I haven't really generated any memory pressure, those pages were very likely hanging around the file cache still, hence the copies all used those pages and got the faster times.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 May 2009 18:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173730#M458550</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2009-05-06T18:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer cache/UFC does not grow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173731#M458551</link>
      <description>Now that JFS filesystem paramater snuck up on me. &lt;BR /&gt;&lt;BR /&gt;Thank you very very much for this highlight on this parameter.. It must be a new 11.31 parameter.</description>
      <pubDate>Wed, 06 May 2009 18:39:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173731#M458551</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2009-05-06T18:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer cache/UFC does not grow</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173732#M458552</link>
      <description>Thanks again for the info</description>
      <pubDate>Thu, 07 May 2009 12:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-ufc-does-not-grow/m-p/5173732#M458552</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2009-05-07T12:09:29Z</dc:date>
    </item>
  </channel>
</rss>

