[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] Question about the expected behaviour of nbd-server for async ops





--On 30 May 2011 14:08:25 +0200 Goswin von Brederlow <goswin-v-b@...186...> wrote:

I disagree. Delaying ACKs is not the way to slow down the client when
the server has too much cached data for the moment. It should just pause
reading in more requests till it has buffer space again.

That depends on the server example. Go back to my JBOD example where
the incoming queue is split between threads handling different disks.
If Disk 1 is write-heavy and backing up, there is no reasons to stop
handling reads for Disk 2. As requests have to be read in order,
if you want to handle any requests for disk 2 when disk 1 is backed
up, you have to queue them.

--
Alex Bligh



Reply to: