On Jun 08, 2005 14:24 +0800, Raymondyu wrote:> Thanks for your reply, I have one more question, is more OST can incerease
> the performence?
> I have build the environment for one ost and five osts, but the performence
> is the same.
This depends on many factors, but for a single client (which is what you
mentioned in your original email) the limiting factor is usually the
client bandwidth, especially if you are running GigE on the client (100MB/s).
Other factors include disk bandwidth, network switch bandwidth, application.
> Below is my configuration, is it correct? Thnaks
>
> lmc -o csan.xml --add net --node init --nid 192.168.0.151 --nettype tcp
> lmc -m csan.xml --add net --node mds --nid 192.168.0.152 --nettype tcp
> lmc -m csan.xml --add net --node osta --nid 192.168.0.153 --nettype tcp
> lmc -m csan.xml --add net --node ostb --nid 192.168.0.154 --nettype tcp
> lmc -m csan.xml --add net --node ostc --nid 192.168.0.155 --nettype tcp
> lmc -m csan.xml --add net --node ostd --nid 192.168.0.156 --nettype tcp
> lmc -m csan.xml --add net --node oste --nid 192.168.0.157 --nettype tcp
>
> lmc -m csan.xml --add mds --node mds --mds mds1 --fstype ext3 --dev
> /dev/sda5 --size 500000000
>
> lmc -m csan.xml --add lov --lov lov1 --mds mds1 --stripe_sz
> 048576 --stripe_cnt 0 --stripe_pattern 0
> lmc -m csan.xml --add ost --node osta --lov lov1 --ost ost1 --fstype
> ext3 --dev /dev/sda5 --size 886445300
> lmc -m csan.xml --add ost --node ostb --lov lov1 --ost ost3 --fstype
> ext3 --dev /dev/sda5 --size 886445300
> lmc -m csan.xml --add ost --node ostc --lov lov1 --ost ost2 --fstype
> ext3 --dev /dev/sda5 --size 886445300
> lmc -m csan.xml --add ost --node ostd --lov lov1 --ost ost4 --fstype
> ext3 --dev /dev/sda5 --size 886445300
> lmc -m csan.xml --add ost --node oste --lov lov1 --ost ost5 --fstype
> ext3 --dev /dev/sda5 --size 886445300
>
> lmc -m csan.xml --add mtpt --node init --path /var/csan --mds mds1 --lov
> lov1
This seems fine. Just for correctness, you don''t need to specify the
--size parameter if you are using the whole partition/device, only if
you are using less than the whole partition or using a loopback file.
It is also generally recommended to use more "interesting" names for
the
devices so that they do not clash if you ever set up another filesystem.
So, in you case mds-varcsan, lov-varcsan, ost-varcsan-1, etc might be
good choices.
I can''t really comment on your performance, as you didn''t
mention what
you are using to measure performance nor what the actual performance is.
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.