February 16, 201412 yr Sorry if this has already been covered but I wasn't really able to find anything specific from searching. If i wanted to increase the vcpu and memory for archVM do I simply edit the arch.cfg file and then reboot the archVM? I have plex media server installed and would like to give the VM more resources than the default settings that came with ironic's vm appliance. Thanks!
February 16, 201412 yr Sorry if this has already been covered but I wasn't really able to find anything specific from searching. If i wanted to increase the vcpu and memory for archVM do I simply edit the arch.cfg file and then reboot the archVM? I have plex media server installed and would like to give the VM more resources than the default settings that came with ironic's vm appliance. Thanks! Basically, yes. Rather than reboot, I shut the VM down, edited the file and restarted it, but yes, you just need to edit that file with the vcpu and memory that you want to include.
February 16, 201412 yr Author thanks! I was pretty sure it was that simple until I started googling and got super confused and wasn't sure anymore. Also couldn't tell from looking at the "xl top" command. "VCPUS" always shows "1" for archVM.
February 16, 201412 yr You need to put single quotes around the vcpu number. Sent from my Nexus 5 using Tapatalk
February 18, 201412 yr Author You need to put single quotes around the vcpu number. Sent from my Nexus 5 using Tapatalk Thanks! It worked.
February 19, 201412 yr Author Is there a way or a command that I can use to verify that archVM is indeed using 8 cores that i assigned it? I can't tell from the readings that the "top" command is giving me.
February 19, 201412 yr ...when running top, press "1"...the timings will be shown for each CPU/core. Also check the file /proc/cpuinfo .. in there, you'll find a section for each processor/core number, starting from "processor : 0".
February 19, 201412 yr Author ...when running top, press "1"...the timings will be shown for each CPU/core. Also check the file /proc/cpuinfo .. in there, you'll find a section for each processor/core number, starting from "processor : 0". So apparently after running "cat /proc/cpuinfo | grep processor" it only shows 1 processor (0). So I guess editing the arch.cfg file didn't work.
February 19, 201412 yr Author I figured it out. It was something simple that i didn't notice. There was a # in front of vcpus. I deleted the "#" and added 8 without quotes. It now shows 8 cpus. Thanks! I now see a huge difference in plex transcoding. Now onto figuring out sabnzbd!
February 19, 201412 yr xl top is the easiest way ...this will only confirm that the VM config is set-up with the no. of VCPUs, but will not confirm that the VM will actually make use if these. Only a check inside the running VM will give proof.
Archived
This topic is now archived and is closed to further replies.