Re: Disk accesses freeze for a lot of seconds

2013-01-06 Thread William Ahern
On Mon, Jan 07, 2013 at 12:53:01PM +1000, David Diggles wrote: > > > Maybe the following will help. > > > > > > See "Tuning for More" > > > http://wiki.squid-cache.org/BestOsForSquid > > > > > > I use mount options: noatime and async. > > > I don't use softdep for squid cache either. > > > > that

Re: Disk accesses freeze for a lot of seconds

2013-01-06 Thread David Diggles
> > Maybe the following will help. > > > > See "Tuning for More" > > http://wiki.squid-cache.org/BestOsForSquid > > > > I use mount options: noatime and async. > > I don't use softdep for squid cache either. > > that is not good policy. you are asking for trouble. Thanks for the opinion. Yeah I

Re: Disk accesses freeze for a lot of seconds

2013-01-06 Thread Amit Kulkarni
> Maybe the following will help. > > See "Tuning for More" > http://wiki.squid-cache.org/BestOsForSquid > > I use mount options: noatime and async. > I don't use softdep for squid cache either. that is not good policy. you are asking for trouble.

Re: Disk accesses freeze for a lot of seconds

2013-01-06 Thread David Diggles
Maybe the following will help. See "Tuning for More" http://wiki.squid-cache.org/BestOsForSquid I use mount options: noatime and async. I don't use softdep for squid cache either. I found aufs worked best for storage scheme (in squid.conf). I am curious. Anyone out there using diskd? On Sun, J

Re: Disk accesses freeze for a lot of seconds

2013-01-06 Thread Loïc BLOT
I got same problem with squid when squid exit normally (/etc/rc.d/squid stop), when mass squid disk cache is written, there is a one min freeze on the server. (OpenBSD 5.2). The problem was also here under OpenBSD 5.1. CPU is also OK (10% of a big xeon quad). But for me softdeps aren't activated. T

Re: Disk accesses freeze for a lot of seconds

2013-01-06 Thread Federico Giannici
You was right: turning off softdep made the freezes much shorter. Thanks. On 01/06/13 13:49, Stefan Sperling wrote: On Sun, Jan 06, 2013 at 12:22:44PM +0100, Federico Giannici wrote: We have an OpenBSD 5.2 amd64 where every 5 minutes a few thousand of ".rrd" files from MRTG are written (actua

Re: Disk accesses freeze for a lot of seconds

2013-01-06 Thread Stefan Sperling
On Sun, Jan 06, 2013 at 12:22:44PM +0100, Federico Giannici wrote: > We have an OpenBSD 5.2 amd64 where every 5 minutes a few thousand of > ".rrd" files from MRTG are written (actually, updated) to disk. > > The problem is that for a few seconds (15-20) every other access to > the disk is totally

Disk accesses freeze for a lot of seconds

2013-01-06 Thread Federico Giannici
We have an OpenBSD 5.2 amd64 where every 5 minutes a few thousand of ".rrd" files from MRTG are written (actually, updated) to disk. The problem is that for a few seconds (15-20) every other access to the disk is totally blocked. So during those 15-20 seconds the access to the graphs is freeze