• 内容へ移動

fl8 Wiki

ユーザ用ツール

  • ログイン

サイト用ツール

  • 最近の変更
  • メディアマネージャー
  • サイトマップ
現在位置: Dokuwiki.fl8.jp » code
トレース: • 11 mountでエラー • 14 redis-benchmark • 01 Galera構築

code

検索

以下に検索結果を表示します。

完全一致
  • 完全一致
  • 前方一致
  • 後方一致
  • 部分一致
@01_linux:09_ベンチマーク
  • 全ての名前空間
全期間
  • 全期間
  • 1週間以内
  • 1カ月以内
  • 1年以内
ヒット数順に並べる
  • ヒット数順に並べる
  • 最終更新順に並べる

全文検索:

05 Linuxチューニング
32 ヒット, 最終更新: 3年前
高負荷(Cron) ==== mlocate, makewhatis のCronを停止する。 <code> chmod 0 /etc/cron.daily/mlocate.cron chmod 0... cron chmod 0 /etc/cron.weekly/makewhatis.cron </code> ==== ②.Swap ==== [[01_linux:99_その他:02_swappiness]] <code> # echo 1 > /proc/sys/vm/swappiness </code> ==== ③.IOキューサイズ変更 ==== ディスクIOのキューサイズは低いほどレスポンス重視、高いほどスルー
fio
20 ヒット, 最終更新: 3年前
fioというコマンドで、iopsなど計測してみる。 ===== インストール ===== <code> # yum -y install fio </code> ==== CentOS6の場合 ==== fio version 2とfio version 3はちょっと動作が違うため <code> # yum install epel-release # yum --enablerepo=epel-testing install fio </code> ==== CentOS5の場合 ==== [[https://kernel.googleso
02_ネットワーク負荷試験iperf
14 ヒット, 最終更新: 8年前
mforgeレポジトリ追加|RPMforgeリポジトリ]] を追加してからyumでインストール <code console> # yum install iperf </code> ===== TCP ===== === サーバ側 === <code console> # iperf -s -p 8080 -i 1 </code> === クライアント側 === <code console> # iperf -c 192.168.10.10 -p 8
dbench
14 ヒット, 最終更新: 3年前
org/lookaside/extras/dbench/dbench-4.0.tar.gz]] <code console> $ wget http://samba.org/ftp/tridge/dbenc... gen.sh $ ./configure $ make $ su # make install </code> 実行 「-D」オプションでワークディレクトリを指定 <code console> # dbench 5 -D /tmp </code> ===== エラー ===== === 1 === <code console> # ./autogen.sh ./autogen
01 サーバに負荷をかける
8 ヒット, 最終更新: 8年前
する ===== メモリ、スワップ使用率を上げる ===== ==== bash ==== <code> # /dev/null < $(yes) & # /dev/null < $(yes) & # /dev/null < $(yes) & </code> === Perl === 変数を代入し続けてメモリを消費させる <code> perl -e '$c[$_]="a"x$_ for 1..1000000' </code> == 上記の解説 == <code perl> # vi test.pl #!/bin/perl use
12 memtier_benchmark redis
8 ヒット, 最終更新: 8カ月前
enchmark]]でシンプルなベンチもできます。 ===== 必要なライブラリ ===== <code> yum -y install epel-release yum -y install gcc m... m -y install dbench fio jq bc ipmitool wget git </code> ===== Libevent install ===== <code> wget https://github.com/downloads/libevent/libevent/libevent-2.0... ATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH} </code> ===== memtier_benchmark install ===== <code> g
tuned
8 ヒット, 最終更新: 3年前
d ====== Linuxのパフォーマンス・チューニング I/Oスケジューラーを調整する。 <code> yum install -y tuned tuned-adm profile enterprise-storage tuned-adm profile virtual-guest </code> とめかた tuned-adm off プロファイルのリスト tuned-adm li... ed default と virtual-host の差 ====== ioscheduler <code> ## defautl io_timeout 30000 max_segment_size 655... egment_size 4294967295 physical_block_size 4096 </code> cpu governor <code> ## default # cpufreq-info -
03 iperf3
6 ヒット, 最終更新: 5カ月前
mforgeレポジトリ追加|RPMforgeリポジトリ]] を追加してからyumでインストール <code console> # yum install iperf3 </code> ===== オプション ===== <code> # iperf3 -hlep Usage: iperf [-s|-c host] [options] iperf [-h|--help] ... ort bugs to <iperf-users@lists.sourceforge.net> </code> ==== サーバ側 ==== iperf3 -s ==== クライアント側 ===
httping
6 ヒット, 最終更新: 7年前
w.vanheusden.com/httping/]] ===== インストール ===== <code console> # wget http://www.vanheusden.com/httping... ./configure # make # cp httping /usr/local/bin/ </code> ==== CentOS6 ==== <code> # rpm -Uvh epel-release*rpm # yum install httping </code> ===== 実行例 ===== <code console> # httping -s h
unixbench
5 ヒット, 最終更新: 4年前
がかかる \\ ※「-c n」で計測時のCPUの数を指定。 </color> [[http://code.google.com/p/byte-unixbench/downloads/list]] ===== エラー ===== 実行でエラーが出る場合がある。 <code> # ./Run -i 1 -c 1 Can't locate Time/HiRes.pm in ... IN failed--compilation aborted at ./Run line 6. </code> ==== 対応方法 ==== <code> # yum install perl-Time-HiRes </code> {{tag>ベンチマーク}}
06 AB テスト
4 ヒット, 最終更新: 3年前
qiita.com/flexfirm/items/ac5a2f53cfa933a37192]] <code> $ ab -n 100 -c 100 http://www.example.co.jp/ </code> |-n 数値|リクエストの総数を数値で指定| |-c 数値|同時に発行するリクエストの数を数値で指定| ===== 実行例 ===== <code> $ ab -n 100 -c 20 http://fl8.jp/ This is ApacheB... 585 99% 594 100% 594 (longest request) </code> ===== この辺確認 ===== Time taken for tests: 1
13 CentOS Meltdown CPU
4 ヒット, 最終更新: 3年前
===== 13 CentOS Meltdown CPU ====== CPU脆弱性対策無効化 <code> echo 0 > /sys/kernel/debug/x86/pti_enabled echo ... led echo 0 > /sys/kernel/debug/x86/ibrs_enabled </code> ===== Unixbenchの実行結果 ===== 同じCPU「Intel(R) Xeo... E5645 @ 2.40GHz」でもKernelによって、だいぶスコアが違う ※1コアで計測 <code> →3.10.0-123.el7.x86_64 System Benchmarks Index S... System Benchmarks Index Score 1245.4 </code> {{tag>CentOS7 CPU}}
14 redis-benchmark
4 ヒット, 最終更新: 8カ月前
apt install redis-server ===== 2.起動確認 ===== <code> # systemctl status redis-server ● redis-server.... 4 systemd[1]: Started Advanced key-value store. </code> ===== 3.ベンチ ===== <code> # redis-benchmark . . . 143266.47 requests per second </code> {{tag>ベンチマーク redis}}
31 ディスクのマウントオプション変更(noatime)
4 ヒット, 最終更新: 10年前
果的だ。 ただし,この設定によってiノードのアクセス時間が更新されなくなる点を理解しておこう。 <code bash> # cat /etc/fstab LABEL=/ /... ext3 defaults,noatime 1 1 </code> ===== 設定の反映 ===== 該当のマウントポイントに、 noatimeが表示されていればOKです。 <code bash> # mount -o remount / # mount /dev/hda2 on / type ext3 (rw,noatime) </code> {{tag>noatime ベンチマーク}}
04 サーバに負荷をかける(Windows)
2 ヒット, 最終更新: 10年前
====== 04 サーバに負荷をかける(Windows) ====== <code bat> @echo off :LOOP goto :LOOP </code>
07 ブロックサイズとスループットについて
2 ヒット, 最終更新: 5年前
11.IO負荷高いプロセスを見つける(iotop)
2 ヒット, 最終更新: 7年前
bonnie++
2 ヒット, 最終更新: 7年前

ページ用ツール

  • 文書の表示
  • 以前のリビジョン
  • バックリンク
  • 文書の先頭へ
特に明示されていない限り、本Wikiの内容は次のライセンスに従います: CC Attribution-Noncommercial-Share Alike 4.0 International
CC Attribution-Noncommercial-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki