← Back to team overview

yade-users team mailing list archive

Re: [Question #690973]: running on a server is slower than on a PC

 

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

yang yi posted a new comment:
To Jan Stránský (honzik)  and Bruno Chareyre (bruno-chareyre) :
 
Thank you very much for you professional response. 
My the simulation process likes this:  
     The two kinds of particles falling down and the plank will open or close according to the rate of one kind of particle.  My job is to design the control algorithm of the plank.

Because if the martial parameter of particles  different,  the falling
speed of particles and action speed of plank is different.  So I must to
check if the two speeds are matching or not.  And, because I just want
to verify the control algorithm, so I hope the falling process could be
as fast as possible since training the control algorithm needs a great
number of episodes, maybe need two days or three days.  So we buy the
server. And the server is just for this simulation now.  That is why I
hope to use the maximum core of this server. I understand you suggestion
to get the optimal price of cores. But now for me, to get the fastest
speed of the simulation is the aim.

I am the author of the posted script.  Actually, I just  know the
running  model of pytorch and just to call the neural network package, I
do not deeply to learning what the script structure is the best for
matching YADE.    Bruno Chareyre  is right, the pyrunner decide the
runing speed.  But my question is  I use the same OS, the same script,
and same configuration in both of PC and server,  if I get 3D show, the
speed in PC is faster than in the server.   However, if I closed the 3D
show, the calculation speed of server is faster than PC.

Jan Stránský told me  the simulation-world speed is the same regardless
of the 3D show open or close and the simulation state definitely is not
influenced by the 3D view. So it makes me very confusion.

without 3D show the calculation speed of server is faster than PC,  that
mean the iteration number is more than PC. so the 3D view checks the
locations roughly, we could find the falling speed is faster than PC.
But actually, I find the speed in the server is slower than in PC.

So, I will try like this way, to storage the location and check  what
will happen.

Thank you very much

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