在 VMware RAM 磁盘内运行 Visual Studio 和站点

发布于 2024-07-17 03:49:50 字数 494 浏览 6 评论 0原文

我有一台 24 GB 的机器,所以我打算安装 Vista 64 位,除了 VMware Workstation 6.5 Vista Image 之外什么都没有,它将安装在我将在主 Vista 上制作的 RAM 磁盘上。

整个 VMware 映像将位于 RAM 中,因此我将在其中安装 Visual Studio 2008,并将我的所有站点都放在那里,就像它是一个真正的磁盘一样。 我已经对从 RAM 磁盘运行应用程序进行了一些测试,性能非常出色,但我有一些担忧。

  • 如何进行连续备份? 由于它是 RAM 磁盘,一旦 PC 重新启动,所有内容都会消失:Visual Studio、SQL 数据库、我的网站以及其他所有内容。
  • 只要我的主主机 Vista 没有安装任何东西,留出 8 GB RAM 就足够了吗?

  • VMware 映像是一个文件,所以我应该对主机驱动器还是 VMware 映像内部的驱动器进行碎片整理?

    VMware 映像是

I have a machine with 24 GB so I was planning to install Vista 64-bit and nothing on it but VMware workstation 6.5 Vista Image, that will be installed on a RAM Disk that I will make on the main Vista.

The whole VMware Image will be in RAM, so I will install Visual Studio 2008 in it and put all my sites there as if it was a real disk. I have done a few tests of running applications from RAM Disk and the performance was blazing, but I have some concerns.

  • How can I make continuous backups? Since it’s a RAM disk, once the PC is restarted, everything will be gone: Visual Studio, SQL databases, my sites, and everything else.
  • As long as my main host Vista doesn’t have anything installed, is leaving 8 GB of RAM for it is enough?

  • The VMware Image is one file, so should I defrag the host drive or the drive inside the VMware image?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

老街孤人 2024-07-24 03:49:50

碎片整理:VMWare 建议这样做:“首先,在 VM 中运行碎片整理实用程序;其次,使用 WMware Workstation 碎片整理工具;第三,在主机上运行碎片整理实用程序”

备份:对于我的 VM,我使用 SynbackPro 运行定时将我的项目文件备份到主机上的共享文件夹,然后在主机上我让 SyncbackPro 运行定时备份到外部驱动器。 这样,无论我使用哪个虚拟机,外部驱动器都会获得备份。

Defragmentation: Here's what VMWare recommends: "first, run a defragmentation utility in the VM; second, use the WMware Workstation defragmentation tool; third, run a defragmentation utility on the host"

Backup: for my VMs, I use SynbackPro to run a timed backup of my project files to a SHARED folder on my host machine, then on the host I have SyncbackPro running a timed backup to an external drive. That way, no matter which VM I happen to be using, the external drive gets the backups.

慈悲佛祖 2024-07-24 03:49:50

请查看 Live Mesh。 它将负责为您同步所有数据。 当您重新启动 RAM 映像时,它会将文件拉回。 在一般使用中,您注意到 LiveMesh 文件夹和普通文件夹之间的唯一区别是文件夹图标。

Have a look at Live Mesh. It will take care of synchronising all the data for you. When you reboot your RAM image it will pull the files back down. In general use the only difference you notice between a LiveMesh folder and a normal one is the folder icon.

财迷小姐 2024-07-24 03:49:50

RAM 磁盘原则上是一个好主意,但您获得的收益可能没有您想象的那么多。 首先,它声明的开销约为 10%,但在我们的服务器中,它使性能下降了约 30-40%。 其次,当手头有大量内存时,系统缓存无论如何都可以将大部分文件加载到内存中,因此实际上所有 IO 都是通过 RAM 完成的。

这是基于我们对服务器的经验,它可能适用于您的情况。 我建议您至少尝试直接在操作系统上安装所有内容,让它运行一段时间,以便缓存所有需要的文件,然后检查性能。 如果它类似于VMWare + RAM磁盘,那么维护起来会容易得多。

RAM disk is a great idea in principle, but you might not gain as much as you think. First, its declared overhead is about 10%, but in our server it degraded the performance in about 30-40%. Second, when having a lot of memory at hand, the system cache can load most of your files into memory anyway, so effectively all your IO is done with the RAM.

This is based on our experience with our server, and it might to apply to your case. I would suggest you at least try to install everything directly on the OS, let it run for some time so all needed files are cached, and then check the performance. If it's similar to what you have with VMWare + RAM disk, it would be much easier for you to maintain.

月朦胧 2024-07-24 03:49:50

对我来说这似乎不是一个好主意,如果系统崩溃,内存磁盘就会被破坏。

我将专注于以有用的方式简单地分配内存,并将操作系统文件保留在磁盘上。

To me this doesn't seem like a good idea, if the system goes down the ram disk is destroyed.

I would focus on simply allocating the ram in a helpful manner, and keeping the OS files on disk.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文