POPPUR爱换

 找回密码
 注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

搜索
查看: 29336|回复: 41
打印 上一主题 下一主题

推荐个免费开源的ramdisk,ImDisk Virtual Disk Driver,32/64通吃,小巧实用

  [复制链接]
跳转到指定楼层
#
发表于 2013-2-9 23:16 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
免费开源,功能简单实用,32/64通吃,小巧(才300多KB)

官方网址
http://www.ltr-data.se/opencode.html/
下载这个
Download ImDisk install package, current version - 316.5 KB, works on both 32-bit and        64-bit versions of Windows.

简单创建ramdisk方法
1,安装后在控制面板启动“ImDisk Virtual Disk Driver”进行设置
2,左下角“mount new”
3,image file空白,选好盘符,设置好大小(选MB、GB方便点),offset偏移量不用设置(默认0),选harddisk volume,点ok即可。
4,mount好后可以改变大小、格式化、保存镜像等。
5,其它更多功能可以用cmd命令行imdisk查看

功能肯定没有收费软件强,但是性能不打折扣,也是吃满单线程(和收费ramdisk一样)。

官方说明
ImDisk Virtual Disk Driver
Current version 1.6.0 built 02 November 2012

    ImDisk is a virtual disk driver for Windows    NT/2000/XP/Vista/7/8 or Windows Server 2003/2008/2012. It can create virtual hard disk, floppy    or CD/DVD drives using image files or system memory. The install    package installs a console-mode control program called imdisk.exe and a Control Panel    applet. After install is    finished, type imdisk    without parameters for syntax help or double click the ImDisk icon in the Control    Panel. It also adds a menu item in Windows Explorer so that you can    right-click on a file to mount it as a virtual disk drive. Users of    mdconfig in FreeBSD will    probably be familiar with the command line syntax of imdisk.exe. The driver, service    and control program can be uninstalled using the Add/Remove programs    applet in the Control Panel. No reboot is required for installing or    uninstalling.

      An additional driver, awealloc, in this install package supports memory       allocation beyond 4 GB limit on 32 bit Windows through address window extension,       AWE.

    The       ImDisk driver supports forwarding I/O requests to third-party image file format       handlers or to services on other    computers on the network. This makes it possible to boot a machine    with NTFS partitions with a Live-CD and use the included     devio tool to let ImDisk on another computer    running Windows on the network mount the NTFS partition on the    machine with a faulty NTFS partition. This way you can recover information and       even run chkdsk on drives on machines where Windows does not boot. There are also instructions about how to use devio under Windows on
Claus Valca's blog.
About the install package
    The install package is created using 7-zip sfx stubs and includes an    .inf install script. No reboot is required after installing or    uninstalling. The install package works on Windows NT 4.0, Windows 2000, Windows XP,       Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7 and Windows 8, on both 32-bit and 64-bit    versions.

The install package now automatically starts the       driver at end of setup
      This means that no additional actions should be required before using ImDisk,       even on Windows Vista, Windows Server 2008, Windows      7 or Windows 8 with UAC turned on.

64 bit compatibility
    64-bit versions share source code with the 32-bit version. All    features and most limitations are the same in the 64-bit and 32-bit    versions. One notable difference however is that the 64-bit versions    do not have any practical size limits for RAM disks.

64 bit drivers are now digitally      signed with a certificate trusted by Microsoft.
      This means that ImDisk now works
Windows Vista, Windows Server 2008, Windows 7 or Windows 8 even      without running it testsigning mode.

Special note for Windows NT 3.51
    The .inf file used in the install process is not compatible with    Windows NT 3.51. To install on NT 3.51 you can extract the files in    the packages using 7-zip and then manually create the driver keys in    the registry or using a SCM control tool like sc.exe in the Windows NT    Resource Kit. On later versions of Windows you just run the package    and it will install everything automatically.

Source code
    Source code for all of ImDisk,    including a server-part for *nix like systems and .NET/COM API library, is available as a    7-zip compressed file
here (167.6 KB). The Windows driver, command line tool and Control Panel applet parts of the source code can be built in the    Windows 2000 build environment in the latest WDK and the *nix parts    can be built with for example gcc. .NET components are built in Visual Studio       2010, you can use Visual Basic Express 2010 if you want to view and modify the       source code in a free version of Visual Studio.

API
      API functions are available for C/C++, COM and .NET clients. If you want to call functions for    creating/removing/querying virtual disks from your own program you    can #include the file inc\imdisk.h in your C/C++ source files and    link the cpl\i386\imdisk.lib library.      Read inc\imdisk.h in source archive for documentation about C/C++ usage. If you would like information    about how to write compatible server-end software in C/C++ you can take a    look at the I/O packet structures in inc\imdproxy.h.

      A class library DLL for COM and .NET developers is available as a separate    wrapper DLL.
