<?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>Rollback &#187; hardware</title>
	<atom:link href="http://blog.rollback.hu/tag/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rollback.hu</link>
	<description>SQL, üzemeltetés kicsiknek és nagyoknak.</description>
	<lastBuildDate>Thu, 17 Nov 2011 16:38:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AMD clock drift bug &#8211; fixed for Microsoft SQL</title>
		<link>http://blog.rollback.hu/2009/03/amd-clock-drift-bug-mssql-fixed/</link>
		<comments>http://blog.rollback.hu/2009/03/amd-clock-drift-bug-mssql-fixed/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 22:09:38 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[sql2005]]></category>

		<guid isPermaLink="false">http://blog.rollback.hu/?p=66</guid>
		<description><![CDATA[Short comment on my previous post: apparently, MSFT fixed this bug for SQL Server 2005 with SP3. More details are in their KB. It&#8217;s pretty detailed and you can get a picture of what you can miss with SP3 :) In the end, I should uninstall the AMD gaming mode stuff from the servers&#8230;
]]></description>
			<content:encoded><![CDATA[<p>Short comment on my previous post: apparently, MSFT fixed this bug for SQL Server 2005 with SP3. More details are <a href="http://support.microsoft.com/kb/931279/">in their KB</a>. It&#8217;s pretty detailed and you can get a picture of what you can miss with SP3 :) In the end, I should uninstall the AMD gaming mode stuff from the servers&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollback.hu/2009/03/amd-clock-drift-bug-mssql-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>amd dual-core / quad-core bug and SQL Server</title>
		<link>http://blog.rollback.hu/2009/01/amd-dual-core-quad-core-bug-and-sql-server/</link>
		<comments>http://blog.rollback.hu/2009/01/amd-dual-core-quad-core-bug-and-sql-server/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 21:21:11 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[errorlog]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.rollback.hu/?p=48</guid>
		<description><![CDATA[The AMD multicore CPUs have an interesting feature: the timers of the cores are not synchronized. This is the so-called clock-drifting which can be accountable for a lot of unexpected phenomenons due to the fact that the cores have different times and processes using multiple cores can be badly surprised. During the last year I [...]]]></description>
			<content:encoded><![CDATA[<p>The AMD multicore CPUs have an interesting feature: the timers of the cores are not synchronized. This is the so-called clock-drifting which can be accountable for a lot of unexpected phenomenons due to the fact that the cores have different times and processes using multiple cores can be badly surprised. During the last year I had the chance to collect a few of the tricks:</p>
<ul>
<li>Negative round-trip time during ping (Windows 2003)</li>
<li>Excessive amount of events in SQL Server errorlog (W2K3, SQL 2K5)</li>
<li><code>find -mtime</code> 0 won&#8217;t find the recently created files (Red Hat EL 3)</li>
</ul>
<p>Given that this is a mostly-SQL blog, I&#8217;m going to detail the second one. You can see events like this in the errorlog:</p>
<blockquote><p>Date 11/25/2008 9:57:47 AM<br />
Log SQL Server (Current &#8211; 11/25/2008 12:49:00 PM)</p>
<p>Source Server</p>
<p>Message The time stamp counter of CPU on scheduler id 3 is not synchronized with other CPUs.
</p></blockquote>
<p>And you can see this quite frequently. Now AMD created a fix for the bug but its target audience is not the big tribe of the sysadmins but the desktops. Why do you need a quad-core for a desktop user? Exactly: for gaming. So the fix called <a href="http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_871_13118,00.html">AMD Dual-Core Optimizer Version 1.1.4</a> gives you a chance to minimize the clock drifting by enabling the Game Mode. I gave it a try and installed it onto the server. Unfortunately the issue didn&#8217;t disappear, but it dropped by 97% which is a pretty good result &#8211; at least for me.</p>
<p>The idea sounds a bit wacky: fix an enterprise production database server with a gamer hotfix, but:</p>
<ol>
<li>It does the job</li>
<li>If the Spanish MSFT support team <a href="http://blogs.msdn.com/blogdoezequiel/archive/2008/11/06/cpu-drift-and-sql-server-timing-values.aspx">could afford it</a>, then I could as well :)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollback.hu/2009/01/amd-dual-core-quad-core-bug-and-sql-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AMD dual/quad core bug és SQL</title>
		<link>http://blog.rollback.hu/2008/12/amd-dual-quad-core-bug-es-sql/</link>
		<comments>http://blog.rollback.hu/2008/12/amd-dual-quad-core-bug-es-sql/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 20:38:38 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Magyar]]></category>
		<category><![CDATA[errorlog]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.rollback.hu/?p=41</guid>
		<description><![CDATA[(English version here)
   A több core-os AMD CPU-kba annak idején egy kiváló bug került: a core-ok órája nem volt rendesen összeszinkronizálva, és ez mindenféle érdekes dolgot eredményezhetett. 2008 számomra ezen bugok töredékének felfedezéséről (is) szólt. A következőket sikerült begyűjtenem:

Ping esetén negatív round-trip time.
SQL Servernél tonna hiba az errorlogba
A legfrissebb: find használatakor az mtime [...]]]></description>
			<content:encoded><![CDATA[<p>(<a href="http://blog.rollback.hu/2009/01/amd-dual-core-quad-core-bug-and-sql-server/">English version here</a>)<br />
   A több core-os AMD CPU-kba annak idején egy kiváló bug került: a core-ok órája nem volt rendesen összeszinkronizálva, és ez mindenféle érdekes dolgot eredményezhetett. 2008 számomra ezen bugok töredékének felfedezéséről (is) szólt. A következőket sikerült begyűjtenem:</p>
<ol>
<li>Ping esetén negatív round-trip time.</li>
<li>SQL Servernél tonna hiba az errorlogba</li>
<li>A legfrissebb: find használatakor az mtime 0-val nem találja meg a még friss fájlokat (ez mondjuk egy RedHat-on ütött be, bocs az offtopicért, de ez szebb, mint a másik kettő).</li>
</ol>
<p>    Engem az SQL Serveres érdekelt leginkább. Ez konkrétan így néz ki az errorlogban:</p>
<blockquote><p>Date		11/25/2008 9:57:47 AM<br />
Log		SQL Server (Current &#8211; 11/25/2008 12:49:00 PM)</p>
<p>Source		Server</p>
<p>Message		The time stamp counter of CPU on scheduler id 3 is not synchronized with other CPUs.</p></blockquote>
<p>Az AMD csinált egy hotfixet a bugra, de alapvetően ők nem szervert, hanem desktopot akartak javítani. Miért kell egy desktopba dual-core? Leginkább játszani (bár a GTA4 már quad-core-t akar, két magon szaggat :). Ennek megfelelően a csoda hotfixben, melynek neve <a href="http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_871_13118,00.html">AMD Dual-Core Optimizer Version 1.1.4</a> a clock driftinget a Gaming Mode bekapcsolásával lehet minimalizálni. Sajnos teljesen nem javította meg a problémát, de harmincad részére csökkentette az előfordulását.<br />
   Az ötlet amúgy elég hülyén hangzik, hogy gamer patch-csel javítsak élesüzemű SQL-t, de ha a spanyol MSFT SQL support team <a href="http://blogs.msdn.com/blogdoezequiel/archive/2008/11/06/cpu-drift-and-sql-server-timing-values.aspx">megtehette</a>, akkor én is :)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rollback.hu/2008/12/amd-dual-quad-core-bug-es-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

