创建虚拟磁盘与.NET?磁盘、NET

由网友(那年那月那日)分享简介:我发现了很多对堆栈溢出有关这个好话题,但我的问题是一个更具体一点。很多公司都在使用该软件来承载我们做同样的服务... I found a lot of good topics on Stack Overflow concerning this, but my question is a bit more specif...

我发现了很多对堆栈溢出有关这个好话题,但我的问题是一个更具体一点。很多公司都在使用该软件来承载我们做同样的服务...

I found a lot of good topics on Stack Overflow concerning this, but my question is a bit more specific. A lot of companies are using this software to host the same services we do...

http://memory.dataram.com/products-and-services/软件/ RAMDISK

显然,读/写速度为虚拟磁盘是出奇的快,当我们运行得非常密集的I / O软件,我想写点东西做同样的事情。我唯一​​需要的是,它跑过去对硬盘驱动器的物理位置每隔X分钟的虚拟驱动器的应用程序(增加I / O速度),并将数据复制。

Apparently the Read/Write speed to a Virtual Disk is insanely faster, and as we run very intensive I/O software, I would like to write something to do the same thing. My only needs are that it runs the application on a Virtual Drive (for the increased I/O speeds) and copies the data over to the physical location on the Hard-Drive every X minutes.

这将是pretty的容易实现?我应该考虑使用做到这一点?

Would this be pretty easy to accomplish? What should I look into using to accomplish this?

修改的

它看起来像我可以使用下面的杜坎图书馆,但会在WindowsSUBST命令产生的I / O性能的提升,或将这个库是最好的选择?

It looks like I can use the following Dokan Library, but would "subst" command in Windows yield any I/O performance increases, or would this library be the best bet?

http://dokan-dev.net/en/about/

推荐答案

这真的不是一个C#/。NET的问题,除非你想编写自己的RAM磁盘驱动器。像一个在你的链接驱动程序已经存在了很长一段时间,而且他们也有疯狂的读/写速度,RAM的可用性的成本,你的应用程序和操作系统。这可能不是你的情况有问题,如果有问题的机器有很多的RAM。

This really isn't a C#/.NET question, unless you want to write your own RAM disk driver. Drivers like the one at your link have been around for a long time, and they do have insane read/write speeds, at the cost of RAM availability to your application and the OS. That may not be a problem in your case, if the machine in question has lots of RAM.

它的编程部分是周期性的写作RAM磁盘内容到磁盘。作为一个RAM磁盘通常显示为只是另一个驱动器,这是抄袭它的文件到一个物理磁盘的一件简单的事情。你可以这样做,在C#中,但它会很好的工作在一些脚本语言。

The programming part of it is the periodic writing of RAM disk contents to disk. As a RAM disk usually shows up as just another drive, this is a simple matter of copying files from it to a physical disk. You could do that in C#, but it would work just as well in a number of scripting languages.

如果这是一个高端的应用程序,看看固态SATA驱动器。他们读/写速度比硬盘快很多,而且数据在崩溃,电源故障等持续

If this is a high end application, look into solid state SATA drives. They have read/write speeds considerably faster than hard drives, and the data is persistent across crashes, power failures, etc.

阅读全文

相关推荐

最新文章