Its been proven long ago that Hyperthreading slows down a delphi multi threaded app.. Any Server app I have on a hyperthreaded machine can go 10 times faster if I force it to use only 1 cpu from the task manager. something to do with Context switching in the app.. I don't know how this would be under the new dual cores.. that was P4 architecture.
<br><br><div><span class="gmail_quote">On 11/5/07, <b class="gmail_sendername">Rohit Gupta</b> <<a href="mailto:rohit@cfl.co.nz">rohit@cfl.co.nz</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
I know I wont be believed, I can scarcely believe it myself. Under
some circumstances the display update for delphi apps is very slow.
the difference in speed we are talking about is 3 seconds and 23
seconds.<br>
<br>
When it is slow, all delphi apps are slow. When it is fast, all delphi
apps are fast.<br>
<br>
The only correlation I have found is that when the screen update code
is running (painting 300 editboxes) if the load is balanced between
the two cpus, the apps run slow. If the load is on one side or the
other, then the apps are fast. While even one Delphi app is in memory,
the speed remains consistent. To switch, one must close all Delphi
apps and wait a few seconds before launching them again.<br>
<br>
Is someone brave enough to postulate a theory ?<br>
<br>
<div>-- <br>
<div align="left">
<div align="left"><strong><font size="2"><font color="#666666" face="Verdana">Rohit Gupta</font></font></strong></div>
<div align="left"><strong><font size="2"><font color="#666666" face="Verdana">
B.E. Elec. M.E. Mem IEEE
Associate IEE</font></font></strong></div>
<div align="left"><strong><font size="2"><font color="#666666" face="Verdana">Technical Manager</font></font></strong></div>
<div align="left"><strong><font color="#666666" face="Verdana" size="2">Computer
Fanatics Limited</font></strong></div>
<div align="left"><strong></strong> </div>
<div align="left"><font color="#666666" face="Verdana" size="2"><strong>Tel</strong>
+64 9 4892280</font></div>
<div align="left"><font color="#666666" face="Verdana" size="2"><strong>Fax</strong>
+64 9 4892290</font></div>
<div align="left"><font color="#666666"><font face="Verdana" size="2"><strong>Email
</strong></font><a href="mailto:rohit@cfl.co.nz" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="#0080ff" face="Verdana" size="2">rohit@cfl.co.nz</font></a></font><font color="#666666">
<font face="Verdana" size="2"><strong></strong></font></font></div>
<div align="left"><font color="#666666"><font face="Verdana" size="2"><strong>Web
</strong></font><a href="http://www.cfl.co.nz/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="#0080ff" face="Verdana" size="2">www.cfl.co.nz</font></a></font></div>
<div> </div>
<div>
<hr></div>
<div align="left"><span style="font-size: 7.5pt; color: rgb(153, 153, 153); font-family: Verdana;"><font size="1"><span style="font-size: 10pt;" lang="EN-NZ"><font color="#000000"><font color="#808080" face="Verdana" size="1">
This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If
you are not the intended recipient, you must not use, distribute or
copy this email or attachments. If you have received this in error,
please notify us immediately by return email and then delete this email
and any attachments.</font> </font></span></font></span></div>
</div>
</div>
</div>
<br>_______________________________________________<br>NZ Borland Developers Group - Delphi mailing list<br>Post: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz
</a><br>Admin: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>Unsubscribe: send an email to
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br></blockquote></div><br><br clear="all"><br>-- <br>Kyley Harris
<br>Harris Software<br>+64-21-671-821