[haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space
- From: "leavengood" <trac@xxxxxxxxxxxx>
- Date: Thu, 30 Aug 2012 17:49:05 -0000
#7742: SWAP file constantly recreated, takes up alot of space
-----------------------------------------+----------------------------
Reporter: Cypress | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Preferences/VirtualMemory | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-----------------------------------------+----------------------------
Comment (by leavengood):
I have several of these VM bugs in my ticket list, I should have worked on
them before we started working on the alpha4 release. Because it seems
like they might need to be fixed. With the amount of RAM some people can
have (such as myself) it is insane to have 16 GB of swap when you have 8
GB of RAM. For one thing it will probably never be used on Haiku, and in
general that is way too much swap.
I think the sizing heuristic needs to be just a tad bit smarter ;)
It should have a reasonable maximum, like 2 GB, and it should take into
account both the total size of the disk and the available space on that
disk. When it has calculated a reasonable size, it should check for the
settings file and create it if it doesn't exist and put in the chosen
size.
And the initialization code should check the VM settings and delete the
swap file if the settings exist and a current swap file exists, but the
virtual memory is turned off. That should be inside the if statement on
line 1345.
I think if all the above is done most of these bugs will be taken care of.
--
Ticket URL: <http://dev.haiku-os.org/ticket/7742#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.
Other related posts:
- » [haiku-bugs] [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- Cypress
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- mmlr
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space - leavengood
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- axeld
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- axeld
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- axeld
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- axeld
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5
- » [haiku-bugs] Re: [Haiku] #7742: SWAP file constantly recreated, takes up alot of space- kallisti5