On Monday 24 August 2009 01:14:07 max wrote:
> Isso foi implementado pela primeira vez no kernel 2.6.25, neste commit
> para ser mais exato:
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdi
>ff;h=06386bbfd2441416875d0403d405c56822f6ebac
>
> Não é algo tão novo (pouco mais de um ano e meio) e algumas
> controladoras podem (deveriam!?) fazer isso há muito mais tempo.


Max, nem procurei muito, mas olha só este patch aqui (de 2006):

"This patch adds read balancing.  The round-robin method is used, with
MIN_READS (128) requests going to each device." [1]

E esse aqui é mais antigo ainda (2001):

"- the old raid1 code used to have a limitation: it has always read from
the first disk until the resync finished. Now the code will
read-balance READ requests up to the resync boundary. This should
further improve performance during resyncs."

E é só um patch em cima de código já aplicado previamente, pelo que entendi do 
copyright do raid1.c, da década passada.

E do RAID HOWTO (cuja última revisão foi em 2004):

"The RAID code employs a rather good read-balancing algorithm, that will 
simply let the disk whose heads are closest to the wanted disk position 
perform the read operation."  [3]

E ainda, das controladoras Adaptec e LSI que tenho aqui, sempre há alguma 
menção ao load-balance read requests em RAID 1. Por isso estou em dúvidas...

[1] http://ftp.kernel.org/pub/linux/kernel/people/agk/patches/2.6/2.6.24/dm-
raid1-read-balancing.patch

[2] http://www.cs.helsinki.fi/linux/linux-kernel/2001-50/0702.html

[3] http://tldp.org/HOWTO/Software-RAID-HOWTO-1.html

--
Herbert





--~--~---------~--~----~------------~-------~--~----~
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br

Antes de perguntar:
http://www.istf.com.br/perguntas/

Para sair da lista envie um e-mail para:
[email protected]
-~----------~----~----~----~------~----~------~--~---

Responder a