What hardware is better for run heave Lisp,VBA, or any code?

What hardware is better for run heave Lisp,VBA, or any code?

jtm2020hyo
Collaborator Collaborator
948 Views
5 Replies
Message 1 of 6

What hardware is better for run heave Lisp,VBA, or any code?

jtm2020hyo
Collaborator
Collaborator

I want upgrade my hardware. But I'm not sure what hardware should I priorice... Maybe a better SSD that CPU or RAM?

0 Likes
949 Views
5 Replies
Replies (5)
Message 2 of 6

martti.halminen
Collaborator
Collaborator

The greatest influence on the general performance is the mass storage: if you don't have a SSD, getting one is the number one priority. 

 

RAM only influences performance (negatively) if you don't have enough of it. (if we are not talking about tweaking clock speeds etc.)

 

Most of AutoCAD and all AutoLISP and VBA is single-threaded, so processor performance on one core is the important value: multiple cores are of no use when idle (as long as you have at least two, so that a stuck program won't freeze the whole machine).

--

0 Likes
Message 3 of 6

jtm2020hyo
Collaborator
Collaborator

@martti.halminen wrote:

The greatest influence on the general performance is the mass storage: if you don't have a SSD, getting one is the number one priority. 

 

RAM only influences performance (negatively) if you don't have enough of it. (if we are not talking about tweaking clock speeds etc.)

 

Most of AutoCAD and all AutoLISP and VBA is single-threaded, so processor performance on one core is the important value: multiple cores are of no use when idle (as long as you have at least two, so that a stuck program won't freeze the whole machine).

--


Thanks for reply.

Should I disable Intel® Hyper-Threading Technology to get a better Lisp/FAS/VBA performance?

0 Likes
Message 4 of 6

dgorsman
Consultant
Consultant

I'll have to disagree slightly - the biggest influence on performance is efficient and well-planned code.  An overclocked water-cooled monstrosity isn't going to help a program that runs thousands of unnecessary loops, for example.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 5 of 6

martti.halminen
Collaborator
Collaborator

Should I disable Intel® Hyper-Threading Technology to get a better Lisp/FAS/VBA performance?

 

That is more of a software question, so worth more of a software answer: try it both ways with exactly the same, representative workload, and time it. Also, check what happens with other important tools you use: some programs get faster with HT, others get slower.

 

More generally, upgrading hardware only speeds up things linearily, and only if the thing you change is the bottleneck. If you have an exponentially growing problem, no amount of hardware you throw at it will help much. So, if your computer performance is otherwise acceptable, it is time to take a look at your problem software: is the task inherently expensive, or are you using inefficient algorithms.

 

In software optimization, the most important task is measuring the performance at detail level: quite often the hot spot is hiding in some odd place.

 

-- 

 

Message 6 of 6

ronjonp
Advisor
Advisor

Maybe it's not hardware you need. 8-)

0 Likes