Poor VM Performance

Post Reply
Ryan77
Starting out
Posts: 10
Joined: Thu Aug 07, 2014 12:46 pm

Poor VM Performance

Post by Ryan77 »

1 vm, 4GB RAM, 2 cores on a new T-453A. I am the only user of the qnap and this is its only role aside from file server. Performance is slow, almost reminds me of dial up with pcanywhere from the early 90's. Well maybe not that bad.

It is a Windows 10 professional vm, all MS updates. Only two softwares installed. Quicken personal finance software, and teamviewer for remote access. After installing and updating windows, I mounted the tools and ran the install. My question to all, if my QTS and Virtualization Station was up to date did I install the latest tools? Is there anything else folks do to increase performance?

Thank you all for any suggestions,

Ryan
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: Poor VM Performance

Post by Toxic17 »

Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
User avatar
Trexx
Ask me anything
Posts: 5393
Joined: Sat Oct 01, 2011 7:50 am
Location: Minnesota

Re: Poor VM Performance

Post by Trexx »

Ryan77 wrote: My question to all, if my QTS and Virtualization Station was up to date did I install the latest tools? Is there anything else folks do to increase performance?
The "Guest Tools" version that QNAP bundles with VS, will NOT be the latest version as referenced in my Tutorial linked above. I generally haven't had any issues using the latest VirtIO drivers EXCEPT on occasion the QXL driver. The rest of them have installed fine.

A couple things to keep in mind, you are working on a celeron class processor in your QNAP. Works great for QNAP functions, but it is limited in horsepower for running VM"s, so even with everything configured right... it still won't be "Speedy"

Secondly, I wouldn't use Teamviewer for remote access (unless you are WAN remote), enable RDP access and use RDP client. Works much better. Other options are SPICE or VNC client, but I tend to stick with RDP access.
Paul

Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350

Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
Ryan77
Starting out
Posts: 10
Joined: Thu Aug 07, 2014 12:46 pm

Re: Poor VM Performance

Post by Ryan77 »

Thank you Paul for the quick reply. I will review you tutorial in detail tonight.

The performance is about the same using team viewer or RDP on the same network plugged into the same Gig Switch. I will try your suggestions away from team viewer.

I upgraded to this T-453 with 8GB of RAM from another QNAP specifically for virtualization station. I hope I am able to gain some performance, but now fear I may have wasted money and question why qnap would allow this software to run on this device. I would have bumped up to a larger unit but thought to my self its one small client VM doing one task running my quicken software, I am not looking to run multiple vm's so a more powerful system did not come to mind.
User avatar
Trexx
Ask me anything
Posts: 5393
Joined: Sat Oct 01, 2011 7:50 am
Location: Minnesota

Re: Poor VM Performance

Post by Trexx »

Feel free to post some screenshots of your VM config settings if you run into questions, etc.

Everyones definition of speedy is different, so without a "fact-based" reference point it is hard to argue right/wrong. :)
Paul

Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350

Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
Porky
New here
Posts: 5
Joined: Mon Sep 11, 2017 1:08 am

Re: Poor VM Performance

Post by Porky »

I have a Win 2K16 Domain Controller setup and have been struggeling with performance for weeks. The system became so slow that I could enter a letter in the editor and then return some 5 minutes later to then eventually see it displayed.
Surfing the web I landed here and the pointers for the add in tools were helpful. However, I came across a well documented 'How To' which may help some of you guys out there:
How to Improve Performance of a QNAP VM Using Virtio Drivers: https://www.youtube.com/watch?v=UNvEaBGc73c .
I found a lot of effort was put into the very clearly explained solution shown.
Enjoy,
If life was just black & white, we'd probably all be unemployed :wink:
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: Poor VM Performance

Post by Moogle Stiltzkin »

Trexx wrote: Tue Sep 26, 2017 10:43 pm Secondly, I wouldn't use Teamviewer for remote access (unless you are WAN remote), enable RDP access and use RDP client. Works much better. Other options are SPICE or VNC client, but I tend to stick with RDP access.
any rdp client you recommend? :'

is it possible to do audio via networking, or is the only solution to plug in speakers direct into the QNAP NAS?


also in regards to performance tweaks, is there anything besides the virtio do we need to setup ?
https://www.youtube.com/watch?v=UNvEaBGc73c


like in the vm settings hard drive, should we be enabling caching? :' because in the youtube the guy left that alone.

RDP is semantic. The RDP is aware of controls, fonts, and other similar graphical primitives. This means that when rendering a screen across a network, this information is used to compress the data stream significantly. For instance, if you know that this region of the screen if occupied by a button, with the color grey, then you don't need to send an image of the button across the network, but merely information such as location of this button, size and color.

VNC is "dumb" in this respect, and largely functions by sending the actual images across the network.

RDP is tightly coupled to the Windows platform whereas VNC is available for most platforms. RDP is also seen as far more performant than VNC, due to the semantic advantage.
https://superuser.com/questions/32495/w ... rdp-vs-vnc


I found some answers here
viewtopic.php?f=318&t=130522&p=600492&h ... ck#p600492
Last edited by Moogle Stiltzkin on Tue Jun 25, 2019 3:21 pm, edited 2 times in total.
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Poor VM Performance

Post by dolbyman »

what os are you running moogle ?

rdp clients should be a default install on most modern windows versions

