This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nanjekyejoannah
Recipients nanjekyejoannah, nascheme, pablogsal, tim.peters
Date 2019-12-28.18:40:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577558421.74.0.267996491707.issue39143@roundup.psfhosted.org>
In-reply-to
Content
>5 bit *per object* is a lot because it scales with the number of objects. It will quickly obliterate >any gain that we get from some objects being deallocated sooner (which is what we are trying >to achieve). Using inter-generations has a constant cost that is negligible. 

I agree but this may not require us falling back to a two word header per object as was the original worry. If it is a worse tradeoff to managing steps then I would suggest to stick to the steps. Again in the end it is about what tradeoffs are willing to work with.

 >I am not sure what you mean with "changing the age >threshold for objects looks simpler than >creating and managing steps". If you mean changing >the generational threshold, I think that >does not fix the problem as it only delays or speeds up >collections but the problem is >scale-invariant with the number of objects.

I meant that for any need for increase in promotion delay, we need to add a step and manage it which is more complex than for example when tracking ages, incase of a change we only change the age threshold which looks simpler to implement.

>I will propose maybe to only do sub-steps for the first generation (as many papers suggest >that is where the bigger gains are).

Correct, since the premise is we just want to delay promotion of young objects to an older generation so that they have enough time to die. The steps should reasonably be in the first generation.

How many semi-spaces do you think of having in this generation? Most systems have and recommend two.
History
Date User Action Args
2019-12-28 18:40:21nanjekyejoannahsetrecipients: + nanjekyejoannah, tim.peters, nascheme, pablogsal
2019-12-28 18:40:21nanjekyejoannahsetmessageid: <1577558421.74.0.267996491707.issue39143@roundup.psfhosted.org>
2019-12-28 18:40:21nanjekyejoannahlinkissue39143 messages
2019-12-28 18:40:21nanjekyejoannahcreate