More Related Content
Similar to コンテナ基盤であるLXC/LXDを 本番環境で運用する話
Similar to コンテナ基盤であるLXC/LXDを 本番環境で運用する話 (20)
コンテナ基盤であるLXC/LXDを 本番環境で運用する話
- 26. ベンチマーク
ホスト
Seq-Read: bw=5535.2MB/s, iops=5535
Seq-Write: bw=3002.1MB/s, iops=3002
Rand-Read-512K: bw=5224.6MB/s, iops=10448,
Rand-Write-512K: bw=2994.2MB/s, iops=5988
Rand-Read-4K: bw=890889KB/s, iops=222722
Rand-Write-4K: bw=249720KB/s, iops=62430
Rand-Read-4K-QD32: bw=911013KB/s, iops=227753
Rand-Write-4K-QD32: bw=255501KB/s, iops=63875
• fioでの計測
• 5~15%のオーバヘッドは
あるものの、概ね良好!
コンテナ
Seq-Read: bw=4718.1MB/s, iops=4718
Seq-Write: bw=2790.2MB/s, iops=2790
Rand-Read-512K: bw=4376.7MB/s, iops=8752
Rand-Write-512K: bw=2730.7MB/s, iops=5461
Rand-Read-4K: bw=882640KB/s, iops=220659
Rand-Write-4K: bw=229749KB/s, iops=57437
Rand-Read-4K-QD32: bw=874542KB/s, iops=218635
Rand-Write-4K-QD32: bw=248301KB/s, iops=62075
- 30. オープンファイル数の上限編
echo 1000000 > /proc/sys/fs/file-max
vi /etc/sysctl.conf
fs.file-max=1000000
vi /etc/security/limits.conf
* soft nofile 1000000
* hard nofile 1000000
ulimit -n 1000000
あれ?直んない
↓
なんで
↓
なんで
↓
なんで
↓
こっちかい
↓
Editor's Notes
- まず、LXD 採用までのお話をさせていただきます。
- さて、次に、構築時のトラブルを中心にお話させていただきます。