# Multithreaded CSV writes

**URL:** <https://discourse.julialang.org/t/multithreaded-csv-writes/47660>\
**Category:** Performance\
**Tags:** multithreading, csv\
**Created:** [October 2, 2020, 7:17pm UTC](https://discourse.julialang.org/t/multithreaded-csv-writes/47660 "2020-10-02T19:17:17Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![liuyxpp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/liuyxpp/32/9870_2.png) [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Post date:** [April 14, 2023, 2:09pm UTC](https://discourse.julialang.org/t/multithreaded-csv-writes/47660/21 "2023-04-14T14:09:00Z")

</div>

> [@tkf](#):
>
> Multi-Threading · The Julia Language

Sorry for reviving this old post. But do you have a solution now? I have a similar task that I have to download a large number of CSV file form MinIO server and process them and then save th e processed results either into same number of CSV files.

When I simply use `Threads.@threads` in the outer loop, I observe a very peculiar issue that the cpu usage drops along the progress and I suspect 80% of time is used for the last 10% of workloads. I allocated 16 threads and in the middle to final stage, there are only 1-2 threads at working. Does this related to the CSV files IO?

[Previous page](https://discourse.julialang.org/t/multithreaded-csv-writes/47660.md?page=1)
