Re: [Nbd] question about i/o scheduling
- To: Peter Simons <simons@...813...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] question about i/o scheduling
- From: Paul Clements <paul.clements@...124...>
- Date: Wed, 4 Aug 2010 09:35:28 -0400
- Message-id: <AANLkTimEFwKsaTLtY4=nrdG_hYthgJtn4=76h4fe5gEG@...18...>
- In-reply-to: <87k4o71sk2.fsf@...814...>
- References: <87k4o71sk2.fsf@...814...>
On Tue, Aug 3, 2010 at 2:04 PM, Peter Simons <simons@...813...> wrote:
> Now, it looks to me like my kernel performs too much write-buffering.
> When a large file is copied to an nbd-mounted partition, the initial 2
> MB or so are transferred at incredible speed; apparently, because the
> kernel just buffers the data. At one point, the kernel actually tries to
> transfer the data to the remote host, but that takes several minutes.
> During that time, the nbd-device is almost unusable for other processes
> because it accepts no more writes at all (and reads have a hard time
> getting through the network connection).
So you're wanting to prioritize one process's I/O against others? Have
you tried "ionice"ing the process(es) in question?
--
Paul
> Has anyone else observed that phenomenon? Is there maybe a way to
> improve the situation?
>
> Take care,
> Peter
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Nbd-general mailing list
> Nbd-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nbd-general
>
Reply to: