Is it worth to install the Compact Framework on storage card? -
Since our application grows, we need more space on our Windows CE devices.
We have SD-cards It's slow to run our apps with SD card and there are some major problems with demand-paging if you run apps continuously.
We see that the only option is to install compact framework on the SD card to free some memory
Is it worth installing? Will we get performance problems?
It really depends on you which value you are using for "price" Installing CF on a storage card will save you about 4 MB of storage space on the device. If you are less on storage space then it can be useful.
This is not going to improve the performance of an application, however. In fact, it may be slow, apps do not run directly with the storage card, they have to be pagged in the RAM to run. By putting CF on a storage card, that requirement will not be changed. Instead, the CF code will also have to be consumed by the storage card.
The effect of this paging vs. performance will vary based on the device from the built-in flash and the basis of the storage card. There is quite a different read speed in Nand and Nor flash, the speed of the OEM bus driver for the card can vary widely, depending on how it was implemented.
In short, installing it on an external memory card will give you zero performance benefits and it will actually make things worse. If you want the app fast, try different, fast reading storage media or take it to RAM.
Comments
Post a Comment