> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/andoid-shou-ji/untitled-4/untitled.md).

# 磁碟讀寫基本測試

首先了解兩個特殊設備

/dev/null偽設備，回收站.寫該文件不會產生IO /dev/zero偽設備，會產生空字符流，對它不會產生IO

測試方法：&#x20;

IO寫入速度&#x20;

```
time dd if =/dev/zero of=test bs=8k count=300000 oflag=direct
```

IO讀取速度

```
dd if=test bs=8k count=300000 of=/dev/null iflag=direct
```

表示每次寫入/讀取8k的數據，執行300000次，dd命令可以通用，但不夠專業，也沒有考慮到緩存和物理讀的區分


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://kawsing.gitbook.io/opensystem/andoid-shou-ji/untitled-4/untitled.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
