Subject | Re: [firebird-support] Why "cooperative" garbage collection? |
---|---|
Author | Ann W. Harrison |
Post date | 2007-12-13T17:04:37Z |
Martijn Tonies wrote:
that a background garbage collect thread would be faster than
cooperative garbage collection. Unfortunately, under load, the
garbage collect thread failed to get enough cycles to do its work
and the whole system could grind to a halt. IBPhoenix provided
special kits that disabled the garbage collect thread and enabled
cooperative garbage collection to fix customers' performance
problems.
The hybrid method in Firebird 2 should have the best
characteristics of both cooperative garbage collection and the
garbage collect thread. If there turn out to be cases where it
doesn't, you don't have to build a special kit to change modes.
Regards,
Ann
> What is the purpose of the cooperative garbage collection in Fb 2.0?It was intuitively obvious to the developers of InterBase 6.0
that a background garbage collect thread would be faster than
cooperative garbage collection. Unfortunately, under load, the
garbage collect thread failed to get enough cycles to do its work
and the whole system could grind to a halt. IBPhoenix provided
special kits that disabled the garbage collect thread and enabled
cooperative garbage collection to fix customers' performance
problems.
The hybrid method in Firebird 2 should have the best
characteristics of both cooperative garbage collection and the
garbage collect thread. If there turn out to be cases where it
doesn't, you don't have to build a special kit to change modes.
Regards,
Ann