You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Saraswathi Venkataraman <sa...@Xoriant.Com> on 2012/06/29 08:52:35 UTC

Cache configuration

I have an ATS which is connected to RAID5 and another ATS which is an SSD

These are the raw disk available on ATS1 AND ATS2 respectively.

Disk /dev/sda: 6301.1 GB, 6301058621440 bytes
Disk /dev/sdb: 900.2 GB, 900151926784 bytes

On ATS2:

Disk /dev/sda: 3584.5 GB, 3584534339584 bytes
Disk /dev/sdb: 512.1 GB, 512076636160 bytes

I have used /dev/sdb as the configuration in storage.config file directly. Specified ram cut off in records.config as 100MB for different ram cache sizes configured in records.config , starting from 1MB,100MB,10GB and 48GB. However, the ATS2 which is SSD shows lesser TPS for 1MB ram cache size and 100M cut off scenario? Why is this? How do we configure this? Shouldn't the ATS2 perorm better or am I configuring something incorrectly. I am a newbie with this, so I would be grateful if someone could help me with this.

Thanks & Regards
Saraswathi Venkataraman | Xoriant Solutions Pvt. Ltd.
Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA.
Tel: +91 22 30511000 | Ext: 1113 | http://www.xoriant.com<http://www.xoriant.com/>


Re: logstats command

Posted by Nick Berry <ni...@linkedin.com>.
proxy.config.http.enable_http_stats should not be required.

traffic_logstats will read squid.blog to generate its report.

From: Greg Dallavalle <gr...@wolfnet.com>>
Reply-To: <us...@trafficserver.apache.org>>
Date: Tue, 3 Jul 2012 09:59:54 -0500
To: <us...@trafficserver.apache.org>>
Subject: Re: logstats command

Make sure you have the squid log in binary format enabled.
proxy.config.log.squid_log_enabled INT 1
proxy.config.log.squid_log_is_ascii INT 0

Also http_stats:
proxy.config.http.enable_http_stats INT 1

On Tue, Jul 3, 2012 at 7:27 AM, Saraswathi Venkataraman <sa...@xoriant.com>> wrote:
My logstats command always shows everything as 0. Is there any setting I need to do, to enable it?

Saraswathi


Re: logstats command

Posted by Greg Dallavalle <gr...@wolfnet.com>.
Make sure you have the squid log in binary format enabled.
proxy.config.log.squid_log_enabled INT 1
proxy.config.log.squid_log_is_ascii INT 0

Also http_stats:
proxy.config.http.enable_http_stats INT 1

On Tue, Jul 3, 2012 at 7:27 AM, Saraswathi Venkataraman <
saraswathi.venkataraman@xoriant.com> wrote:

>  My logstats command always shows everything as 0. Is there any setting I
> need to do, to enable it?****
>
> ** **
>
> Saraswathi****
>

logstats command

Posted by Saraswathi Venkataraman <sa...@Xoriant.Com>.
My logstats command always shows everything as 0. Is there any setting I need to do, to enable it?

Saraswathi

RE: Cache configuration

Posted by Saraswathi Venkataraman <sa...@Xoriant.Com>.
Basically it seems that for small cache like 1MB as ram cache size, the results are worth than for larger ram and for lower BW the latency is worth, and it should be the other way
.

Thanks & Regards
Saraswathi Venkataraman | Xoriant Solutions Pvt. Ltd.
Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA.
Tel: +91 22 30511000 | Ext: 1113 | http://www.xoriant.com<http://www.xoriant.com/>

From: Saraswathi Venkataraman [mailto:saraswathi.venkataraman@Xoriant.Com]
Sent: Tuesday, July 03, 2012 5:42 PM
To: Leif Hedstrom; users@trafficserver.apache.org
Subject: RE: Cache configuration

This is the sample results we get for both the ATS.

For an average size of  objects fetched for 26K,ram cache config variable set to 100M and ram cache cut off set to 100M for both these, we get for ATS1. Storage config has /dev/sda for ATS2 and /dev/sdb for ATS1

TPS: 20910

BW: 4.34928

ATS1 CPU utiliation:
49.90%

ATS1 server load:
1.52

Latency of ATS1 which is loaded
avr 0.76

Latency of the other idle ATS2(SSD)
avr 0.15


And for ATS2
TPS: 22324

BW:4.643392

ATS2 CPU utiliation 51.40%

