AcademySoftwareFoundation / OpenCue

A render management system you can deploy for visual effects and animation productions.
https://www.opencue.io
Apache License 2.0
832 stars 202 forks source link

rename "mcp" throughout the system #75

Open bcipriano opened 5 years ago

bcipriano commented 5 years ago

OpenCue contains a concept called "mcp" which is basically a term for local temporary storage. It is monitored as a resource in the same way that cores or RAM is, to ensure that render nodes have enough scratch storage to complete a job.

It originally had a common mountpoint of /mcp on Linux, hence the name.

Rename this to be something a bit more clear - "tmp" or something like that - and make the mount point a config value as its hardcoded to /mcp in a few places particularly RQD.

JohnWelborn commented 5 years ago

(Beware that misbehaving jobs can fill it up which might be bad for the system depending on where it is)

larsbijl commented 5 years ago

maybe scratch space would clearer? little long but tmp would bring to mind /tmp which wouldn't have to be the case of nfs.

bcipriano commented 5 years ago

Yeah, that makes sense. Looking at the current Host proto I think scratch would do nicely -- free_mem, free_swap, free_scratch, etc.

https://github.com/AcademySoftwareFoundation/OpenCue/blob/ae469389467b065c46b962d32541b764f938b819/proto/host.proto#L251-L279