RAID総合スレッド No. ..
[
2ch
|
▼Menu
]
■コピペモード
□
スレを通常表示
□
オプションモード
□このスレッドのURL
■項目テキスト
235:login:Penguin 08/09/02 08:50:52 xIov+WO6 性能がスループットという意味なら倍になるよ。 CPUが2つでプロセス2つで読んでればだけど。 読み出しロジックは読み出し処理を2つのディスクに並列分散させるのではなく、 単に空いているorヘッド位置が都合がいい方のディスクを選択するだけだから あるプロセス1つから見たら別に速くなるわけではなさそう。 236:login:Penguin 08/09/02 17:54:33 JL3ZUwv4 あのmanpageに書いてあることは、そういうことだったのか!? だったらmanpageにもそのように書いてくれればいいのにねぇ。 ネット上でも、たまに悩んでいる人がいるし。 237:login:Penguin 08/09/03 09:36:58 GOWpJIT8 ソース見ると、こういうことだべ。 2.6.18のraid1.c * This routine returns the disk from which the requested read should * be done. There is a per-array 'next expected sequential IO' sector * number - if this matches on the next IO then we use the last disk. * There is also a per-disk 'last know head position' sector that is * maintained from IRQ contexts, both the normal and the resync IO * completion handlers update this position correctly. If there is no * perfect sequential match then we pick the disk whose head is closest. * * If there are 2 mirrors in the same 2 devices, performance degrades * because position is mirror, not device based. * * The rdev for the device selected will have nr_pending incremented. */ static int read_balance(conf_t *conf, r1bio_t *r1_bio)
次ページ
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
レスジャンプ
mixiチェック!
Twitterに投稿
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch
5074日前に更新/284 KB
担当:undef