[haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Tue, 04 Sep 2012 19:34:50 -0000

#7742: SWAP file constantly recreated, takes up alot of space
-----------------------------------------+----------------------------
   Reporter:  Cypress                    |      Owner:  axeld
       Type:  bug                        |     Status:  closed
   Priority:  normal                     |  Milestone:  R1/alpha4
  Component:  Preferences/VirtualMemory  |    Version:  R1/Development
 Resolution:  fixed                      |   Keywords:
 Blocked By:                             |   Blocking:
Has a Patch:  1                          |   Platform:  All
-----------------------------------------+----------------------------

Comment (by kallisti5):

 Axel:
 > I would make the default size dependent on the size of memory: if < 1GB
 *2 is fine, above that, I would think that the same amount as the amount
 of memory is sufficient.

 Mostly I was trying to avoid having any "set" numbers. But yeah.. 16GB * 2
 seems a little silly. Making the change now

 > If you don't absolutely need floating point computation, don't use it in
 the kernel. In this case /4 respectively /10 should do the trick here.
 Good point.  Re-factoring now

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7742#comment:17>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: