Hello everyone,
my Ubuntu development VM has been slowing down considerably over the last months when it comes to booting time. It usually needs up to 5 minutes to get "started" and another 5 minutes to start up Pycharm, load the modules, a browser and so on. Compared to the VM I use for College, running Ubuntu 18.04, this VM takes a total of a minute to both boot the system and CodeBlocks, open a browser and so on.
On the VM I have been getting very close to full capacity of the allocated hard disk and then deleting like 70% of it again (the size is about 500GB). Background: I develop for a webapp that Upload possibly large files and then generates some more big stuff. So every process basically creates up to 500MB of files. After months of developing the disk obviously gets full and I delete most of it and now got into the habit of not letting it get to the place where I have like 2GB left...
I feel this might be a case where defragmentation could be useful on my VM system, even though lots of people say it's not that much needed on Linux systems. What I think supports this idea is that when loading up I have 100% disk activity on the disk the VM is on, at an access rate of less than 10MB/s. And the disk is easily capable of reading at well over 100MB/s. I know that since lots of files are loaded the speed won't reach that mark, however I still feel the gap is too large, especially since on my other VM it is over 5x faster.
How do I defrag the guest on Ubuntu? I don't know much about partitions and defragging Linux systems, much less on a virtual system.
Best and thanks a lot.
Computer I am using: OMEN by HP 15.6-inch Gaming Laptop, i5-8300H Processor, GeForce GTX 1050Ti 4GB, FHD IPS Thin Display, 12GB 2666MHz RAM, 1TB HDD & 128GB PCIE SSD, Windows 10 (15-dc0010nr, Black), Metal
my Ubuntu development VM has been slowing down considerably over the last months when it comes to booting time. It usually needs up to 5 minutes to get "started" and another 5 minutes to start up Pycharm, load the modules, a browser and so on. Compared to the VM I use for College, running Ubuntu 18.04, this VM takes a total of a minute to both boot the system and CodeBlocks, open a browser and so on.
On the VM I have been getting very close to full capacity of the allocated hard disk and then deleting like 70% of it again (the size is about 500GB). Background: I develop for a webapp that Upload possibly large files and then generates some more big stuff. So every process basically creates up to 500MB of files. After months of developing the disk obviously gets full and I delete most of it and now got into the habit of not letting it get to the place where I have like 2GB left...
I feel this might be a case where defragmentation could be useful on my VM system, even though lots of people say it's not that much needed on Linux systems. What I think supports this idea is that when loading up I have 100% disk activity on the disk the VM is on, at an access rate of less than 10MB/s. And the disk is easily capable of reading at well over 100MB/s. I know that since lots of files are loaded the speed won't reach that mark, however I still feel the gap is too large, especially since on my other VM it is over 5x faster.
How do I defrag the guest on Ubuntu? I don't know much about partitions and defragging Linux systems, much less on a virtual system.
Best and thanks a lot.
Computer I am using: OMEN by HP 15.6-inch Gaming Laptop, i5-8300H Processor, GeForce GTX 1050Ti 4GB, FHD IPS Thin Display, 12GB 2666MHz RAM, 1TB HDD & 128GB PCIE SSD, Windows 10 (15-dc0010nr, Black), Metal