I have audio via rdp .. but it can be hit or miss if it runs ok or crackles
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: Poor VM Performance

Post by Moogle Stiltzkin »

dolbyman wrote: Tue Jun 25, 2019 11:12 am what os are you running moogle ?

rdp clients should be a default install on most modern windows versions

I have audio via rdp .. but it can be hit or miss if it runs ok or crackles
oops forgot to mention.

im using win10 64bit vm. 4 core, 8gb ram.

in the virtual station, the only option in UI was the vnc. I couldn't find a rdp. So i'm assuming the rdp trexx was talking about was the one in the VM itselfs, to enable that rdp?
https://www.groovypost.com/howto/setup- ... indows-10/

rdp clients should be a default install on most modern windows versions
oo the default in windows 10? okay i'll check it out, thx :) i was assuming i need to install some third party client for it.

u got audio to work with rdp? then i need to get that working asap. oo... well if i can get it to work i'll post back if it's any different on my end.


*update

tried but couldn't get it to work. I'm trying to RDP over local lan, but must have missed a step or something :S
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Poor VM Performance

Post by dolbyman »

what users are allowed to connect to the rdp session?

or does not even connect to the user auth?
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: Poor VM Performance

Post by Moogle Stiltzkin »

dolbyman wrote: Tue Jun 25, 2019 12:55 pm what users are allowed to connect to the rdp session?

or does not even connect to the user auth?
i got it to work.

i enabled the rdp DEVELOPER initially.

after checking carefully, i enabled the regular rdp. It says "for other devices to connect, use this computer name".

So i then run the rdp client from the other machine (non vm) using that and it finds it. I just login with credentials then walah :D


comparing VNC to RDP.

First thing i notice was colors. colors looked much better in rdp. 2nd thing i tested was youtube. playback was much smoother no tearing. I didn't even install the nvidia graphics drivers or use the nvidia graphics card yet either (if i did i think i would be forced to plug in a hdmi monitor for it to be usable. i'll test that later 8) )

i installed video player
https://www.videohelp.com/software/LAV-Filters-Megamix

had to use lowest setting (EVR). It's playable but at 1080p for a highbit rate 1080p video it will barely play. But if i resize the video player it plays fine. Bandwidth issue? :' that said i'm impressed it even worked.

*update

mpv seems to work much smoother even at maxed window resolution.
https://mpv.io



You mentioned clicking audio? but my audio works just fine, i don't notice any issues :)


i haven't tried gaming yet, but i'd rather do that with the nvidia graphics card hooked up and installed. on my to do list.


*update
dolbyman wrote: Tue Jun 25, 2019 11:12 am I have audio via rdp .. but it can be hit or miss if it runs ok or crackles
okay i think i heard what you described. for me it was obvious during the windows 10 notification pop, theres a sound and it had a weird sort of crackling noise. Not too bad but it was quite transparent.

but during youtube and watching a video, the audio seemed fine. So if it's just gonna be one of those rare occurrences and not during listening to music or watching video etc, then i'm not too bothered by it.
Last edited by Moogle Stiltzkin on Tue Jun 25, 2019 8:35 pm, edited 1 time in total.
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: Poor VM Performance

Post by Moogle Stiltzkin »

one change in rdp i didn't like that worked before in VNC was this

Image


In win10 start, you can type text and it will prompt the text shortcut. But i get instead in RDP a blank box. Any ideas how to fix that Image

other than that oddity, i'm pretty happy with rdp so far.


*update

ok i solved it. change the hard drive to use write through. Tbh i don't know if that is the best setting or not :'
https://www.computerweekly.com/feature/ ... -explained


*update

thats weird. i relogged into rdp, and notice the same issue again :S ...
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Poor VM Performance

Post by dolbyman »

never had this issue on rdp

one issue I have on some nvidia cards (quadro) is, the nview driver slows the gui down on rdp..unitstalling nview on driver update fixes that
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: Poor VM Performance

Post by Moogle Stiltzkin »

i may have figured out the black screen issue.

Windows 10 1903 Bug May Show Black Screen in Remote Desktop
Microsoft has added a new bug to the list of known issues in Windows 10 1903 about Remote Desktop connections displaying a black screen when connecting to devices using older graphic drivers.

According to the bug report, when a user connects via Remote Desktop to device with certain older GPU drivers, including drivers the Intel 4 series of integrated GPUs, a black screen will be shown.
https://www.bleepingcomputer.com/news/m ... e-desktop/


:' i wonder could this be it? either way, rdp is acting wonky in the recent win10 builds so... :shock:
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
iMactouch
Getting the hang of things
Posts: 69
Joined: Wed May 11, 2016 6:29 pm

Re: Poor VM Performance

Post by iMactouch »

Before my now running TS-453Be I also used a TS-453A with 16GB RAM. There I had a working Windows 10 Ultimate which is running not very snappy via RDP. Before that I used Windows 7 which was running faster than Windows 10 and was snappy. What brought a little bit of speed was to let the VM ran from an external via USB 3 attached SSD. But QNAP stopped the Virtualization station working like this.

Now I am using a TS-453Be with 16GB RAM and a SATA M.2 SSD for the VM, which is now a 2019 Server Essentials. This is not very snappy. The 2016 Server before also was not snappy.
On this server only iTunes is running for my Apple TV, so I don't need the speed of the user interface of windows.
Post Reply

Return to “Virtualization Station”