Replies: 3 comments 4 replies
-
Have you debugged on the machine? Looked at top, swap performance etc? Have you tried running on an entirely different machine class (different hardware family etc) to rule out anything specific to this arch? |
Beta Was this translation helpful? Give feedback.
-
Some interesting options to play with: https://www.pantsbuild.org/docs/reference-global#process_execution_local_parallelism https://www.pantsbuild.org/docs/reference-global#process_total_child_memory_usage https://www.pantsbuild.org/docs/reference-global#process_per_child_memory_usage What is happening on the system? Is swap thrashing, for example? |
Beta Was this translation helpful? Give feedback.
-
Thanks, I've also noted that the line Do you think it means Pants runs more jobs than it ought to? Here are all of the lines in that run that contain
|
Beta Was this translation helpful? Give feedback.
-
I’m trying to find the source of the slowness I'm having in some frequent cases by reading the output of
pants test ::
.Specifically, I get the following output:
I also see:
Pants version: 2.16.0rc7.
Repo languages: Python.
Test files: ~1,500 (
find . -type f -name 'test_*.py' | grep -v venv | wc -l
).Dependencies: ~330 (counted entries on the lockfile).
Machine: AWS' c6i.12xlarge (48 cores, 96 GiB of RAM) with EBS set to max IOPS and throughput.
I see that the EBS is hard at work (has 1-minutes long spikes of 100% utilization).
Beta Was this translation helpful? Give feedback.
All reactions