Project

General

Profile

ActionsLike0

Feature #19642

closed

Remove vectored read/write from `io.c`.

Added by ioquatix (Samuel Williams) almost 2 years ago. Updated 5 months ago.

Status:
Closed
Target version:
-
[ruby-core:113489]

Description

https://github.com/socketry/async/issues/228#issuecomment-1546789910 is a comment from the kernel developer who tells us that writev is always worse than write system call.

A large amount of complexity in io.c comes from optional support from writev.

So, I'd like to remove support for writev.

I may try to measure the performance before/after. However it may not show much difference, except that the implementation in io.c can be much simpler.

#1

Updated by ioquatix (Samuel Williams) almost 2 years ago

  • Tracker changed from Bug to Feature
  • Backport deleted (3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN)

Updated by ioquatix (Samuel Williams) almost 2 years ago

  • Assignee set to ioquatix (Samuel Williams)
#10

Updated by hsbt (Hiroshi SHIBATA) about 1 year ago

  • Status changed from Open to Assigned

Updated by ioquatix (Samuel Williams) 5 months ago

  • Status changed from Assigned to Closed
ActionsLike0

Also available in: Atom PDF