From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,71824eb2a6de7332 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-09-06 06:28:32 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!harris Subject: Re: AdvFS write caching too much - how do I fix it? From: Bob Harris Newsgroups: comp.unix.tru64 Posted-And-Mailed: yes Message-ID: <060920010928267273%harris@zk3.dec.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8bit User-Agent: YA-NewsWatcher/5.0.1 Date: Thu, 06 Sep 2001 09:28:26 -0400 NNTP-Posting-Host: 16.140.32.194 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 999782907 16.140.32.194 (Thu, 06 Sep 2001 06:28:27 PDT) NNTP-Posting-Date: Thu, 06 Sep 2001 06:28:27 PDT Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:4693 [[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article , George Chalissery wrote: X I have an application running under Tru64UNIX version 5.1 that has long X (several GB) reads and writes. AdvFS caches a huge (several hundred MB) X amount of writes and when it finally needs to write the blocks out to disk, X the application blocks waiting for the cached writes to complete. The cache X flush takes a while to complete as the disk has a lot of writing to do. X X What is the best way to reduce the amount that is cached so that the disk X does not sit idle while the cache is being filled and then go all out X writing the large amount of cached data which the user process blocks? X X Reading the System Configuration and Tuning guide seems to leave me with X the understanding that reducing the smoothsync_age attribute would be the X most attractive option. X X Cache hits are very unlikely as the cache cannot be large enough to hold X a complete write sequence that may be read again in a following processing X step. I have 2GB of real memory on this system. Get the most recent patches for v5.1. In v5.1, AdvFS was more fully integrated with the UBC and the private AdvFS cache was elimiated. However, this had some unexpected side effects on UBC flushing. The most recent v5.1 patches address this issue. Bob Harris