Skip to content

Decreasing cpu bottleneck when running on gpu #2173

Answered by AdeelH
NoaMillsUSDA-ARS asked this question in Q&A
Discussion options

You must be logged in to vote

Low GPU utilization probably means most of the time is being spent reading the data.

  • How many CPU cores does each machine have? Perhaps the default num_workers=4 helps performance with the larger machine with more cores, and hurts performance with the smaller machine?
  • Is the data being streamed from remote files or downloaded?
  • A batch size of 2 is pretty small and shouldn't be causing problems. How many bands are being read? Are they spread across multiple files?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@NoaMillsUSDA-ARS
Comment options

@NoaMillsUSDA-ARS
Comment options

@AdeelH
Comment options

Answer selected by NoaMillsUSDA-ARS
@NoaMillsUSDA-ARS
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants