Ticket #206 (closed: fixed)

Opened 12 years ago

Last modified 5 years ago

Update WorkspaceFactory to use the MemoryManager

Reported by: Nick Draper Owned by: Roman Tolchenov
Priority: major Milestone: Iteration 11
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Currently the Workspace Manager uses the requested size of a workspace to decide wether to create a ManagedWorkspace or not. This is done by comparing HistogramCount*TimeBins to a value in the .properties file.

This should be updated to use the information that can be provided by the MemoryManager. I suggest that we change it so it reads a value from the .properties file that gives a percentage of the available memory that may be used for the workspace. Therefore if they have the value set to 50% then if a full workspace would take less than 50% of the available memory then that would be returned, otherwise a managed workspace would be used.

You will need to do a bit of benchmarking to investigate what a sensible default value should be.

Change History

comment:1 Changed 12 years ago by Roman Tolchenov

(In [1316]) WorkspaceFactory uses memory information to decide when to create a ManagedWorkspace. re #206

comment:2 Changed 12 years ago by Roman Tolchenov

  • Status changed from new to closed
  • Resolution set to fixed

comment:3 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1054

Note: See TracTickets for help on using tickets.