<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Big Oh in the parallel world</title>
	<atom:link href="http://igoro.com/archive/big-oh-in-the-parallel-world/feed/" rel="self" type="application/rss+xml" />
	<link>http://igoro.com/archive/big-oh-in-the-parallel-world/</link>
	<description>On programming, technology, and random things of interest</description>
	<lastBuildDate>Thu, 02 Feb 2012 01:36:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Igor Ostrovsky</title>
		<link>http://igoro.com/archive/big-oh-in-the-parallel-world/comment-page-1/#comment-19232</link>
		<dc:creator>Igor Ostrovsky</dc:creator>
		<pubDate>Sun, 18 Sep 2011 16:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/archive/big-oh-in-the-parallel-world/#comment-19232</guid>
		<description>Diogo - No, I do not have any references, unfortunately. Glad to hear that the post helped!</description>
		<content:encoded><![CDATA[<p>Diogo &#8211; No, I do not have any references, unfortunately. Glad to hear that the post helped!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diogo</title>
		<link>http://igoro.com/archive/big-oh-in-the-parallel-world/comment-page-1/#comment-18930</link>
		<dc:creator>Diogo</dc:creator>
		<pubDate>Sat, 17 Sep 2011 01:43:26 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/archive/big-oh-in-the-parallel-world/#comment-18930</guid>
		<description>Igor,

        I am writing a work and had a big argument with a friend about the way I said one algorithm is asymptotically faster running on parallel than the one running serial, using the big oh notation. BTW your post helped a lot in my argumentation. But do you know any paper or scientific work that explored this concept? 

Tks</description>
		<content:encoded><![CDATA[<p>Igor,</p>
<p>        I am writing a work and had a big argument with a friend about the way I said one algorithm is asymptotically faster running on parallel than the one running serial, using the big oh notation. BTW your post helped a lot in my argumentation. But do you know any paper or scientific work that explored this concept? </p>
<p>Tks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor Ostrovsky</title>
		<link>http://igoro.com/archive/big-oh-in-the-parallel-world/comment-page-1/#comment-1177</link>
		<dc:creator>Igor Ostrovsky</dc:creator>
		<pubDate>Wed, 22 Sep 2010 22:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/archive/big-oh-in-the-parallel-world/#comment-1177</guid>
		<description>dummk:

Counting the ones takes O(N) time, so the sequential complexity would be O(N * m * m).

Then, the parallel complexity would be:

   O(N * m * m / p), where p must be O(m).

Basically, the algorithm now has more work to do by a factor of N, but it does not have any more opportunity for parallelism.

Of course, you could try to further parallelize the work of XORing and counting the 1s. For that algorithm, you could claim a higher bound on p. In practice, I doubt the extra parallelism would be worthwhile on a typical modern computer unless N is very large.</description>
		<content:encoded><![CDATA[<p>dummk:</p>
<p>Counting the ones takes O(N) time, so the sequential complexity would be O(N * m * m).</p>
<p>Then, the parallel complexity would be:</p>
<p>   O(N * m * m / p), where p must be O(m).</p>
<p>Basically, the algorithm now has more work to do by a factor of N, but it does not have any more opportunity for parallelism.</p>
<p>Of course, you could try to further parallelize the work of XORing and counting the 1s. For that algorithm, you could claim a higher bound on p. In practice, I doubt the extra parallelism would be worthwhile on a typical modern computer unless N is very large.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dummk</title>
		<link>http://igoro.com/archive/big-oh-in-the-parallel-world/comment-page-1/#comment-1166</link>
		<dc:creator>dummk</dc:creator>
		<pubDate>Tue, 21 Sep 2010 21:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/archive/big-oh-in-the-parallel-world/#comment-1166</guid>
		<description>Thank you for this post. I guess, edit distance example is based on the dynamic programming algorithm on 2 strings of length N.

If we had a &quot;binary&quot; data set with m objects with each object of size N, how would we write the parallel complexity for calculating the distance matrix using method 3? Here the edit distance turns out to be Hamming distance computed by XORing two objects + counting 1s.

O((m^2 * N) / p) and p is O(m^2) ???</description>
		<content:encoded><![CDATA[<p>Thank you for this post. I guess, edit distance example is based on the dynamic programming algorithm on 2 strings of length N.</p>
<p>If we had a &#8220;binary&#8221; data set with m objects with each object of size N, how would we write the parallel complexity for calculating the distance matrix using method 3? Here the edit distance turns out to be Hamming distance computed by XORing two objects + counting 1s.</p>
<p>O((m^2 * N) / p) and p is O(m^2) ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nayuki</title>
		<link>http://igoro.com/archive/big-oh-in-the-parallel-world/comment-page-1/#comment-902</link>
		<dc:creator>Nayuki</dc:creator>
		<pubDate>Mon, 03 May 2010 01:54:40 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/archive/big-oh-in-the-parallel-world/#comment-902</guid>
		<description>&quot;One interesting thought exercise is to think about this: if the fastest possible sequential algorithm is O(F(N)), is it possible that there is a parallel algorithm which is asymptotically faster than O(F(N) / P) on a machine with P processors?&quot;

I think this isn&#039;t possible. A single processor can simulate P processors with an O(P) increase in running time. If parallelization can produce an asymptotic speedup better than O(P), then the single processor can take advantage of that to reduce the running time of the sequential algorithm. This would contradict the best running time for the sequential algorithm. This can also contradict trivial lower bounds (such as O(N^2) memory accesses for matrix multiplication) or information-theoretic lower bounds (e.g. O(N log N) for comparison sorting).

(This is in the realm of theoretical computer science, disregarding implementation issues like memory hierarchy or superscalar execution or out-of-order execution.)</description>
		<content:encoded><![CDATA[<p>&#8220;One interesting thought exercise is to think about this: if the fastest possible sequential algorithm is O(F(N)), is it possible that there is a parallel algorithm which is asymptotically faster than O(F(N) / P) on a machine with P processors?&#8221;</p>
<p>I think this isn&#8217;t possible. A single processor can simulate P processors with an O(P) increase in running time. If parallelization can produce an asymptotic speedup better than O(P), then the single processor can take advantage of that to reduce the running time of the sequential algorithm. This would contradict the best running time for the sequential algorithm. This can also contradict trivial lower bounds (such as O(N^2) memory accesses for matrix multiplication) or information-theoretic lower bounds (e.g. O(N log N) for comparison sorting).</p>
<p>(This is in the realm of theoretical computer science, disregarding implementation issues like memory hierarchy or superscalar execution or out-of-order execution.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Recent Faves Tagged With "multiplication" : MyNetFaves</title>
		<link>http://igoro.com/archive/big-oh-in-the-parallel-world/comment-page-1/#comment-458</link>
		<dc:creator>Recent Faves Tagged With "multiplication" : MyNetFaves</dc:creator>
		<pubDate>Mon, 23 Feb 2009 14:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://igoro.com/archive/big-oh-in-the-parallel-world/#comment-458</guid>
		<description>[...] — Algebraic Properties of Equality and Properties ... First saved by cxcheng &#124; 8 days ago      Big Oh in the parallel world First saved by kulaju8 &#124; 11 days ago      Matrices for programmers First saved by janus &#124; 21 days [...]</description>
		<content:encoded><![CDATA[<p>[...] — Algebraic Properties of Equality and Properties &#8230; First saved by cxcheng | 8 days ago      Big Oh in the parallel world First saved by kulaju8 | 11 days ago      Matrices for programmers First saved by janus | 21 days [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

