[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    MPI issues
From:       "Bavo De Ridder" <bavodr () poboxes ! com>
Date:       1999-07-25 19:14:32
[Download RAW message or body]

Hello,

One more remark: instead of including MPI, we would better include some kind
of numerical library with optimised implementations of some algorithms.
These libraries can avoid or minimize among others cache trashing. They also
give high performance implementations of BLAS level 1, 2 and 3. Most
inexperienced programmers often reach only 1/3 of ½ of the maximum available
computer power because of bad algorithm implementations. I think of
libraries using MMX instead of the plain old x86 instructions. Using MMX (or
its successor), WILL give you a big performance gain !

Multithreading will only give good performance in 10% of the cases. When
applying a filter, communication overhead and synchronization will probably
degrade any multithreading performance unless very experienced programmers
wrote the filters AND if the images are large (> 10^6 pixels), large images
also means large transports of data, so communication start-up time will be
negligible.
Bavo De Ridder
bavodr@poboxes.com
+32 (476) 24 58 36


[Attachment #3 (text/html)]

<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="cid:filelist.xml@01BED6E2.AB8AB5E0">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
h2
	{mso-style-next:Normal;
	margin-top:12.0pt;
	margin-right:0cm;
	margin-bottom:4.5pt;
	margin-left:0cm;
	mso-pagination:widow-orphan;
	page-break-after:avoid;
	mso-outline-level:2;
	font-size:14.0pt;
	font-family:Arial;
	mso-bidi-font-style:italic;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
span.EmailStyle15
	{mso-style-type:personal-compose;
	mso-ansi-font-size:10.0pt;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:black;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
</head>

<body lang=EN-GB style='tab-interval:36.0pt'>

<div class=Section1>

<p class=MsoNormal><span class=EmailStyle15><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Hello,<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle15><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle15><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>One more remark: instead of including MPI, we would better include some
kind of numerical library with optimised implementations of some algorithms. These
libraries can avoid or minimize among others cache trashing. They also give
high performance implementations of BLAS level 1, 2 and 3. Most inexperienced
programmers often reach only 1/3 of ½ of the maximum available computer power
because of bad algorithm implementations. I think of libraries using MMX
instead of the plain old x86 instructions. Using MMX (or its successor), WILL
give you a big performance gain !<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle15><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle15><font size=2 color=black
face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Multithreading will only give good performance in 10% of the cases. When
applying a filter, communication overhead and synchronization will probably
degrade any multithreading performance unless very experienced programmers
wrote the filters AND if the images are large (&gt; 10^6 pixels), large images
also means large transports of data, so communication start-up time will be \
negligible.<o:p></o:p></span></font></span></p>

<p class=MsoAutoSig><!--[if supportFields]><font color=black><span 
style='color:black'><span style='mso-element:field-begin'></span><span 
style="mso-spacerun: yes">&nbsp;</span>AUTOTEXTLIST \s &quot;E-mail 
Signature&quot; <span \
style='mso-element:field-separator'></span></span></font><![endif]--><font \
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>


<p class=MsoAutoSig><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'>Bavo De Ridder</span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>


<p class=MsoAutoSig><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'>bavodr@poboxes.com</span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>


<p class=MsoAutoSig><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'>+32 (476) 24 58 36</span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>


<p class=MsoNormal><!--[if supportFields]><font color=black><span 
style='color:black'><span \
style='mso-element:field-end'></span></span></font><![endif]--><font \
color=black><span style='color:black'><![if \
!supportEmptyParas]>&nbsp;<![endif]></span></font><font color=black><span \
style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

</div>

</body>

</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic