Re: [PATCH] new JACK MIDI files in jack.spec (was:latest CVS commit - its a doozy)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] new JACK MIDI files in jack.spec (was:latest CVS commit - its a doozy)

Kjetil S. Matheussen

Lee Revell:
>Sorry to sound like a broken record, but can I get an ACK or a NACK for
>my "use 512KB thread stacks" patch?  It does fix a real problem that
>users are having (excess memory usage when using mlock)

I abolutely agree that memory usage is a real problem for jack clients, so
this sounds like a good patch. But I wonder what happens if
the client process thread runs out of stack? I guess it must allocate a
new stack then? And won't that break realtimeness?





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] new JACK MIDI files in jack.spec (was:latest CVS commit - its a doozy)

Lee Revell
On Mon, 2006-05-08 at 20:11 -0700, Kjetil S. Matheussen wrote:

> Lee Revell:
> >Sorry to sound like a broken record, but can I get an ACK or a NACK for
> >my "use 512KB thread stacks" patch?  It does fix a real problem that
> >users are having (excess memory usage when using mlock)
>
> I abolutely agree that memory usage is a real problem for jack clients, so
> this sounds like a good patch. But I wonder what happens if
> the client process thread runs out of stack? I guess it must allocate a
> new stack then? And won't that break realtimeness?
>

Yeah, I think it would segfault, which is why I picked 512KB - I've been
running all my insanely bloated desktop apps like Evolution with this
setting for months and have never run out of stack.  I think it's a very
conservative default.

Lee



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] new JACK MIDI files in jack.spec (was:latest CVS commit - its a doozy)

Kjetil S. Matheussen
On Mon, 8 May 2006, Lee Revell wrote:

> On Mon, 2006-05-08 at 20:11 -0700, Kjetil S. Matheussen wrote:
>> Lee Revell:
>>> Sorry to sound like a broken record, but can I get an ACK or a NACK for
>>> my "use 512KB thread stacks" patch?  It does fix a real problem that
>>> users are having (excess memory usage when using mlock)
>>
>> I abolutely agree that memory usage is a real problem for jack clients, so
>> this sounds like a good patch. But I wonder what happens if
>> the client process thread runs out of stack? I guess it must allocate a
>> new stack then? And won't that break realtimeness?
>>
>
> Yeah, I think it would segfault, which is why I picked 512KB - I've been
> running all my insanely bloated desktop apps like Evolution with this
> setting for months and have never run out of stack.  I think it's a very
> conservative default.
>

In that case, I think the patch should be applied immediately to spot any
stack-offender as soon as possible. Although memory is cheap, as usual,
its stupid to waste as much as is the case now.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel