<?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>SDNET - all about .NET and computing &#187; Uncategorized</title>
	<atom:link href="http://sorin.serbans.net/blog/index.php/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://sorin.serbans.net/blog</link>
	<description>Look at the spoon ... There are no bugs</description>
	<lastBuildDate>Tue, 27 Jul 2010 13:16:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>I &#8230; am lost for words &#8230;</title>
		<link>http://sorin.serbans.net/blog/index.php/2010/02/01/i-am-lost-for-words/</link>
		<comments>http://sorin.serbans.net/blog/index.php/2010/02/01/i-am-lost-for-words/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 12:02:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sorin.serbans.net/blog/?p=232</guid>
		<description><![CDATA[I think a picture says more than a thousand words. Meet Emilia, my 2 months old daughter]]></description>
			<content:encoded><![CDATA[<p>I think a picture says more than a thousand words.  Meet Emilia, my 2 months old daughter</p>
<p><img src="http://sorin.serbans.net/blog/wp-content/uploads/2010/02/mygirl.jpg" alt="mygirl" title="mygirl" width="800" height="536" class="alignnone size-full wp-image-233" /></p>
]]></content:encoded>
			<wfw:commentRss>http://sorin.serbans.net/blog/index.php/2010/02/01/i-am-lost-for-words/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install Windows 7 RC1 on MSI KT6V and other older mainboards</title>
		<link>http://sorin.serbans.net/blog/index.php/2009/07/28/install-windows-7-rc1-on-msi-kt6v-and-other-older-mainboards/</link>
		<comments>http://sorin.serbans.net/blog/index.php/2009/07/28/install-windows-7-rc1-on-msi-kt6v-and-other-older-mainboards/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 17:02:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sorin.serbans.net/blog/?p=125</guid>
		<description><![CDATA[The past two days I tried to make a file server out of an older pc I had lying around. It had an MSI KT6V-LSR with an Athlon processor on it. Toghether with one 400Gb and one 500Gb harddrive I thought I could crop a machine for storing files. My primary OS of choice was Windows [...]]]></description>
			<content:encoded><![CDATA[<p>The past two days I tried to make a file server out of an older pc I had lying around. It had an MSI KT6V-LSR with an Athlon processor on it. Toghether with one 400Gb and one 500Gb harddrive I thought I could crop a machine for storing files. My primary OS of choice was Windows 7. I had also an XP around but I consider it too outdated to use and the Vista would be too slughish on this old hardware.</p>
<p>The problem I encountered was that Win7 was not booting on this pc. This is because on the Win7, Microsoft changed the boot sector (don&#8217;t ask me why) and older systems do not recognize this as a valid bootable disk and the only message I was getting was a &#8220;<strong>cannot boot from cd code 5</strong>&#8221; error. After scouring the net I finally found a sollution which I want to post here.</p>
<p>1. Get a Windows Vista boot disk. It does not matter it&#8217;s from a &#8220;friend&#8221; or yours. You won&#8217;t actually intall Vista, just piggy-back on it&#8217;s boot capabilities.</p>
<p>2. Boot from the Vista disk.</p>
<p>3. After selecting the language select repair. Afterwards, depending on the state of your harddrive and other stuff you should be getting the choice of running a command prompt. Do it.</p>
<p>4. Change the disks such that your drive now contains the Windows7 disk.</p>
<p>5. In the command prompt navigate to the drive with the Windows7 disk, go to the sources directory and type setup.exe and press enter.</p>
<p>6. Now the Windows7 will start installing and everything will go on normally.</p>
<p> </p>
<p>Happy installing!</p>
]]></content:encoded>
			<wfw:commentRss>http://sorin.serbans.net/blog/index.php/2009/07/28/install-windows-7-rc1-on-msi-kt6v-and-other-older-mainboards/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My computer is my temple, and I like it quiet</title>
		<link>http://sorin.serbans.net/blog/index.php/2009/06/01/my-computer-is-my-temple-and-i-like-it-quiet/</link>
		<comments>http://sorin.serbans.net/blog/index.php/2009/06/01/my-computer-is-my-temple-and-i-like-it-quiet/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 18:03:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sorin.serbans.net/blog/?p=105</guid>
		<description><![CDATA[I just finished modding my computer with the goal of making it more silent. It all started with an Antec Sonata III 500 which was supposed to hold my new Core2Duo. I like this case. Sturdy build and quite heavy. It has springs for the harddrive mounts to dampen the shocks and sound, a good 500Watt source [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished modding my computer with the goal of making it more silent. It all started with an <a href="http://www.antec.com/Believe_it/product.php?id=MjA=">Antec Sonata III 500</a> which was supposed to hold my new Core2Duo. I like this case. Sturdy build and quite heavy. It has springs for the harddrive mounts to dampen the shocks and sound, a good 500Watt source and gorgeos looks and also it is very easy to work with, especially with me poking my head inside it to check and modify stuff.</p>
<p> At that time I stuck with the Intel stock cooler which of course proved too loud. From the perfomance it was ok. I am not an overclocker so it was enough for the job. Still I needed to change it because it was loud as hell. I chose A <a href="http://www.scythe-usa.com/product/cpu/037/scnj2000_detail.html">Scythe Ninja 2</a> which can normally be used also in a fanless mode but I did not risk and installed also the provided fan, which is a 120&#215;120 &#8211; 800rpm one (very quiet also).</p>
<p>My shock was of course that my system was as loud as before so I turned my head to the cooler on the VGA. This was a Saphire 4850 with a Zalman cooler; Noisy as hell as I saw, and thus I had to go for yet another upgrade which turned to be an <a href="http://www.arctic-cooling.com/catalog/product_info.php?cPath=2_&amp;mID=105&amp;language=en">Arctic Accelero S1 Rev.2</a>. Also this is designed as a fanless sollution but again I wanted to play safe and added the turbo module which consists of 2 low rev fans barely audible.</p>
<p>All in all the system is now quiet and yet powerfull to play anything I throw at it. I could not make it dead silent but its miles from where it started. Below are some pictures I took along the process.<br />
<span id="more-105"></span></p>
<div class="mceTemp">
<div class="mceTemp">
<div id="attachment_108" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-108" title="dsc000331" src="http://sorin.serbans.net/blog/wp-content/uploads/2009/06/dsc000331-300x225.jpg" alt="Scythe Ninja 2" width="300" height="225" /><p class="wp-caption-text">Scythe Ninja 2</p></div>
<dl id="attachment_107" class="wp-caption alignnone" style="width: 310px;">
<dt class="wp-caption-dt"><img class="size-medium wp-image-107" title="dsc00035" src="http://sorin.serbans.net/blog/wp-content/uploads/2009/06/dsc00035-300x225.jpg" alt="Arctic Accelero S1 Rev.2 + Turbo module" width="300" height="225" /></dt>
<dd class="wp-caption-dd">Arctic Accelero S1 Rev.2 + Turbo module</dd>
</dl>
</div>
<div id="attachment_109" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-109" title="dsc00036" src="http://sorin.serbans.net/blog/wp-content/uploads/2009/06/dsc00036-300x225.jpg" alt="Final view - don't mind the cables ... subject for new mod soon" width="300" height="225" /><p class="wp-caption-text">Final view - don&#39;t mind the cables ... subject for new mod soon</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://sorin.serbans.net/blog/index.php/2009/06/01/my-computer-is-my-temple-and-i-like-it-quiet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8230; some paralel processing tests using Microsoft Accelerator</title>
		<link>http://sorin.serbans.net/blog/index.php/2009/05/07/some-paralel-processing-tests-using-microsoft-accelerator/</link>
		<comments>http://sorin.serbans.net/blog/index.php/2009/05/07/some-paralel-processing-tests-using-microsoft-accelerator/#comments</comments>
		<pubDate>Thu, 07 May 2009 12:37:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sorin.serbans.net/blog/?p=99</guid>
		<description><![CDATA[It&#8217;s been again a long time since my last post. Today I wanted to explore a little bit the realms of paralel processing. As I already stated in some previous posts, the current trend of going multicore is somewhat out of phase of the current programming techniques, meaning we have multicore but we rarely use [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been again a long time since my last post.<br />
Today I wanted to explore a little bit the realms of paralel processing. As I already stated in some previous posts, the current trend of going multicore is somewhat out of phase of the current programming techniques, meaning we have multicore but we rarely use it. Most applications available on the market are single core and some have just some modules optimized for multicore.<br />
Suprisingly the most parallel applications nowadays are graphics processing. Latest generation GPU&#8217;s are actually multicore processors, but specialized for simple operations (thus very fast). For the general purpose software developer this processing powerhouse is out of reach due to the different programming model. What this means is that first of all there is a lack of higher level abstractions of the GPU and also there are limitations because of this specializations.<br />
There are some API&#8217;s available from NVIDIA and AMD (read ATI) in the form of <a href="www.nvidia.com/cuda ">CUDA</a> and <a href="http://ati.amd.com/technology/streamcomputing/sdkdwnld.html">STREAM</a>, but for me, as a C# developer they are not attractive since they offer a C++ API.</p>
<p>Fortunately there is Microsoft Accelerator which you can get from <a href="http://research.microsoft.com/en-us/downloads/648909e1-cb85-46c4-9a94-3cca55971b1d/default.aspx">here</a>. This is a .Net abstraction over the GPU and allows for some basic computations to be forwarded to the GPU instead of the CPU. Naturally I wanted to explore a little bit and especially to do some tests. Below is my test example, some results and remarks.<br />
<span id="more-99"></span></p>
<div></div>
<p><span style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-no-proof: yes"></p>
<p class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none;"><span style="font-family: &quot;Courier New&quot;; color: blue; font-size: 10pt; mso-no-proof: yes;">using</span><span style="font-family: &quot;Courier New&quot;; font-size: 10pt; mso-no-proof: yes;"><span style="color: #000000;"> System;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="line-height: 115%; font-family: &quot;Courier New&quot;; color: blue; font-size: 10pt; mso-no-proof: yes;">using</span><span style="line-height: 115%; font-family: &quot;Courier New&quot;; font-size: 10pt; mso-no-proof: yes;"><span style="color: #000000;"> Microsoft.Research.DataParallelArrays;</span></span></p>
<p> </p>
<p></span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; COLOR: blue; FONT-SIZE: 9pt; mso-no-proof: yes">namespace</span><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"> MSAccelerator</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes">{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">    </span><span style="COLOR: blue">class</span> <span style="COLOR: #2b91af">Program</span></span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">    </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">        </span><span style="COLOR: blue">public</span> <span style="COLOR: blue">const</span> <span style="COLOR: blue">int</span> dimension = 5000;</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">        </span><span style="COLOR: blue">public</span> <span style="COLOR: blue">const</span> <span style="COLOR: blue">int</span> repetitions = 1000000;</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"> </span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">        </span><span style="COLOR: blue">static</span> <span style="COLOR: blue">void</span> Main(<span style="COLOR: blue">string</span>[] args)</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">        </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span>Microsoft.Research.DataParallelArrays.<span style="COLOR: #2b91af">ParallelArrays</span>.InitGPU();</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span><span style="COLOR: blue">float</span>[] matrix1 = <span style="COLOR: blue">new</span> <span style="COLOR: blue">float</span>[dimension];</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span><span style="COLOR: blue">float</span>[] matrix2 = <span style="COLOR: blue">new</span> <span style="COLOR: blue">float</span>[dimension];</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes"> </span><span style="mso-spacerun: yes">           </span><span style="COLOR: blue">float</span>[] matrix3 = <span style="COLOR: blue">new</span> <span style="COLOR: blue">float</span>[dimension];</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"> </span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span><span style="COLOR: blue">using</span> (<span style="COLOR: #2b91af">Timer</span> t = <span style="COLOR: blue">new</span> <span style="COLOR: #2b91af">Timer</span>())</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span><span style="COLOR: #2b91af">Console</span>.Out.WriteLine(<span style="COLOR: #a31515">&#8220;Starting generating the source matrices&#8221;</span>);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span><span style="COLOR: #2b91af">Random</span> r = <span style="COLOR: blue">new</span> <span style="COLOR: #2b91af">Random</span>((<span style="COLOR: blue">int</span>)<span style="COLOR: #2b91af">DateTime</span>.Now.Ticks);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span><span style="COLOR: blue">for</span> (<span style="COLOR: blue">int</span> i = 0; i &lt; dimension; i++)</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                    </span>matrix1[i] = (<span style="COLOR: blue">float</span>)(r.NextDouble() * 1000);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                    </span>matrix2[i] = (<span style="COLOR: blue">float</span>)(r.NextDouble() * 1000);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span><span style="COLOR: #2b91af">Console</span>.Out.WriteLine(<span style="COLOR: #a31515">&#8220;Finished generating the source matrices. </span></span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="COLOR: #a31515">                  Time taken (ms) :&#8221;</span> + t.Milliseconds.ToString());</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"> </span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span><span style="COLOR: blue">using</span> (<span style="COLOR: #2b91af">Timer</span> t = <span style="COLOR: blue">new</span> <span style="COLOR: #2b91af">Timer</span>())</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span><span style="COLOR: #2b91af">Console</span>.Out.WriteLine(<span style="COLOR: #a31515">&#8220;\nStarting adding the two the source matrices&#8221;</span>);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">      </span><span style="mso-spacerun: yes">          </span><span style="COLOR: blue">for</span> (<span style="COLOR: blue">int</span> k = 0; k &lt; repetitions; k++)</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                    </span><span style="COLOR: blue">for</span> (<span style="COLOR: blue">int</span> i = 0; i &lt; dimension; i++)</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                    </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                        </span>matrix3[i] = matrix1[i] + matrix2[i];</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                    </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">          </span><span style="mso-spacerun: yes">      </span><span style="COLOR: #2b91af">Console</span>.Out.WriteLine(<span style="COLOR: #a31515">&#8220;Finished adding the two the source matrices. </span></span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="COLOR: #a31515">                  Time taken (ms) :&#8221;</span> + t.Milliseconds.ToString());</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"> </span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span><span style="COLOR: green">// transfer the data in structures than can be used by the accelerator</span></span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span><span style="COLOR: #2b91af">DisposableFloatParallelArray</span> pmatrix1 = <span style="COLOR: blue">new</span> <span style="COLOR: #2b91af">DisposableFloatParallelArray</span>(matrix1);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span><span style="COLOR: #2b91af">DisposableFloatParallelArray</span> pmatrix2 = <span style="COLOR: blue">new</span> <span style="COLOR: #2b91af">DisposableFloatParallelArray</span>(matrix2);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span><span style="COLOR: #2b91af">DisposableFloatParallelArray</span> pmatrix3 = <span style="COLOR: blue">new</span> <span style="COLOR: #2b91af">DisposableFloatParallelArray</span>(matrix3);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"> </span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span><span style="COLOR: blue">using</span> (<span style="COLOR: #2b91af">Timer</span> t = <span style="COLOR: blue">new</span> <span style="COLOR: #2b91af">Timer</span>())</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span><span style="COLOR: #2b91af">Console</span>.Out.WriteLine(<span style="COLOR: #a31515">&#8220;\nStarting adding the two the source </span></span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="COLOR: #a31515">                  matrices using the GPU&#8221;</span>);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span><span style="COLOR: blue">for</span> (<span style="COLOR: blue">int</span> k = 0; k &lt; repetitions; k++)</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                    </span><span style="COLOR: blue">object</span> result = <span style="COLOR: #2b91af">ParallelArrays</span>.Add(pmatrix1, pmatrix2);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span><span style="COLOR: #2b91af">Console</span>.Out.WriteLine(<span style="COLOR: #a31515">&#8220;Finished adding the two the source </span></span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="COLOR: #a31515">                  matrices using the GPU. Time taken (ms) :&#8221;</span> + t.Milliseconds.ToString());</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span><span style="COLOR: #2b91af">Console</span>.In.Read();</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">        </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">    </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"> </span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">    </span><span style="COLOR: blue">public</span> <span style="COLOR: blue">class</span> <span style="COLOR: #2b91af">Timer</span> : <span style="COLOR: #2b91af">IDisposable</span></span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">    </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">        </span><span style="COLOR: blue">private</span> <span style="COLOR: #2b91af">DateTime</span> startTime;</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">        </span><span style="COLOR: blue">public</span> Timer() { startTime = <span style="COLOR: #2b91af">DateTime</span>.Now; }</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">        </span><span style="COLOR: blue">public</span> <span style="COLOR: blue">int</span> Milliseconds</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">        </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span><span style="COLOR: blue">get</span></span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span>{</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span><span style="COLOR: #2b91af">TimeSpan</span> ts = <span style="COLOR: #2b91af">DateTime</span>.Now.Subtract(startTime);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">                </span><span style="COLOR: blue">return</span> (<span style="COLOR: blue">int</span>)(ts.Ticks / 10000);</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">            </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">        </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">        </span><span style="COLOR: blue">public</span> <span style="COLOR: blue">void</span> Dispose() { }</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes"><span style="mso-spacerun: yes">    </span>}</span></p>
<p class="MsoNormal" style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt; mso-no-proof: yes">}</span></p>
<p>The code above needs some explanations. The test involved the adding of two one dimensional int arrays. The dimension of the arrays were chosen to 5000 due to memory constraints. I am unable to pinpoint now the cause but going over 10.000 elements results in a null pointer exception in the Accelerator implementation. In might have something to do with the translation of the data into the vertices matrix or a bad implementation of the library. Because of this I chose to do a repetition in order to attain long running operations (1.000.000 repetitions). Yes this is quite high but at 10.000 repetitions the execution was under 15 msec and that is also around the value of the execution of the DateTime; so I had to choose a bigger repetition number.</p>
<p>In the bigger picture there are 4 steps: fill the matrix with random data, compute using a standard cpu-bound algorithm, put the data into structures usable by the Accelerator, make the operations using the Accelerator.</p>
<p>And now the results:</p>
<ul>
<li>on the cpu-bound algorithm: 36.909 msec</li>
<li>on the gpu-bound algorithm: 265 msec</li>
</ul>
<p>This results in a 139x increase in speed. Of course this is algorithm and hardware dependant.</p>
<p>Test machine specs: Core2Duo 6750 2.66Ghz, 4Gb Ram DDR2, Saphire ATI 4850 512Mb stock voltages/frequency.</p>
<p>One more thing to be added here are the obvious limitations of GPU processing, mainly the operations possible being on scalar values (int, float, double, bool). Also the context passing from CPU to GPU is costly and you only gain tabgible benefits only on arrays larger than 1 billion.</p>
<p>[UPDATE]: I found also a <a href="http://www.gass-ltd.co.il/en/products/cuda.net/">C# implementation of CUDA</a>. I have not had time to look at it but it looks promising. Maybe in the future I will do some test comparissons between it and MS Accelerator.</p>
]]></content:encoded>
			<wfw:commentRss>http://sorin.serbans.net/blog/index.php/2009/05/07/some-paralel-processing-tests-using-microsoft-accelerator/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Revive your flash drive</title>
		<link>http://sorin.serbans.net/blog/index.php/2009/03/21/revive-your-flash-drive/</link>
		<comments>http://sorin.serbans.net/blog/index.php/2009/03/21/revive-your-flash-drive/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 08:23:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sorin.serbans.net/blog/?p=83</guid>
		<description><![CDATA[Hi, Some days ago I read an interesting article about SSD performance degradation on Anandtech, and I kinda felt that this was happening to me also. I don&#8217;t own an SSD yet but I encountered flash performance degradation on my 8Gb Flash Voyager stick. Now I won&#8217;t go into the details about why flash performance [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Some days ago I read an interesting article about <a href="http://www.anandtech.com/storage/showdoc.aspx?i=3531">SSD performance degradation</a> on Anandtech, and I kinda felt that this was happening to me also. I don&#8217;t own an SSD yet but I encountered flash performance degradation on my 8Gb Flash Voyager stick. Now I won&#8217;t go into the details about why flash performance degradation because the article above is more explanatory than I could make it. Suffice to say that I wanted to see if I can bring my stick back to life.</p>
<p>What was wrong with my voyager is that in the last weeks the write performance was poor. Whereas normally I could write at around 9MB/sec now I could only do it only at around 2-3MB/sec. From the article I understood that this was because even if the OS was reporting enough free space on the drive, all the space was already holding data and in order to write over it the flash needed to get the invalid data, write it to cache, delete the old location and then overwrite it with the new data. If one could delete everything from the location, subsequent writes would be just writes with no additional steps to execute, thus faster write speeds. This meant that I would need to do a format of the stick. But before that I had to do some tests to see performance before and after.<br />
<span id="more-83"></span></p>
<table border="0">
<tbody>
<tr>
<td>Let us see the scenario. Initially we have a full of data drive, even though the OS reported 7GB free out of 8Gb. I downloaded ATTO Disk Benchmark (I would have used HDTach but it does not work on my Windows7), and I ran a test of read/write for up to 256MB chunks. I stopped it when getting to 8Mb chunks as I saw no significant performance change going from 64K to 8Mb. You can see below the results:</td>
</tr>
<tr>
<td><img class="alignnone size-full wp-image-84" title="before" src="http://sorin.serbans.net/blog/wp-content/uploads/2009/03/before.png" alt="before" width="446" height="298" /></td>
</tr>
<tr>
<td>
<p>Then I did a full format on the disk. Same FAT32 with 4096Kb allocation. The results on the write performance are in places 2.5 times greater. The read speed was the same. See below:</td>
</tr>
<tr>
<td><img class="alignnone size-full wp-image-85" title="after" src="http://sorin.serbans.net/blog/wp-content/uploads/2009/03/after.png" alt="after" width="448" height="295" /></td>
</tr>
</tbody>
</table>
<p>Of course format is not an action that you want to do often, as flash cells have a limited lifespan. But when a 2.5 times write performance penalty occurs I would certainly do it, especially when you really need this and paid top dollar for your flash (read Flash Voyager GT and the likes).</p>
<p>My testing machine specs (just so no one comes with remarks like &#8220;the test was bottlenecked somewhere&#8221;): Intel Core2Duo 6550 2.6Ghz, 4Gb DDR2 Corsair, Gigabyte P35 motherboard and a 500Gb Caviar Black HDD.</p>
<p>Cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://sorin.serbans.net/blog/index.php/2009/03/21/revive-your-flash-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New trends in IT and in general</title>
		<link>http://sorin.serbans.net/blog/index.php/2009/01/12/new-trends-in-it-and-in-general/</link>
		<comments>http://sorin.serbans.net/blog/index.php/2009/01/12/new-trends-in-it-and-in-general/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 14:54:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sorin.serbans.net/blog/?p=73</guid>
		<description><![CDATA[Today I was looking on MSDN and came upon a blog entry of J.D. Meier about 8 new big trends. I must say that I agree and I want to share them also here: Analytics is Hot.  &#8220;The 21st century is all about math: some of the most unique, innovative ideas are emerging with these [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was looking on MSDN and came upon a blog entry of <a href="http://blogs.msdn.com/jmeier/archive/2009/01/02/eight-big-trends.aspx">J.D. Meier</a> about 8 new big trends. I must say that I agree and I want to share them also here:</p>
<ul>
<li><strong>Analytics is Hot</strong>.  &#8220;The 21st century is all about math: some of the most unique, innovative ideas are emerging with these types of analytic projects. This is where the next billion dollar industries are being born.&#8221;</li>
<li><strong>Small is the new R&amp;D</strong>.  &#8220;Today, the global R&amp;D process has changed, and small is big. The global, infinite idea loop allows topic experts to share their latest research and insight with their global peers on a continuous basis. It’s a fundamental transformation in which most new scientific discoveries now percolate from the bottom up.&#8221;</li>
<li><strong>Attitude and Amusement.</strong> &#8220;The fact is, you’ll need them. That’s why workforce engagement is the big issue — you’ll only be able to get the staff you need if you can keep them active, engaged, interested and amused. A entirely different workplace concept that is radical, yet necessary.&#8221;</li>
<li><strong>Time Disappears</strong>.  &#8220;The major trend going forward is the collapse of time. There’s no time to plan anymore &#8211; there is just a need for action. While we still need budgets to manage and control, they’ll have to be constantly adjusted to deal with new realities. In this context, volatility is the new normal : the concept of risk management, for example, is transitioning quickly to one of risk containment.&#8221;</li>
<li><strong>Resistance to Change Retires</strong>.  &#8220;The coming generation of senior management aggressively pursues and implements new ideas. While the first is reluctant to embrace new business models, the next steamrollers them. Expect velocity!</li>
<li><strong>Careers End.</strong> &#8220;Your paycheck will come from: the global, itinerant, part-time, skills-for-hire economy.&#8221;</li>
<li><strong>Knowledge &amp; Skills Banks</strong>.  &#8220;The capital of the 21st century isn’t financial : it’s experiential knowledge that is extremely scarce and specialized.&#8221;</li>
<li><strong>Interactivity Redefines</strong>.  &#8220;Every industry will soon be transformed by the forthcoming era of “pervasive connectivity.”  Essentially, every device and thing around us is about to become plugged in — leading us to an era of interactivity and connectivity that is mind-boggling in scope.&#8221;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sorin.serbans.net/blog/index.php/2009/01/12/new-trends-in-it-and-in-general/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Website is down ! LOL</title>
		<link>http://sorin.serbans.net/blog/index.php/2008/06/25/website-is-down-lol/</link>
		<comments>http://sorin.serbans.net/blog/index.php/2008/06/25/website-is-down-lol/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 13:35:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sorin.serbans.net/blog/index.php/2008/06/25/website-is-down-lol/</guid>
		<description><![CDATA[Hilarious &#8230; Check this out : http://www.thewebsiteisdown.com/salesguy.html]]></description>
			<content:encoded><![CDATA[<p>Hilarious &#8230;</p>
<p>Check this out : <a href="http://www.thewebsiteisdown.com/salesguy.html">http://www.thewebsiteisdown.com/salesguy.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sorin.serbans.net/blog/index.php/2008/06/25/website-is-down-lol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My First Vista BSOD</title>
		<link>http://sorin.serbans.net/blog/index.php/2008/04/02/my-first-vista-bsod/</link>
		<comments>http://sorin.serbans.net/blog/index.php/2008/04/02/my-first-vista-bsod/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 06:29:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sorin.serbans.net/blog/index.php/2008/04/02/my-first-vista-bsod/</guid>
		<description><![CDATA[I never thought to live this day. I have Vista for over an year now and I have never seen the dreaded blue screen on it. I thought it was a thing of the past, an pre-Vista feature . Still it happened. I tried running the Windows version of the TCPDump and the moment packets [...]]]></description>
			<content:encoded><![CDATA[<p>I never thought to live this day. I have Vista for over an year now and I have never seen the dreaded blue screen on it. I thought it was a thing of the past, an pre-Vista feature <img src='http://sorin.serbans.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Still it happened. I tried running the Windows version of the TCPDump and the moment packets started flying through the network pipeline I was presented with the blue screen. Still this happened once in 1.3 years so I can say it&#8217;s a pretty good record so far.</p>
<p>Vista is the most stable Windows version I worked with and even though it&#8217;s a resource hog, on a high end machine it moves like it should.</p>
<p>Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://sorin.serbans.net/blog/index.php/2008/04/02/my-first-vista-bsod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hard drives &#8211; the bottleneck of the new generation</title>
		<link>http://sorin.serbans.net/blog/index.php/2008/03/13/hard-drives-the-bottleneck-of-the-new-generation/</link>
		<comments>http://sorin.serbans.net/blog/index.php/2008/03/13/hard-drives-the-bottleneck-of-the-new-generation/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 07:43:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sorin.serbans.net/blog/index.php/2008/03/13/hard-drives-the-bottleneck-of-the-new-generation/</guid>
		<description><![CDATA[Hi there, I just read a small article on slashdot.org about Intel being on the verge to release 80 and 120Gb Flash drives (solid state drives). Beside this being a quite astonishing news, because we use to think Intel is making only processors and chipsets, one gas got me thinkinh of the current state of computing [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there,</p>
<p>I just read a small article on <a href="http://slashdot.org">slashdot.org</a> about Intel being on the verge to release 80 and 120Gb Flash drives (solid state drives). Beside this being a quite astonishing news, because we use to think Intel is making only processors and chipsets, one gas got me thinkinh of the current state of computing within the PC area.</p>
<p>I got now a rig with 4Gb Ram, and a SATA2 WD400Gb hardrive and still I don&#8217;t feel like my computer is flying or running extremly fast, although there are improvements. But this has a very solid reason &#8211; the harddrive. This is the slowest component in a system. The ram supports nowadays around 6400Mb/sec when using 800Mhz memory or 4267Mb/sec when using 533Mhz memory and the internal bus of a modern chipset can handle that easily; and dual core / quad core processor can process most available data on the bus. But all this hit a wall when communicating with the harddrive. Although the SATA2 interface can handle a theoretical 3000Mb/sec, and the best deliver around 2000Mb/sec, because of the physical constraints and how the drives are build, a typical read/write operation is around 1000Mb/sec and that is in ideal conditions.</p>
<p>So what can be done to improve this state of matters. You really have few options and all of them are expensive.</p>
<ul>
<li>Buy a 10.000 rpm drive. This is a simple sollution, but an expensive one as a 32Gb drive has the same price tag as a 500Gb 7.200Rpm drive.</li>
<li>Get 2 smaller drives, let&#8217;s say 2x120Gb 7200rpm drives and put them in Raid 1 if your motherboard supports that. This can theoretically deliver around twice the bandwidth of a single drive both in writing and reading. This I think is the cheapest sollution at the moment because they can deliver more than a 10.000rpm drive in terms of bandwidth at a price twice as low.</li>
<li>Get a SCSI harddrive. Well I am no expert in this but I know you get more performance when using it right but yes, it&#8217;s expensive. You have to have SCSI harddrives and also a SCSI controller which are not over the top in pricing but it will set you back quite some.</li>
<li>Use solid state drives. Ugh, this is still a dream for the average user. SSD can deliver 0.1ms seek time and top models can sustain continuous 1000Mb/sec read operations while a normal mechanical drive has fluctuations of this value. Reading small files scattered around the disk is also faster that mechanical drives. Also there is small power consumption, better resistance to physical shocks, etc. Still there are downsides at the moment:
<ul>
<li>write operations are below the rate of a mechanical drive</li>
<li>price tag is simply prohibitive; a good SSD with 64Gb will set you back with 800-1000USD.</li>
<li>technology is still in it&#8217;s infancy. Many things can change and if manufacturers keep their promise, in two months you may realize your top of the line product is now rated middle segment.</li>
</ul>
</li>
<li>In very specific scenario the HDD replacement may be an overkill because there are better suited sollutions. In my case, a web developer, I saw cases where I could increase productivity a lot even if I could manage to move 1Gb of data from HDD to a more faster storage device. For example in RAM. Yes, why not? A good development machine has 4Gb of Ram. Windows, even Vista stays below the 1.5Gb mark so you have 2.5Gb of Ram that can be put to good use. So you can emulate a partition in Ram. There are tools for that and Microsoft even delivers a free one. Just move your projects there and set the database tempdb to be stored on that partition and voila, you have them on a 300 times faster drive.</li>
</ul>
<p>So, there is a problem and there are sollutions. The choice depends really on the person, scenario and budget. At this point I would recoment 2 drives in Raid1 if you need extra performance but that&#8217;s just my pick, you have to find yours.</p>
<p>If you have better ideas, let us know &#8230;</p>
<p><strong>Update</strong></p>
<p>I just found a news on TomsHardware (<a href="http://www.tomshardware.com/2008/03/12/ocz_announces_super_fast_ssd_with_120mb_s_read_and_100mb_s_write_speeds/">here</a>) about OCZ anouncing a SSD with SATA2 capable of sustained 120Mbps reads and 100Mbps writes which is almost twice as fast as the old SSD generation and it&#8217;s available already in the UK with prices starting around 700USD for the 32Gb model and 1300USD for the 64Gb model.</p>
]]></content:encoded>
			<wfw:commentRss>http://sorin.serbans.net/blog/index.php/2008/03/13/hard-drives-the-bottleneck-of-the-new-generation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Url Redirect and IIS7</title>
		<link>http://sorin.serbans.net/blog/index.php/2008/03/05/url-redirect-and-iis7/</link>
		<comments>http://sorin.serbans.net/blog/index.php/2008/03/05/url-redirect-and-iis7/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 08:10:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sorin.serbans.net/blog/index.php/2008/03/05/url-redirect-and-iis7/</guid>
		<description><![CDATA[Well, URL Redirect, which is mostly used in PHP for making user friendly urls is supported by IIS but with a twist, at least in IIS7. I banged my head for a couple of hours and for some reason I could not make it work. Lastly I decided to google for url rewrite AND IIS7. [...]]]></description>
			<content:encoded><![CDATA[<p>Well, URL Redirect, which is mostly used in PHP for making user friendly urls is supported by IIS but with a twist, at least in IIS7.</p>
<p>I banged my head for a couple of hours and for some reason I could not make it work. Lastly I decided to google for url rewrite AND IIS7. To my surprise there is an additional step to be done when registering your HttpModule (the one that will handle the url rewriting). You not only need to add it to the modules tag of the web.config, but also to the &lt;system.webServer&gt; modules tag. See example below (of course this is a stripped down code, you have to intertwine it with your existing web.config)</p>
<p><font size="2" color="#800000"><font size="2" color="#0000ff"><font size="2" color="#0000ff">&lt;</font><font size="2" color="#800000">system.web</font><font size="2" color="#0000ff">&gt;</font></font></font><br />
<font size="2"><font color="#0000ff">    </font><font color="#800000"><font color="#0000ff">&lt;</font><font color="#800000">httpModules</font><font color="#0000ff">&gt;</font></font></font><br />
<font size="2" color="#0000ff">        </font><font size="+0"><font size="2"><font color="#800000"><font color="#0000ff">&lt;<font color="#800000">add</font><font color="#0000ff"> </font><font color="#ff0000">name</font><font color="#0000ff">=</font><font color="#000000">&#8220;</font><font color="#0000ff">UrlRewriter</font><font color="#000000">&#8220;</font><font color="#0000ff"> </font><font color="#ff0000">type</font><font color="#0000ff">=</font><font color="#000000">&#8220;</font><font color="#0000ff">Rewrite, UrlRewriter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</font><font color="#000000">&#8220;</font><font color="#0000ff"> /&gt;</font><br />
</font><font color="#0000ff">    &lt;/</font><font color="#800000">httpModules</font><font color="#0000ff">&gt;</font></font></font></font><br />
<font size="+0"><font size="2"><font color="#0000ff"><font color="#0000ff">&lt;/</font><font color="#800000">system.web</font><font color="#0000ff">&gt;</font></font></font></font><br />
<font color="#0000ff"><font size="2">&lt;<font color="#800000">system.webServer</font></font><font size="2"><font color="#0000ff">&gt;</font></font></font><br />
<font color="#0000ff"><font size="2"><font color="#0000ff">    &lt;<font color="#800000">validation</font><font color="#0000ff"> </font><font color="#ff0000">validateIntegratedModeConfiguration</font><font color="#0000ff">=</font><font color="#000000">&#8220;</font><font color="#0000ff">false</font><font color="#000000">&#8220;</font><font color="#0000ff"> /&gt;</font><br />
</font></font></font><font size="2"><font color="#0000ff">    &lt;<font color="#800000">modules</font><font color="#0000ff">&gt;</font><br />
</font><font color="#0000ff">        &lt;</font><font color="#800000">add</font><font color="#0000ff"> </font><font color="#ff0000">name</font><font color="#0000ff">=</font><font color="#000000">&#8220;</font><font color="#0000ff">Rewriter</font><font color="#000000">&#8220;</font><font color="#0000ff"> </font><font color="#ff0000">type</font><font color="#0000ff">=</font><font color="#000000">&#8220;</font><font color="#0000ff">UrlRewriter.Rewrite</font><font color="#000000">&#8220;</font><font color="#0000ff"> </font><font color="#ff0000">preCondition</font><font color="#0000ff">=</font><font color="#000000">&#8220;</font><font color="#0000ff">managedHandler</font><font color="#000000">&#8220;</font><font color="#0000ff"> /&gt;</font></font><font color="#0000ff"><font size="2"><br />
</font></font><span style="color: blue"><font size="2">    &lt;/<font color="#800000">modules</font><font color="#0000ff">&gt;</font></font><br />
<font color="#0000ff"><font size="2">&lt;/<font color="#800000">system.webServer</font></font><font size="2"><font color="#0000ff">&gt;</font></font></font></span></p>
<p align="left"><span style="color: blue"><font color="#000000">Lots of thanks to Scott Guthrie for his article on url rewriting in asp.net: <a href="http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx">http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx</a></font></span></p>
<p align="left"><span style="color: blue"><font color="#000000">and also to Denis van der Stelt for his observations on IIS7 and url rewriting: <font color="#0000ff"><a href="http://bloggingabout.net/blogs/dennis/archive/2006/11/29/IIS7-and-Url-Rewriting.aspx">http://bloggingabout.net/blogs/dennis/archive/2006/11/29/IIS7-and-Url-Rewriting.aspx</a></font></font> </span></p>
<p><strong><span style="color: blue"><span style="color: blue"><font color="#000000">07-03-2008</font></span></span><br />
</strong><span style="color: blue"><span style="color: blue"><font color="#000000">Yesterday I had to upload to a hoster a website using the above technique and it would not work. The hosting was using IIS6, so the ASP.Net would look at &lt;system.web&gt;&lt;httpModules&gt; for additional modules, whereas IIS7 would not take into account that, but the settings in &lt;system.webServer&gt;. So what was wrong? The application complained that it could not load the type Rewrite. So I had a closer look and &#8230; I wrote the declaration wrong <img src='http://sorin.serbans.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> . Below you will find the correct add declaration to be added in httpModules:</font></span></span></p>
<p align="left"><span style="color: blue"><font size="2">&lt;<font color="#800000">add</font><font color="#0000ff"> </font><font color="#ff0000">name</font><font color="#0000ff">=</font><font color="#000000">&#8220;</font><font color="#0000ff">UrlRewriter</font><font color="#000000">&#8220;</font><font color="#0000ff"> </font><font color="#ff0000">type</font><font color="#0000ff">=</font><font color="#000000">&#8220;</font><font color="#0000ff">UrlRewriter.Rewrite, UrlRewriter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</font><font color="#000000">&#8220;</font><font color="#0000ff"> /&gt;</font></font><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://sorin.serbans.net/blog/index.php/2008/03/05/url-redirect-and-iis7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
