是否值得在存储卡上安装Compact Framework? [英] Is it worth to install the Compact Framework on storage card?

查看:58
本文介绍了是否值得在存储卡上安装Compact Framework?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于应用程序的增长,我们在Windows CE设备上需要更多空间。

Since our application grows, we need more space on our Windows CE devices.

我们安装了SD卡。从sd卡运行我们的应用程序速度很慢,如果从持久路径运行应用程序,则需求分页会遇到一些严重问题。

We installed SD-Cards. Running our applications from the sd card is slow and there are some heavy issues with demand-paging if you run the apps from persistent paths.

我们看到的唯一选择是在SD卡上安装Compact Framework,以释放一些内存。

The only option we see is to install the Compact Framework on the SD cards to free some memory.

是否值得在此安装?我们会遇到性能问题吗?

Is it worth to install it there? Will we get performance problems?

推荐答案

这实际上取决于您为价值使用的价值。将CF安装到存储卡上将为您节省大约4MB的存储空间。如果您的存储空间不足,则可能会有用。

It really depends on what value you're using for "worth". Installing the CF onto a storage card will save you about 4MB of storage space on the device itself. If you're low on storage space it might be useful for that.

但是,这不会提高应用程序的性能。实际上,它可能会使速度变慢。应用程序不能直接从存储卡运行,必须将它们分页到RAM中才能运行。将CF放在存储卡上不会改变该要求。相反,CF代码也必须从存储卡中调入。

It is not going to improve performance of an application, however. In fact, it might slow it down. Applications do not run directly from a storage card, they have to be paged into RAM to be run. Putting the CF on a storage card will not change that requirement. Instead, the CF code will also have to be paged in from the storage card.

此分页与从内置闪存分页相比,对性能的影响会有所不同通过设备和存储卡。 NAND和NOR闪存的读取速度明显不同。 OEM卡的总线驱动程序的速度可能会因实现方式的不同而有很大差异。

The performance impact of this paging versus paging it in from the built-in flash will vary by device and by storage card. NAND and NOR flash have significantly different read speeds. The speed of the OEM's bus driver for the card can vary widely depending on how it was implemented.

简而言之,将其安装在外部存储卡上会给您带来零性能受益,实际上可能会使情况变得更糟。如果您希望应用程序更快地分页,请尝试使用其他更快的读取存储介质或将其移至RAM。

In short, installing it on an external storage card will give you zero performance benefit and it may actually make things worse. If you want the app to page in faster, try different, faster read storage media or move it into RAM.

这篇关于是否值得在存储卡上安装Compact Framework?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