Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Functional > Re: ANN: The Au...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 2827 of 2841
Post > Topic >>

Re: ANN: The Audio Rollendurchmesserzeitsammler V0.0.1

by Tzvetan Mikov <tmikov.nospam@[EMAIL PROTECTED] > May 1, 2008 at 12:15 PM

On May 1, 8:37 am, "Kjetil S. Matheussen" <k.s.matheus...@[EMAIL PROTECTED]
>
wrote:
> Exactly, thats what "snapshot" means (although only mark happens in
> parallel, not sweep, but sweep can be interrupted and continued later
> at next audio block exit).
>
> There are two reasons why this can work very well:
>
> 1. Realtime audio processing code is often
> compact and doesn't require extremely large heaps (1 megabyte might
> be enough, but larger heaps can work fine as well).
>
> 2. Its common to run many "instruments" simultaniously,
> which has the advantage of making it possible to let one
> instrument run signal processing code while all the other
> instrumentst can do their snapshots. And when having a snapshot,
> marking and sweeping runs in complete parallel with respect to both
> owning and not-owning instruments.
>
> As I said, this is not a general technique for doing hard realtime
> garbage collecting, it will only work for the kind of tasks which are
> synchronized by a clock, sometimes has some time to spare doing
> snapshots, and preferably where there are many processes running
> simultaniously (although not necessarily concurrently) not sharing
> heaps. Audio is one such type of task, video might be another.

Thanks. I am not familiar at all with sound processing, so if you
don't mind I would like to dig a little further. I've been looking at
improving the interactivity of GC applications, so your GC is somewhat
relevant, although clearly it has a different target.

If the sweep doesn't run in parallel, what are the advantages compared
to, for example, snapshot-at-beginning with Yuasa write barriers,
which allows (mostly) incremental mark and sweep ? It seems that the
advantages of separate heaps wold apply equally to both.

Is the idea that atomic copying of the heap is cheaper than "atomic
marking of the roots + plus write barriers" which is otherwise
required?

regards,
Tzvetan




 6 Posts in Topic:
ANN: The Audio Rollendurchmesserzeitsammler V0.0.1
"Kjetil S. Matheusse  2008-05-01 14:38:08 
Re: ANN: The Audio Rollendurchmesserzeitsammler V0.0.1
Tzvetan Mikov <tmikov.  2008-05-01 08:15:22 
Re: ANN: The Audio Rollendurchmesserzeitsammler V0.0.1
"Kjetil S. Matheusse  2008-05-01 17:37:39 
Re: ANN: The Audio Rollendurchmesserzeitsammler V0.0.1
Tzvetan Mikov <tmikov.  2008-05-01 12:15:20 
Re: ANN: The Audio Rollendurchmesserzeitsammler V0.0.1
"Kjetil S. Matheusse  2008-05-01 23:07:07 
Re: ANN: The Audio Rollendurchmesserzeitsammler V0.0.1
Tzvetan Mikov <tmikov.  2008-05-01 15:10:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 20:39:23 CDT 2008.