> For the complete documentation index, see [llms.txt](https://tk233.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tk233.gitbook.io/notes/tools/ubuntu/test-disk-read-write-speed.md).

# Test Disk Read/Write Speed

## 1. Create a large file

Here, we create a tmp.txt file with size of 2 Gigabytes

```bash
truncate -s 2G ./tmp.txt
```

## 2. File Transfer

```bash
dd if=./tmp.txt of=./tmp.out bs=1G count=1024
```