You can download that      DLL here or an archive      including the actual DLL along with import libraries and registry      files for COM usage here.            Look here for on-line documentation about .NET API. There are also, as usual, xml       files with method/parameter descriptions available to each assembly file.

License
    I have received some e-mails with questions whether or not it is    okay to include this driver in a commercial product. The answer is yes, just like all other tools    I publish here. However, note that a few lines of code are under the    GNU GPL license, this is basically the parts related to floppy    emulation. Some of the driver code is also ported to Windows NT from    the FreeBSD 'md' driver.

Frequently asked questions
      Answers to frequently asked questions are
      collected here.

Questions?
      There is a sub-forum at
Reboot.pro for discussions about ImDisk Virtual Disk Driver and    other tools published here. (In case link does not work, try this link instead.)

Known bugs and problems
    There have been some reports about filesystem problems and possible    loss of data with ImDisk memory backed virtual disks that are very    large, about 1 GB or larger. Hopefully these problems are solved now    with a few bugfixes included in 1.4.1 version.

41#
 楼主| 发表于 2013-2-16 20:23 | 只看该作者
fluke 发表于 2013-2-16 10:28
现在内存那么小装的有什么意义,SSD目前又那么便宜。

特殊用处有点用,家用真用不上

偶推荐这个就是因为免费、简单实用。省着到处找破解...
回复 支持 反对

使用道具 举报

40#
发表于 2013-2-14 17:14 | 只看该作者
bugbear 发表于 2013-2-14 17:03
开始菜单——运行——perfmon,“性能监视器”,绿色加号,里面有你关心的cache、memory等所有系统性能相 ...

lazy write应该跟节省写入量关系不大
当然你也可以测测 到底能不能做到
回复 支持 反对

使用道具 举报

39#
 楼主| 发表于 2013-2-14 17:03 | 只看该作者
wxm 发表于 2013-2-14 16:49
我原来帖子是实测 码了很多字 慢看 http://we.pcinlife.com/thread-1938557-1-1.html
系统缓存主要是读缓 ...

开始菜单——运行——perfmon,“性能监视器”,绿色加号,里面有你关心的cache、memory等所有系统性能相关的。其中lazy write在cache里面。

其实系统本身缓存功能很强大,应该有类似的修改软件(网上看有人提过,自己没试过)...

fancycache就是更激进点,且ui友好点。不过现在哪怕840 tlc,每天10g,寿命5年以上是完全没问题的...
回复 支持 反对

使用道具 举报

38#
发表于 2013-2-14 16:54 | 只看该作者
bugbear 发表于 2013-2-14 16:31
特殊应用,批处理+imdisk命令行,1s都用不上...,10s那是用图形界面

fbwf,你24*7么?你给系统加速么? ...

那确实imdisk适合你了

不过大部分玩ramdisk没那么简单 我就是imdisk到fbwf的
fbwf更好用
回复 支持 反对

使用道具 举报

37#
发表于 2013-2-14 16:49 | 只看该作者
本帖最后由 wxm 于 2013-2-14 16:56 编辑
bugbear 发表于 2013-2-14 16:38
至于fancycache帮你节省写入,你确定系统缓存就不能了?

想看图,fc官方宣传有很多

我原来帖子是实测 码了很多字 慢看 http://we.pcinlife.com/thread-1938557-1-1.html
系统缓存主要是读缓存 ssd时代读缓存价值没那么大了
系统的写缓存基本没什么延迟(就算有也不一定有缓存覆盖的功能) 所以没什么效果的
回复 支持 反对

使用道具 举报

36#
 楼主| 发表于 2013-2-14 16:38 | 只看该作者
wxm 发表于 2013-2-14 16:21
搜肠刮肚半天 就这么点方便性啊..
fbwf安装1分钟吧 之后每次用都可以直接用了 0s
保存的时候程序才发现 ...



至于fancycache帮你节省写入,你确定系统缓存就不能了?

想看图,fc官方宣传有很多

你那节省80%是跑啥应用跑出来的?让大家开开眼。

回复 支持 反对

使用道具 举报

35#
 楼主| 发表于 2013-2-14 16:31 | 只看该作者
wxm 发表于 2013-2-14 16:21
搜肠刮肚半天 就这么点方便性啊..
fbwf安装1分钟吧 之后每次用都可以直接用了 0s
保存的时候程序才发现 ...

