BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New Computer Builds 3 times slower than the old one
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical)
View previous topic :: View next topic  
Author Message
Db
Guest





PostPosted: Fri Dec 02, 2005 2:01 pm    Post subject: New Computer Builds 3 times slower than the old one Reply with quote



I just got a Dell Pentium D 3.0 GHz with 2 GB ram and it takes 12 minutes to
build my project using ProjectMaker. My old 1.8 GHz Dell with 512MB ram
builds the same project in 4 minutes. The new computer has McAfee antivirus
(which seems to be a PITA) which I tried disabling but it made no
difference. The new computer has the latest version of ProjectMaker but I
doubt that has anything to do with it. Anyone have any clue what might be
happening?

Db


Back to top
Sean Hoffman
Guest





PostPosted: Fri Dec 02, 2005 2:27 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote



Was your 1.8 Ghz Dell a Netburst CPU? If not, then that could very well
be your problem. If an application isn't optimized the deep pipelining
that the Intel is abandoning, then branch prediction misses are painful.

This might help a bit: make sure you have Hyperthreading turned off.

Db wrote:
Quote:
I just got a Dell Pentium D 3.0 GHz with 2 GB ram and it takes 12 minutes to
build my project using ProjectMaker. My old 1.8 GHz Dell with 512MB ram
builds the same project in 4 minutes.

Back to top
Sean Hoffman
Guest





PostPosted: Fri Dec 02, 2005 2:30 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote



Sorry, I just re-read that and it must sound like Greek. Netburst was a
high frequency, deep-pipelining philosophy that Intel adopted with the
P4. When I said "if an application isn't optimized", in this case, the
"application" I'm talking about is the compiler itself.

To turn off Hyperthreading, go into the bios for the machine, and
somewhere buried in there, there's a way to turn it off.

Sean Hoffman wrote:
Quote:
Was your 1.8 Ghz Dell a Netburst CPU? If not, then that could very well
be your problem. If an application isn't optimized the deep pipelining
that the Intel is abandoning, then branch prediction misses are painful.

This might help a bit: make sure you have Hyperthreading turned off.

Db wrote:
I just got a Dell Pentium D 3.0 GHz with 2 GB ram and it takes 12
minutes to
build my project using ProjectMaker. My old 1.8 GHz Dell with 512MB ram
builds the same project in 4 minutes.

Back to top
Hans Galema
Guest





PostPosted: Fri Dec 02, 2005 2:31 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

Db wrote:
Quote:
I just got a Dell Pentium D 3.0 GHz with 2 GB ram and it takes 12 minutes to
build my project using ProjectMaker. My old 1.8 GHz Dell with 512MB ram
builds the same project in 4 minutes. The new computer has McAfee antivirus
(which seems to be a PITA) which I tried disabling but it made no
difference. The new computer has the latest version of ProjectMaker but I
doubt that has anything to do with it. Anyone have any clue what might be
happening?

You had to install bcb on that computer first. Dou you have the same
settings as with the old one?

Put background compiling off.

You copied the project to the new machine.
Check your include paths. They should all be valid paths.

Hans.

Back to top
Jonathan Benedicto
Guest





PostPosted: Fri Dec 02, 2005 2:48 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

Db wrote:
Quote:
I just got a Dell Pentium D 3.0 GHz with 2 GB ram and it takes 12
minutes to build my project using ProjectMaker. My old 1.8 GHz Dell
with 512MB ram builds the same project in 4 minutes. The new
computer has McAfee antivirus (which seems to be a PITA) which I
tried disabling but it made no difference. The new computer has the
latest version of ProjectMaker but I doubt that has anything to do
with it. Anyone have any clue what might be happening?

