[squid-users] AUFS vs. DISKS

FredB fredbmail at free.fr
Thu Jul 16 15:00:54 UTC 2015


> > 
> > Not sure we'll have free time for testing the previous 3.4, we now
> > have
> > dozens of boxes to manually upgrade to the 3.5.6...
> > yes, we do use the original squid 3.5.6 package, no build mix here.
> > 
> 
> Ok I will, It would be interesting to understand what happen and if
> there is something wrong in latest versions
> _______________________________________________


Hi all,

Quickly tested with squid 3.5.6, yes there is a big difference  
Without any other load, just my test - wget with proxy 127.0.0.1 (no lan) - Debian wheezy 32 bits


aufs: 

[16/Jul/2015:16:15:25 +0200] "GET http://ec.ccm2.net/www.commentcamarche.net/download/files/youtube_downloader_hd_setup-2.9.9.23.exe HTTP/1.0" 200 10096328 TCP_HIT:HIER_NONE

100%[===========================================================================================================================================================================>] 10,095,849  26.1M/s   in 0.4s    

2015-07-16 16:15:25 (26.1 MB/s) - `youtube_downloader_hd_setup-2.9.9.23.exe.4' saved [10095849/10095849]


real	0m0.385s
user	0m0.028s
sys	0m0.164s


diskd:

[16/Jul/2015:16:17:29 +0200] "GET http://ec.ccm2.net/www.commentcamarche.net/download/files/youtube_downloader_hd_setup-2.9.9.23.exe HTTP/1.0" 200 10096328 TCP_HIT:HIER_NONE "Wget/1.13.4 (linux-gnu)"


Saving to: `youtube_downloader_hd_setup-2.9.9.23.exe.6'

100%[============================================================================================>] 10,095,849   901K/s   in 14s     

2015-07-16 16:17:29 (684 KB/s) - `youtube_downloader_hd_setup-2.9.9.23.exe.6' saved [10095849/10095849]


real	0m14.426s
user	0m0.016s
sys	0m0.156s

In this case it's better without cache. 

I understand that aufs should be better but diskd is unusable ...

I also found something else, with squid 3.4.13 diskd start the download slowly but after a short time it is fast, with 3.5.6 the download is always slow  
In my bench aufs is always faster (very) than diskd, no matter 3.4.3 or 3.5.6, but with high load I'm worried about warning messages in cache.log, diskd seems more stable in this case.  



More information about the squid-users mailing list