Extremely slow disk performance ubuntu linux guest Mac OS X 11.6.6

Discussions related to using VirtualBox on Mac OS X hosts.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Extremely slow disk performance under Ubuntu kernels 5+

Post by fth0 »

I read your latest posts in both your threads (note that crossposting is deprecated or even forbidden on the VirtualBox forums, but you were lucky so far not to be caught by the moderators ;)), and have some remarks:

Virtual disk images change all the time when a VM is being used. Therefore, using a backup method like Time Machine was generally a bad idea, because the images would be backed up every hour then (assuming a long-running VM). This changed with macOS Big Sur, when Time Machine started using APFS itself.

APFS is known to be optimized for SSD storage and to be bad on HDD storage, that's why Apple first used it on SSDs only. You can find some background information on that in the corresponding Wikipedia article.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Extremely slow disk performance ubuntu linux guest Mac OS X 11.6.6

Post by mpack »

Topics merged.
AndrewA
Posts: 18
Joined: 5. May 2021, 00:56

Re: Extremely slow disk performance ubuntu linux guest Mac OS X 11.6.6

Post by AndrewA »

I got a significant boost in performance after using vboxmanage clonemedia to create a copy of the vdi. This apparently defragments the block map for dynamically sized vdis during the copy process.

This post contained the clue: viewtopic.php?t=8046
Post Reply