-
Notifications
You must be signed in to change notification settings - Fork 2
starting some docs for our next meeting discussions #15
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| We here explain how this package would be deployed across some simple architectures. | ||
|
|
||
| #### Example 1 | ||
|
|
||
| A parallel file systems which has, for example, data striped across three object storage targets (`ost1` ... `ost3`), served by a server (`OSS`) and delivered by a client (kernel or fuse) on the client node. Applications read POSIX data via that kernel. | ||
|
|
||
| In this instance, we would expect the OSS to implement something with the semantics and interface of `_decode_chunk` and for us to implement a module in `Active.py` which is called when the file URI is recognised as this sort of POSIX. Our module would call a shimmy in the client kernel which would pass on a call to that OSS implementation. | ||
|
|
||
|
|
||
| ```plantuml | ||
| package "hardware view 1" { | ||
| left to right direction | ||
| component storage { | ||
| database ost1 | ||
| database ost2 | ||
| database ost3 | ||
| component OSS | ||
| OSS -- ost1 | ||
| OSS -- ost2 | ||
| OSS -- ost3 | ||
| } | ||
|
|
||
| component node { | ||
| component application | ||
| component kernel | ||
| application --> kernel | ||
| } | ||
|
|
||
| kernel --> OSS: LAN traffic. | ||
|
|
||
| } | ||
| ``` | ||
|
|
||
| #### Example 2 | ||
|
|
||
| A storage system which implements parallel transfers direct to a client on the compute node. In this case the kernel (or fuse client) on the compute node receives data from the storage nodes directly. | ||
| There are two interesting variants of this: one where we control parallellism at the chunk level, and one where the storage system controls those transfers. The first case we term "application parallelism" and this would gain no benefit unless there is also "storage parallelism". | ||
|
|
||
| An example of application parallelism would be the use of asynchronous requests via S3. This would be delivered by some parallelism (which is yet to be) implemented in the routine `_from_storage`. | ||
|
|
||
| THe more interesting problem for now arises in where we have "storage parallelism". | ||
|
|
||
| ```plantuml | ||
| package "hardware view 2" { | ||
| left to right direction | ||
| component storage { | ||
| database ost1 | ||
| database ost2 | ||
| database ost3 | ||
| } | ||
|
|
||
| component node { | ||
| component application | ||
| component kernel | ||
| application --> kernel | ||
| } | ||
| kernel --> ost1: LAN | ||
| kernel --> ost2: LAN | ||
| kernel --> ost3: LAN | ||
| } | ||
| ``` | ||
|
|
||
| Where would we implement what? There is no benefit to be gained from implementing `_decode_chunks` in the kernel, as the entire chunk has already been served to the compute node, and no data movement has been avoided. Depending on the layout of chunks across OSTs, there may be no benefit in attempting active storage. It depends on how contiguous the data is in storage. | ||
|
|
||
| If however, it is possble to break down the logic of `_from_storage` so that individual "part_chunks" which are contiguous are processed on the storage side of the LAN (in the ost or nearby) then meaningful performance is possible. The Python client in the end would simply see a list of partial products of the computational method which have come direct from the osts. It will not care whether those parts came from a different breakdown of storage than it anticpated in the chunking (though of course the storage will need to do the necessary mapping to generate the partial sums). | ||
|
|
||
| In the longer term, where we expect that we will have to pass a decompression method down through the `_decode_chunk` interface, it _will_ be necessary for the computational storage to respect the `_decode_chunk` interface server-side. This is of course what is required with S3, where we effectively need an S3 proxy to do the work. It might be that this is also required in some implementations of POSIX storage systems if they wish to implement computational storage OR they will need to somehow respect block contiguous placement in some way. | ||
|
|
||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bnlawrence I think this is probably better suited in the README?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, but for the moment this is intended for discussion this Friday ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah okay then it's fine to have it in the pseudo-docs repo, cheers @bnlawrence