From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,71824eb2a6de7332,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-09-05 08:03:27 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!cyclone-sjo1.usenetserver.com!e420r-sjo4.usenetserver.com!usenetserver.com!e420r-atl2.usenetserver.com.POSTED!not-for-mail From: "George Chalissery" Newsgroups: comp.unix.tru64 Subject: AdvFS write caching too much - how do I fix it? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-Complaints-To: abuse@usenetserver.com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. NNTP-Posting-Date: Wed, 05 Sep 2001 10:58:27 EDT Organization: WebUseNet Corp. - "ReInventing The UseNet" Date: Wed, 5 Sep 2001 11:03:26 -0400 Xref: archiver1.google.com comp.unix.tru64:4658 I have an application running under Tru64UNIX version 5.1 that has long (several GB) reads and writes. AdvFS caches a huge (several hundred MB) amount of writes and when it finally needs to write the blocks out to disk, the application blocks waiting for the cached writes to complete. The cache flush takes a while to complete as the disk has a lot of writing to do. What is the best way to reduce the amount that is cached so that the disk does not sit idle while the cache is being filled and then go all out writing the large amount of cached data which the user process blocks? Reading the System Configuration and Tuning guide seems to leave me with the understanding that reducing the smoothsync_age attribute would be the most attractive option. Cache hits are very unlikely as the cache cannot be large enough to hold a complete write sequence that may be read again in a following processing step. I have 2GB of real memory on this system. TIA for any advice, George.