On 3/1/22 06:31, Patrick O'Callaghan wrote:
On Mon, 2022-02-28 at 18:26 -0500, Robert McBroom via users wrote:
> On 2/28/22 08:56, Tom Horsley wrote:
>> On Mon, 28 Feb 2022 00:21:30 -0500
>> Robert McBroom via users wrote:
>>
>>> With 4 processors and 2G response is atrocious.
>> Make sure you are using proper virtual disk and network drivers.
>> If you installed it with some sort of emulated IDE disk, it will
>> definitely have the effect of making performance horrible. Also
>> the disk cache mode has an extreme effect on performance. I forget
>> which cache mode it was, but one of them dropped disk I/O about
>> 98% slower when I was testing them.
>> _______________________________________________
> Exploring the use of VM's. Fairly plain install of CentOS8.
> Understood
> that Fedora server installed the VM structure. Where would one see
> alternate drivers? Networking seems to be all set up but doesn't see
> the
> router or the outside internet.
If you install the VM using virt-manager, you can check the device
controller options directly. For disks and network interfaces, the
"virtio" option will generally give the best performance.
As regards the network, the virt-manager defaults should just work, but
for other stuff my personal notes say this:
Libvirt creates VMs in the libvirt firewall zone, so services must
be added there:
For NFS:
# firewall-cmd --add-service mountd --zone=libvirt
# firewall-cmd --permanent --add-service mountd --zone=libvirt
# firewall-cmd --add-service nfs --zone=libvirt
# firewall-cmd --permanent --add-service nfs --zone=libvirt
# firewall-cmd --add-service nfs3 --zone=libvirt
# firewall-cmd --permanent --add-service nfs3 --zone=libvirt
# firewall-cmd --add-service rpc-bind --zone=libvirt
# firewall-cmd --permanent --add-service rpc-bind --zone=libvirt
For Samba:
# firewall-cmd --add-service samba --zone=libvirt
# firewall-cmd --permanent --add-service samba --zone=libvirt
# firewall-cmd --add-service samba-client --zone=libvirt
# firewall-cmd --permanent --add-service samba-client --zone=libvirt
poc
_______________________________________________
Installed from iso with virt-manager. The install used virtio. Not using
samba or nfs but added firewall commands anyway.
I can ping devices on the local network but can't get to the internet.
50 to 60% drops on the pings. Fully updated F35 server edition on host.