question

Ryusuke T avatar image
0 Likes"
Ryusuke T asked Ryusuke T commented

Behavior when using distributed CPUs

Hi,

I'm doing distributed CPU verification.

I noticed some strange behavior there.

First, confirm that you can connect to the external CPU, and then execute Optquest using the distributed CPU.

At this time, it can be confirmed that the distributed CPU processing is going well because the number of CPUs is exceeded.

image.pngimage2.png

Next, I disconnected the network of the external PC and confirmed the disconnection from the properties.

image3.png

However, it seems that the number of CPUs used by OptQuest exceeds the number of CPUs it owns, and distributed CPUs continue to be enabled.

image4.png

what is happening?

FlexSim 23.0.8
optquestuse distributed cpus
image.png (29.0 KiB)
image2.png (49.9 KiB)
image3.png (40.3 KiB)
image4.png (68.1 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered Ryusuke T commented

It is hard to say exactly what is happening. Based on your description, I would expect only 20 processes to run on the localhost, and none on the other computer. The optimizer should not show more than 20 active processes concurrently. It is not correct that there are 27.

I'm unable to replicate the issue on two computers on my network. If the "Use Distributed CPUs" box is checked, the number of concurrent processes is within what I specified in global preferences:

1688761611655.png

If one of the connections is not available, then no processes are created for that connection, and the total number of processes is less:

1688761646148.png

In order to further support you, I will need more information.

  • Do you get an exception in the system console, reporting that the disconnected host did not return valid ports?
  • Does the connected webserver report a request to create child processes, like this? Or does it not respond?1688761752706.png
  • Are you sure the "Use Distributed CPUs" box was not checked?

It may be helpful if you could record a video, or if we could arrange a web meeting.


1688761611655.png (72.4 KiB)
1688761646148.png (73.5 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.