特殊应用,批处理+imdisk命令行,1s都用不上...,10s那是用图形界面

fbwf,你24*7么?你给系统加速么?你用系统缓存不行?
特定应用,用fbwf才叫麻烦

现在能用上ramdisk的地方太少了,一年能用几次不错了,其它跑在ssd上更爽。而且需要内存、缓存的软件,软件自己做的就不错。
回复 支持 反对

使用道具 举报

34#
发表于 2013-2-14 16:21 | 只看该作者
bugbear 发表于 2013-2-14 16:01
imdisk免费、简单,我从安装到mount/unmount一个ramdisk用不上10s,fbwf行么?

fancycache降低你80%的 ...

搜肠刮肚半天 就这么点方便性啊..
fbwf安装1分钟吧 之后每次用都可以直接用了 0s
保存的时候程序才发现哎呀我要开个ramdisk先 改下路径先 这些second你好意思算么?

至于fc啊 原帖的图挂了
自己参详吧


这就应该这么用、那就不能那么用? diyer?
反正我那么用了 还比这么用的好用 就这么简单
其他无关fbwf imdisk fc就不回了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

33#
 楼主| 发表于 2013-2-14 16:01 | 只看该作者
wxm 发表于 2013-2-14 15:15
你imdisk怎么用做ramdisk的 fbwf就起吗不差于 文件级的释放是优势
如果开fbwf当ramdisk用是把系统缓存当 ...

imdisk免费、简单,我从安装到mount/unmount一个ramdisk用不上10s,fbwf行么?

fancycache降低你80%的写入?真不知道什么应用会有80%都是temp且小于你的写入cache且在你设定的回写时间内自动删除?
想开开眼,介绍一下吧
回复 支持 反对

使用道具 举报

32#
 楼主| 发表于 2013-2-14 15:55 | 只看该作者
wxm 发表于 2013-2-14 15:03
http://we.pcinlife.com/forum.php ... age=2&authorid=3764

