renyd123 commented on issue #42097:
URL: https://github.com/apache/arrow/issues/42097#issuecomment-2160339059

   > > For a RowGroup with 1 million rows, when the number of threads is 1, 
FileReader::RowGroup(i)->ReadTable takes around 40ms. However, as the number of 
threads increases, the execution time also increases gradually. When the number 
of threads reaches 16, the execution time reaches around 250ms.
   > 
   > Are you read file on object store or Local FileSystem? I guess the task is 
a CPU-bound task, and may I ask the CPU count you're using?
   
   Local FileSystem. The Parquet file is 2GB in size and contains almost 100 
row groups. My CPU is an Intel Core i7-13700K, which has 16 cores and 24 
threads. 
   When the number of threads increases, the execution time of this line of 
code also increases: 
   PARQUET_THROW_NOT_OK(reader->RowGroup(i)->ReadTable(&table));
   (reader is parquet::arrow::FileReader* reader)


-- 
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