Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance of lay-up provider drops if DPF server runs in a container #391

Open
2 tasks done
roosre opened this issue Nov 28, 2023 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@roosre
Copy link
Collaborator

roosre commented Nov 28, 2023

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

The run method of the composite::layup_provider_operator takes about twice as long if it runs in a docker container if compared with a local DPF server.

The issue was observed when loading the Izon Blade model

Layup provider run: 14 sec with docker, about 7 sec with in process server
Initialization of the composite model: 20 sec with docker, about 14 sec with in process server.

Note: it looks like only the update (run) of the layup provider is significantly slower between the two server modes. The other initialization steps in the composite model and also the failure analysis show a similar performance.

📝 Steps to reproduce

  • Solve the izon blade model (assembly with 7 ACP parts)
  • conntect to server
    • server = connect_to_or_start_server(port=<port>) # for docker
    • server = connect_to_or_start_server(ansys_path="C:\\Program Files\\ANSYS Inc\\v242") # for in progress / local
  • Initialize a composite model from the solved analysis
    composite_model = CompositeModel(composite_files, server)

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

Any

🐍 Which Python version are you using?

3.8

📦 Installed packages

accessible-pygments==0.0.4
aiohttp==3.8.6
aiosignal==1.3.1
alabaster==0.7.13
-e git+https://github.com/ansys/pydpf-composites.git@1a0a2ef782e51887f42d2bab170a57dcaa18c6e4#egg=ansys_dpf_composites
ansys-dpf-core==0.9.0
ansys-dpf-gate==0.4.1
ansys-dpf-gatebin==0.4.1
ansys-grpc-dpf==0.8.1
ansys-sphinx-theme==0.12.3
anyio==4.0.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
astroid==2.15.8
asttokens==2.4.0
async-lru==2.0.4
async-timeout==4.0.3
attrs==23.1.0
Babel==2.13.0
backcall==0.2.0
beautifulsoup4==4.12.2
bleach==6.1.0
build==0.8.0
cachetools==5.3.1
certifi==2023.7.22
cffi==1.16.0
cfgv==3.4.0
charset-normalizer==3.3.0
colorama==0.4.6
comm==0.1.4
contourpy==1.1.1
coverage==7.3.2
cycler==0.12.1
debugpy==1.6.7
decorator==5.1.1
defusedxml==0.7.1
dill==0.3.7
distlib==0.3.7
docutils==0.19
exceptiongroup==1.1.3
executing==2.0.0
fastjsonschema==2.18.1
filelock==3.12.4
fonttools==4.43.1
fqdn==1.5.1
frozenlist==1.4.0
google-api-core==2.12.0
google-api-python-client==2.102.0
google-auth==2.23.3
google-auth-httplib2==0.1.1
googleapis-common-protos==1.60.0
grpcio==1.59.0
httplib2==0.22.0
identify==2.5.30
idna==3.4
imagesize==1.4.1
importlib-metadata==6.8.0
iniconfig==2.0.0
ipykernel==6.25.1
ipython==8.16.1
ipython-genutils==0.2.0
ipywidgets==8.1.1
isoduration==20.11.0
isort==5.12.0
jaraco.classes==3.3.0
jedi==0.19.1
Jinja2==3.1.2
json5==0.9.14
jsonpointer==2.4
jsonschema==4.19.1
jsonschema-specifications==2023.7.1
jupyter-events==0.7.0
jupyter-lsp==2.2.0
jupyter_client==8.3.1
jupyter_core==5.3.2
jupyter_server==2.7.3
jupyter_server_proxy==4.1.0
jupyter_server_terminals==0.4.4
jupyterlab==4.0.4
jupyterlab-pygments==0.2.2
jupyterlab-widgets==3.0.9
jupyterlab_server==2.24.0
keyring==24.2.0
kiwisolver==1.4.5
lazy-object-proxy==1.9.0
markdown-it-py==3.0.0
MarkupSafe==2.1.3
matplotlib==3.8.0
matplotlib-inline==0.1.6
mccabe==0.7.0
mdurl==0.1.2
mistune==3.0.2
more-itertools==10.1.0
multidict==6.0.4
mypy==1.6.0
mypy-extensions==1.0.0
nbclient==0.8.0
nbconvert==7.9.2
nbformat==5.9.2
nest-asyncio==1.5.8
nh3==0.2.14
nodeenv==1.8.0
notebook==7.0.2
notebook_shim==0.2.3
numpy==1.26.0
numpydoc==1.6.0
overrides==7.4.0
packaging==23.2
pandocfilters==1.5.0
parso==0.8.3
pep517==0.13.0
pickleshare==0.7.5
Pillow==10.0.1
pkginfo==1.9.6
platformdirs==3.11.0
pluggy==1.3.0
pooch==1.7.0
pre-commit==3.4.0
prometheus-client==0.17.1
prompt-toolkit==3.0.39
protobuf==4.24.4
psutil==5.9.5
pure-eval==0.2.2
pyasn1==0.5.0
pyasn1-modules==0.3.0
pycparser==2.21
pydata-sphinx-theme==0.14.1
Pygments==2.16.1
pylint==2.17.7
pypandoc==1.11
pyparsing==3.1.1
pytest==7.4.2
pytest-cov==3.0.0
pytest-rerunfailures==11.1.2
python-dateutil==2.8.2
python-json-logger==2.0.7
pyvista==0.42.3
pywin32==306
pywin32-ctypes==0.2.2
pywinpty==2.0.12
PyYAML==6.0.1
pyzmq==25.1.1
readme-renderer==42.0
referencing==0.30.2
requests==2.31.0
requests-toolbelt==1.0.0
rfc3339-validator==0.1.4
rfc3986==2.0.0
rfc3986-validator==0.1.1
rich==13.6.0
rpds-py==0.10.4
rsa==4.9
scipy==1.11.3
scooby==0.7.4
Send2Trash==1.8.2
setuptools-scm==8.0.4
simpervisor==1.0.0
six==1.16.0
sniffio==1.3.0
snowballstemmer==2.2.0
soupsieve==2.5
Sphinx==5.3.0
sphinx-copybutton==0.4.0
sphinx-gallery==0.11.1
sphinx_autodoc_typehints==1.20.1
sphinx_design==0.3.0
sphinxcontrib-applehelp==1.0.7
sphinxcontrib-devhelp==1.0.5
sphinxcontrib-htmlhelp==2.0.4
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.6
sphinxcontrib-serializinghtml==1.1.9
stack-data==0.6.3
tabulate==0.9.0
terminado==0.17.1
tinycss2==1.2.1
tomli==2.0.1
tomlkit==0.12.1
tornado==6.3.3
tqdm==4.66.1
traitlets==5.11.2
trame==3.2.7
trame-client==2.12.5
trame-server==2.12.0
trame-vtk==2.5.9
trame-vuetify==2.3.1
twine==4.0.2
types-python-dateutil==2.8.19.14
typing_extensions==4.8.0
uri-template==1.3.0
uritemplate==4.1.1
urllib3==2.0.6
virtualenv==20.24.5
vtk==9.2.6
wcwidth==0.2.8
webcolors==1.13
webencodings==0.5.1
websocket-client==1.6.4
widgetsnbextension==4.0.9
wrapt==1.15.0
wslink==1.12.3
yarl==1.9.2
zipp==3.17.0
@roosre roosre added the bug Something isn't working label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant