Re: [squid-users] Slowness in Squid [squid-users Digest, Vol 26, Issue 82]

2016-10-23 Thread Antony Stone
On Sunday 23 October 2016 at 14:42:02, Krishna Kulkarni wrote: > Hi Antony, > Thanks for the reply. I have made changes in squid.conf as per your > suggestion and have allocated 20 GB of Hard disk space. Have you made any measurements at all (either before making the disk cache bigger, or

Re: [squid-users] Slowness in Squid

2016-10-23 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 In the final, I do not think Squid architecture is designed for fast access to huge amounts of memory. It came from a time when computers were young, memory cost like Boeing and hardly Squid itself seriously reworked in this part since then.

Re: [squid-users] Slowness in Squid

2016-10-23 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 23.10.2016 18:09, Matus UHLAR - fantomas пишет: >> 23.10.2016 17:40, Yuri Voinov пишет: >>> This effect is good known to all who have worked with relational >>> databases. In fact, it is typical in general for all caches except >>> purpose-built

Re: [squid-users] Slowness in Squid

2016-10-23 Thread Matus UHLAR - fantomas
23.10.2016 17:40, Yuri Voinov пишет: This effect is good known to all who have worked with relational databases. In fact, it is typical in general for all caches except purpose-built highly scalable systems. 23.10.2016 17:37, Matus UHLAR - fantomas пишет: > doesn't that imply kind of

Re: [squid-users] Slowness in Squid

2016-10-23 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 In fact, the explanation is very simple. At some point soon will get the content from the disc using an index of any kind than consequentially and fully scan the giant structure in RAM. Performance indicator is expressed in the data access time.

Re: [squid-users] Slowness in Squid

2016-10-23 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 This effect is good known to all who have worked with relational databases. In fact, it is typical in general for all caches except purpose-built highly scalable systems. 23.10.2016 17:37, Matus UHLAR - fantomas пишет: > doesn't that imply kind

Re: [squid-users] Slowness in Squid

2016-10-23 Thread Matus UHLAR - fantomas
On 23.10.16 17:15, Yuri Voinov wrote: Keep in mind - a huge in-memory cache does not always give the acceleration. Moreover, in most cases you can get the opposite effect expected. It is a common misconception - that the giant memory cache will give a giant performance gain. doesn't that imply

Re: [squid-users] Slowness in Squid

2016-10-23 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Keep in mind - a huge in-memory cache does not always give the acceleration. Moreover, in most cases you can get the opposite effect expected. It is a common misconception - that the giant memory cache will give a giant performance gain.

Re: [squid-users] Slowness in Squid

2016-10-23 Thread Antony Stone
On Sunday 23 October 2016 at 05:36:22, Krishna Kulkarni wrote: > I am new to squid.. I have installed squid 3.5 on CentOS 6.7. As a > configuration part, I have kept most of the things default. Please advice > on how to allocate cache memory of 20 GB to squid. Do you mean cache memory, or disk