[issue31368] Support asynchronous, non-blocking buffered reads (RWF_NONBLOCK)

2018-01-26 Thread STINNER Victor
STINNER Victor added the comment: Antoine Pitrou: "In any case, I think this would take the form of new low-level calls in the posix module, i.e. add thin wrappers around the new system / libc calls." "new system / libc calls"... well, preadv() is available on

[issue31368] Support asynchronous, non-blocking buffered reads (RWF_NONBLOCK)

2018-01-26 Thread STINNER Victor
STINNER Victor added the comment: I set the priority to release blocker to make sure that I don't forget to merge the PR before Python 3.7b1 (next monday?). The PR is *almost* ready, remaining issues are mostly related to documentation and coding style. --

[issue31368] Support asynchronous, non-blocking buffered reads (RWF_NONBLOCK)

2018-01-22 Thread STINNER Victor
STINNER Victor added the comment: Explanation for myself. https://kernelnewbies.org/Linux_4.14#Asynchronous_buffered_I.2FO_support "In this release, the preadv2(2) syscall with RWF_NONBLOCK will let userspace applications bypass enqueuing operation in the threadpool

[issue31368] Support asynchronous, non-blocking buffered reads (RWF_NONBLOCK)

2018-01-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +5085 stage: needs patch -> patch review ___ Python tracker

[issue31368] Support asynchronous, non-blocking buffered reads (RWF_NONBLOCK)

2018-01-16 Thread YoSTEALTH
YoSTEALTH added the comment: According to this nginx test https://www.nginx.com/blog/thread-pools-boost-performance-9x/ there is a huge boost in performance when using thread poll for File IO. It is postulated that when preadv2() & RWF_NONBLOCK feature are

[issue31368] Support asynchronous, non-blocking buffered reads (RWF_NONBLOCK)

2018-01-15 Thread Nitish
Change by Nitish : -- nosy: +nitishch ___ Python tracker ___ ___ Python-bugs-list

[issue31368] Support asynchronous, non-blocking buffered reads (RWF_NONBLOCK)

2018-01-15 Thread Nathaniel Smith
Nathaniel Smith added the comment: Whoa, cool. bpo-32561 is complementary to this. (They both make sense on their own, but they're even better together.) -- ___ Python tracker

[issue31368] Support asynchronous, non-blocking buffered reads (RWF_NONBLOCK)

2018-01-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: In any case, I think this would take the form of new low-level calls in the posix module, i.e. add thin wrappers around the new system / libc calls. -- nosy: +njs, pitrou ___ Python tracker

[issue31368] Support asynchronous, non-blocking buffered reads (RWF_NONBLOCK)

2018-01-15 Thread Ned Deily
Ned Deily added the comment: It seems to me there are two issues here: 1. What are the pros and cons of adding support for this new mode, e.g. are there any potential gotchas? 2. Assuming the result of 1 is we should go ahead, then omeone needs to generate a pull request