Discussion:
Performance issues on virtual 2K12 server
m***@mbsoftwaresolutions.com
2018-01-23 15:53:15 UTC
Permalink
Client moved from old virtual 2K3 server to newer 2K12 server. They use
an IT vendor to manage all of their IT setup. They connect via Terminal
Services if I understand correctly. Apparently this legacy VFP
application is run from the server by all users. Performance is
inconsistent, with many times it getting almost frozen for some unknown
reason. Other times it's fine. No good rhyme/reason standing out. A/V
and other scans have the VFP app and data folders excluded (or so I'm
told). For those who have worked with VFP apps in TS mode, any tips?

tia,
--Mike

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Ken Dibble
2018-01-23 15:59:51 UTC
Permalink
Post by m***@mbsoftwaresolutions.com
Client moved from old virtual 2K3 server to newer 2K12 server. They
use an IT vendor to manage all of their IT setup. They connect via
Terminal Services if I understand correctly. Apparently this legacy
VFP application is run from the server by all users. Performance is
inconsistent, with many times it getting almost frozen for some
unknown reason. Other times it's fine. No good rhyme/reason
standing out. A/V and other scans have the VFP app and data folders
excluded (or so I'm told). For those who have worked with VFP apps
in TS mode, any tips?
"IT vendor to manage..."

Is this a "cloud"-hosted service? Have they applied the
Meltdown/Spectre patches? Supposedly, especially in a virtualized
setting, those can really slow things down.

We have not applied any of those patches here.

We use RDP here with a virtualized Windows 2008 server. Application
runs on that server, and the data (VFP tables) are on a virtualized
2012 server on the same hypervisor. It's blazingly fast, no matter
where the end user is. Faster, in fact, for many users, than running
it on a desktop in our building.

Ken Dibble
www.stic-cil.org


_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
m***@mbsoftwaresolutions.com
2018-01-23 16:22:03 UTC
Permalink
Post by Ken Dibble
Post by m***@mbsoftwaresolutions.com
Client moved from old virtual 2K3 server to newer 2K12 server. They
use an IT vendor to manage all of their IT setup. They connect via
Terminal Services if I understand correctly. Apparently this legacy
VFP application is run from the server by all users. Performance is
inconsistent, with many times it getting almost frozen for some
unknown reason. Other times it's fine. No good rhyme/reason standing
out. A/V and other scans have the VFP app and data folders excluded
(or so I'm told). For those who have worked with VFP apps in TS mode,
any tips?
"IT vendor to manage..."
Is this a "cloud"-hosted service? Have they applied the
Meltdown/Spectre patches? Supposedly, especially in a virtualized
setting, those can really slow things down.
We have not applied any of those patches here.
We use RDP here with a virtualized Windows 2008 server. Application
runs on that server, and the data (VFP tables) are on a virtualized
2012 server on the same hypervisor. It's blazingly fast, no matter
where the end user is. Faster, in fact, for many users, than running
it on a desktop in our building.
According to their IT vendor:

1) It's using SMB file sharing; the program runs on Client server from a
remote server. (What, huh???)
2) They did not apply those patches and won't be for awhile.
3) RDP is not an option.

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Alan Bourke
2018-01-23 16:25:00 UTC
Permalink
I don't know how much control you have over the environment but:

"We recently had a customer where we implemented a Windows 2012R2, Citrix XenApp 7.5 environment to replace a Windows Vista/2008 client server environment. After implementing the new Citrix XenApp environment the customer found a strange phenomenon where several applications where performing slower on the new XenApp servers then on the Vista workstations.
When we ran several tests on the environment and found that on a server with only the OS installed the applications worked fine. But after installing the terminal server environment and the applications the applications that where using FoxPro databases (e.g. Accountview, Caseware etc.) where running significantly slower andcrashing more often than on the old Vista workstation environment when performing specific functions inside the applications.
The customer then did a installer by installer implementation of the Citrix server while testing the application after each installer. During this time consuming test they found out that after the installation of the Citrix VDA agent the problem began and we could remove the VDA agent but the problem would still persist.
We then started calling Citrix and the application vendors to solve this issue and after a while we found that the problem occurs when during the VDA installation the Terminal Services role is installed. During the installation there is a settings called Disk enablefairshare that is set in the registry
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TSFairShare\Disk\EnableFairShare] this has a setting of 1.

This settings allows Windows to normalize Disk I/O for users so they all have their fair share of the resources. This is what caused the problem because the FoxPro applications require a lot of disk I/O to perform and will immediatly cause issues when they don’t receive data at a fast enough rate.
After changing the value to 0 the environment performed as espected!
(be aware that changing the registry can cause serious trouble, always create a backup!)
There is a PowerShell command you can use to check the settings at a glance:
gwmi win32_terminalservicesetting -N “root\cimv2\terminalservices”
The setting you need to search for is called:
EnableDiskFSS (Enable Disk fair sharing)
There are also two other settings that could save your day if you disable them
EnableNetworkFSS (Enable network fair sharing)
EnableDFSS (Enable CPU fair sharing)"
--
Alan Bourke
alanpbourke (at) fastmail (dot) fm

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@webmail.messagingengine.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those
Paul Hill
2018-01-23 19:00:12 UTC
Permalink
On 23 January 2018 at 15:53,
Client moved from old virtual 2K3 server to newer 2K12 server. They use an
IT vendor to manage all of their IT setup. They connect via Terminal
Services if I understand correctly. Apparently this legacy VFP application
is run from the server by all users. Performance is inconsistent, with many
times it getting almost frozen for some unknown reason. Other times it's
fine. No good rhyme/reason standing out. A/V and other scans have the VFP
app and data folders excluded (or so I'm told). For those who have worked
with VFP apps in TS mode, any tips?
Is it a HyperV server? Check if it has BroadCom network cards.
Our VMs ran like a dog until we disabled VMQs.

https://support.microsoft.com/en-us/help/2902166/poor-network-performance-on-virtual-machines-on-a-windows-server-2012

Google and you will find tons of other hits.
--
Paul

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CADwx0+KO5yAg8AtmR379ZSzRpFhJzXgacS2fJhspUr=***@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Jürgen Wondzinski
2018-01-24 00:24:34 UTC
Permalink
Take a look here:
http://www.ryslander.com/disable-fair-sharing-in-windows-server/

and here:
http://www.examhand.com/Download/VFPSlowExecutiononServer2012.pdf




wOOdy 


"*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.Visual FoxPro: It's magic !
(¸.·``··*


-----Ursprüngliche Nachricht-----
Von: ProFox [mailto:profox-***@leafe.com] Im Auftrag von
***@mbsoftwaresolutions.com
Gesendet: Dienstag, 23. Januar 2018 16:53
An: ProFox <***@leafe.com>
Betreff: Performance issues on virtual 2K12 server

Client moved from old virtual 2K3 server to newer 2K12 server. They use
an IT vendor to manage all of their IT setup. They connect via Terminal
Services if I understand correctly. Apparently this legacy VFP
application is run from the server by all users. Performance is
inconsistent, with many times it getting almost frozen for some unknown
reason. Other times it's fine. No good rhyme/reason standing out. A/V
and other scans have the VFP app and data folders excluded (or so I'm
told). For those who have worked with VFP apps in TS mode, any tips?

tia,
--Mike

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/004b01d394a9$b61b1b50$225151f0$@wondzinski.de
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Continue reading on narkive:
Loading...