Date: Wed, 30 Oct 2002 00:45:09 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: current@freebsd.org Subject: Re: system pauses after deleting large files Message-ID: <3DBF9C15.D82C3063@mindspring.com> References: <20021029214613.C30957@Odin.AC.HMC.Edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Brooks Davis wrote: > While moving a large (1GB) file from one parition to another today, I > noticed an odd, reproducable pause. Basicly you create a large file > somewhere and then delete it like so: [ ... ] > Within the next minute or so, I see a pause where the whole system stops > for 5-10 seconds. There is a burst of disk activity accompanying this. > It's easiest to observe this in X with some active dock apps or monitors > running so you'll see them stop updating. > > Is this something that cane be fixed or is it just life with > softupdates? I ask in part because I'm considering a new backup > architecture which will generate files in the range of several 100GB so > I'd hate to find out this hang is going to be proporational to file > size. It's the write data, not the delete, that's being sync'ed out by the soft updates clock. Basically, you've written more data than you can actually write in that period of time, so there is a bottleneck on the sync operation. It's actually avoidable, with tuning, but there are limits on that that are imposed by the amount of buffer memory, etc., which are impossible to exceed (e.g. do this with enough data, and nothing you can do can prevent the pause). See also: /usr/src3/sys/ufs/ffs/README ...specifically, the long description of the following tunables: debug.max_softdeps - limit on any given resource debug.tickdelay - ticks to delay before allocating debug.max_limit_hit - number of times tickdelay imposed debug.rush_requests - number of rush requests to filesystem syncer -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DBF9C15.D82C3063>