エントリー

Debian squeeze した玄箱で MontaVista Linux を起動する

玄箱を www.revulo.com の手順で lenny化していると、「玄箱用なんちゃってブートセレクタ2」が導入されているので、ブートセレクタの定義ファイルを変更していなければ、ブート時に電源ボタンの操作(1回押す)でカーネルが切り替わらずパーティション1のまま起動する(詳細はこちら

MontaVistaで起動することを確認してみた

Linux KURO-BOX 2.6.25.1-kuroboxHG #9 Sun May 4 21:29:57 JST 2008 ppc

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Oct 31 19:44:20 2012 from 192.168.XX.XX
$ su
パスワード:
# shutdown -r now

LEDを確認しながらタイミング良く電源ボタンを1回押す
十分に待ち時間があるので操作は簡単

==(玄箱用なんちゃってブートセレクタ2 説明書抜粋)============================
   起動中POWER LEDの点滅が止まり、DISK FULL LEDが点灯します。
   このLEDが点灯している間に、お望みの数を電源ボタンを押すことで指定します。
   3秒間(デフォルト値)放置するとデフォルトのOSが起動します。
===============================================================================

起動したので telnet で接続

Kuroutoshikou KURO-BOX/HG (IESHIGE)
Linux/ppc 2.4.17_mvl21

KURO-BOX login: root
Password: (kuroadmin)
Linux (none) 2.4.17_mvl21 #24 2004? 10キ・19ニ・イミヘヒニ・17:17:03 JST ppc unknown
root@KURO-BOX:~# mount
/dev/hda1 on / type ext3 (rw,noatime,errors=remount-ro,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda3 on /mnt type ext3 (rw,noatime)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw)
root@KURO-BOX:~#

カーネル再構築で正常に動作しなかった場合などにメンテナンス用として利用できる

ルーカスがスターウォーズを売ってしまった

朝刊に載っていたので驚いた

厳密にはディズニーががルーカスフィルムを買収したってことだが、なんとスターウォーズの全権までも含んでいる

ディズニーとしてはスターウォーズのキャラクター(クリーチャー)が欲しかったのかなと思うがエピソード7は予定してるみたいだ

更にエピソード8・9が出来そうなのでそれは嬉しいが、ルーカス主導で進められないようになるから中身に不安がある

気になるArmボード

情報元
http://japanese.engadget.com/2012/09/05/49-arm-cubieboard-cortex-a8-mali-400-soc-1gb-ram-hdmi/

サイト
http://cubieboard.org/

PHPアクセラレータの導入

玄箱HGのCPUが非力なので eAccelerator というPHPアクセレータを導入してみた
このアクセラレータはPHPの実行時に作成される中間コードをキャッシュして高速化するそうだ

結果、体感的にも効果が十分に判る
Apacheベンチマーク(時接続数:10、総リクエスト数:100でリクエスト)で見ると4~5割向上している

導入前
$ ab -n 100 -c 10 http://www.inoshita.jp/freo/view/188
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.inoshita.jp (be patient).....done


Server Software:        Apache
Server Hostname:        www.inoshita.jp
Server Port:            80

Document Path:          /freo/view/188
Document Length:        14742 bytes

Concurrency Level:      10
Time taken for tests:   148.017 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      1497500 bytes
HTML transferred:       1474200 bytes
Requests per second:    0.68 [#/sec] (mean)
Time per request:       14801.667 [ms] (mean)
Time per request:       1480.167 [ms] (mean, across all concurrent requests)
Transfer rate:          9.88 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    4  10.9      0      39
Processing: 13135 14716 824.8  14665   16690
Waiting:    12558 14012 794.5  13942   15932
Total:      13135 14720 827.5  14665   16728

Percentage of the requests served within a certain time (ms)
  50%  14665
  66%  14777
  75%  14931
  80%  14986
  90%  16431
  95%  16544
  98%  16705
  99%  16728
 100%  16728 (longest request)
eAccelerator導入後
$ ab -n 100 -c 10 http://www.inoshita.jp/freo/view/188
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.inoshita.jp (be patient).....done


Server Software:        Apache
Server Hostname:        www.inoshita.jp
Server Port:            80

Document Path:          /freo/view/188
Document Length:        14742 bytes

Concurrency Level:      10
Time taken for tests:   91.575 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      1497500 bytes
HTML transferred:       1474200 bytes
Requests per second:    1.09 [#/sec] (mean)
Time per request:       9157.530 [ms] (mean)
Time per request:       915.753 [ms] (mean, across all concurrent requests)
Transfer rate:          15.97 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    3   8.6      0      30
Processing:  5310 9032 1762.7   8587   14073
Waiting:     5268 8520 1728.6   8172   13579
Total:       5310 9035 1769.7   8588   14103

Percentage of the requests served within a certain time (ms)
  50%   8588
  66%   9041
  75%   9299
  80%   9531
  90%  12354
  95%  13664
  98%  14064
  99%  14103
 100%  14103 (longest request)

ユーティリティ

検索

エントリー検索フォーム
キーワード

新着コメント

Re:NOAA受信システム復旧
2025/06/11 from admin
Re:NOAA受信システム復旧
2025/06/11 from とおりすがり
Re:SDRplay社RSP1クローンを購入
2025/05/25 from 匿名希望
Re:Mozilla FirefoxではNHKプラスを再生できない件
2025/05/09 from Donabeyaki
Re:ATS-25を作製する
2025/03/23 from kazu

過去ログ

Feed