Skip to content

Conversation

@hendrikmakait
Copy link
Contributor

Closes #1509

@ntabris
Copy link
Member

ntabris commented Apr 24, 2024

This would be a temp directory on the VM? If so, I'd recommend doing something under /scratch so it uses NVMe if present.

@hendrikmakait
Copy link
Contributor Author

This would be a temp directory on the VM? If so, I'd recommend doing something under /scratch so it uses NVMe if present.

Good point, I'll adjust the code to check if we're running on the cloud. I suppose we should create the temporary directory within the workspace of the Dask worker that runs the coiled.function?

@jrbourbeau
Copy link
Contributor

I'd recommend doing something under /scratch so it uses NVMe if present

TIL, thanks @ntabris. Is there a way I can figure out when NVMe is present? Is it only specific instance types?

@ntabris
Copy link
Member

ntabris commented Apr 24, 2024

I suppose we should create the temporary directory within the workspace of the Dask worker that runs the coiled.function?

Yeah, that would work—dask worker workspace is already set to be in /scratch.

Is there a way I can figure out when NVMe is present? Is it only specific instance types?

It's specific instance types on AWS, in particular, instance types with d in the family, such as m6id or g4dn (plus a few others, such as g5 which does have NVMe).

@hendrikmakait
Copy link
Contributor Author

Closing as stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is duckdb out-of-core processing properly enabled?

4 participants