[squid-users] rock storage and max-swap-rate
Amos Jeffries
squid3 at treenet.co.nz
Thu Jan 18 23:20:28 UTC 2018
On 19/01/18 12:04, Ivan Larionov wrote:
> Thank you for the fast reply!
>
> read_ops and write_ops is AWS EBS metric and in general it correlates
> with OS-level reads/s writes/s stats which iostat shows.
>
> So if I understand you correctly max-swap-rate doesn't limit disk IOPS
> but limits squid swap ops instead and every squid operation could in
> theory use more than 1 disk IO operation. This means we can't really say
> "limit swap ops to 1500 because our disk can handle 1500 iops" but
> should figure out the number after testing different values.
>
> Ok, I suppose I'll just do what Rock documentation says – will test
> different values and figure out what works for us.
>
If you know what the OS level IOP size is (eg usually 4KB) and the Squid
rock IOP size Alex mentioned of 32KB. That should give you a number to
divide the disk IOPS limit you want with to get a rough estimate for the
appropriate Squid setting.
The tuning bit is just to see how much variance from that is caused by
your traffic objects being different from the 32KB slot size.
Amos
More information about the squid-users
mailing list