Received: by oss.sgi.com id ; Wed, 9 Aug 2000 11:17:24 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:54850 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 9 Aug 2000 11:16:58 -0700 Received: from ledzep.cray.com (ledzep.americas.sgi.com [137.38.226.97]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id LAA14999 for ; Wed, 9 Aug 2000 11:08:54 -0700 (PDT) mail_from (lord@sgi.com) Received: from daisy-e185.americas.sgi.com (daisy.mw.cray.com [128.162.185.214]) by ledzep.cray.com (SGI-SGI-8.9.3/craymail-smart-nospam1.0) with ESMTP id NAA59378 for ; Wed, 9 Aug 2000 13:15:12 -0500 (CDT) Received: from jen.americas.sgi.com (jen.americas.sgi.com [128.162.184.86]) by daisy-e185.americas.sgi.com (980427.SGI.8.8.8/SGI-server-1.6) with ESMTP id NAA66059 for ; Wed, 9 Aug 2000 13:15:12 -0500 (CDT) From: Steve Lord Received: by jen.americas.sgi.com (8.9.3/SGI-client-1.6c) id NAA19452; Wed, 9 Aug 2000 13:13:30 -0500 Message-Id: <200008091813.NAA19452@jen.americas.sgi.com> Date: Wed, 9 Aug 2000 13:13:30 -0500 Subject: TAKE - add runtime configuration for pagebuf To: unlisted-recipients:; (no To-header on input) Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-xfs-outgoing This adds a new /proc/sys/vm/pagebuf interface which lets you tune a number of pagebuf parameters at runtime. The format is as follows: # cat /proc/sys/vm/pagebuf 100 1500 100 128 2048 The numbers are, in order: o sleep interval for the delayed write pagebuf thread - writes out dirty metadata, value in HZ o age of delayed write metadata buffers before they are written, value in HZ o sleep interval for page cleaner thread, value in HZ o maximum cluster size of I/O for delayed allocation conversions, value in pages. o maximum delayed allocate pages allowed before page cleaner thread woken up. The default numbers need tuning. Date: Wed Aug 9 11:10:45 PDT 2000 Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4.0-test5 The following file(s) were checked into: bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs Modid: 2.4.0-test1-xfs:slinx:71691a linux/include/linux/sysctl.h - 1.24 linux/include/linux/page_buf.h - 1.57 - Added /proc/sys/vm/pagebuf configuration interface for pagebuf linux/fs/pagebuf/page_buf.c - 1.19 - Added /proc/sys/vm/pagebuf configuration interface for pagebuf linux/fs/pagebuf/page_buf_io.c - 1.20 - Added /proc/sys/vm/pagebuf configuration interface for pagebuf