← Back to team overview

yade-users team mailing list archive

Re: [Question #699458]: about -j XX and accelerate in yadedaily

 

Question #699458 on Yade changed:
https://answers.launchpad.net/yade/+question/699458

    Status: Open => Answered

Jan Stránský proposed the following answer:
> I can only understand that more threads don't mean faster simulation,there is a suitable number of cores for simulation.
> Can I understand that this problem is difficult to solve at present.

yes

> What puzzles me is that even with single thread, workstation should run faster than my own computer(The fact is that workstation is about 10% slower).
> And if I use multithreading and run the same script, my own computer can achieve two to three times the acceleration, while workstation does not.

This might be some hardware settings, difficult to tell just from the type.
Why 1 thread workstation should run  faster? From quick searching, I got:
workstation:  Intel(R) Xeon(R) Gold 5220 CPU @ 2.20GHz, 1000 MHz   --   2.2 - 3.9 GHz
own computer: CPU:AMD® Ryzen 7 4800h  --  2.9 - 4.2 GHz
So I assume that for "basic" settings, the own computer is just simply faster than the workstation.
Maybe also not only the CPU itself, but also RAM plays some role? I don't know..
Maybe others with more knowledge about hardware can answer.

> By the way,Is it possible that this problem has something to do with
the graphics card?

I **think** not (I see no reason for that).
Do you use some graphics (e,g, 3D view) for the measurements?
You should not use graphics for "sharp" simulations anyway.
If you use graphics (like 3d view), then the results may be influenced by the graphics.

Cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.