> For the complete documentation index, see [llms.txt](https://academy.shade.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.shade.inc/shade-academy/shade-academy-zh/shadefs/choosing-an-external-ssd-for-shade-cache.md).

# 为 Shade 缓存选择外部 SSD

选择外部 SSD 有助于提升你在 Shade 中的性能

如果你正在考虑升级，或者为了缓存而购买一块新的固态硬盘（SSD），选择合适的产品对于确保 ShadeFS 的流畅性能至关重要。根据你的工作负载，有几种推荐方案。

{% hint style="info" %}
注意：并不一定需要购买下面这些硬盘。普通的 Sandisk Extreme 或 T7 就已经足够，Shade 团队大多数成员日常也是使用它们。不过，如果你希望将 ShadeFS 在缓存和重负载场景下的速度与性能发挥到极致，我们推荐下面这些产品。
{% endhint %}

***

### **为什么选择合适的缓存盘很重要**

Shade 会在你持续从云端访问数据时，智能缓存你需要的文件和字节，以优化工作负载和网络使用，确保无卡顿体验。不同于 NFS 和其他网络文件系统，数据会从云端流式传输并在本地缓存。Shade 还支持将缓存设置到外部硬盘位置。

因此，用于缓存存储的硬件会直接影响性能，所以选择一块能够满足工作负载需求的硬盘至关重要。

由于我们的缓存系统涉及频繁的随机读写，机械硬盘（HDD）并不适合。相反，高速固态硬盘（SSD）能显著提升性能。

***

### **适用于大多数工作负载的推荐缓存盘**

大多数工作负载优先考虑快速读取速度和突发写入速度，因此这些 SSD 是理想选择：

1. [**Samsung 990 PRO PCIe 4.0 NVMe SSD 4TB**](https://www.samsung.com/us/computing/memory-storage/solid-state-drives/990-pro-pcie-4-0-nvme-ssd-4tb-mz-v9p4t0b-am/) - 提供 4TB、2TB 或 1TB 版本
2. [**WD Black SN850X NVMe SSD 2TB**](https://www.westerndigital.com/products/internal-drives/wd-black-sn850x-nvme-ssd#WDS200T2X0E) - 适合游戏和高性能工作负载
3. [**Crucial T700 PCIe Gen5 NVMe SSD 2TB**](https://www.crucial.com/ssd/t700/ct2000t700ssd3) - 超高速 Gen5 速度，适合面向未来的需求
4. [**Sabrent Rocket 4 Plus 4TB NVMe SSD**](https://www.sabrent.com/product/sb-rkt4p-4tb/) - 大容量且性能可靠
5. [**Acasis 40Gbps M.2 NVMe SSD 外置盒**](https://www.acasis.com/products/acasis-usb4-0-mobile-m-2-nvme-enclosure-40gbps-compatible-with-typec-thunderbolt-3-interface-solid-state-nvme-ssd-universal-tools?variant=43694516601061) - 确保最高的外部连接速度

在所有情况下，都建议选择更大的缓存盘。尽可能选择最高容量，以获得更好的性能，因为这样可以缓存更多文件，从而减少访问云端所需的往返次数。

***

### **适用于持续写入工作负载的推荐缓存盘**

对于需要持续高速写入的工作负载（例如视频渲染和大规模数据传输），这些 SSD 最合适：

#### **推荐的 1TB 硬盘：**

1. [**Samsung 970 PRO NVMe M.2 SSD 1TB**](https://www.samsung.com/us/computing/memory-storage/solid-state-drives/ssd-970-pro-nvme-m2-1tb-mz-v7p1t0bw/) - 针对持续写入速度进行了优化
2. [**WD Red SN700 NVMe SSD 1TB**](https://www.westerndigital.com/products/internal-drives/wd-red-sn700-nvme-ssd#WDS100T1R0C) - 专为 NAS 和持续性工作负载设计

#### **推荐的 2TB 硬盘：**

1. [**Tropic Colour 2TB Space Shuttle SSD**](https://tropiccolour.com/products/tc-space-shuttle) - 便携且针对创意专业人士优化
2. [**Seagate FireCuda 530 NVMe SSD 2TB**](https://www.seagate.com/products/gaming-drives/pc-gaming/firecuda-530-ssd/) - 高耐久性和出色的写入速度

***

### **理解持续写入工作负载**

持续写入工作负载是指连续不断地写入数据，超过 **1 GBps（8Gbps）** 且没有空闲时间。如果这正符合你的工作流程，那么选择一款专为持续写入速度设计的 SSD 至关重要。

#### **持续写入工作负载的示例：**

* **将 100GB 以上的素材从相机卡复制到 Shade Drive**
  * 更快的持续写入速度可以缩短复制时间，因为速度受数据写入速度的限制。
* **渲染大型视频素材，且输出超过 1 GBps（8Gbps）**
  * 高写入速度可防止渲染过程中的瓶颈。

如果你的工作负载在写入过程中有空闲时段，那么它就 **不是** 可以归类为“持续写入”工作负载。在这种情况下，配备出色突发速度的高性能 SSD 更有优势。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.shade.inc/shade-academy/shade-academy-zh/shadefs/choosing-an-external-ssd-for-shade-cache.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
