News:

Let's find out together what makes a PIC Tick!

Main Menu

What type of CPU for faster compilation time?

Started by trastikata, Nov 06, 2025, 09:41 PM

Previous topic - Next topic

RGV250

Hi,
QuoteThere is no difference between i5 and i9 :)
I wonder if the major issue is here the OS, it would be interesting if you could get WinXP running on the same PC's, I bet that would be way faster.

Bob

LeonJ

1:23 on Windows-10
1:19 on same PC but with XP VM using Oracle VM VirtualBox

John Lawton

Is Virtual Box running on top of Win 10, in which case that's a rather odd result?

John

LeonJ

VirtualBox has options which I've not explored. I think it runs "on-top".
With smaller (simpler) code, the VirtualBox XP seems even more faster than W10.

trastikata

Quote from: Werwolf on Nov 10, 2025, 07:50 AMCompilation time: 64 sec....

There is no difference between i5 and i9 :)

As I said before I think it is mostly single core integer computation loops and the instruction set for this type of operations has been around for quite some time. I think if my 15 years old AMD FX8350 at 4GHz could have had the same DDR5, it would have performed quite good too.

Thus the bottleneck is in my opinion RAM bus bandwidth.

P.s. I've installed Win11 and it is compiling it in 75 seconds, so there's 15% penalty for the extra protection layers in Win11.

John Lawton

Protection layers against what, user productivity?

:)

John

RGV250

Hi,
Quoteso there's 15% penalty for the extra protection layers in Win11.
Bloated code?

Bob

trastikata

#27
Quote from: John Lawton on Nov 10, 2025, 05:22 PMProtection layers against what, user productivity?

VBS in Win11 :)

Fanie

#28
Quote from: Werwolf on Nov 10, 2025, 07:50 AMThere is no difference between i5 and i9 :)
Alvydas

Yes and no.

Executing a single task can even be faster with a "lesser" i3 / i5 micro if the clock speed is higher than the i7 / i9's.

If numerous tasks is processed, then the i7 and i9 will perform the multiple tasks faster than the more limited i3 / i5.

Multiple tasks will be something like watching a movie, while a download is going, streaming to wifi's and bluetooth and on the side you're compiling your code.  Some website's could be updating, all ports are maintained, all plug and play and so on.  A lot is going on on one's PC and then there is also the continuous tracking and reporting on everything you do including your connected mobile devices because you are unreliable and dangerous.
Also depends what priorities the operating system use for the various tasks.  If your compiling is allocated a low priority it can share time with something else making it slower.

John Drew

#29
Couldn't resist the temptation to give it a go.
I'm amazed how long it took in pre (20 secs) and post processing (2-3 secs). I tried it twice and it took 1m 17 secs each time to complete the full task. Latest Positron.
It's a new machine just finished getting essential programs installed and passwords etc.
W11 pro, i7-12700, on board graphics, 16GB memory, 2 of M2 1GB SSD. I suspect the M2 SSDs helped. Processor speed 2.1GHz, don't know if it went into turbo mode of up to 4.9GHz.
Spent the kid's inheritance.
John

RGV250

QuoteSpent the kid's inheritance.
It is not their inheritance until they put you in the box :)

Bob

charliecoutas

They make an exception for a cat that belonged to Mr Schrödinger.

Charlie

JonW

Thats a monster program.

1:10


John Lawton