<?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: Oracle 8.1.7 - Latch problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-8-1-7-latch-problem/m-p/2564100#M919628</link>
    <description>Hi there.&lt;BR /&gt;Here some kernel parameters ( suggestion ) :&lt;BR /&gt;db_max_pct 12&lt;BR /&gt;db_min_pct  5&lt;BR /&gt;maxfiles  1024&lt;BR /&gt;maxfiles_lim 2048&lt;BR /&gt;nflocks 600&lt;BR /&gt;npty 300 ( if necessary )&lt;BR /&gt;semmni  512&lt;BR /&gt;semmns  2048&lt;BR /&gt;shmmni  1024&lt;BR /&gt;shmseg 400&lt;BR /&gt;&lt;BR /&gt;Oracle parameters&lt;BR /&gt;&lt;BR /&gt;db_block_buffers 10240 ( to be tested during uptime with cache hits )&lt;BR /&gt;&lt;BR /&gt;don't set db_block_lru_latches&lt;BR /&gt;&lt;BR /&gt;db_files 1022&lt;BR /&gt;dml_locks 5000&lt;BR /&gt;log_buffer 16384000&lt;BR /&gt;mts_max_servers 200&lt;BR /&gt;mts_servers 20&lt;BR /&gt;open_cursors 3000&lt;BR /&gt;&lt;BR /&gt;Hope, i could help you.&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
    <pubDate>Fri, 10 Aug 2001 09:49:00 GMT</pubDate>
    <dc:creator>Alexander M. Ermes</dc:creator>
    <dc:date>2001-08-10T09:49:00Z</dc:date>
    <item>
      <title>Oracle 8.1.7 - Latch problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-8-1-7-latch-problem/m-p/2564099#M919627</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;We are running stresstest of Oracle 8.1.7 (64bit) on an HP900/L2000 with 4x440MHz CPU, 6GB  memory and an EMC disk array. &lt;BR /&gt;&lt;BR /&gt;We have setup the Oracle with MTS.&lt;BR /&gt;&lt;BR /&gt;When we reach 400 users the Oracle server get problems with LATCHes, and the CPUs goes to 100%. I have almost none tablescans. Without MTS I reach 120 users.&lt;BR /&gt;&lt;BR /&gt;We get appox. 150 sql execs /sec and 100 pars reqs/sec.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think this is to bad. I have some idea of wrong values of parameters of UNIX Kernel or Oracle. &lt;BR /&gt;&lt;BR /&gt;Here are the parameters of UNIX and Oracle:&lt;BR /&gt;&lt;BR /&gt;UNIX Kernel parameters:&lt;BR /&gt; bufpages = 0&lt;BR /&gt; dbc_max_pct = 3&lt;BR /&gt; dbc_min_pct = 2&lt;BR /&gt; maxfiles = 512&lt;BR /&gt; maxfiles_lim = 1024&lt;BR /&gt; maxusers = sum of oracle users + 64&lt;BR /&gt; maxuprc = 4 * maxusers&lt;BR /&gt; nfile = ((16*(nproc+16+maxusers)/10+32+2*(npty+nstrpty)&lt;BR /&gt; nflocks = 200&lt;BR /&gt; nproc = (20+8*maxusers)&lt;BR /&gt; npty = 60&lt;BR /&gt; o_sync_is_o_dsync = 0&lt;BR /&gt; semmni = 64&lt;BR /&gt; semmns = 200&lt;BR /&gt; shmmax = up to max physical memory&lt;BR /&gt; shmmni = 200&lt;BR /&gt; shmseg = 12&lt;BR /&gt;&lt;BR /&gt;Oracle parameters:&lt;BR /&gt;NAME VALUE&lt;BR /&gt;background_dump_dest /progs/oracle/admin/abw/bdump&lt;BR /&gt;Compatible 8.1.7&lt;BR /&gt;control_files /data/agr/oracle/data/ctl1abw.ora,&lt;BR /&gt;/data/agr/oracle/redolog/ctl2abw.ora&lt;BR /&gt;core_dump_dest /progs/oracle/admin/abw/cdump&lt;BR /&gt;db_block_buffers 131072&lt;BR /&gt;db_block_lru_latches 8&lt;BR /&gt;db_block_size 8192&lt;BR /&gt;db_domain world&lt;BR /&gt;db_file_multiblock_read_count 32&lt;BR /&gt;db_files 100&lt;BR /&gt;db_name ABW&lt;BR /&gt;db_writer_processes 1&lt;BR /&gt;dbwr_io_slaves 4&lt;BR /&gt;dml_locks 2000&lt;BR /&gt;global_names FALSE&lt;BR /&gt;instance_name ABW&lt;BR /&gt;large_pool_size 200000000&lt;BR /&gt;log_archive_dest /data/agr/oracle/data/arch01&lt;BR /&gt;log_archive_format ARC%S.%T&lt;BR /&gt;log_archive_start TRUE&lt;BR /&gt;log_buffer 1536000&lt;BR /&gt;log_checkpoint_interval 1000000&lt;BR /&gt;max_dump_file_size 10000&lt;BR /&gt;mts_dispatchers (address=(protocol=tcp) (host=100.19.0.15)) (dispatchers=10)&lt;BR /&gt;mts_max_dispatchers 10&lt;BR /&gt;mts_max_servers 400&lt;BR /&gt;mts_servers 100&lt;BR /&gt;mts_service ABW&lt;BR /&gt;open_cursors 500&lt;BR /&gt;processes 500&lt;BR /&gt;rollback_segments r01,r02,r03,r04,r05,r06,r07,r08,r09,&lt;BR /&gt;r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20&lt;BR /&gt;service_names ABW,agr.world,AGR&lt;BR /&gt;sessions 2005&lt;BR /&gt;shared_pool_size 300000000&lt;BR /&gt;sort_area_retained_size 512000&lt;BR /&gt;sort_area_size 512000&lt;BR /&gt;text_enable TRUE&lt;BR /&gt;timed_statistics TRUE&lt;BR /&gt;user_dump_dest /progs/oracle/admin/abw/udump39 rows selected.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Aug 2001 08:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-8-1-7-latch-problem/m-p/2564099#M919627</guid>
      <dc:creator>Per Tore Hoff</dc:creator>
      <dc:date>2001-08-10T08:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 8.1.7 - Latch problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-8-1-7-latch-problem/m-p/2564100#M919628</link>
      <description>Hi there.&lt;BR /&gt;Here some kernel parameters ( suggestion ) :&lt;BR /&gt;db_max_pct 12&lt;BR /&gt;db_min_pct  5&lt;BR /&gt;maxfiles  1024&lt;BR /&gt;maxfiles_lim 2048&lt;BR /&gt;nflocks 600&lt;BR /&gt;npty 300 ( if necessary )&lt;BR /&gt;semmni  512&lt;BR /&gt;semmns  2048&lt;BR /&gt;shmmni  1024&lt;BR /&gt;shmseg 400&lt;BR /&gt;&lt;BR /&gt;Oracle parameters&lt;BR /&gt;&lt;BR /&gt;db_block_buffers 10240 ( to be tested during uptime with cache hits )&lt;BR /&gt;&lt;BR /&gt;don't set db_block_lru_latches&lt;BR /&gt;&lt;BR /&gt;db_files 1022&lt;BR /&gt;dml_locks 5000&lt;BR /&gt;log_buffer 16384000&lt;BR /&gt;mts_max_servers 200&lt;BR /&gt;mts_servers 20&lt;BR /&gt;open_cursors 3000&lt;BR /&gt;&lt;BR /&gt;Hope, i could help you.&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
      <pubDate>Fri, 10 Aug 2001 09:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-8-1-7-latch-problem/m-p/2564100#M919628</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2001-08-10T09:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 8.1.7 - Latch problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-8-1-7-latch-problem/m-p/2564101#M919629</link>
      <description>Hi&lt;BR /&gt;Did some latch tuning myself earlier, and did then test the Oracle parameter spin_count, (without it giving me any boost).&lt;BR /&gt;&lt;BR /&gt;The thing is that a higher value for spin_count will cause the process to spin and try to aquire a new latch before going to sleep waiting. The higher value the more spins, and you might get the latch aquired earlier than if the proces went to sleep, and thus getting better performance.&lt;BR /&gt;&lt;BR /&gt;The hatch is that this uses CPU. So when you're having 100 % util, then this value should not be increased, but rather decreased (if you have it set).&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Mon, 13 Aug 2001 06:11:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-8-1-7-latch-problem/m-p/2564101#M919629</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2001-08-13T06:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 8.1.7 - Latch problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-8-1-7-latch-problem/m-p/2564102#M919630</link>
      <description>First of all verify you have the latest Oracle&lt;BR /&gt;patchset installed. There are a lot of issues&lt;BR /&gt;regarding memory consumption and latches&lt;BR /&gt;in 8.1.7.0.0, I suggest updating to 8.1.7.2.1.&lt;BR /&gt;&lt;BR /&gt;What kind of latches you get contention on?&lt;BR /&gt;I presume they are block buffer latches since&lt;BR /&gt;you have about 1GB in db_block_buffers.&lt;BR /&gt;Raising db_block_lru_latches should decrease&lt;BR /&gt;latch contention probability.&lt;BR /&gt;If you have an high hit ratio you could&lt;BR /&gt;consider decreasing db_block_buffers (the optimal size depends upon many factors including DB size but I would not stay under 500MB) and raising lru_latches to 16.&lt;BR /&gt;&lt;BR /&gt;I would raise shared_pool to 600MB or even 1GB and monitor its usage, it should decrease &lt;BR /&gt;db_file I/O.&lt;BR /&gt;&lt;BR /&gt;If you do not have tablescans I would lower&lt;BR /&gt;db_file_multiblock_read_count to 8, 32 could&lt;BR /&gt;be too much&lt;BR /&gt;&lt;BR /&gt;Add the parameter cursor_space_for_time=true,&lt;BR /&gt;this should decrease parse requests.&lt;BR /&gt;&lt;BR /&gt;Hope this helps, AB</description>
      <pubDate>Thu, 16 Aug 2001 08:13:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-8-1-7-latch-problem/m-p/2564102#M919630</guid>
      <dc:creator>Alessandro Bocchino</dc:creator>
      <dc:date>2001-08-16T08:13:32Z</dc:date>
    </item>
  </channel>
</rss>