While you're at it, get my mtbcc32 wrapper
([url]http://www.jomitech.com/mtbcc32.shtml)[/url], and use that as well. Because you
have a Pentium D, you'll probably be able to compile your project in less
than half the time it took on your other machine.

If your D has Hyper-threading, then don't disable it. It will help mtbcc32
compile even faster.

Jonathan



Back to top
Andrue Cope [TeamB]
Guest





PostPosted: Fri Dec 02, 2005 2:51 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

Hans Galema wrote:

Quote:
You had to install bcb on that computer first. Dou you have the same
settings as with the old one?

Put background compiling off.

Also look for and delete the *.HDP files in the VCL include directory.

--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html

Back to top
Db
Guest





PostPosted: Fri Dec 02, 2005 3:16 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

----- Original Message -----
From: "Andrue Cope [TeamB]

Quote:
Also look for and delete the *.HDP files in the VCL include directory.

What are these files?



Back to top
Db
Guest





PostPosted: Fri Dec 02, 2005 3:17 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

From: "Hans Galema"
Quote:
You had to install bcb on that computer first. Dou you have the same
settings as with the old one?

Put background compiling off.

You copied the project to the new machine.
Check your include paths. They should all be valid paths.

As far as I know I have the same settings because I copied the entire folder
from the old computer that contained the project. Most of the settings I
believe are contained in the project. I compared them and they seemed to be
the same. I did turn background compiling off although it was on on the old
computer, it made no difference - not sure if that applies when using
ProjectMaker.



Back to top
Db
Guest





PostPosted: Fri Dec 02, 2005 3:18 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

Quote:
Sean Hoffman wrote:
To turn off Hyperthreading, go into the bios for the machine, and
somewhere buried in there, there's a way to turn it off.

Thanks. What is Hyperthreading?

Db



Back to top
Jonathan Benedicto
Guest





PostPosted: Fri Dec 02, 2005 3:32 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

Db wrote:
Quote:
As far as I know I have the same settings because I copied the entire
folder from the old computer that contained the project. Most of the
settings I believe are contained in the project. I compared them and
they seemed to be the same. I did turn background compiling off
although it was on on the old computer, it made no difference - not
sure if that applies when using ProjectMaker.

AKAIK, background compiling does not apply with ProjectMaker.

Jonathan



Back to top
Jonathan Benedicto
Guest





PostPosted: Fri Dec 02, 2005 3:34 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

Db wrote:
Quote:
Thanks. What is Hyperthreading?

A fancy Intel trick that makes a single-core CPU act as if it was 1 + 1/2
cores. It takes two threads from the OS, and works on them both, doing
little bits of each until they are finished.

Jonathan



Back to top
Oliver Rutsch
Guest





PostPosted: Fri Dec 02, 2005 3:34 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

Hi Db(?),

Quote:
I just got a Dell Pentium D 3.0 GHz with 2 GB ram and it takes 12 minutes to
build my project using ProjectMaker. My old 1.8 GHz Dell with 512MB ram
builds the same project in 4 minutes. The new computer has McAfee antivirus
(which seems to be a PITA) which I tried disabling but it made no
difference. The new computer has the latest version of ProjectMaker but I
doubt that has anything to do with it. Anyone have any clue what might be
happening?

I have a P4 D 2.8GHz (FS scenic W340) and I switched from a 2.66GHz P4.
I never had a speed decrease (and I have here McAfee, too). Maybe on the
first build all your precompiled headers were re-created? This would
certainly take some time. I would measure the time in another build. Or
maybe your sources are on a mapped network drive now? Is your CPU-Usage
about 50% while building ? (Note for the others: The 2.8 and 3.0 GHz
Pentium D processors have no hyperthreading, they have two cores.).
My ProjectMaker tool is calling the command line compiler and this
should be the only time consuming task.
And give Jonathan's multithreading wrapper a try. It's cool to see the
second core working on a big project. Just copy mtbcc32.exe to the
Borland bin directory and enter mtbcc as the compiler in the ProjectMaker.

Bye, Oliver

Back to top
Sean Hoffman
Guest





PostPosted: Fri Dec 02, 2005 3:36 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

What he said Smile. For a great (but lengthy) writeup on it, go here:

http://arstechnica.com/articles/paedia/cpu/hyperthreading.ars

Jonathan Benedicto wrote:
Quote:
Db wrote:
Thanks. What is Hyperthreading?

A fancy Intel trick that makes a single-core CPU act as if it was 1 + 1/2
cores. It takes two threads from the OS, and works on them both, doing
little bits of each until they are finished.

Jonathan



Back to top
Andrue Cope [TeamB]
Guest





PostPosted: Fri Dec 02, 2005 3:37 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

Db wrote:

Quote:
Also look for and delete the *.HDP files in the VCL include
directory.

What are these files?

They are precompiled headers intended to reduce compilation times. They
are geared toward smaller projects where you might not ordinarily
bother to optimise your headers. For a lot of people they increase
compilation times significantly.

--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html

Back to top
Jonathan Benedicto
Guest





PostPosted: Fri Dec 02, 2005 3:47 pm    Post subject: Re: New Computer Builds 3 times slower than the old one Reply with quote

Oliver Rutsch wrote:
Quote:
(Note for the others: The
2.8 and 3.0 GHz Pentium D processors have no hyperthreading, they
have two cores.).

Thank you for the info.

Jonathan



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical) All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.