Path: sramha!katsu From: katsu@sra.co.jp (WATANABE Katsuhiro) Message-ID: Date: 5 Jul 90 10:55:30 Organization: Software Research Associates, Inc.,Japan Newsgroups: sra.test, fj.test, junk Subject: Today's junk article Distribution: sra (Distribution: sra) 谷明美嬢 polaris 表紙登場記念特別企画: 「本日のゴミ記事」 この企画の趣旨: 特になし。やりたいからやってるだけ。日記を書くような お気楽な企画である。 ・表むきの推薦者は私なのだが、裏の(真の)推薦者がO部長だったためなのか、 推薦文を書かなくてすんだ。 ・小口さんから、Polaris 表紙のポジ(ネガじゃないのだそうだ)を1万円で 売ってもよいという話が来た。 ・表紙を切り取って NeXT に張り付けておいたが、まぶしいという話が 周囲から出たので目立たない場所に移動した。 ・あけみちゃんは、「結婚するまでは男の人の手を握ってはいけません。」と 強く親に言われているのだそうだ。 環境開発部では sraNFS1 という RISC NEWS に拡張ディスクをつなげ、 そこに gnu(emacs も)や X のコマンド類や各プロジェクト用の領域をとり、 部内の沢山の機械から nfs mount して使うようになっています。 nfs mount しているファイルを参照すれば、その分だけ nfs call が発生し、 またネットワーク内ではパケットの受け送りもあるはずです。 ふと思って、sraNFS1 での nfs call の1日の変化の統計をとってみました。 あわせて、sraNFS1 に送られる、あるいは sraNFS1 から送られるパケットの数、 および衝突についても調べてみました。 1990年7月4日水曜日の統計です。 unshar して make すると、roff の中間ファイルができますから、xp などで 見て下さい。 図の中で、nfscalls などは sraNFS1 で nfscalls nfsstat の server nfs の calls (棒) input packets netstat の input packets (鎖線) output packets netstat の output packets (線) collisions netstat の collisions (点線) を30分毎に調べた結果です。 ちなみに cpu の idle の情報も一緒に集めたのですが、顕著な差が認められ なかったので、図がよけいに複雑になるのを嫌って含めませんでした。 ただ出してみたという、役に立たない、まさにこの企画にうってつけの話です。 #「技術は役に立つものでなければならない」という話が石原部長から #あったばかりだというのに...... まあ、「常識どうりのことが確かに起きることが確認できた」というのも 知識のうちだろうと思います。 #! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create: # Makefile # g4.grap # stat.cp # This archive created: Thu Jul 5 10:50:32 1990 export PATH; PATH=/bin:/usr/bin:$PATH if test -f 'Makefile' then echo shar: "will not over-write existing file 'Makefile'" else cat << ¥SHAR_EOF > 'Makefile' # roffout: g4.grap stat.cp grap g4.grap | pic | troff > roffout SHAR_EOF fi if test -f 'g4.grap' then echo shar: "will not over-write existing file 'g4.grap'" else cat << ¥SHAR_EOF > 'g4.grap' .¥" .¥" grap g4.grap | pic | troff .... .¥" .po -0.5i .G1 callmax = 0; ipmax = 0; opmax = 0; colmax = 0 copy "stat.cp" thru { callmax = max(callmax, $2) ipmax = max(ipmax, $3) opmax = max(opmax, $4) colmax = max(colmax, $5) } pktsmax = max(ipmax, opmax) * 1.1 callmax = callmax * 1.1 colmax = colmax * 1.1 define stepb } stepblog = int(log($1)) stepbase = 1; for i = 1 to stepblog do % stepbase = stepbase * 10 % if (($1 / stepbase) < 2) then % stepbase = stepbase / 2 % } stepb(callmax); callstep = stepbase stepb(pktsmax); pktsstep = stepbase stepb(colmax); colstep = stepbase frame ht 4 wid 5.5 label top "¥s+4sraNFS1 nfscalls statistics¥s0" label bottom "time" "" "nfscall:pillar input packets:dashed line outout packets:solid line collisions:dotted line" label left "NFS calls" "(each 30min)" label right "input/output" "packets" "(each 30min)" label right "collisions" "(each 30min)" left 1 coord callw x 0,24 y 0,callmax coord pktsw x 0,24 y 0,pktsmax coord colw x 0,24 y 0,colmax ticks bottom from 0 to 24 by 1 ticks left out from callw 0 to callw callmax by callstep ticks right out from pktsw 0 to pktsw pktsmax by pktsstep ticks right in from colw 0 to colw colmax by colstep draw callline solid draw ipktsline dashed draw opktsline solid draw colline dotted copy "stat.cp" thru { next callline at callw $1+0.1, 0 next callline at callw $1+0.1, $2 next callline at callw $1+0.4, $2 next callline at callw $1+0.4, 0 next ipktsline at pktsw $1+0.25, $3 next opktsline at pktsw $1+0.25, $4 next colline at colw $1+0.25, $5 } .G2 SHAR_EOF fi if test -f 'stat.cp' then echo shar: "will not over-write existing file 'stat.cp'" else cat << ¥SHAR_EOF > 'stat.cp' 0.0 21 1360 82 0 0.5 21 1383 82 0 1.0 790 2350 946 1 1.5 28 1864 92 0 2.0 119 1549 337 1 2.5 74 1440 145 0 3.0 14691 16069 14946 1 3.5 99 1451 331 0 4.0 119 1464 191 0 4.5 26 1362 88 0 5.0 26 1357 87 0 5.5 46 1632 109 0 6.0 17810 19519 20580 3 6.5 20 1341 80 0 7.0 143 1491 265 0 7.5 2327 3833 6748 0 8.0 1960 5076 8574 2 8.5 5631 7717 11854 22 9.0 12885 16259 24008 24 9.5 22754 30137 43611 55 10.0 8519 55524 62844 48 10.5 4359 8675 10735 24 11.0 14803 19680 32729 14 11.5 26726 37131 44304 40 12.0 9175 12811 13467 8 12.5 6174 9285 10445 24 13.0 9630 15447 23620 123 13.5 9289 19180 24973 138 14.0 7181 15267 18259 200 14.5 4215 11712 11734 34 15.0 5163 11038 13065 124 15.5 7238 17519 22892 144 16.0 5412 9575 14720 48 16.5 14730 22635 30803 66 17.0 16265 23583 27833 96 17.5 13998 19525 25939 35 18.0 12169 18246 25053 51 18.5 4347 7781 11565 6 19.0 10480 16161 23174 68 19.5 5469 8904 10370 27 20.0 7038 12677 15737 27 20.5 6243 10434 13654 22 21.0 5833 9074 9856 14 21.5 5314 7613 7675 21 22.0 2488 16560 29144 100 22.5 1760 3297 2684 0 23.0 21 1391 82 0 23.5 28 1431 140 0 SHAR_EOF fi exit 0 # End of shell archive -- ----____----____ 渡邊克宏 環境開発部 今月の標語:「あけみちゃんはかわいい」