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

nogil does not optimize mac pro M1 chip(arm64) #86

Closed
Roxas opened this issue Sep 20, 2022 · 3 comments
Closed

nogil does not optimize mac pro M1 chip(arm64) #86

Roxas opened this issue Sep 20, 2022 · 3 comments

Comments

@Roxas
Copy link

Roxas commented Sep 20, 2022

When I try to use nogil with your fab.py on my mac pro M1,I found nogil could not make use m1 8 cores. And it seems like it dose not support arm chip as good as x86. when I use 1 thread run fab.py with nogil, it use 8 seconds, but I use 1 thread run fab.py with CPython, it just use 1 seconds. I also run this fab.py script on my intel x86 server, its performance is so surprised as your tips.

@colesbury
Copy link
Owner

How did you build/install it? I have an M1 mac and it scales well and runs quickly.

@colesbury
Copy link
Owner

I'm closing this issue because it needs more information. Feel free to re-open it with additional information.

@Roxas
Copy link
Author

Roxas commented Jan 27, 2023

How did you build/install it? I have an M1 mac and it scales well and runs quickly.

I run fab.py by nogil/python docker container. this is my test env docker-compose.yml:
version: "3" services: nogil: image: nogil/python:latest #image: python:3.10.1-slim-buster restart: always volumes: - ./src:/src

there is test.py in src dir: the contente is same fab.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants