A former client from way back when emailed me with a brief question on
"running VFP 9 on a server with HyperV and Windows Server 2012R2." They are migrating an existing app from Server 2003 and he says on the new machine, "it runs like a dog" and I'm guessing he doesn't mean greyhound.
With this lack of clues, has anyone got a shot-in-the-dark guess what might be going wrong?
Ted, Running on the server itself or on terminals using the server with VFP tables?
We have 8 x 2012 VM's running on one physical server using HyperV and 4 of them run VFP apps either locally or on Win 7 64bit clients with no problems at all.
Check if the VM's are Dynamically allocated or are they pre-partitioned and allocated. When VFP is extending tables in a Dynamic VM it tends to work a LOT slower. We made sure all our VM's were allocated at creation time as contiguous data areas.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Ted Roche Sent: 17 November 2016 16:21 To: profox@leafe.com Subject: Guess the problem? VFP9, HyperV, 2012R2
A former client from way back when emailed me with a brief question on
"running VFP 9 on a server with HyperV and Windows Server 2012R2." They are migrating an existing app from Server 2003 and he says on the new machine, "it runs like a dog" and I'm guessing he doesn't mean greyhound.
With this lack of clues, has anyone got a shot-in-the-dark guess what might be going wrong?
-- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com
[excessive quoting removed by server]
Try updating the max memory setting in the config.fpw to a number between 4-16M. I forget the name of the setting. My guess is that VFP is trying to use to much memory.
Malcolm
Malcolm, If you are meaning setting the buffers in VFP using a variant of:
=SYS(3050, 1, MIN(536870912, VAL(SYS(3050, 1, 0)))) && Foreground Buffers =SYS(3050, 2, MIN(536870912, VAL(SYS(3050, 1, 0)))) && Background Buffers
Then beware that this does NOT work on Windows 7 64 bit and causes the VFP app to become unstable.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Malcolm Greene Sent: 17 November 2016 16:27 To: profox@leafe.com Subject: Re: Guess the problem? VFP9, HyperV, 2012R2
Try updating the max memory setting in the config.fpw to a number between 4-16M. I forget the name of the setting. My guess is that VFP is trying to use to much memory.
Malcolm
[excessive quoting removed by server]
Hi Dave,
If you are meaning setting the buffers in VFP using a variant of:
=SYS(3050, 1, MIN(536870912, VAL(SYS(3050, 1, 0)))) && Foreground Buffers =SYS(3050, 2, MIN(536870912, VAL(SYS(3050, 1, 0)))) && Background Buffers
Then beware that this does NOT work on Windows 7 64 bit and causes the VFP app to become unstable.
Yes, that's what I was thinking. Thanks for that update.
Malcolm
RE: the memory discussion
https://leafe.com/archives/full_thread/477799
SYS(3050) falls over with large integer values.
--
rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Malcolm Greene Sent: Thursday, November 17, 2016 11:35 AM To: profoxtech@leafe.com Subject: Re: Guess the problem? VFP9, HyperV, 2012R2
Hi Dave,
If you are meaning setting the buffers in VFP using a variant of:
=SYS(3050, 1, MIN(536870912, VAL(SYS(3050, 1, 0)))) && Foreground Buffers =SYS(3050, 2, MIN(536870912, VAL(SYS(3050, 1, 0)))) && Background Buffers
Then beware that this does NOT work on Windows 7 64 bit and causes the VFP app to become unstable.
Yes, that's what I was thinking. Thanks for that update.
Malcolm
As I said in that old thread Richard... works on 32 bit but not 64 bit.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Richard Kaye Sent: 17 November 2016 16:56 To: profox@leafe.com Subject: RE: Guess the problem? VFP9, HyperV, 2012R2
RE: the memory discussion
https://leafe.com/archives/full_thread/477799
SYS(3050) falls over with large integer values.
--
rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Malcolm Greene Sent: Thursday, November 17, 2016 11:35 AM To: profoxtech@leafe.com Subject: Re: Guess the problem? VFP9, HyperV, 2012R2
Hi Dave,
If you are meaning setting the buffers in VFP using a variant of:
=SYS(3050, 1, MIN(536870912, VAL(SYS(3050, 1, 0)))) && Foreground Buffers =SYS(3050, 2, MIN(536870912, VAL(SYS(3050, 1, 0)))) && Background Buffers
Then beware that this does NOT work on Windows 7 64 bit and causes the VFP app to become unstable.
Yes, that's what I was thinking. Thanks for that update.
Malcolm
[excessive quoting removed by server]
I know. You said it here, too, Dave. :-)
In that thread I recommended getting rid of the fancy-pants SYS(3050) call entirely and just hardcode the value you want to use. There's enough other hearsay out there that says allocating anything more than 512MB will not speed up VFP performance and may actually degrade it. But as Uncle Ted always tells us, you have to test in your environment to truly optimize.
--
rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Dave Crozier Sent: Thursday, November 17, 2016 12:03 PM To: profoxtech@leafe.com Subject: RE: Guess the problem? VFP9, HyperV, 2012R2
As I said in that old thread Richard... works on 32 bit but not 64 bit.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Richard Kaye Sent: 17 November 2016 16:56 To: profox@leafe.com Subject: RE: Guess the problem? VFP9, HyperV, 2012R2
RE: the memory discussion
https://leafe.com/archives/full_thread/477799
SYS(3050) falls over with large integer values.
--
rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Malcolm Greene Sent: Thursday, November 17, 2016 11:35 AM To: profoxtech@leafe.com Subject: Re: Guess the problem? VFP9, HyperV, 2012R2
Hi Dave,
If you are meaning setting the buffers in VFP using a variant of:
=SYS(3050, 1, MIN(536870912, VAL(SYS(3050, 1, 0)))) && Foreground Buffers =SYS(3050, 2, MIN(536870912, VAL(SYS(3050, 1, 0)))) && Background Buffers
Then beware that this does NOT work on Windows 7 64 bit and causes the VFP app to become unstable.
Yes, that's what I was thinking. Thanks for that update.
Malcolm
[excessive quoting removed by server]
Where are the temp files stored on server or local pc?
On Nov 17, 2016 11:21 AM, "Ted Roche" tedroche@gmail.com wrote:
A former client from way back when emailed me with a brief question on
"running VFP 9 on a server with HyperV and Windows Server 2012R2." They are migrating an existing app from Server 2003 and he says on the new machine, "it runs like a dog" and I'm guessing he doesn't mean greyhound.
With this lack of clues, has anyone got a shot-in-the-dark guess what might be going wrong?
-- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com
[excessive quoting removed by server]