VirtualBox

Opened 9 years ago

Last modified 8 years ago

#13612 closed defect

Vboxmanage bandwidthctl disk does not work for Windows and Linux — at Initial Version

Reported by: RohitJ Owned by:
Component: VM control Version: VirtualBox 4.3.18
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

I have tried running as per the advice in the manual (of course replacing the appropriate "VM name" and ports):

VBoxManage bandwidthctl "VM name" add Limit --type disk --limit 20M VBoxManage storageattach "VM name" --storagectl "SATA" --port 0 --device 0 --type hdd --medium disk1.vdi --bandwidthgroup Limit VBoxManage storageattach "VM name" --storagectl "SATA" --port 1 --device 0 --type hdd --medium disk2.vdi --bandwidthgroup Limit

However, when I run fio benchmark to check I am always getting a bandwidth which is not related to the limit I set.

So, I ran the fio benchmark with ioengine=posixaio to make sure that the io is asynchronous, however I see no difference.

This runs fine on a host MAC and guest Ubuntu and there are issues with host Windows, Ubuntu and RHEL6.

The guest version on host Ubuntu: Linux abcdef-VirtualBox 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 i686 i686 i686 GNU/Linux

The host version on Ubuntu: Linux cs736 3.13.0.37-generic #64-ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 i686 i686 i686 GNU/Linux

The guest version on host Mac: Linux shachi-VirtualBox 3.13.0-32-generic #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

The host version on host Mac: Darwin Shachi.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64

Change History (1)

by RohitJ, 9 years ago

Attachment: VBox.log.1 added

This is the log of the guest where we see that the bandwidthctl is not working

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use