Defragmentation should be an issue for you on an SSD, even if there is some, right?<br><br><br>------------------------------<br><br>Message: 4<br>Date: Wed, 28 Oct 2020 17:08:03 -0700<br>From: Matt Graham <mhgraham@crow202.org><br>To: <plug-discuss@lists.phxlinux.org><br>Subject: Re: swap file vs swap partition<br>Message-ID: <064f92165a42d6f88a3430b42a5211f6@crow202.org><br>Content-Type: text/plain; charset=UTF-8; format=flowed<br><br>On 2020-10-28 16:24, Steve Litt via PLUG-discuss wrote:<br>> On Wed, 28 Oct 2020 13:43:22 -0700<br>> Bob Elzer via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:<br>>> The biggest difference is, files can become fragmented while<br>>> partitions don't.<br>> I had no idea there was such a thing as a Linux swap file. I guess<br>> that's a recent thing.<br><br>You could use a file as swap space in the early 2000s. I remember<br>doing that on a few machines then.<br><br>> If my partition file becomes fragmented, is there a way for me<br>> to defragment it?<br><br>Probably not. However, file fragmentation is not generally a problem<br>on modern machines because disks and CPUs are much faster than they were<br>in 1998. If you use ext4 and have a disk that's less than 10 years old<br>and less than 95% full, you will not notice anything. /swapfile on my<br>laptop has 11 extents and it doesn't seem to have any problems.<br><br>--<br>Crow202 Blog: <a href="http://crow202.org/wordpress">http://crow202.org/wordpress</a><br>There is no Darkness in Eternity<br>But only Light too dim for us to see.<br><br>------------------------------