bug-hurd
[Top][All Lists]
Advanced

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

Re: let's make libpager single-threaded


From: Richard Braun
Subject: Re: let's make libpager single-threaded
Date: Fri, 30 May 2014 11:04:03 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, May 30, 2014 at 09:35:37AM +0200, Justus Winter wrote:
> Quoting Richard Braun (2014-05-29 19:12:13)
> > On Thu, May 29, 2014 at 07:04:48PM +0200, Samuel Thibault wrote:
> > > But precisely: once the only thread gets a data_request, it'll call
> > > pager_read_page, which will typically call store_read, which will wait
> > > on the eventual I/O, and no other request will be processed during that
> > > time, and thus not pipelining the I/O requests.
> > 
> > Right, I assumed the store interface wasn't synchronous...
> 
> So we want a fixed number of pager threads?

Let's see if a single thread is actually that bad: what other request
could actually be processed while a paging thread is waiting for I/O
completion ?

-- 
Richard Braun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]