Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

ディスク性能とかネットワーク性能とか計測 #17

Open
mism-mism opened this issue Sep 19, 2020 · 8 comments
Open

ディスク性能とかネットワーク性能とか計測 #17

mism-mism opened this issue Sep 19, 2020 · 8 comments

Comments

@mism-mism
Copy link
Collaborator

No description provided.

@mism-mism
Copy link
Collaborator Author

ディスク性能

以下みたいな感じで出る

Seq-Read 98.605
Seq-Write 95.411
Rand-Read-512K 101.813
Rand-Write-512K 0
Rand-Read-4K 961.114
Rand-Write-4K 1.252
Rand-Read-4K-QD32 946.368
Rand-Write-4K-QD32 0
isucon@team015-001:~$

スクリーンショット 2020-09-19 18 21 40

@mism-mism
Copy link
Collaborator Author

読みづらい

@mism-mism
Copy link
Collaborator Author

単位はMB/s

@mism-mism
Copy link
Collaborator Author

一旦ここだけ見とくと良い

Seq-Read 98.605
Seq-Write 95.411

@mism-mism
Copy link
Collaborator Author

注意点は実行するといい感じにディスクを使うのでディスク容量がいっぱいになる

@mism-mism
Copy link
Collaborator Author

ネットワーク性能見るやつ

isucon@team015-001:/var/log$ speedtest-cli
Retrieving speedtest.net configuration...
Testing from CyberAgent (157.112.67.2)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by GLBB Japan (Tokyo) [0.96 km]: 2.304 ms
Testing download speed................................................................................
Download: 436.16 Mbit/s
Testing upload speed......................................................................................................
Upload: 1591.37 Mbit/s

@mism-mism
Copy link
Collaborator Author

ディスク性能こっちのほうが見やすい

isucon@team015-001:/var/log$ sudo fdisk -l
Disk /dev/vda: 10 GiB, 10737418240 bytes, 20971520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: EB92262B-4413-4C88-A732-AED5E849E028

Device      Start      End  Sectors  Size Type
/dev/vda1  227328 20971486 20744159  9.9G Linux filesystem
/dev/vda14   2048    10239     8192    4M BIOS boot
/dev/vda15  10240   227327   217088  106M EFI System

Partition table entries are not in disk order.
isucon@team015-001:/var/log$  sudo hdparm -tT /dev/vda1

/dev/vda1:
 Timing cached reads:   8846 MB in  2.00 seconds = 4425.81 MB/sec
 Timing buffered disk reads: 296 MB in  3.00 seconds =  98.57 MB/sec
isucon@team015-001:/var/log$

@mism-mism
Copy link
Collaborator Author

完了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant