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-09 21:27:15 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!not-for-mail Message-ID: <3B9C4172.DF324D31@digital.com> From: BL Venkatesh X-Mailer: Mozilla 4.76 [en] (X11; U; OSF1 X5.1 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: AdvFS write caching too much - how do I fix it? References: <060920010928267273%harris@zk3.dec.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 10 Sep 2001 09:58:34 +0530 NNTP-Posting-Host: 16.138.248.18 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1000096034 16.138.248.18 (Sun, 09 Sep 2001 21:27:14 PDT) NNTP-Posting-Date: Sun, 09 Sep 2001 21:27:14 PDT Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:4772 Hi, Have u tried the 'chvol' command?...it allows u to change the read/write attributes of a volume. -blv > 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