Bacula-users

Re: [Bacula-users] minimize iowait

2008-12-11 15:01:23
Subject: Re: [Bacula-users] minimize iowait
From: "Lukasz Szybalski" <szybalski AT gmail DOT com>
To: "John Drescher" <drescherjm AT gmail DOT com>
Date: Thu, 11 Dec 2008 13:58:48 -0600
On Thu, Dec 11, 2008 at 12:55 PM, John Drescher <drescherjm AT gmail DOT com> 
wrote:
>> 1. SO I have done the strip size to 2048 which gave me a performance
>> boost from 30mb/s to 104mb/s on a bs=1M
>>
> I find that bigger stripe sizes (than the default 64k) give you worse
> write performance and higher iowait but better read performance on
> large files.
>
>>
>> 2. What would be a difference between these few dd commands, Do those
>> simulate different file sizes ? or ?
>> dd if=/dev/zero of=/home/lucas/bigfile bs=64k count=8192
>> dd if=/dev/zero of=/home/lucas/bigfile bs=128k count=8192
>> dd if=/dev/zero of=/home/lucas/bigfile bs=256k count=8192
>> dd if=/dev/zero of=/home/lucas/bigfile bs=512k count=8192
>> dd if=/dev/zero of=/home/lucas/bigfile bs=1024k count=8192
>> dd if=/dev/zero of=/home/lucas/bigfile bs=2048k count=8192
>> dd if=/dev/zero of=/home/lucas/bigfile bs=4096k count=8192
>>
> They simulate different write sizes and also different amount of bytes
> written. Multiply the numbers for the bytes written. 64k * 8192
>
>>
>> 3. is the stripe_cache_size in bytes? kb? mb?  and what is
>> stripe_cache_active tells me?
> The # of blocks that currently in use of the stripe_cache.
> stripe_cache_size is the # of blocks total.
>
>>
>> 4. I noticed that iowait is now at about 40% constant...is that good?
>>
> No. This is not good.
>

The actuall bottom is about 4-8% if there is any action that needs to
happen then it maxes at 40% and if there is something big then it can
reach 90% but rarely.

In the example you given here
http://forums.gentoo.org/viewtopic-t-709075-highlight-.html

md1 has a chunk size of 256K vs md2 has 64K is that something I can
set? is there a preferred chunk size ? Can that be changed or is that
system hardware set only?

Thanks,
Lucas

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users