NVIDIA / NVIDIA/simready-foundation
gen_appliance_toaster_v01_01 dcc_source is duplicated (1.8G, ~2.6× next-largest asset)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 88
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Summary
The gen_appliance_toaster_v01_01 asset is 1.8G on disk — about 2.6× the next-largest asset (gen_cleaning_dishwand_v01_01 at 679M). The cause is a duplicated dcc_source tree: the dcc_source/working/ subtree has been copied up into dcc_source/ top level as well.
Asset size comparison
du -sh sample_content/common_assets/props_general/*/ | sort -rh | head
| Asset | Size |
|---|---|
| gen_appliance_toaster_v01_01 | 1.8G ← outlier |
| gen_cleaning_dishwand_v01_01 | 679M |
| obs_light_bulb_01 | 308M |
| obs_orange_a01 | 153M |
| obs_electricians_large_tool_box_a01 | 100M |
| (remaining assets) | ≤ 62M |
Root cause
Every other asset keeps DCC working files only under dcc_source/working/. The toaster alone also has a near-identical second copy promoted to dcc_source/ top level:
dcc_source/texture/(462M) ==dcc_source/working/texture/(462M) — identical file set, byte-identical (md5match), separate inodes (true copies, not hard/sym links)dcc_source/image/(131M) ==dcc_source/working/image/(131M) — identicaldcc_source/model/(292M) ≈dcc_source/working/model/— same.blendfiles, differing only by nesting (blender/*.blendvsblender/wip/*.blend) plus one extratemp_render.jpg
Biggest individual files, each present twice:
toaster_bake_low_01.spp— 226M ×2toaster_render_01.psd— 88M ×2gen_appliance_toaster_v01_01_show.blend— 62M ×2gen_appliance_toaster_v01_01_baking_sample.blend— 50M ×2
Both copies are committed (184 tracked files for the asset; e.g. 32 tracked files under each of dcc_source/texture/ and dcc_source/working/texture/).
Impact
- Working-tree checkout is physically doubled → 1.8G, hitting every clone/checkout (this is what
dust/dumeasured). - Git-LFS dedupes byte-identical content by OID (both
.spppointers share OID13f02fd805, ~236 MB stored once remotely), so remote LFS storage is not doubled for the identical files — but themodel/.blendfiles differ by path and so are genuinely duplicated even in LFS. - Package structure is inconsistent with every other asset and is confusing.
Suggested fix
Remove the promoted top-level dcc_source/{texture,image,model} directories, keeping only dcc_source/working/... to match the standard layout used by all other assets. Expected result: asset shrinks to ~900M. Optional follow-up: git lfs prune and a history note.
Repro
du -sh sample_content/common_assets/props_general/*/ | sort -rh | head
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with sample_content/common_assets/props_general/gen_appliance_toaster_v01_01 and run the issue's du command to confirm the size outlier. Compare dcc_source/{texture,image,model} with dcc_source/working and remove only the promoted top-level copies, preserving the working tree. Done means the asset follows the standard layout and is roughly 900M; verify the resulting paths and size before checking the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- content
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 76/100