[haiku-bugs] [Haiku] #8501: ClonedAreaMemory needs to be rethought

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sat, 28 Apr 2012 21:40:46 -0000

#8501: ClonedAreaMemory needs to be rethought
--------------------------------+------------------------------
 Reporter:  axeld               |        Owner:  czeidler
     Type:  bug                 |       Status:  new
 Priority:  high                |    Milestone:  R1
Component:  Servers/app_server  |      Version:  R1/Development
 Keywords:                      |   Blocked By:
 Blocking:                      |  Has a Patch:  0
 Platform:  All                 |
--------------------------------+------------------------------
 When the app_server is restarted, it will clone an area for each bitmap.
 This is very expensive, and can easily eat the complete address space.

 The client memory usually is one big area (usually up to 128 MB) filled
 with several bitmaps. If you put 1000 small bitmaps in there, you will
 need 128 GB of address space the way it's currently implemented.

 The app_server basically needs to rebuild the client memory allocator
 state again based on the space occupied by the reclaimed bitmaps instead.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8501>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts:

  • » [haiku-bugs] [Haiku] #8501: ClonedAreaMemory needs to be rethought - axeld