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:27:45
 
 
To
03/02/2023 16:13:07
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01686067
Message ID:
01686102
Views:
33
>>>>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.

Yupp. I had experimented with several physical alter(c)ations and previously settled on separating out all PK index access into a real RAM disk together with some other indices I knew from logging were often accessed. Gave a huge perf benefit, as control still was using platters and sector jumping (yes, those sectors are filled and vfp minimizes such jumps) in RAM was much faster. Giving back that memory and comparing with host disk cache resulted in nearly identical perf - the tiny edge dedicated RAM disks with index had was not worth the code I had added to make that dynamic / half automatic ...

>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.

Yupp.
Previous
Reply
Map
View

Click here to load this message in the networking platform