从始到终到我都只是在比较fbwf和imdisk (用 ...

你首先都没弄明白ramdisk是做什么的就和fbwf比较?

我前面说的很明白了,ramdisk不是用来给系统加速的,不是用来做系统缓存的。
ramdisk是用来给特定应用加速的,我只是推荐一个免费简单的imdisk而已(省着找其它破解软件)。而且imdisk只是最初级的ramdisk,没有复杂功能,但是给特定应用加速足够用了。

给系统加速最好的方法是换ssd和加内存,现在128g的ssd也就2条8g内存的钱,如果有多余预算投资ssd是最合算的。4g、8g这种小内存玩ramdisk是副作用...都留给系统缓存才是正道。

而你说的fbwf就是指用动态的ramdisk给系统加速,这就更不靠谱了...我让你谈谈自己的是用方法和加速效果,你说不出个所以然。大谈“动态”、“好看”有意义么?

而且fbwf设计初衷不是给你做动态ramdisk用的,而是为了解决嵌入式存储卡写入的问题,这就是为啥微软只把它放在embedded系统里的原因。如果那么好用?为啥不在win7标配呢?只能说明win7的缓存机制已经足够好了。你大谈fbwf加速好用的前提就是微软是二货...这可能么?
回复 支持 反对

使用道具 举报

31#
发表于 2013-2-14 15:15 | 只看该作者
本帖最后由 wxm 于 2013-2-14 15:23 编辑
bugbear 发表于 2013-2-14 14:56
你还是来点实际的吧

把你怎么用fbwf给系统“加速”的具体方法、效果给大家介绍一下。

你imdisk怎么用做ramdisk的 fbwf就起吗不差于 文件级的释放是优势
如果开fbwf当ramdisk用是把系统缓存当傻子 那用imdisk当ramdisk只能说更傻

你真发散 谢谢你搜我帖子哦 帮顶下就更好了
用fc来跑分好看确实傻X 我用来降低我ssd的80%写入而已 纯粹因应个人应用范围玩玩而已 不推荐
回复 支持 反对

使用道具 举报

30#
发表于 2013-2-14 15:03 | 只看该作者
本帖最后由 wxm 于 2013-2-14 15:04 编辑

http://we.pcinlife.com/forum.php ... age=2&authorid=3764

从始到终到我都只是在比较fbwf和imdisk (用作ramdisk方面)
然后你扯了太多不相关的 其中一些是对的 而对fbwf的很多见解是错误的 我纠正你而已
回复 支持 反对

使用道具 举报

29#
 楼主| 发表于 2013-2-14 14:56 | 只看该作者
wxm 发表于 2013-2-14 11:44
读写时瞬时占用高 读写时间减小 总体看你应该懂的

fbwf效率差 上个图来看看? 当然你也说了实际使用感觉 ...

你还是来点实际的吧

把你怎么用fbwf给系统“加速”的具体方法、效果给大家介绍一下。
别扯什么“动态”、“好看”,没用的少扯。

btw:原来那些炒fancycache的,跑个分就以为真快的傻X还是不要效仿的好。
回复 支持 反对

使用道具 举报

28#
 楼主| 发表于 2013-2-14 14:53 | 只看该作者
wxm 发表于 2013-2-14 11:44
读写时瞬时占用高 读写时间减小 总体看你应该懂的

fbwf效率差 上个图来看看? 当然你也说了实际使用感觉 ...

superfetch在ssd上一样有用,压力不大的时候感觉不明显,io压力大的时候就很明显了。写缓存对ssd帮助最大,有raid0开回写,4k写是几倍增长的。

fbwf效率好为啥服务器还用ramdisk呢?你倒说说啊?
至于动态,效率比静态差这是常识。

我看你才有强迫症,你开fbwf当ramdisk用就是摆明把系统缓存当傻子...那你不如去玩玩fancycache,比fbwf更灵活。

还是那句话,ramdisk不是让你替代系统缓存用的。而fbwf也不是替代ramdisk用的。
系统缓存、ramdisk、fbwf针对不同应用而已。
回复 支持 反对

使用道具 举报

27#
发表于 2013-2-14 11:44 | 只看该作者
本帖最后由 wxm 于 2013-2-14 12:00 编辑
bugbear 发表于 2013-2-10 22:42
开ramdisk本身cpu没有负担,但是你读写就占用100%单线程(占用长短而已,跑测试就100%),所有ramdisk都这 ...

读写时瞬时占用高 读写时间减小 总体看你应该懂的

fbwf效率差 上个图来看看? 当然你也说了实际使用感觉不出来嘛 不上也成

咋又扯缓存了 imdisk开大了不挤占缓存? fbwf也是用完空闲内存才开始挤缓存的 有文件级的动态释放能力反而更容易避免挤缓存

fbwf开着不但不占cpu 还不占内存 随用随占 不用开来关去 难道多占个盘符引发你强迫症了?

ps: 我也扯开点 那么喜欢扯ssd 在有ssd的系统那些系统读缓存恰恰价值有限(因为从ssd重新读也很快)
回复 支持 反对

使用道具 举报

26#
 楼主| 发表于 2013-2-14 11:10 | 只看该作者
pcinlift 发表于 2013-2-14 10:46
谁用win7x64的说说有效果吗

win7、8 32/64都能用,没有特殊用途没必要考虑ramdisk,系统缓存做的足够好了。
回复 支持 反对

使用道具 举报

25#
 楼主| 发表于 2013-2-14 11:10 | 只看该作者
msg7086 发表于 2013-2-14 09:14
就我16G内存一年下来的使用经验来说,系统缓存对读写速度的提升比开ramdisk要好的多。

windows的缓存本身 ...

正解

ramdisk本来就是针对性应用,而不是普适性的。比如需要临时一个高速缓存,那就开个ramdisk,不用就关掉。

用ramdisk替代系统缓存是误解误用。
回复 支持 反对

使用道具 举报

24#
发表于 2013-2-14 10:46 | 只看该作者
谁用win7x64的说说有效果吗
回复 支持 反对

使用道具 举报

23#
发表于 2013-2-14 09:14 | 只看该作者
就我16G内存一年下来的使用经验来说,系统缓存对读写速度的提升比开ramdisk要好的多。

windows的缓存本身就相当于系统自带了一个企业级自动缓存自动回写的ramdisk。

特地禁用掉然后再运行别的ramdisk实在是不明所以。
回复 支持 反对

使用道具 举报

22#
 楼主| 发表于 2013-2-10 22:45 | 只看该作者
wxm 发表于 2013-2-10 22:38
你脑筋有点死 动态的用处脑里一团浆糊 很多坏处用都没用过自个儿yy出来的 睡去不扯鸟

总有很多人觉得自己比微软聪明(尤其win7这类新系统),把系统缓存当s.h.i.t....

如果你不服,关闭所有缓存只开你的fbwf动态,你绝对哭死。

有空说说你的24*7动态都用来干啥吧

边看电影边回复,看完睡觉。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

广告投放或合作|网站地图|处罚通告|

GMT+8, 2026-2-6 03:10

Powered by Discuz! X3.4

© 2001-2017 POPPUR.

快速回复 返回顶部 返回列表