New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 590980 link

Starred by 0 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature

Blocking:
issue 715175



Sign in to add a comment

[mojo-edk] Investigate scatter-gather syscalls for sending channel messages.

Project Member Reported by amistry@chromium.org, Mar 1 2016

Issue description

Both POSIX (via sendmsg) and Windows (via WriteFileGather) support scatter-gather writes to a handle. This might be useful to avoid copies inside the EDK. We should look into this.
 
Components: Internals>Mojo
Project Member

Comment 2 by sheriffbot@chromium.org, Mar 1 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been available for more than 365 days, and should be re-evaluated. Please re-triage this issue.
The Hotlist-Recharge-Cold label is applied for tracking purposes, and should not be removed after re-triaging the issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: -amistry@chromium.org -roc...@chromium.org darin@chromium.org
Owner: roc...@chromium.org
Status: Assigned (was: Untriaged)
Taking this so it doesn't get lost in the void. +darin FYI since we just discussed this recently and +yzshen for a bindings perspective

It's not clear if we need/want vector IO now, but something to think about.
Cc: yzshen@chromium.org
+yzshen for real
It seems to be a nice idea to explore.

Currently our serialization code calculates size for a message before serialization. Comparing with the approach of growing-buffer-when-needed, this approach avoids copying data between buffers when growing the buffer, but it comes with the cost of walking the entire data structure to calculate size. 

With scatter-gather support (exposed by the mojo system API), we will be able to have the best of both approaches.

Comment 6 by yzshen@chromium.org, Apr 25 2017

Blocking: 715175

Comment 7 by roc...@chromium.org, May 29 2017

Cc: roc...@chromium.org
Owner: ----
Status: Available (was: Assigned)
I've done some investigation into this. Unfortunately on Windows we would be forced to issue multiple Write/ReadFile calls per message as there appears to be no scatter-gather mechanism for named pipes. We'll probably get more mileage out of other optimization efforts first.
Project Member

Comment 8 by sheriffbot@chromium.org, May 29 2018

Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: -roc...@chromium.org rockot@google.com
Labels: -OS-Linux -OS-Android -OS-Windows -OS-Chrome -OS-Mac
Status: Available (was: Untriaged)

Sign in to add a comment