From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a247b9f21a6d13d6 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-09-02 09:26:13 PST Newsgroups: comp.sys.dec Path: gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!destroyer!newsrelay.iastate.edu!news.iastate.edu!john From: john@iastate.edu (John Hascall) Subject: delay_wbuffers (was Re: Our DEC Alpha is the slowest on this code ....) Message-ID: Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames, IA References: <25juna$n5e@polaris.unm.edu> <1993Aug27.214032.10670@nntpd2.cxo.dec.com> Distribution: usa Date: Thu, 2 Sep 1993 14:55:42 GMT alan@nabeth.cxo.dec.com (Alan Rollow) writes: [...previous poster complains about poor random write performance...] }The behaviour can be changed somewhat by changing the value }of delay_wbuffers. When set it causes writes that would }ordinarily be started right away to be delayed until flushed }with a sync (sync(2) or fsync(2)). The advantage for this }sort of application is that it allows more write-merging. }The disadvantage is that it applies to all file systems and }allows more data to become stale. If the system is unstable }for any reason, this stale data will be lost in a crash. I tried this (setting delay_wbuffers=1) and then ran the "iozone" benchmark (basically a sequential write and read) and the performance was shot to hell on that... (details: PDS/25, U4.3a, RZ25, "tunefs -a 8") So it looks to me like you can have either good random I/O performance OR good sequential I/O performance... John -- John Hascall ``An ill-chosen word is the fool's messenger.'' Systems Software Engineer Project Vincent Iowa State University Computation Center + Ames, IA 50011 + 515/294-9551