This page (revision-40) was last changed on 23-Apr-2022 17:06 by Harry Metske

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
40 23-Apr-2022 17:06 41 KB Harry Metske to previous
39 23-Apr-2022 17:05 41 KB Harry Metske to previous | to last
38 23-Apr-2022 17:05 40 KB Harry Metske to previous | to last --biosbootmenu disabled, not more than one cpu
37 23-Apr-2022 17:05 38 KB Harry Metske to previous | to last
36 23-Apr-2022 17:05 37 KB Harry Metske to previous | to last
35 23-Apr-2022 17:05 37 KB Harry Metske to previous | to last
34 23-Apr-2022 17:05 37 KB Harry Metske to previous | to last
33 23-Apr-2022 17:05 37 KB Harry Metske to previous | to last
32 23-Apr-2022 17:05 37 KB Harry Metske to previous | to last
31 23-Apr-2022 17:05 36 KB Harry Metske to previous | to last
30 23-Apr-2022 17:05 35 KB Harry Metske to previous | to last
29 23-Apr-2022 17:05 35 KB Harry Metske to previous | to last
28 23-Apr-2022 17:05 35 KB Harry Metske to previous | to last guest properties
27 23-Apr-2022 17:05 33 KB Harry Metske to previous | to last
26 23-Apr-2022 17:05 32 KB Harry Metske to previous | to last
25 23-Apr-2022 17:05 32 KB Harry Metske to previous | to last
24 23-Apr-2022 17:05 31 KB Harry Metske to previous | to last
23 23-Apr-2022 17:05 30 KB Harry Metske to previous | to last
22 23-Apr-2022 17:05 30 KB Harry Metske to previous | to last
21 23-Apr-2022 17:05 29 KB Harry Metske to previous | to last cpu affinity

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 8 removed 2 lines
%%warning A new report on [VirtualBox-4.1] is also available %%
At line 644 removed one line
* removing /etc/udev/rules.d/70-persistent-net.rules (or you get eth1 in use instead of eth0 on the cloned guest)
At line 694 changed one line
VBoxManage modifyvm ubm$N --biosbootmenu disabled --memory 64 --vram 6 --boot1 disk --hda HardDisks/ubm${N}disk.vdi --nic1 bridged --bridgeadapter1 wlan0 --vrdp on --vrdpport $VRDPPORT
VBoxManage modifyvm ubm$N --memory 64 --vram 6 --boot1 disk --hda HardDisks/ubm${N}disk.vdi --nic1 bridged --bridgeadapter1 wlan0 --vrdp on --vrdpport $VRDPPORT
At line 784 removed 15 lines
* what irritated me is that the output of the VBoxManage command is always cluttered with Sun advertisement :
{{{
VirtualBox Command Line Management Interface Version 3.0.10
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
}}}
also the long command name VBoxManage with two capitals in it is not quick to type, so I got rid of that by create this one line script :
{{{
VBoxManage $* |grep -v 'VirtualBox Command Line Management Interface Version' | grep -v 'Sun Microsystems, Inc.' | grep -v 'All rights reserved'
}}}
* you cannot assign more than one CPU, if you do it looks like it needs hw-virt, in VirtualBox gui you cannot even select more than one cpu, with the commandline you can, but it won't boot (even if ''--hwvirtex off'' has been set) :
{{{
Error: failed to start machine. Error message: VT-x is not available. (VERR_VMX_NO_VMX).
Unknown error creating VM (VERR_VMX_NO_VMX)
}}}
At line 819 removed 118 lines
!! Performance
! tar -czvf
I wanted to get an idea of much overhead there is, so comparing running a load on native hardware against running under VirtualBox.\\
Now you do a complete study on this subject, but no time for that.
I did just one very simple test :
{{{
metskem@ubm7:/tmp$ time tar -czf /tmp/ff.tar /usr/*
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
real 1m20.259s
user 0m27.586s
sys 0m27.286s
}}}
Then scp this tar file to the host, untar it to a temp directory and tar it again in the same way :
{{{
metskem@gneisenau /tmp/fff $ time tar -czf /tmp/ffnative.tar usr
real 0m29.273s
user 0m26.282s
sys 0m1.284s
}}}
||type||host ||guest
|real|29|80
|user|26|28
|sys|1|27
This is rather disappointing, I like to do some testing with a Java workload....
! ant compile jspwiki
{{{
metskem@ubm7:~/jspwiki$ time ant clean compile
Buildfile: build.xml
clean:
[delete] Deleting directory /home/metskem/jspwiki/build
[mkdir] Created dir: /home/metskem/jspwiki/build/tests/classpath
init:
[mkdir] Created dir: /home/metskem/jspwiki/build/classes
compile:
[javac] Compiling 431 source files to /home/metskem/jspwiki/build/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
BUILD SUCCESSFUL
Total time: 15 seconds
real 0m16.701s
user 0m3.372s
sys 0m7.512s
}}}
{{{
metskem@gneisenau /tmp/fff/jspwiki $ time ant clean compile
Buildfile: build.xml
clean:
[delete] Deleting directory /tmp/fff/jspwiki/build
[mkdir] Created dir: /tmp/fff/jspwiki/build/tests/classpath
init:
[mkdir] Created dir: /tmp/fff/jspwiki/build/classes
compile:
[javac] Compiling 431 source files to /tmp/fff/jspwiki/build/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
BUILD SUCCESSFUL
Total time: 10 seconds
real 0m10.653s
user 0m17.541s
sys 0m0.744s
}}}
||type||host (taskset -c 1)||host ||guest (taskset -c 1)||guest
|real|17|11|17|20
|user|16|18|3|4
|sys|1|1|8|9
This is a strange result, the host takes 18 user seconds versus 3 user seconds in the guest, for the host the wall-clock time is less than the sum of user and sys (2 cores, that's why ?), ............Yes indeed, that's why :
{{{
metskem@gneisenau /tmp/fff/jspwiki $ time taskset -c 1 ant clean compile
Buildfile: build.xml
clean:
[delete] Deleting directory /tmp/fff/jspwiki/build
[mkdir] Created dir: /tmp/fff/jspwiki/build/tests/classpath
init:
[mkdir] Created dir: /tmp/fff/jspwiki/build/classes
compile:
[javac] Compiling 431 source files to /tmp/fff/jspwiki/build/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
BUILD SUCCESSFUL
Total time: 16 seconds
real 0m16.766s
user 0m15.897s
sys 0m0.816s
}}}