Title | VM Arena uses up zones too quickly. |
Status | open |
Priority | nice |
Assigned user | Richard Brooksby |
Organization | Ravenbrook |
Description | VM Arena uses up zones too quickly. The segment allocation policy of the arena will use up all the zones before it decides to get any more (reserved) address space from the operating system. This is inflexible and wrong. It's wrong because the current policy will result in multiple generations sharing one or more zones in their genZoneSet preferences (which can lead to suboptimal segment placement). It's inflexible because there's some tradeoff to be made between using up another zone (or the first use of any given zone) and getting more address from the operating system. Both zones and address space are a valuable resource neither one should be consumed lightly. Related to this is the fact that the once a zone has been "used" by a generation it can never become unused. This is job job001707. This is also related to placement policy, job001708, in that a segment could be placed in an entirely new area of address space (new chunk) as opposed to a new zone. |
Analysis | It's difficult to measure the trade-off. But it should at least be easier for MPS developers to fiddle with it. Code is in VMAlocPolicy in arenavm.c (where the actual truth is a little bit different, see barge flag). |
How found | unknown |
Evidence | I just know. |
Observed in | 1.108.0 |
Created by | David Jones |
Created on | 2007-09-07 15:39:20 |
Last modified by | Richard Brooksby |
Last modified on | 2013-06-16 07:23:10 |
History | 2007-09-06 DRJ Created. 2013-03-19 GDR Assigned to RB. 2013-06-16 RB Downgraded to "nice" as there is no evidence that this is affecting anyone (see job003499). |