Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow batch operations to reduce repeated file read/write cost #22

Open
glennmatthews opened this issue Jan 5, 2015 · 2 comments
Open
Assignees

Comments

@glennmatthews
Copy link
Owner

The slowest part of COT is the actual file I/O [citation needed], especially when untarring and retarring an OVA file is required. This makes multi-stage operations like the following somewhat slow since the file is re-written and re-read repeatedly:

cot edit-hardware foo.ova --cpus 4
cot edit-properties foo.ova ...
cot inject-config config.txt foo.ova
cot info foo.ova

While COT is explicitly designed around separation of actions (so that the params defined for "edit-hardware" do not conflict with the params for "add-disk", etc.), it would be nice to provide for some mechanism of batching operations together with only a single "read" at the beginning and a single "write" at the end.

@glennmatthews glennmatthews changed the title Batch operations on single OVA Allow batch operations to reduce repeated file read/write cost Jan 5, 2015
@glennmatthews
Copy link
Owner Author

@glennmatthews glennmatthews self-assigned this Jan 8, 2015
@glennmatthews
Copy link
Owner Author

This should be less of an issue if #39 is fixed to reduce unnecessary copies/read/write operations.

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

No branches or pull requests

1 participant