[uml-devel] [PATCH v4] UBD Improvements

2016-11-09 Thread anton . ivanov
From: Anton Ivanov UBD at present is extremely slow because it handles only one request at a time in the IO thread and IRQ handler. The single request at a time is replaced by handling multiple requests as well as necessary workarounds for short reads/writes. Resulting performance improvement i

Re: [uml-devel] [PATCH v3] UBD Improvements Phase 1

2016-11-09 Thread Anton Ivanov
On 09/11/16 16:08, James McMechan wrote: > Hi > > I am not clear on the remainder/remainder_size would not a single offset > parameter work? rather than copying it off and back? Possible. The other alternative is to copy the remainder (if it exists) to the beginning of the buffer at the end o

Re: [uml-devel] [PATCH v3] UBD Improvements Phase 1

2016-11-09 Thread James McMechan
Hi I am not clear on the remainder/remainder_size would not a single offset parameter work? rather than copying it off and back? also max_recs does not seem to used except to calculate max buffer size so would not using a buffer size be easier? something like bulk_req_read( int fd, struct io_thr

[uml-devel] [PATCH v3] UBD Improvements Phase 1

2016-11-09 Thread anton . ivanov
From: Anton Ivanov UBD at present is extremely slow because it handles only one request at a time in the IO thread and IRQ handler. The single request at a time is replaced by handling multiple requests as well as necessary workarounds for short reads/writes. Resulting performance improvement i