Public bug reported: Binary package hint: virtualbox-ose
Creating small fixed size VDI images is OK; but as the size of the image grows, the time required grows exponentially as can be seen from the console grab below. If I project these data up to 20 GiB size, that should take 14 hrs ! It basically takes so long, with VboxSVC hangs with 100% CPU that you might as well think that the computer stops, see Bug #352248. This is really weird since the created file must be pretty much full of zeros, as the size of the bz2-compressed file shows (compression ratio = 1e6) pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ time VBoxManage createhd --filename testimage.vdi --size 10 --variant Fixed Sun VirtualBox Command Line Management Interface Version 3.1.6_OSE (C) 2005-2010 Sun Microsystems, Inc. All rights reserved. 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Disk image created. UUID: dd5d9434-a8bf-47d0-a437-e59b5ab4edd2 real 0m0.677s user 0m0.012s sys 0m0.012s pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ rm testimage.vdi pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ time VBoxManage createhd --filename testimage.vdi --size 100 --variant Fixed Sun VirtualBox Command Line Management Interface Version 3.1.6_OSE (C) 2005-2010 Sun Microsystems, Inc. All rights reserved. 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Disk image created. UUID: ae0a7328-cd03-455c-9363-600950347a45 real 0m4.861s user 0m0.012s sys 0m0.032s pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ rm testimage.vdi pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ time VBoxManage createhd --filename testimage.vdi --size 1000 --variant Fixed Sun VirtualBox Command Line Management Interface Version 3.1.6_OSE (C) 2005-2010 Sun Microsystems, Inc. All rights reserved. 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Disk image created. UUID: 7f14597a-0256-4113-9c83-6703caad1cfc real 0m31.489s user 0m0.052s sys 0m0.096s pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ rm testimage.vdi pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ time VBoxManage createhd --filename testimage.vdi --size 2000 --variant Fixed Sun VirtualBox Command Line Management Interface Version 3.1.6_OSE (C) 2005-2010 Sun Microsystems, Inc. All rights reserved. 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Disk image created. UUID: 23c2c1da-320b-454a-a1c2-5a25cb21df7b real 2m13.335s user 0m0.316s sys 0m0.440s pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ rm testimage.vdi pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ time VBoxManage createhd --filename testimage.vdi --size 3000 --variant Fixed Sun VirtualBox Command Line Management Interface Version 3.1.6_OSE (C) 2005-2010 Sun Microsystems, Inc. All rights reserved. 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Disk image created. UUID: 2dd17c56-723b-47d3-bc0f-d7ffedcec8f7 real 3m38.469s user 0m0.488s sys 0m0.688s pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ ls -al ... -rw------- 1 paolog paolog 3145740800 2010-06-18 09:11 testimage.vdi ... pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ bzip2 testimage.vdi pao...@zzzzzzzzzz:~/.VirtualBox/HardDisks$ ls -al ... -rw------- 1 paolog paolog 3948 2010-06-18 09:11 testimage.vdi.bz2 ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: virtualbox-ose 3.1.6-dfsg-2ubuntu2 ProcVersionSignature: Ubuntu 2.6.32-22.36-generic-pae 2.6.32.11+drm33.2 Uname: Linux 2.6.32-22-generic-pae i686 Architecture: i386 Date: Fri Jun 18 09:20:13 2010 EcryptfsInUse: Yes InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427) ProcEnviron: LANGUAGE= LANG=it_IT.UTF-8 SHELL=/bin/bash SourcePackage: virtualbox-ose ** Affects: virtualbox-ose (Ubuntu) Importance: Undecided Status: New -- VBoxManage createhd --variant Fixed does not scale well with image size https://bugs.launchpad.net/bugs/595820 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs