Re: [squid-users] rock questions ?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 24 Oct 2013 00:51:50 +1300

On 23/10/2013 10:56 p.m., Omid Kosari wrote:
> I am using rock on one of SSD drives to check its performance .
>
>
> before choosing rock the filesystem was reiserfs because it shows good
> performance in huge number of little files but i read somewhere the rock
> uses one big file . so i choose ext4 with discard to got the benefits of
> discard/trim .
>
> the rock creates one file with the name rock in /cache2 directory with the
> size 105906MB from begin and still it has same size . but "df " shows 27%
> used and grows each day .

So what else is being added to the disk? logs? not part of rock anyway.

>
> 1. is the max-size=31000 is the maximum size rock may store ? if not what is
> the max safe value ?

Absolute upper limit I think is max-size=32767. in other math: 32KB -1.

> 2. is my fstab line shows bellow optimal for rock ? i have created it with
> "mkfs.ext4 /dev/sdb" on OCZ-VERTEX3 120GB
>
> 3. it seems the the disk is more idle since switched to rock . how to force
> it use the disk more aggressive ?

Why? less waiting for disk is better.

> 4. the following is output of dumpe2fs of that drive . is it better to
> resize the block size to 32KB which is the size of rock store size ? any
> other suggestion for filesystem ?
>
> dumpe2fs /dev/sdb | more
>

Amos
Received on Wed Oct 23 2013 - 11:52:03 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 23 2013 - 12:00:06 MDT