Search squid archive

Re: after i checked via firebug ( firefox addon) , i found waiting time is very high via monitor hit small object , how i do reduce the waiting time for hit object ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15/03/2016 4:03 a.m., johnzeng wrote:
> 
> Hello *Eliezer Croitoru:
> 
> This is access log


pPS. You said the problem was with "small object". Most of the objects
displayed in these logs are close to MB sized. That is not "small".


> 
> *
> 1457966492.146 58 192.168.200.7 TCP_HIT_ABORTED/200 339904 GET
> http://n.sinaimg.cn/astro/20160314/2MaF-fxqhmvc2438304.gif - HIER_NONE/-
> image/gif

58 ms to transfer 340KB is not that slow (47 Mbps). The object in full
is ~750KB large, and takes 3300 ms to transfer for me. Even if your
systems are an order of magnitude faster you should expect ~100ms for a
completed HIT.

So it looks like everything Squid logged above is correct. Client
abandoned the transfer almost immediately after starting it.


> 1457966492.146 630 192.168.200.7 TCP_HIT_ABORTED/000 0 GET
> http://n.sinaimg.cn/tech/transform/20160314/RB22-fxqhmvp6178931.jpg -
> ORIGINAL_DST/222.73.28.96 -

This one is a bit odd. The object is apparently 2KB in size and taking
more than 630ms to arrive from the origin server.

Still it looks like everything Squid logged above is correct though.
Client abandoned the transfer before receiving anything.


> 1457966492.147 147 192.168.200.7 TCP_HIT_ABORTED/200 430016 GET
> http://n.sinaimg.cn/astro/20160314/70R9-fxqhmvp6192289.gif - HIER_NONE/-
> image/gif
> 1457966492.147 142 192.168.200.7 TCP_HIT_ABORTED/200 798656 GET
> http://n.sinaimg.cn/astro/20160314/BU-Y-fxqhmvc2438377.gif - HIER_NONE/-
> image/gif
> 1457966492.148 632 192.168.200.7 TCP_HIT_ABORTED/000 0 GET
> http://n.sinaimg.cn/tech/transform/20160314/4C0r-fxqhwtu7716986.jpg -
> ORIGINAL_DST/222.73.28.96 -
> 

Same for all the above.

The rest were all successful HIT or IMS_HIT and look normal.

Note that HIT does not guarantee high speed. HIT on a large object still
has to transfer that object sometimes, and HIT on a small object still
has to cope with all concurrent work Squid is doing.
What Squid offers is that they are faster than would have been seen if
not a HIT.

Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux