[PATCH hurd/ext2fs] Sync pager before clearing MAY_CACHE flag

2011-09-29 Thread Sergio López
Clearing MAY_CACHE flag on a pager initiates a memory object termination if this one is not referenced anymore. If the object has a significant number of dirty pages (i.e. a file recently created was unlinked before diskfs periodical sync) this operation generates a lot of stress on the translator.

Re: Degradation of GNU/Hurd ``system performance''

2011-09-29 Thread olafBuddenhagen
Hi, On Mon, Sep 05, 2011 at 06:42:22AM +0200, olafbuddenha...@gmx.net wrote: > Over a period of a couple of weeks (mostly light load), many things > become increasingly more sluggish; until finally the system dies with > paging errors. Swap usage also rises constantly over this time, > generally

Re: Interface for SCSI transactions ?

2011-09-29 Thread olafBuddenhagen
Hi again, On Fri, Sep 23, 2011 at 10:33:58PM +0200, Thomas Schmitt wrote: > Am i allowed to make the RPC ugly if it reduces system load ? > > > There seems to be an inavoidable performance penalty with my naive > idea to allow an arbitrary reversible transformation from struct > to byte array.

Re: Interface for SCSI transactions ?

2011-09-29 Thread olafBuddenhagen
Hi, On Fri, Sep 23, 2011 at 05:57:44PM +0200, Thomas Schmitt wrote: > Olaf Buddenhagen: > > Unless there is some practical difficulty, I *strongly* suggest to > > describe the individual struct members with MIG, rather than doing > > the marshalling (serialisation) by hand. > > Regrettably MIG e

Re: Implicit IN?

2011-09-29 Thread olafBuddenhagen
Hi, On Fri, Sep 23, 2011 at 05:34:53PM +0200, Samuel Thibault wrote: > olafbuddenha...@gmx.net, le Fri 23 Sep 2011 03:26:21 +0200, a écrit : > > Maybe I'm missing something, but I fail to see why integers or > > character arrays would by any more implicitly IN than other > > types?... > > Becaus

Re: Interface for SCSI transactions ?

2011-09-29 Thread olafBuddenhagen
Hi, On Fri, Sep 23, 2011 at 05:36:11PM +0200, Samuel Thibault wrote: > olafbuddenha...@gmx.net, le Fri 23 Sep 2011 03:13:53 +0200, a écrit : > > (Doing manual marshalling is extra effort; and it will have to > > change again when moving to userspace drivers > > Why would it have to change again

Re: Interface for SCSI transactions ?

2011-09-29 Thread Thomas Schmitt
Hi, it looks like we need two fundamental decisions now, or else the contraints become too fuzzy for developing the desired feature: 1: Shall the new call be implemented on the kernel side as a new method of struct device_emulation_ops ? 2: Shall the parameters be bundled in serialized struct

Re: Implicit IN?

2011-09-29 Thread Samuel Thibault
olafbuddenha...@gmx.net, le Tue 27 Sep 2011 03:03:31 +0200, a écrit : > On Fri, Sep 23, 2011 at 05:34:53PM +0200, Samuel Thibault wrote: > > olafbuddenha...@gmx.net, le Fri 23 Sep 2011 03:26:21 +0200, a écrit : > > > > Maybe I'm missing something, but I fail to see why integers or > > > character