105 lines
3.3 KiB
Markdown
105 lines
3.3 KiB
Markdown
---
|
|
title: 10Gb uppgradering
|
|
---
|
|
|
|
Hur snabb är nasen om man kör lite dd direkt i plåten
|
|
```bash
|
|
dd if=/dev/zero of=speedtest_zero_100k bs=100k count=10000 conv=fdatasync
|
|
1024000000 bytes (1.0 GB) copied, 2.25785 s, 454 MB/s
|
|
|
|
dd if=speedtest_rand_100k of=speedtest_rand_to_copy_100k bs=100k count=10000 conv=fdatasync
|
|
1024000000 bytes (1.0 GB) copied, 4.6004 s, 223 MB/s
|
|
|
|
dd if=speedtest_rand_100k of=/dev/null bs=100k
|
|
1024000000 bytes (1.0 GB) copied, 1.50065 s, 682 MB/s
|
|
|
|
dd if=/dev/zero of=speedtest_zero_4M bs=4M count=250 conv=fdatasync
|
|
1048576000 bytes (1.0 GB) copied, 4.51282 s, 232 MB/s
|
|
|
|
dd if=speedtest_rand_4M of=speedtest_rand_to_copy_4M bs=4M count=250 conv=fdatasync
|
|
1048576000 bytes (1.0 GB) copied, 4.95129 s, 212 MB/s
|
|
|
|
dd if=speedtest_rand_4M of=/dev/null bs=4M
|
|
1048576000 bytes (1.0 GB) copied, 1.86645 s, 562 MB/s
|
|
```
|
|
|
|
## Före uppgradering
|
|
Inget dedikerat nätverk för storage. All kommunkation går över 1Gbit.
|
|
|
|
### ISCSI
|
|
```bash
|
|
dd if=/dev/zero of=/speedtest_zero_100k bs=100k count=10000 conv=fdatasync
|
|
1024000000 bytes (1.0 GB, 977 MiB) copied, 3.25017 s, 315 MB/s
|
|
|
|
dd if=/dev/random of=speedtest_rand_100k bs=100k count=10000 conv=fdatasync
|
|
1024000000 bytes (1.0 GB, 977 MiB) copied, 15.2797 s, 67.0 MB/s
|
|
|
|
dd if=speedtest_rand_100k of=speedtest_rand_to_copy_100k bs=100k count=10000 conv=fdatasync
|
|
1024000000 bytes (1.0 GB, 977 MiB) copied, 9.94453 s, 103 MB/s
|
|
|
|
dd if=speedtest_rand_100k of=/dev/null bs=100k
|
|
1024000000 bytes (1.0 GB, 977 MiB) copied, 0.247002 s, 4.1 GB/s
|
|
|
|
dd if=/dev/zero of=speedtest_zero_4M bs=4M count=250 conv=fdatasync
|
|
1048576000 bytes (1.0 GB, 1000 MiB) copied, 3.0012 s, 349 MB/s
|
|
|
|
dd if=/dev/random of=speedtest_rand_4M bs=4M count=250 conv=fdatasync
|
|
1048576000 bytes (1.0 GB, 1000 MiB) copied, 15.4937 s, 67.7 MB/s
|
|
|
|
dd if=speedtest_rand_4M of=speedtest_rand_to_copy_4M bs=4M count=250
|
|
1048576000 bytes (1.0 GB, 1000 MiB) copied, 10.1666 s, 103 MB/s
|
|
|
|
dd if=speedtest_rand_4M of=/dev/null bs=4M
|
|
1048576000 bytes (1.0 GB, 1000 MiB) copied, 0.263826 s, 4.0 GB/s
|
|
```
|
|
|
|
### NFS
|
|
```bash
|
|
dd if=/dev/zero of=/speedtest_zero_100k bs=100k count=10000 conv=fdatasync
|
|
1024000000 bytes (1.0 GB, 977 MiB) copied, 2.67222 s, 383 MB/s
|
|
|
|
dd if=/dev/random of=speedtest_rand_100k bs=100k count=10000 conv=fdatasync
|
|
1024000000 bytes (1.0 GB, 977 MiB) copied, 14.2113 s, 72.1 MB/s
|
|
|
|
dd if=speedtest_rand_100k of=speedtest_rand_to_copy_100k bs=100k count=10000 conv=fdatasync
|
|
1024000000 bytes (1.0 GB, 977 MiB) copied, 18.786 s, 54.5 MB/s
|
|
|
|
dd if=speedtest_rand_100k of=/dev/null bs=100k
|
|
1024000000 bytes (1.0 GB, 977 MiB) copied, 0.236514 s, 4.3 GB/s
|
|
|
|
dd if=/dev/zero of=speedtest_zero_4M bs=4M count=250 conv=fdatasync
|
|
1048576000 bytes (1.0 GB, 1000 MiB) copied, 10.0907 s, 104 MB/s
|
|
|
|
dd if=/dev/random of=speedtest_rand_4M bs=4M count=250 conv=fdatasync
|
|
1048576000 bytes (1.0 GB, 1000 MiB) copied, 15.9203 s, 65.9 MB/s
|
|
|
|
dd if=speedtest_rand_4M of=speedtest_rand_to_copy_4M bs=4M count=250 conv=fdatasync
|
|
1048576000 bytes (1.0 GB, 1000 MiB) copied, 10.2786 s, 102 MB/s
|
|
|
|
dd if=speedtest_rand_4M of=/dev/null bs=4M
|
|
1048576000 bytes (1.0 GB, 1000 MiB) copied, 0.239652 s, 4.4 GB/s
|
|
```
|
|
|
|
### En liten koll till
|
|
```bash
|
|
time md5sum speedtest_rand_4M
|
|
4a63d3cf77b7b3db43e5cb6560edb6ff speedtest_rand_4M
|
|
|
|
real 0m2.391s
|
|
user 0m2.118s
|
|
sys 0m0.260s
|
|
```
|
|
|
|
## Efter uppgradering
|
|
Dedikerat nätverk för storage. ISCSI och NFS över 10Gbit.
|
|
|
|
### ISCSI
|
|
```bash
|
|
|
|
```
|
|
|
|
### NFS
|
|
```bash
|
|
|
|
```
|
|
## Slutsats |