Page 1 of 2

TC on Win7 much more slower than on XP

Posted: Tue Dec 20, 2011 5:10 pm
by TKrauss
Hi,

I tested now TwineCompile under Windows 7 x86. There I noticed that although I have 2 Cores more and a SSD in Windows 7 the compilation lasts 10 Minutes more than under XP!

Is there any way to get at least the same reults?

Thank you!

Brgds,
Thorsten

Re: TC on Win7 much more slower than on XP

Posted: Tue Dec 20, 2011 5:23 pm
by jomitech
How many threads are you using, and how many files compile at the same time (you can see the files in the compile window)?

Re: TC on Win7 much more slower than on XP

Posted: Wed Dec 21, 2011 6:59 am
by TKrauss
On the Windows 7 machine I use 4 Threads and they are all used.

On the Windows XP machine I only use 4 Threads and there the compilation is much more faster with half CPU power?!?

Re: TC on Win7 much more slower than on XP

Posted: Wed Dec 21, 2011 10:07 am
by jomitech
If you're only using 4 threads on the Win 7 machine, and it has two cores more, you're wasting CPU :-) Up that to 6 threads.

Couple questions:
- What are the processors in the XP and 7 machines?

- What anti-virus/anti-malware software do you use in both machines?

- Are you running inside a VM?

- Is either machine a laptop?

Re: TC on Win7 much more slower than on XP

Posted: Wed Dec 21, 2011 2:30 pm
by TKrauss
I don't run anything in a vm...

Win7 x86 desktop:
- Phenom 905e (4x2.5GHz)
- SSD SATA3
- 1333MHz DDR3 4GByte
- NOD32
=> Duration: 39 Minutes!

WinXP x86 desktop:
- Core 2 Duo (2x3.16GHz)
- HDD SATA2
- 800 MHz DDR2 3.5GByte
- McAffee
=> Duration: 27 Minutes!

Both Anti-Virus are configured to exclude all files in the folders which will be touched by compiler/linker!

Re: TC on Win7 much more slower than on XP

Posted: Thu Feb 02, 2012 12:39 pm
by TKrauss
Are there any news why TC is slower under Win7?
Or do I have to contact Embarcadero?

Re: TC on Win7 much more slower than on XP

Posted: Thu Feb 02, 2012 1:18 pm
by jomitech
Do you see this difference if you turn TC off?

Re: TC on Win7 much more slower than on XP

Posted: Mon Feb 06, 2012 12:49 pm
by TKrauss
No without TC I don't notice any difference in speed.

I made some tests and the result is, that with only two threads (I changed this in IDE and run over jtmake) the compilation is 4 minutes faster?!?

So with 4 threads it lasts 39 minutes and with 2 threads it only lasts 34 minutes for compilation. How can that be?
I have a real quad core cpu so no hyperthreading...

Re: TC on Win7 much more slower than on XP

Posted: Wed Feb 08, 2012 8:26 am
by jomitech
What happens if you turn off the AV completely?

Re: TC on Win7 much more slower than on XP

Posted: Thu Feb 09, 2012 7:22 am
by TKrauss
What do you mean with AV?