AT2S server load 2.55

Latency of ATS2 WHICH IS LOADED:
avr 0.715

Latenc of the AT1 which is idle
Avr 0.15


There is not much difference in the TPS as well. Is there any other way we can reduce the latency, Am I missing some RAM configuration. Are there any other parameters  I can configure, for better performance?

Thanks & Regards
Saraswathi Venkataraman | Xoriant Solutions Pvt. Ltd.
Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA.
Tel: +91 22 30511000 | Ext: 1113 | http://www.xoriant.com<http://www.xoriant.com/>

From: Leif Hedstrom [mailto:zwoop@apache.org]
Sent: Tuesday, July 03, 2012 8:25 AM
To: users@trafficserver.apache.org
Cc: Saraswathi Venkataraman
Subject: Re: Cache configuration

On 6/29/12 12:52 AM, Saraswathi Venkataraman wrote:
I have an ATS which is connected to RAID5 and another ATS which is an SSD

These are the raw disk available on ATS1 AND ATS2 respectively.

Disk /dev/sda: 6301.1 GB, 6301058621440 bytes
Disk /dev/sdb: 900.2 GB, 900151926784 bytes

On ATS2:

Disk /dev/sda: 3584.5 GB, 3584534339584 bytes
Disk /dev/sdb: 512.1 GB, 512076636160 bytes

Nothing rings any bells, I'd expect the SSD to outperform the SSD by several magnitudes. :/

-- Leif

RE: Cache configuration

Posted by Saraswathi Venkataraman <sa...@Xoriant.Com>.
This is the sample results we get for both the ATS.

For an average size of  objects fetched for 26K,ram cache config variable set to 100M and ram cache cut off set to 100M for both these, we get for ATS1. Storage config has /dev/sda for ATS2 and /dev/sdb for ATS1

TPS: 20910

BW: 4.34928

ATS1 CPU utiliation:
49.90%

ATS1 server load:
1.52

Latency of ATS1 which is loaded
avr 0.76

Latency of the other idle ATS2(SSD)
avr 0.15


And for ATS2
TPS: 22324

BW:4.643392

ATS2 CPU utiliation 51.40%

AT2S server load 2.55

Latency of ATS2 WHICH IS LOADED:
avr 0.715

Latenc of the AT1 which is idle
Avr 0.15


There is not much difference in the TPS as well. Is there any other way we can reduce the latency, Am I missing some RAM configuration. Are there any other parameters  I can configure, for better performance?

Thanks & Regards
Saraswathi Venkataraman | Xoriant Solutions Pvt. Ltd.
Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA.
Tel: +91 22 30511000 | Ext: 1113 | http://www.xoriant.com<http://www.xoriant.com/>

From: Leif Hedstrom [mailto:zwoop@apache.org]
Sent: Tuesday, July 03, 2012 8:25 AM
To: users@trafficserver.apache.org
Cc: Saraswathi Venkataraman
Subject: Re: Cache configuration

On 6/29/12 12:52 AM, Saraswathi Venkataraman wrote:
I have an ATS which is connected to RAID5 and another ATS which is an SSD

These are the raw disk available on ATS1 AND ATS2 respectively.

Disk /dev/sda: 6301.1 GB, 6301058621440 bytes
Disk /dev/sdb: 900.2 GB, 900151926784 bytes

On ATS2:

Disk /dev/sda: 3584.5 GB, 3584534339584 bytes
Disk /dev/sdb: 512.1 GB, 512076636160 bytes

Nothing rings any bells, I'd expect the SSD to outperform the SSD by several magnitudes. :/

-- Leif

Re: Cache configuration

Posted by Leif Hedstrom <zw...@apache.org>.
On 6/29/12 12:52 AM, Saraswathi Venkataraman wrote:
>
> I have an ATS which is connected to RAID5 and another ATS which is an SSD
>
> These are the raw disk available on ATS1 AND ATS2 respectively.
>
> Disk /dev/sda: 6301.1 GB, 6301058621440 bytes
>
> Disk /dev/sdb: 900.2 GB, 900151926784 bytes
>
> On ATS2:
>
> Disk /dev/sda: 3584.5 GB, 3584534339584 bytes
>
> Disk /dev/sdb: 512.1 GB, 512076636160 bytes
>

Nothing rings any bells, I'd expect the SSD to outperform the SSD by 
several magnitudes. :/

-- Leif