Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ /etc/init.d/apparmor stop
$ /etc/init.d/apparmor teardown
$ update-rc.d -f apparmor remove

 

Isolate 2 cores from the OS by modifying: /etc/default/grub

Code Block
GRUB_CMDLINE_LINUX_DEFAULT="text isolcpus=10,11"

 

Update grub:

Code Block
$ sudo update-grub

 

Reboot

Install barometer build-essentials:

...

Code Block
<LoadPlugin cpu>
  Interval 1
</LoadPlugin>


<LoadPlugin virt>
  Interval 1
</LoadPlugin>


LoadPlugin csv
 
LoadPlugin network


<Plugin cpu>
 ReportByCpu true
 ReportByState false
 ValuesPercentage true
</Plugin>

<Plugin csv>
 DataDir "/tmp/collectd/csv"
# StoreRates false
</Plugin>

<Plugin network>
        # server setup:
        Listen "<host ip address>" "28597"
        <Listen "<host ip address>" "28597">
        </Listen>
</Plugin>


 
<Plugin virt>
 Connection "qemu:///system"
# RefreshInterval 60
# Domain "name"
# BlockDevice "name:device"
# BlockDeviceFormat target
# BlockDeviceFormatBasename false
# InterfaceDevice "name:device"
# IgnoreSelected false
 HostnameFormat uuid
# InterfaceFormat name
# PluginInstanceFormat name
 Instances 1
 ExtraStats "disk pcpu"
</Plugin>

 

Core 10 and 11 were isolated from the OS using the isolcpus argument to grub command line and using virsh to Pin the vCPUs to those cores:

Code Block
$ virsh vcpupin test 0 10
$ virsh vcpupin test 1 11
 
Guest

OS: Ubuntu 16.04.2 LTS

Install collectd and stress

...