ryantam626 opened a new issue, #22159:
URL: https://github.com/apache/beam/issues/22159

   ### What happened?
   
   Runner: Dataflow runner
   SDK: Python
   Version: 2.38.0
   
   I recently swapped to using poetry for Python dependency management (and 
thus implicit deps have been inadvertently upgraded), and noticed a significant 
performance degradation with this new setup. After a lot of binary chopping, I 
have come to the conclusion that upgrading from `grpcio==1.44.0` to 
`grpcio==1.45.0` probably caused the degradation.
   
   I don't have capacity to provide a reproducible example nor debug further, 
apologies, hopefully this is enough.
   
   Here are some interesting screenshots:
   
   Dataflow job CPU util pattern with `grpcio==1.44.0`
   
![Selection_502](https://user-images.githubusercontent.com/8895126/177336591-1aa66411-97e7-4511-9a96-9db43de89efb.png)
   
   Dataflow job CPU util pattern with `grpcio==1.45.0`
   
![Selection_500](https://user-images.githubusercontent.com/8895126/177336610-698b866a-a14b-4300-951e-b6c21f98194e.png)
   
   Notice how the CPU utilisation is never capped at 100% in the second 
screenshot, they are both working on the exact same set of input data, exact 
same code except with `grpcio` and `grpcio-status` version upgraded.
   
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: runner-dataflow


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to