CentOS 5.4 で SMB をマウント

Posted in N7700 on 3月 4th, 2010 by na-ga – Be the first to comment

/etc/fstab に記述を追加し、システム起動時に自動でマウントするように設定する。

read more »

MySQL の操作

Posted in MySQL on 12月 4th, 2009 by na-ga – Be the first to comment

いつも忘れるので忘却メモ
read more »

–wsesslog について駄文

Posted in httperf on 12月 2nd, 2009 by na-ga – Be the first to comment

–wsesslog で指定した入力ファイルへのリクエストを送信する順番について、少し調べたのをまとめる。
read more »

Apache の無駄なモジュールをロードしない

Posted in Apache on 12月 1st, 2009 by na-ga – Be the first to comment

httpd-2.2.3-31.el5 では、デフォルト値で 52 個のモジュールがロードされる。これを必要最低限のモジュール (今回の例では 27 個) のみにすることで、気休め程度だが速度向上が期待できる。
read more »

APC まとめ

Posted in PHP on 12月 1st, 2009 by na-ga – Be the first to comment

APC (Alternative PHP Cache) を導入すると、PHP の実行速度が大幅に向上する。仕組みは、PHP はスクリプト言語なので実行するたびにコンパイルが行われるが、APC によって中間コードをキャッシュすることで、高速化を行っている。
read more »

WordPress のチューニングポイントを探す 2

Posted in MySQL, WordPress, httperf, memcached on 11月 19th, 2009 by na-ga – 1 Comment

前回 WordPress のチューニングポイントを探す の続編。MySQL のクエリーキャッシュと、 memcached による分散キャッシュサーバを導入して、WordPress の高速化を目指す。
read more »

httperf man (OUTPUT)

Posted in httperf on 11月 18th, 2009 by na-ga – Be the first to comment

httperf の出力情報を正しく理解できるように man の OUTPUT カテゴリーを日本語訳にしてみた。かなり怪しい訳なので、参考にされる場合は英文と照らし合わせてください。大体の意味は理解できると思うが、意味が分からないところは英文のまま載せました。
read more »

date コマンドのオプション

Posted in 未分類 on 11月 13th, 2009 by na-ga – Be the first to comment

date コマンドのオプションの使い方メモ
read more »

WordPress のチューニングポイントを探す

Posted in Apache, MySQL, PHP, WordPress, httperf on 11月 13th, 2009 by na-ga – Be the first to comment

WordPress の 1 ページを表示するには、複数のファイルにリクエストを出している。その中でも、実際にデータベースに問い合わせが発生するファイルが一番のリクエスト処理時間がかかると考えられる。ベンチマークソフトで負荷を生成し、WordPress のチューニングポイントを探す。
read more »

httperf の –wsesslog オプション

Posted in httperf on 11月 12th, 2009 by na-ga – Be the first to comment

–wsesslog オプションは複雑だけど、使いこなせるようになるとすごく便利。自分も完全に理解していない可能性があるけど、分かる範囲で紹介。間違っていたら指摘してください。
read more »