<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jason L. Froebe - Tech tips and How Tos for Fellow Techies &#187; Jeff Tallman</title>
	<atom:link href="http://froebe.net/blog/index.php/tag/jeff-tallman/feed/" rel="self" type="application/rss+xml" />
	<link>http://froebe.net/blog</link>
	<description>Tips &#38; Tricks for Databases (Sybase, Oracle, MySQL, PostgreSQL, SQLite), Windows, Linux, Solaris, Perl, Java, Bash and so much much more</description>
	<lastBuildDate>Sat, 07 Jan 2012 22:12:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>How to avoid most reorgs of DOL tables in Sybase ASE (Jeff Tallman)</title>
		<link>http://froebe.net/blog/2010/05/14/how-to-avoid-most-reorgs-of-dol-tables-in-sybase-ase-jeff-tallman/</link>
		<comments>http://froebe.net/blog/2010/05/14/how-to-avoid-most-reorgs-of-dol-tables-in-sybase-ase-jeff-tallman/#comments</comments>
		<pubDate>Fri, 14 May 2010 13:13:33 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[data pages]]></category>
		<category><![CDATA[data rows]]></category>
		<category><![CDATA[dol]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Jeff Tallman]]></category>
		<category><![CDATA[monengine]]></category>
		<category><![CDATA[monopenobjectactivity]]></category>
		<category><![CDATA[reorgs]]></category>
		<category><![CDATA[sybase-l]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1239</guid>
		<description><![CDATA[On the sybase-l mailing list, Jeff Tallman replied to a question on how to avoid unnecessary reorgs. He graciously agreed to let me post his response here You can avoid most (if not all) of the reorgs by doing: setting the exp_row_size to something that covers about 90% of the space each row takes up [...]]]></description>
			<content:encoded><![CDATA[<p>On the sybase-l mailing list,</p>
<div id="attachment_560" class="wp-caption alignright" style="width: 193px"><a href="http://www.sybase.com"><img class="size-full wp-image-560" title="Sybase, Inc." src="http://froebe.net/blog/wp-content/uploads/2008/07/sybase.png" alt="" width="183" height="74" /></a><p class="wp-caption-text">Sybase</p></div>
<p>Jeff Tallman replied to a question on how to avoid unnecessary reorgs.  He graciously agreed to let me post his response here <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p><em><span style="color: #0000ff;">You can avoid most (if not all) of the reorgs by doing:</span></em></p>
<ol>
<li><em><span style="color: #0000ff;">setting the exp_row_size to something that covers about 90% of the space each row takes up</span></em></li>
<li><em><span style="color: #0000ff;">changing enable housekeeper GC to a 4 or 5</span></em></li>
</ol>
<p><em><span style="color: #0000ff;">Both of these are a *MUST* do for DOL (datapages or datarows).   See manuals on &#8216;enable housekeeper GC&#8217; for correct setting of 4 or 5 (refers to whether deletes are batch or OLTP).</span></em></p>
<p><em><span style="color: #0000ff;">You can also watch for housekeeper overflows in monEngine/monOpenObjectActivity&#8230;&#8230;and if you see any HKGC pending &#8211; wait a few before shutting down.</span></em></p></blockquote>
<p><span style="color: #0000ff;"><span style="color: #000000;">Jeff wrote up an excellent article, <a href="http://blogs.sybase.com/database/2009/05/locking-redux-apl-vs-dol-and-tuning/">Locking Redux – APL vs. DOL and Tuning</a>, that goes into detail why this is the case.</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2010/05/14/how-to-avoid-most-reorgs-of-dol-tables-in-sybase-ase-jeff-tallman/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Get your Sybase ASE 15.5 MDA table posters!  Straight from Sybase&#8217;s Jeff Tallman</title>
		<link>http://froebe.net/blog/2010/02/19/get-your-sybase-ase-15-5-mda-table-posters-straight-from-sybases-jeff-tallman/</link>
		<comments>http://froebe.net/blog/2010/02/19/get-your-sybase-ase-15-5-mda-table-posters-straight-from-sybases-jeff-tallman/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 18:31:44 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[DBMS]]></category>
		<category><![CDATA[Jeff Tallman]]></category>
		<category><![CDATA[mda table]]></category>
		<category><![CDATA[posters]]></category>
		<category><![CDATA[powerdesigner]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1211</guid>
		<description><![CDATA[I asked Jeff Tallman if I could redistribute his excellent MDA posters for Sybase&#8217;s ASE 15.5 database server.  He said yes so &#8230;  here they are in both Adobe PDF and Sybase PowerDesigner PDM formats! Jeff Tallman also provided us with the MDA posters for Sybase 15.0.3 last year.]]></description>
			<content:encoded><![CDATA[<p>I asked <a href="http://blogs.sybase.com/database/about/">Jeff Tallman</a> if I could redistribute his excellent MDA posters for <a href="http://www.sybase.com/products/databasemanagement/adaptiveserverenterprise">Sybase&#8217;s ASE 15.5 database server</a>.  He said yes so &#8230;  here they are in both Adobe <a href="http://www.froebe.net/attachments/ASE_155_MDA_Tables.pdf">PDF</a> and <a href="http://www.sybase.com/products/modelingdevelopment/powerdesigner">Sybase PowerDesigner</a> <a href="http://www.froebe.net/attachments/ASE_155_MDA.zip">PDM</a> formats!</p>
<p><a href="http://www.froebe.net/attachments/ASE_155_MDA_Tables.pdf"><img class="aligncenter size-full wp-image-1212" title="ASE 15.5 MDA table poster (PDF)" src="http://froebe.net/blog/wp-content/uploads/2010/02/ase155mda.jpg" alt="" width="350" height="258" /></a></p>
<p>Jeff Tallman also provided us with the <a href="http://froebe.net/blog/2009/01/12/sybases-jeff-tallman-releases-the-mda-table-diagram-posters-for-ase-1503-in-pdf-and-powerdesigner-formats/">MDA posters for Sybase 15.0.3</a> last year.</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2010/02/19/get-your-sybase-ase-15-5-mda-table-posters-straight-from-sybases-jeff-tallman/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sybase&#8217;s Jeff Tallman releases the MDA table diagram posters for ASE 15.0.3 in PDF and PowerDesigner formats!</title>
		<link>http://froebe.net/blog/2009/01/12/sybases-jeff-tallman-releases-the-mda-table-diagram-posters-for-ase-1503-in-pdf-and-powerdesigner-formats/</link>
		<comments>http://froebe.net/blog/2009/01/12/sybases-jeff-tallman-releases-the-mda-table-diagram-posters-for-ase-1503-in-pdf-and-powerdesigner-formats/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 17:44:51 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[15.0.3]]></category>
		<category><![CDATA[Jeff Tallman]]></category>
		<category><![CDATA[MDA]]></category>
		<category><![CDATA[mda table diagram]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[poster]]></category>
		<category><![CDATA[powerdesigner]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=809</guid>
		<description><![CDATA[Jeff Tallman has released the MDA table diagram posters for ASE 15.0.3 in both Adobe PDF and PowerDesigner PDM formats. Thanks Jeff for creating them!]]></description>
			<content:encoded><![CDATA[<p>Jeff Tallman has released the MDA table diagram posters for ASE 15.0.3 in both Adobe PDF and <a href="http://www.sybase.com/products/modelingdevelopment/powerdesigner">PowerDesigner</a> PDM formats.</p>
<div id="attachment_810" class="wp-caption aligncenter" style="width: 310px"><a href="http://froebe.net/images/ASE_1503_MDA_Tables.pdf"><img class="size-medium wp-image-810" title="ASE 15.0.3 MDA table diagram" src="http://froebe.net/blog/wp-content/uploads/2009/01/table_diagram-300x209.png" alt="ASE 15.0.3 MDA table diagram" width="300" height="209" /></a><p class="wp-caption-text">ASE 15.0.3 MDA table diagram</p></div>
<p>Thanks Jeff for creating <a title="ASE 15.0.3 MDA Table diagrams - all files" href="http://froebe.net/images/ASE_15.0.3_MDA_table_diagrams.zip">them</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2009/01/12/sybases-jeff-tallman-releases-the-mda-table-diagram-posters-for-ase-1503-in-pdf-and-powerdesigner-formats/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>It&#8217;s here!  The very first issue of MyDatabases!</title>
		<link>http://froebe.net/blog/2008/07/29/its-here-the-very-first-issue-of-mydatabases/</link>
		<comments>http://froebe.net/blog/2008/07/29/its-here-the-very-first-issue-of-mydatabases/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 23:06:51 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Backup Server]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[IBM DB2]]></category>
		<category><![CDATA[ISUG]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[My Databases]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Powerbuilder]]></category>
		<category><![CDATA[RepAgents]]></category>
		<category><![CDATA[Replication Server]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[David Wein]]></category>
		<category><![CDATA[Geek Spotlight]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[Jeff Tallman]]></category>
		<category><![CDATA[Michael Peppler]]></category>
		<category><![CDATA[MyDatabases]]></category>
		<category><![CDATA[ubuntu 8.04]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=621</guid>
		<description><![CDATA[MyDatabases Volume 1 Issue 1 (July 2008) MyDatabases Volume 1 Issue 1 Geek Spotlight:  Michael Peppler Sybase ASE on Ubuntu 8.04 Multicore Processors VMware Virtualization Logical Process Manager]]></description>
			<content:encoded><![CDATA[<h3>MyDatabases Volume 1 Issue 1 (July 2008)</h3>
<p><a href="http://froebe.net/blog/wp-content/uploads/2008/07/mydatabases_vol1_issue1.pdf"><img class="size-medium wp-image-625" title="MyDatabases Volume 1 Issue 1" src="http://froebe.net/blog/wp-content/uploads/2008/07/mydatabases_vol1_issue1.png" alt="" /></a> <a href="http://froebe.net/blog/wp-content/uploads/2008/07/mydatabases_vol1_issue1.pdf"></a></p>
<p><a href="http://froebe.net/blog/wp-content/uploads/2008/07/mydatabases_vol1_issue1.pdf">MyDatabases Volume 1 Issue 1</a></p>
<p>Geek Spotlight:  Michael Peppler<br />
Sybase ASE on Ubuntu 8.04<br />
Multicore Processors<br />
VMware Virtualization<br />
Logical Process Manager</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/07/29/its-here-the-very-first-issue-of-mydatabases/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>What is with the ISUG Enhancements versus Sybase CR/Bugs on the sybase-product-futures mailing list?</title>
		<link>http://froebe.net/blog/2008/07/15/what-is-with-the-isug-enhancements-versus-sybase-crbugs-on-the-sybase-product-futures-mailing-list/</link>
		<comments>http://froebe.net/blog/2008/07/15/what-is-with-the-isug-enhancements-versus-sybase-crbugs-on-the-sybase-product-futures-mailing-list/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 15:48:35 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[ISUG]]></category>
		<category><![CDATA[Replication Server]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[TechWave]]></category>
		<category><![CDATA[ASIQ]]></category>
		<category><![CDATA[change request]]></category>
		<category><![CDATA[data warehouse]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[enhancement request]]></category>
		<category><![CDATA[feature request]]></category>
		<category><![CDATA[IQ]]></category>
		<category><![CDATA[Jeff Tallman]]></category>
		<category><![CDATA[mike harrold]]></category>
		<category><![CDATA[repserver]]></category>
		<category><![CDATA[Sybase Engineering]]></category>
		<category><![CDATA[Sybase TechWave]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=572</guid>
		<description><![CDATA[In the MSA and System transactions performedby maint user thread on the sybase-product-futures mailing list, Jeff Tallman mentions that someone needs to create an ISUG enhancement or a Sybase change request (CR).  Mike Harrold let everyone know that even through creating a Sybase CR is put in the Sybase engineering queue, it doesn&#8217;t mean that [...]]]></description>
			<content:encoded><![CDATA[<p>In the <a href="http://my.isug.com/p/fo/st/post=19882&amp;anc=p19882#p19882"><strong style="cursor: pointer;" title="View all messages with this subject">MSA and System transactions performedby maint user</strong></a> thread on the <a title="Sybase Product Futures" href="http://my.isug.com/index.php?module=forum&amp;op=showtopic&amp;topic=29">sybase-product-futures mailing list</a>, Jeff Tallman mentions that<a href="http://www.isug.com"><img class="alignright size-medium wp-image-573" title="International Sybase Users Group" src="http://froebe.net/blog/wp-content/uploads/2008/07/isug-300x101.jpg" alt="International Sybase Users Group" width="260" height="87" /></a> someone needs to create an ISUG enhancement or a Sybase change request (CR).  Mike Harrold let everyone know that even through creating a Sybase CR is put in the Sybase engineering queue, it doesn&#8217;t mean that an engineer will actually look at it let alone have product management approve it to be implemented.</p>
<blockquote><p><span style="color: #339966;"><em>Jeff hits the nail on the head.  You have a voice with the ISUG enhancements process. Use it.  And yes, you have to be paid member to vote. Sorry, but we are a non-profit and your membership fees keep us running!  You can vote as a Basic Member &#8211; you do not need to join at the higher membership levels (but you should so you can read all the wonderful articles Jeff writes for us).  The more votes, the easier it is for engineering to justify spending staff resources on it when they go to management.  Encourage all of your peers to join and vote as well.  If you work for a business with several Sybase users, convince your boss to pay for a corporate membership and get all your colleagues to vote as well. <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
</em></span><a href="http://www.sybase.com"><img class="alignright size-medium wp-image-560" title="Sybase" src="http://froebe.net/blog/wp-content/uploads/2008/07/sybase.png" alt="Sybase" width="183" height="74" /></a><br />
<span style="color: #339966;"><em>Regards,<br />
</em></span><br />
<span style="color: #339966;"><em>Mike Harrold</em></span><br />
<span style="color: #339966;"><em> Executive Director</em></span></p></blockquote>
<p>and</p>
<blockquote><p><span style="color: #339966;"><em>Having an &#8220;internal enhancement&#8221; (aka a CR) doesn&#8217;t mean it gets implemented.  It means there&#8217;s a CR for it.  It might be a great idea, but without backing (and a user request + an engineer doesn&#8217;t mean it has backing; look how long it took for UDFs, mathematical functions, etc.) it doesn&#8217;t get allocated any development resources.  Without development resources, it doesn&#8217;t get implemented.</em></span></p>
<p><span style="color: #339966;"><em>Bottom line, a CR doesn&#8217;t mean it&#8217;s a &#8220;planned&#8221; feature.</em></span></p>
<p><span style="color: #339966;"><em>Regards,</em></span></p>
<p><span style="color: #339966;"><em>Mike Harrold<br />
Executive Director<br />
International Sybase User Group</em></span></p></blockquote>
<p>I would recommend voting for the <a href="http://my.isug.com/index.php?module=issues&amp;op=index">ISUG enhancements</a> (this week).  I and several other <a href="http://www.isug.com/common/BoardDirectory.html">ISUG Board members</a> will be going through the ISUG enhancements this weekend to present a subset to <span id="lw_1216131463_0" class="yshortcuts" style="border-bottom: 1px dashed #0066cc; cursor: pointer;">Sybase</span> product management at TechWave next month.</p>
<p>I haven&#8217;t seen many ISUG enhancements being requested lately or voted upon for that matter.  The higher the votes for a particular enhancement, the more likely Sybase will pick it up.</p>
<p>So please, everyone go vote on the <a href="http://my.isug.com/index.php?module=issues&amp;op=index">ISUG enhancements</a>! <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/07/15/what-is-with-the-isug-enhancements-versus-sybase-crbugs-on-the-sybase-product-futures-mailing-list/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Multicore processors and Sybase ASE: Jeff Tallman</title>
		<link>http://froebe.net/blog/2008/07/07/multicore-processors-and-sybase-ase-jeff-tallman/</link>
		<comments>http://froebe.net/blog/2008/07/07/multicore-processors-and-sybase-ase-jeff-tallman/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 18:03:46 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[IBM DB2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[CMT]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[DBMS]]></category>
		<category><![CDATA[Floating Point Unit]]></category>
		<category><![CDATA[FPU]]></category>
		<category><![CDATA[hyperthreading]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Intel]]></category>
		<category><![CDATA[Jeff Tallman]]></category>
		<category><![CDATA[multicore processors]]></category>
		<category><![CDATA[SMT]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=545</guid>
		<description><![CDATA[When T V S Murty asked on the sybase-l mailing list about Sybase ASE, multicores and Sybase licensing, the discussion quickly drilled down to whether or not multicores were beneficial to Sybase ASE and database software in general. Jeff Tallman, of Sybase fame, described in detail how Sybase ASE and multicore processors relate to each [...]]]></description>
			<content:encoded><![CDATA[<p><span class="so_large">When T V S Murty asked on the sybase-l mailing list about <a href="http://my.isug.com/index.php?mo=fo&amp;op=st&amp;post=19608&amp;anc=p19608">Sybase ASE, multicores and Sybase licensing</a>, the discussion quickly drilled down to whether or not multicores were beneficial to Sybase ASE and database software in general. </span><span style="color: #000000;">Jeff Tallman, of Sybase fame, described in detail how Sybase ASE and multicore processors relate to each other.</span></p>
<p><span style="color: #3366ff;">From: Jeff Tallman    &lt;<span id="lw_1215451360_7" class="yshortcuts" style="border-bottom: 1px dashed #0066cc; cursor: pointer;">tallmanATsybaseZeDOTcom</span>&gt;<br />
To: <span id="lw_1215451360_8" class="yshortcuts" style="border-bottom: 1px dashed #0066cc; cursor: pointer;">sybase-l@lists.isug.com</span><br />
Subject: [sybase-l] &#8211; <a href="http://my.isug.com/index.php?mo=fo&amp;op=st&amp;post=19608&amp;anc=p19608#p19608">RE: Multicore processors and    ASE</a></span></p>
<blockquote><p><em>As always a lot depends on the application profile.   Something to consider for any multicore processor are factors:</em></p>
<ol>
<li><em>The number of <a title="Floating Point Unit" href="http://www.techterms.com/definition/fpu">FPU</a> units per chip (FPU = Floating Point Unit)<br />
</em></li>
<li><em>The number and capacity (in IOPS) of IO processors per chip</em></li>
<li><em>The type of chip multi-threading</em></li>
</ol>
<p><em>With respect to #1, most DBMS (at least the commercial ones) use statistics for query    optimization &#8211; so while the actual query processing doesn&#8217;t use a lot of FPU    instructions (assuming a minimum of float datatypes, etc.).  Each query    requires a pretty good smack of the FPU time to do the floating point math on    the stats.  The impact of this could be lessened by doing statement    caching or fully prepared statements&#8230;or other means at reducing the    optimizer load.</em></p>
<p><em>The second problem is one of capacity vs. bandwidth.   All network and    disk IO obviously need to use the IO processor.   With 4 dual core chips,    usually, you have 4 IO processors. </em></p>
<p><em>With a single chip with 8 cores, it    is likely that you will have only a single IO processor.   The single IO processor has 8 cores all making    requests.  The    number of IO operations per second it can handle becomes a real key factor in    the box&#8217;s scalability.<br />
</em></p>
<p><em>The chip multi-threading is an interesting issue as there are ~3 different    flavors today:</em></p>
<ol>
<li><em><a href="http://en.wikipedia.org/wiki/Hyperthreading">Intel&#8217;s Hyperthreading</a> (no longer implemented on XEON and I    don&#8217;t think implemented at all anymore)</em></li>
<li><em><a href="http://blogs.sun.com/allanp/entry/sun_s_cmt_goes_multi">Sun&#8217;s Chip Multi-Threading (CMT)</a></em></li>
<li><em><a href="http://en.wikipedia.org/wiki/Simultaneous_multithreading">IBM&#8217;s SMT</a></em></li>
</ol>
<p><em>Some instructions require multiple cycles to    complete due to they are waiting on a fetch from main memory or whatever.   The    thread/process of execution typically blocks in these cases, resulting in a    fairly idle core.   By making use of this idle time, CMT or SMT can    increase the throughput overall &#8212; ignoring HT as it was fairly ineffective at    this &#8211; and appears to have been dropped by Intel lately. </em></p>
<p><em>The question    that comes up is how do you manage the threading?  Do you do a form of    timeslicing (i.e. when you suspend on process that is blocked on a call, do    you let the one that replaced it run for a certain length of time or until it    blocks before returning back to the original) or do you do an interrupt    based/preemptive mechanism in which when the blocked call returns, that you    suspend the other thread?   Both have advantages and disadvantages, and do allow more engines than cores.</em></p>
<p><em>However,    it may also mean tuning ASE to be more reactive, such as reducing the    &#8216;runnable process search count&#8217;.  You also need to be careful that engines    running on CMT&#8217;s don&#8217;t get woken back up on another core (especially if the L2    cache is split between the cores) as well as other considerations.</em></p>
<p><em>A rule of thumb to think about is that if you have a multi-core CPU that    supports chip threading, if you have a lengthy list of SPIDs in a &#8216;runnable&#8217;    state, enabling extra engines on the threads will likely help.   If    you don&#8217;t &#8211; i.e. you are IO bound &#8211; that it probably won&#8217;t help.</em></p>
<p><em>Currently, Sun uses a timeslicing mechanism that is more along the lines of  ASE&#8217;s SPID management &#8211; and as a consequence, it shows scalability when the  various tasks do a lot of blocking calls such as fetches from main memory.  It does have the detrimental effect of only providing a percentage of cpu time to the ASE  engine (i.e. 25% when 4 threads per core).   The more parallelism is used within your application, such as higher numbers of concurrent users in ASE,  the more it can be distributed across the engines.</em></p>
<p><em>You  have to be careful as net engine affinity and short query&#8217;s (i.e. DML).  They can have  a negative impact, which may be controllable using engine groups.   Overall, a  cpu-intensive/cpu bound application can benefit from the Sun CMT  implementation.  An IO bound application does not.</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/07/07/multicore-processors-and-sybase-ase-jeff-tallman/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

