Re: Dealing with thread storms

2010-04-17 Thread olafBuddenhagen
Hi, On Wed, Apr 07, 2010 at 12:37:59PM +0200, Sergio Lopez wrote: > - Implement a queue in libdiskfs to deal with m_o_data_return > requests and a static amount of consumers which will do the real > work. Each time the kernel sends us a m_o_data_return, we just add > the request to the qu

Re: Dealing with thread storms

2010-04-09 Thread Sergio Lopez
El Fri, 9 Apr 2010 12:09:24 +0200 Thomas Schwinge escribió: > Hello! > > Sergio, great to see you're back! > Thanks! > On Wed, Apr 07, 2010 at 12:37:59PM +0200, Sergio Lopez wrote: > > To my knowledge, [...] > > I can't comment on your assumptions, however: > > > So I'm thinking about the

Re: Dealing with thread storms

2010-04-09 Thread Thomas Schwinge
Hello! Sergio, great to see you're back! On Wed, Apr 07, 2010 at 12:37:59PM +0200, Sergio Lopez wrote: > To my knowledge, [...] I can't comment on your assumptions, however: > So I'm thinking about the following changes: > > - Implement a queue in libdiskfs to deal with m_o_data_return >

Dealing with thread storms

2010-04-07 Thread Sergio Lopez
Hi all, Since it has been proved that throttling thread creation is not the solution (not even a proper workaround) to prevent thread storms, I'd like to discuss some strategies to deal with them. To my knowledge, thread storms are usually caused by GNU Mach continuously sending m_o_data_return r