2

Somedays ago i have updated from Windows 8.1 to Windows 10.

I use Delphi 2007 and Delphi XE in a daily basis, and i've noticed that in both IDEs the normal use seems to be a lot slower than it was in Windows 8.1. Compiling a project seems to take more time than it took previously.

I don't know if it could be the cause but i use Windows in a virtual environment with Parallels. But everything in Win 8 seems to be more fluid.

I don't have any anti-virus and Windows Defender is disabled.

I also noticed that when i compile a project, the CPU never goes higher than 40%, so it seems maybe Delphi is not using all available CPU power for some reason.

My machine is a Macbook Pro with 16GB RAM / Core i7 / SSD. The virtual machine has 3GB of RAM because i use the machine only to Delphi, no more programs opened at the same time. Used memory never reaches more than 2GB.

Does anyone noticed this problem ? Anything i could do to improve ?

Thanks in advance !

delphirules
  • 6,443
  • 17
  • 59
  • 108
  • 3
    The Delphi compiler is single threaded. Maximum memory usage by IDE/compiler is 2GB. In D2007 you can turn off detailed map generation for faster compilation. So an even faster SSD disk or CPU/RAM are options. I don't know if RAM disks can be used. – LU RD Aug 01 '15 at 21:09
  • Thanks, where can i turn off detailed map generation ? – delphirules Aug 01 '15 at 21:16
  • 1
    The "Detailed Map File" option is in the Project >Options>Linker page of the IDE. See also [DelphiSpeedUp](http://andy.jgknet.de/blog/ide-tools/delphispeedup/). – LU RD Aug 01 '15 at 21:23
  • Actually is already unchecked. My IDE is already tuned of the DelphiSpeedUp. Maybe i should go back to Windows 8.1... Thanks anyway ;) – delphirules Aug 01 '15 at 21:36
  • 1
    There are some speedup options here: [Delphi: How to organize source code to increase compiler performance?](http://stackoverflow.com/q/920560/576719) – LU RD Aug 01 '15 at 21:51
  • I can confirm that something changed from Win 8.1 to 10 ; tested with Win 8 compiling a project and i can see the CPU going to 100% in task manager. The same project compiled in Win 10 never reaches above 40% of CPU. I don't know why, but Delphi seems to use less CPU power in Windows 10 and the compiling takes a lot more time. – delphirules Aug 02 '15 at 03:18
  • It seems to be something related to Windows 10, not Delphi. I did some tests with other applications and the CPU usage never goes above 40 or 50%. – delphirules Aug 02 '15 at 03:50
  • 2
    You are running inside a VM right? – David Heffernan Aug 02 '15 at 04:48
  • Extending upon David's comment, a virtual machine can never guarantee CPU usage. Not only does the host OS have a lot to do with how much CPU its guest OS can use, but also any VM has a strict control over CPU usage and is subject to any amount of limitation depending on the OS within the VM. – Jerry Dodge Aug 02 '15 at 07:15
  • Yes, i'm using inside a VM, but both machines are running inside a VM. The Windows 8.1 runs a lot faster then the Win 10 one. – delphirules Aug 03 '15 at 11:58
  • 1
    Well, almost 1-year later i could not make Delphi work in W10 as fast as it was on W8. So i'm still sticking with W8. – delphirules Apr 29 '16 at 14:38
  • Enabling or disabling HyperThreading in the bios can make a diffrence on this as well. – oɔɯǝɹ Feb 20 '18 at 18:38

0 Answers0