Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP slower than FPW across the board?
Message
From
03/02/2023 16:13:07
 
 
To
03/02/2023 06:36:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01686067
Message ID:
01686100
Views:
42
>>>One day I thought outside normal frames, created for each VM a special directory
>>outside all VHD on the host machine, cut the RAM of each VM by more than half and
>>started & accessed all tables on the host machine. As no LAN wires stemmed data flow,
>>the host machine now had excess memory to buffer data access for all 3 VM and
>>this used the physical RAM much better than "fixed" RAM buffering the "local" vhd data.
>>
>>>Benefit of buffering on host gave a stronger boost than piping the data through
>>TCP/IP stack without physical cables added as overhead....
>>
>>But, IIRC, you had to employ the TCP/IP to access host machine from inside the VM, cableless and simulated probably, but still used. The overhead you avoided seems to be the emulated disk access inside the VM and its memory management.
>
>Yupp. But the speed benefit resulted IMO from option to pool disk caching on host for all VMs.

By adding network shares to your host you effectively added a RAMdisk file server to the hypervisor's vswitch/virtual network. Network access to that from your VMs can be fast if the VLAN is private and doesn't interact with any physical network hardware.

In this sort of situation it can be even more important to remember relatively simple things such as enabling disk write caching. Yes, you do need some protection against power failures (laptop's battery, or a UPS for a desktop machine) but gains can be considerable, especially for anyone still using spinning rust.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform