LWN.net Logo

defragmentation of swap file?

defragmentation of swap file?

Posted Feb 5, 2009 12:43 UTC (Thu) by jengelh (subscriber, #33263)
In reply to: defragmentation of swap file? by brouhaha
Parent article: Online defragmentation for ext4

>It would be fine by me if online defragmentation of the swap file wasn't allowed.

This in fact, also holds true for FAT and NTFS. (It seems possible to get it moved by removing the system attrib from it, but who knows what side effects this has on a live swap...)


(Log in to post comments)

defragmentation of swap file?

Posted Feb 5, 2009 22:09 UTC (Thu) by amarjan (guest, #25108) [Link]

Indeed, and there's a utility for Windows called pagedefrag that will defragment the windows pagefile and other critical system files early on boot, before the system is up and using them.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds