"sudo port upgrade outdated" fills HDD
Ryan Schmidt
ryandesign at macports.org
Wed Feb 17 17:45:26 PST 2010
On Feb 17, 2010, at 17:54, Daniel J. Luke wrote:
> On Feb 17, 2010, at 6:40 PM, Sam Kuper wrote:
>> Should I be worried that these swapfiles don't match the pattern you've described?
>
> Probably not, perhaps things are set up differently for laptops.
>
> The swap file generation is handled by dynamic_pager which by default makes subsequent files larger, but can be set up to make files all of the same size.
Each major version of Mac OS X seems to have a different way of calling dynamic_pager resulting in different sizes of vm files. I doubt it varies by computer model, but it might vary based on the amount of physical memory. I wouldn't worry what size the individual files are, just what total space they occupy.
For comparison, on a MacBook Pro with Snow Leopard and 4 GB RAM I have:
-rw------T 1 root wheel 4294967296 Dec 7 12:12 sleepimage
-rw------- 1 root wheel 67108864 Feb 17 19:41 swapfile0
-rw------- 1 root wheel 67108864 Feb 17 19:41 swapfile1
-rw------- 1 root wheel 134217728 Feb 17 19:41 swapfile2
-rw------- 1 root wheel 268435456 Feb 17 19:41 swapfile3
-rw------- 1 root wheel 536870912 Feb 17 19:41 swapfile4
-rw------- 1 root wheel 1073741824 Feb 17 19:41 swapfile5
-rw------- 1 root wheel 1073741824 Feb 17 19:41 swapfile6
-rw------- 1 root wheel 1073741824 Feb 17 19:41 swapfile7
-rw------- 1 root wheel 1073741824 Feb 17 19:41 swapfile8
On a MacBook Pro with Leopard and 2 GB RAM I have:
-rw------T 1 root wheel 2147483648 May 10 2008 sleepimage
-rw------T 1 root wheel 67108864 Feb 11 00:51 swapfile0
-rw------T 1 root wheel 67108864 Feb 14 05:28 swapfile1
-rw------T 1 root wheel 134217728 Feb 14 06:03 swapfile2
-rw------T 1 root wheel 134217728 Feb 14 06:06 swapfile3
-rw------T 1 root wheel 134217728 Feb 14 06:07 swapfile4
-rw------T 1 root wheel 134217728 Feb 15 15:43 swapfile5
-rw------T 1 root wheel 134217728 Feb 17 06:51 swapfile6
More information about the macports-users
mailing list