Re: changing memory size with virsh setmem - results only visible in domain, not on host

2020-03-06 Thread Jim Fehlig

On 3/6/20 10:45 AM, Lentes, Bernd wrote:

Hi,

i have a Linux domain (Ubuntu 14.04) where we like to be able to change the 
amount of usable memory.
We have a balloon device and statistics are switched in 5 sec. rhythm.
The domain shows very quickly changes (following top) when we change the memory 
size with setmem, but the host does not show changes in the use
of memory for the respective domain.


How are you looking at it from the host? From the memory-related values in 
'virsh dominfo' or 'virsh dumpxml'? Is the host KVM or Xen?



Is that expected behavior ?

Host is SLES 12 SP4, libvirt is 4.0.0-8.15.2


There was a Xen bug along these lines, fixed by commit 11c8aca9. I've verified 
your version of libvirt contains that fix.


Regards,
Jim




KVM on CentOS 7 - sluggish performance with Win10 Guest

2020-03-06 Thread Benjammin2068

Hey all,

 I've been running a Win10 Pro (64bit) guest for some time now and 
originally it was pretty snappy and I had no complaints.

Somewhere in about the last 3-6 months I've been noticing sluggish performance 
-- but not overall.

The system is mostly remote so I do a lot of my admin via RDP or the local 
console with the KVM Manager.

I recently did a complete fresh install of Win10 Pro (1909. Previous install 
was 1607) and both show the same problem.

The ONLY real thing running on this VM is Milestone's surveillance system 
(standalone host).

Where I see the "sluggish" is:

Connecting to milestone mobile server (either through web browser or client). 
for the small number of cameras, the connection spool up takes like 15 seconds 
which is noticeably longer than other systems I have set up with more 
load/tasks in terms of cameras.

This used to be speedy and fine.

The other place I see sluggish operation is on the desktop doing some typical tasks and 
seeing "not responding" in the window of the task that goes away - but should 
it ever appear to begin with?


The system is a Supermicro motherboard with Dual Intel(R) Xeon(R) CPU E5-2640 
v4 @ 2.40GHz w/64GB

The Guest is provided with 20 cores in a config of 1 CPU, 10 cores - 2 threads 
per core.

There are dedicated NICs (dual NIC card) attached to the system via macvtap 
(and are not used by CentOS in any way except to pass through to this Guest)

I'm using QCOW2 for the base OS.
The storage volume for video are raw devices.

Once a process is running, performance seems fine... it seems to be starting 
processes or something.

I'm not sure -- and I'm not as intimate with KVM/libvirt as I'd like to be yet.

So I'm wondering if there's any performance tweaks I should know about.

I've read about using .img vs .qcow2 already.

I'm using virt-io drivers to some extent but is there anything else I'm 
missing?

Thanks in advance,

 -Ben




changing memory size with virsh setmem - results only visible in domain, not on host

2020-03-06 Thread Lentes, Bernd
Hi,

i have a Linux domain (Ubuntu 14.04) where we like to be able to change the 
amount of usable memory.
We have a balloon device and statistics are switched in 5 sec. rhythm.
The domain shows very quickly changes (following top) when we change the memory 
size with setmem, but the host does not show changes in the use 
of memory for the respective domain.
Is that expected behavior ?

Host is SLES 12 SP4, libvirt is 4.0.0-8.15.2

Bernd
-- 

Bernd Lentes 
Systemadministration 
Institute for Metabolism and Cell Death (MCD) 
Building 35.34 - Raum 208 
HelmholtzZentrum münchen 
bernd.len...@helmholtz-muenchen.de 
phone: +49 89 3187 1241 
phone: +49 89 3187 3827 
fax: +49 89 3187 2294 
http://www.helmholtz-muenchen.de/mcd 

Perfekt ist wer keine Fehler macht 
Also sind Tote perfekt
Helmholtz Zentrum München

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir.in Prof. Dr. Veronika von Messling
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671






snapshotting disk images with exchange db / volumes

2020-03-06 Thread Marc Roos
 
I have been asking at technet about if I could snapshot an exchange db 
volume[1]. But it looks like that windows server backup is sort of doing 
the same. Creating vs image, and backup that one. However they truncated 
the exchange db log files after a succesful procedure. 

I was wondering if someone is doing this already. How does the guest 
freeze work exactly in windows (In linux it is quite clear no io is 
done). I assume that if the guest is invoking the vss service, and then 
you snapshot on the host environment. You have a snapshot with a vss 
image? So if you want to recover, you first need to 'roll back' to that 
internal vss image on the snapshot?


[1]
https://social.technet.microsoft.com/Forums/office/en-US/7818e7a5-3c09-4f36-9158-e423d0c0a705/mailbox-database-disk-snapshot?forum=Exch2016GD

https://social.technet.microsoft.com/Forums/office/en-US/922ff22a-73d6-4b86-b718-b6300754a467/wsbexchangeexe-how-to-use-how-does-it-work-with-wbadmin-and-vssfull-fixing-external?forum=Exch2016GD